13425963 by lxs

数据定价更新

1 parent c9f12146
......@@ -643,6 +643,7 @@ const getResourceInfo = (sGuid) => {
}
}
// 需求表字段匹配
const matchTableFields = (rData, tData) => {
rData.dataFields.map(t => {
const match = tData.find(d => d.chName == t.fieldName);
......@@ -694,8 +695,7 @@ const setTableRowData = (dGuid, rIndex) => {
t.damFieldTable = JSON.parse(JSON.stringify(damFieldOptions));
})
// 匹配
!guid && matchTableFields(rowData, damTableField);
// console.log('rowData', rowData)
(!guid || (guid && dGuid != rowData.dataTableGuid)) && matchTableFields(rowData, damTableField);
} else {
proxy.$ElMessage.error(res.msg);
}
......
Styling with Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!