Commit 05f0ad4a authored by jingnan's avatar jingnan 👀

验收单号禁用bug修改

parent 368e5b57
......@@ -324,19 +324,17 @@ export default {
},
deep: true,
immediate: true
},
jobResponseInTestData: {
immediate: true,
deep: true,
handler(val) {
val && val.testNo && (this.subTypeNameDisabled = true)
}
}
},
created() {
// 初始化数据
this.form = this.jobResponseInTestData
},
mounted() {
if (this.jobResponseInTestData && this.jobResponseInTestData.testNo) {
this.subTypeNameDisabled = true
}
},
methods: {
onSubmit() {
const params = {
......
......@@ -800,13 +800,6 @@ export default {
},
deep: true,
immediate: true
},
jobResponseInTestData: {
immediate: true,
deep: true,
handler(val) {
val && val.testNo && (this.subTypeNameDisabled = true)
}
}
// 'form.isPerformRetest': {
// handler: function(v) {
......@@ -842,6 +835,11 @@ export default {
}
this.getChemicalData(this.basicData.id)
},
mounted() {
if (this.jobResponseInTestData && this.jobResponseInTestData.testNo) {
this.subTypeNameDisabled = true
}
},
methods: {
getChemicalData(id) {
const param = {
......
......@@ -294,19 +294,17 @@ export default {
},
deep: true,
immediate: true
},
jobResponseInTestData: {
immediate: true,
deep: true,
handler(val) {
val && val.testNo && (this.subTypeNameDisabled = true)
}
}
},
created() {
// 初始化数据
this.form = this.jobResponseInTestData
},
mounted() {
if (this.jobResponseInTestData && this.jobResponseInTestData.testNo) {
this.subTypeNameDisabled = true
}
},
methods: {
onSubmit() {
const params = {
......
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