|
@@ -773,7 +773,7 @@ watch(
|
|
|
}
|
|
}
|
|
|
);
|
|
);
|
|
|
|
|
|
|
|
-// 线下服务+一口价:自动填充固定值
|
|
|
|
|
|
|
+// 线下服务+一口价:自动填充固定值;切换到其他情况时清空
|
|
|
watch(
|
|
watch(
|
|
|
isOfflineServiceFixedPrice,
|
|
isOfflineServiceFixedPrice,
|
|
|
(val) => {
|
|
(val) => {
|
|
@@ -785,6 +785,13 @@ watch(
|
|
|
form.cpFixedPricingRule.convertDose = '1';
|
|
form.cpFixedPricingRule.convertDose = '1';
|
|
|
form.cpFixedPricingRule.convertUnit = '次';
|
|
form.cpFixedPricingRule.convertUnit = '次';
|
|
|
suggestedFrequencyUnit.value = '次';
|
|
suggestedFrequencyUnit.value = '次';
|
|
|
|
|
+ } else {
|
|
|
|
|
+ if (form.cpFixedPricingRule) {
|
|
|
|
|
+ form.cpFixedPricingRule.pricingUnit = '';
|
|
|
|
|
+ form.cpFixedPricingRule.convertDose = '';
|
|
|
|
|
+ form.cpFixedPricingRule.convertUnit = '';
|
|
|
|
|
+ }
|
|
|
|
|
+ suggestedFrequencyUnit.value = '';
|
|
|
}
|
|
}
|
|
|
}
|
|
}
|
|
|
);
|
|
);
|