|
@@ -60,6 +60,15 @@ export default {
|
|
|
const { code, data } = await ITEM(prop);
|
|
|
if (code === 200) {
|
|
|
this.params = data;
|
|
|
+ this.params.createBy = null;
|
|
|
+ this.params.createByName = null;
|
|
|
+ this.params.effectiveDate = null;
|
|
|
+ this.params.priceApplyItems = this.params.priceApplyItems.map(
|
|
|
+ (item) => ({ ...item, createByName: null, updateByName: null })
|
|
|
+ );
|
|
|
+ this.params.priceApplyOrgs = this.params.priceApplyOrgs.map(
|
|
|
+ (item) => ({ ...item, createByName: null, updateByName: null })
|
|
|
+ );
|
|
|
return true;
|
|
|
} else {
|
|
|
return false;
|