|
|
@ -163,14 +163,6 @@ const searchTableSuccess = (formField, searchField, val, formRef, type, row) => |
|
|
|
tableData.value = [] |
|
|
|
} |
|
|
|
formRef.setValues(setV) |
|
|
|
// else { |
|
|
|
// // 主表查询页赋值 |
|
|
|
// if (formField == 'supplierCode') { |
|
|
|
// setV['supplierName'] = val[0].name |
|
|
|
// } |
|
|
|
// setV[formField] = val[0][searchField] |
|
|
|
// formRef.setValues(setV) |
|
|
|
// } |
|
|
|
}) |
|
|
|
} |
|
|
|
|
|
|
@ -179,9 +171,6 @@ const searchTableSuccessDetail = (formField, searchField, val, formRef) => { |
|
|
|
nextTick(() => { |
|
|
|
const setV = {} |
|
|
|
setV[formField] = val[0][searchField] |
|
|
|
// setV['soLine'] = val[0]['lineNumber'] |
|
|
|
// setV['lineNumber'] = val[0]['lineNumber'] |
|
|
|
// setV['itemCode'] = val[0]['itemCode'] |
|
|
|
setV['remark'] = val[0]['remark'] |
|
|
|
setV['uom'] = val[0]['customerUom'] |
|
|
|
formRef.setValues(setV) |
|
|
|