|
@@ -362,7 +362,7 @@ export default {
|
|
|
async handleTabReferChange(val, source, type) {
|
|
|
|
|
|
// 触发物料参照询价 && source.qty && source.qty != ""
|
|
|
- if (type == "MATERIAL_PARAM") {
|
|
|
+ if (type == "MATERIAL_PARAM" && source.qty && source.qty != "") {
|
|
|
|
|
|
source['qty'] = 0;
|
|
|
|
|
@@ -380,6 +380,11 @@ export default {
|
|
|
|
|
|
source['tax'] = 0;
|
|
|
|
|
|
+ this.params['qty'] = 0;
|
|
|
+ this.params['originalQty'] = 0;
|
|
|
+ this.params['money'] = 0;
|
|
|
+ this.params['originalMoney'] = 0;
|
|
|
+ this.params['notaxMoney'] = 0;
|
|
|
source.isDrug = val.materialMedcine.isDrug == '0' ? 'Y' : 'N';
|
|
|
|
|
|
await this.handleGetPrice();
|