This commit is contained in:
lihao 2025-08-06 11:18:32 +08:00
parent b13a34ae70
commit 1f3291fd42
2 changed files with 5 additions and 4 deletions

View File

@ -57,10 +57,11 @@ function doQuery(props, hid, bids, rows) {
values.cmaterialvidName = { values.cmaterialvidName = {
value: form.rows[0].values["cmaterialvid.name"].value value: form.rows[0].values["cmaterialvid.name"].value
}; };
values.cmaterialvidDef26 = { if(undefined !=form.rows[0].values["cmaterialvid.def26"]){
values.cmaterialvidDef26 = {
value: form.rows[0].values["cmaterialvid.def26"].value value: form.rows[0].values["cmaterialvid.def26"].value
}; };
}
let rowItem = { let rowItem = {
isOptimized: false, isOptimized: false,
status: '0', status: '0',

View File

@ -488,7 +488,7 @@ export default function (props, key, text, record, index) {
data: data, data: data,
success: (res) => { success: (res) => {
if(res.success){ if(res.success){
props.table.setAllTableData("NCTable_3c81fe87", res.data.data[0].card_body.rows); props.table.setAllTableData("NCTable_3c81fe87", res.data);//[0].card_body.rows
props.modal.show("NCTable_3c81fe87"); props.modal.show("NCTable_3c81fe87");
toast({ content: "查询成功", color: 'success' }); toast({ content: "查询成功", color: 'success' });
} }