Commit 273ec470 authored by xioln's avatar xioln

废品通知单修改

parent 409cf663
...@@ -363,11 +363,10 @@ export default { ...@@ -363,11 +363,10 @@ export default {
this.disabled = false this.disabled = false
// if (val.taskkey === 'Activity_1lgytbi') { // if (val.taskkey === 'Activity_1lgytbi') {
// } else // } else
if (val.taskkey === 'Activity_07owud7') { if (val.taskkey === 'Activity_1lgytbi') {
this.technologist = false this.technologist = false
this.$nextTick(() => { this.$nextTick(() => {
this.$set(this.form, 'gysign', localStorage.getItem('user')) this.$set(this.form, 'gysign', localStorage.getItem('user'))
this.technologist = false
this.$set(this.rules, 'portCarNumber', [ this.$set(this.rules, 'portCarNumber', [
{ {
required: true, required: true,
......
...@@ -592,16 +592,19 @@ export default { ...@@ -592,16 +592,19 @@ export default {
open(val) { open(val) {
this.$nextTick(() => { this.$nextTick(() => {
// 成本核算员节点Activity_1lgytbi和财务部会计Activity_07owud7 // 成本核算员节点Activity_1lgytbi和财务部会计Activity_07owud7
if (['Activity_1lgytbi', 'Activity_07owud7'].includes(val.taskkey)) { // if (['Activity_1lgytbi', 'Activity_07owud7'].includes(val.taskkey)) {
this.disabled = false // this.disabled = false
if (val.taskkey === 'Activity_1lgytbi') { // if (val.taskkey === 'Activity_1lgytbi') {
this.costEstimator = false // this.costEstimator = false
} else if (val.taskkey === 'Activity_07owud7') { // } else if (val.taskkey === 'Activity_07owud7') {
this.costKeeper = false // this.costKeeper = false
} // }
} else { // } else {
this.disabled = true // this.disabled = true
} // }
this.disabled = false
this.costEstimator = false
this.costKeeper = false
this.item = val this.item = val
}) })
}, },
......
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