Commit 273ec470 authored by xioln's avatar xioln

废品通知单修改

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