Commit 8c24da63 authored by jingnan's avatar jingnan 👀

采购入库编辑保存时不传objOrg这个对象

parent e8226f29
......@@ -871,7 +871,10 @@ export default {
'extDxProductAreaId': this.form.extDxProductAreaId,
'extDxSipplierId': this.form.extDxSipplierId,
'materialTypeId': this.form.materialTypeId,
'inStorageRequestItems': tableData
'inStorageRequestItems': tableData && tableData.map(r => {
delete r.objOrg
return r
}) || []
}
if (paramOperator === 'MODIFY') {
param.id = this.newDataImportResId || this.form.id
......
......@@ -951,7 +951,10 @@ export default {
'extDxProductAreaId': this.form.extDxProductAreaId,
'extDxSipplierId': this.form.extDxSipplierId,
'materialTypeId': this.form.materialTypeId,
'inStorageRequestItems': tableData
'inStorageRequestItems': tableData && tableData.map(r => {
delete r.objOrg
return r
}) || []
}
if (paramOperator === 'MODIFY') {
param.id = this.newDataImportResId || this.form.id
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment