|
|
|
@ -66,7 +66,7 @@
|
|
|
|
|
<a-form-item label="采购类型" :labelCol="labelCol" :wrapperCol="wrapperCol"> |
|
|
|
|
<j-dict-select-tag type="list" v-decorator="['planType']" |
|
|
|
|
:trigger-change="true" dictCode="plan_type" |
|
|
|
|
placeholder="请选择采购类型电商或非电商"/> |
|
|
|
|
placeholder="请选择采购类型电商或非电商" @change="selectChangPlanType"/> |
|
|
|
|
</a-form-item> |
|
|
|
|
</a-col> |
|
|
|
|
<a-col :span="8" v-show="isSourceCapital"> |
|
|
|
@ -758,6 +758,17 @@
|
|
|
|
|
this.assigneesText = val |
|
|
|
|
this.fetchMerchandiseNews() |
|
|
|
|
} |
|
|
|
|
if(this.routePlanName == '采购员'){ |
|
|
|
|
this.form.validateFields((err, values) => { |
|
|
|
|
// 这里做逻辑处理 |
|
|
|
|
console.log(values) // { username: '' } |
|
|
|
|
if (val!=6 && values.planType==1 ){ |
|
|
|
|
this.isIfInspection = true |
|
|
|
|
}else { |
|
|
|
|
this.isIfInspection = false |
|
|
|
|
} |
|
|
|
|
}) |
|
|
|
|
} |
|
|
|
|
}, |
|
|
|
|
//物料组选择触发 |
|
|
|
|
onSelectRake(props, value) { |
|
|
|
@ -1196,6 +1207,19 @@
|
|
|
|
|
}) |
|
|
|
|
this.isBu = undefined |
|
|
|
|
|
|
|
|
|
}, |
|
|
|
|
selectChangPlanType(val){ |
|
|
|
|
console.log(val,"planType") |
|
|
|
|
this.form.validateFields((err, values) => { |
|
|
|
|
// 这里做逻辑处理 |
|
|
|
|
console.log(values) // { username: '' } |
|
|
|
|
if (val==1 && values.materialType!=6 ){ |
|
|
|
|
this.isIfInspection = true |
|
|
|
|
}else { |
|
|
|
|
this.isIfInspection = false |
|
|
|
|
} |
|
|
|
|
}) |
|
|
|
|
|
|
|
|
|
}, |
|
|
|
|
selectChang(val) { |
|
|
|
|
console.log(val,"-----99956568989859") |
|
|
|
|