Commit 8cc952f7 authored by xioln's avatar xioln

供外物料类型选择

parent 1002b33c
......@@ -41,9 +41,9 @@ export default {
watch: {
'form.extWorkCenterId'(val) {
if (val) {
this.$set(this.form, 'materialType', this.form.materialTypeId || '')
this.$set(this.form, 'extResourceTypeId', this.form.extResourceTypeId || '')
if (!this.isFirst) {
this.$set(this.form, 'materialType', '')
this.$set(this.form, 'extResourceTypeId', '')
}
this.getMaterialType(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