Commit 61f0582f authored by jingnan's avatar jingnan 👀

退库入库检验的验收单号使用原物料的验收单号不允许修改

parent 191a445b
......@@ -333,7 +333,8 @@ export default {
this.form = this.jobResponseInTestData
},
mounted() {
if (this.jobResponseInTestData && this.jobResponseInTestData.testNo && this.jobResponseInTestData.subTypeName !== 'JobResponseInTest') {
// 退库入库检验的验收单号使用原物料的验收单号不允许修改
if (this.jobResponseInTestData && this.jobResponseInTestData.testNo && (this.jobResponseInTestData.subTypeName !== 'JobResponseInTest' || this.jobResponseInTestData.subTypeName === 'JobResponseInTest' && this.basicData.subTypeName.includes('BackItem'))) {
this.subTypeNameDisabled = true
}
},
......
......@@ -834,7 +834,8 @@ export default {
this.getChemicalData(this.basicData.id)
},
mounted() {
if (this.jobResponseInTestData && this.jobResponseInTestData.testNo && this.jobResponseInTestData.subTypeName !== 'JobResponseInTest') {
// 退库入库检验的验收单号使用原物料的验收单号不允许修改
if (this.jobResponseInTestData && this.jobResponseInTestData.testNo && (this.jobResponseInTestData.subTypeName !== 'JobResponseInTest' || this.jobResponseInTestData.subTypeName === 'JobResponseInTest' && this.basicData.subTypeName.includes('BackItem'))) {
this.subTypeNameDisabled = true
}
},
......
......@@ -303,7 +303,8 @@ export default {
this.form = this.jobResponseInTestData
},
mounted() {
if (this.jobResponseInTestData && this.jobResponseInTestData.testNo && this.jobResponseInTestData.subTypeName !== 'JobResponseInTest') {
// 退库入库检验的验收单号使用原物料的验收单号不允许修改
if (this.jobResponseInTestData && this.jobResponseInTestData.testNo && (this.jobResponseInTestData.subTypeName !== 'JobResponseInTest' || this.jobResponseInTestData.subTypeName === 'JobResponseInTest' && this.basicData.subTypeName.includes('BackItem'))) {
this.subTypeNameDisabled = true
}
},
......
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