Commit 8b20cd71 authored by wangdanlei's avatar wangdanlei

Merge branch 'dev' of http://94.191.100.41/tfmom/tf-mom-web into dev

parents c8d3276d 8c24da63
......@@ -111,9 +111,9 @@ export default {
const dicData = await this.$utils.getDicListByCode('UseRequestType')
// 当前登陆人为孙瑶雪 和dexadmin的时候下拉可以看到试验领用,其他人看不到
if (user === '孙瑶雪' || user === 'dexadmin') {
this.options = dicData
this.options = dicData.filter(item => item.label !== '无指令领用')
} else {
this.options = dicData.filter(item => item.label !== '试验领用')
this.options = dicData.filter(item => item.label !== '试验领用' && item.label !== '无指令领用')
}
},
dataChangeHandler(val) {
......
......@@ -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