|
@@ -1515,9 +1515,8 @@
|
|
|
},
|
|
},
|
|
|
|
|
|
|
|
sourceTypeChange() {
|
|
sourceTypeChange() {
|
|
|
- // if(this.showReturnRelation) {
|
|
|
|
|
- // this.form.relationType = '';
|
|
|
|
|
- // }
|
|
|
|
|
|
|
+ // 当sourceType改变时,重置relationType及相关字段
|
|
|
|
|
+ this.form.relationType = '';
|
|
|
this.valueChange();
|
|
this.valueChange();
|
|
|
},
|
|
},
|
|
|
handleChangeRelationType(val) {
|
|
handleChangeRelationType(val) {
|
|
@@ -1530,7 +1529,6 @@
|
|
|
this.form.purchasePlanId = '';
|
|
this.form.purchasePlanId = '';
|
|
|
this.form.purchasePlanNo = '';
|
|
this.form.purchasePlanNo = '';
|
|
|
this.form.purchasePlanName = '';
|
|
this.form.purchasePlanName = '';
|
|
|
- // this.form.relationType = '';
|
|
|
|
|
|
|
|
|
|
this.form.relationId = '';
|
|
this.form.relationId = '';
|
|
|
this.form.relationCode = '';
|
|
this.form.relationCode = '';
|