Commit e9fb1238 by 李伟康

Merge branch 'SAAS+V5.8.0' of http://192.168.3.233:8090/saas_plus/dj-car-life-sy…

…stem into SAAS+V5.8.0
2 parents 1565e7ae 3fa8128f
...@@ -1219,19 +1219,23 @@ export default { ...@@ -1219,19 +1219,23 @@ export default {
clearUpgradeGoods() { clearUpgradeGoods() {
this.formData = { this.formData = {
...this.formData, ...this.formData,
goodsAlias: '',
upgradeGoodsId: "", upgradeGoodsId: "",
goodsCode: "", position: '',
goodsType: "", goodsType: "",
productType: [], productType: [],
baseSupplyMode: "", baseSupplyMode: "",
upgradeSupplyMode: "", upgradeSupplyMode: "",
sellPrice: "", sellPrice: "",
minSellPrice: "", minSellPrice: '',
giveCostPrice: "", upgradeProductCost: '',
recoveryCostPrice: "",
reconcilyCostPrice: "",
voucherList: [],
validMinSellPriceFlag: true, validMinSellPriceFlag: true,
giftCost: '',
recoveryCost: '',
virtualAccountCost: '',
warrantyType: [],
djCost: '',
thirdPartyCost: '',
validMinSellPrice: "Y", validMinSellPrice: "Y",
sellPriceValidType: 1, sellPriceValidType: 1,
tempValidDate: [], tempValidDate: [],
......
...@@ -1117,7 +1117,6 @@ export default { ...@@ -1117,7 +1117,6 @@ export default {
return `${(Math.round(num * pow) / pow).toFixed(2)}元`; return `${(Math.round(num * pow) / pow).toFixed(2)}元`;
}, },
handleUp(e) { handleUp(e) {
console.log(this.formData);
this.$refs[this.formRef + "d2FormRuleForm"].validate((valid, options) => { this.$refs[this.formRef + "d2FormRuleForm"].validate((valid, options) => {
if (valid) { if (valid) {
this.$emit("handleAddConfirm", { ...this.formData, num: e }); this.$emit("handleAddConfirm", { ...this.formData, num: e });
......
...@@ -416,8 +416,8 @@ export default { ...@@ -416,8 +416,8 @@ export default {
return this.$message.warning("套餐总售价需大于零,请检查套餐包含产品售价"); return this.$message.warning("套餐总售价需大于零,请检查套餐包含产品售价");
if (merchantGoodsInfoList?.findIndex(v => this.membraneTypeList.includes(v.goodsType)) > -1 && !this.filterBaseSceneCodeBySceneType(1)?.includes(data?.baseSceneCode)) if (merchantGoodsInfoList?.findIndex(v => this.membraneTypeList.includes(v.goodsType)) > -1 && !this.filterBaseSceneCodeBySceneType(1)?.includes(data?.baseSceneCode))
return this.$message.warning("膜类产品仅支持上架精品升级场景"); return this.$message.warning("膜类产品仅支持上架精品升级场景");
if (this.extendedPosiType.includes(data.goodsType) && !this.filterBaseSceneCodeBySceneType(0)?.includes(data?.baseSceneCode)) if (merchantGoodsInfoList?.findIndex(v => this.extendedPosiType?.concat(this.equitySceneType)?.includes(v.goodsType)) > -1 && !this.filterBaseSceneCodeBySceneType(0)?.includes(data?.baseSceneCode))
return this.$message.warning("延保类产品仅支持上架至延保&权益业务场景 "); return this.$message.warning("延保、权益类产品仅支持上架至延保&权益业务场景");
this.editData = data; this.editData = data;
// 判断套餐的所有子产品适用车型是否存在交集(无适用车型默认为全部) // 判断套餐的所有子产品适用车型是否存在交集(无适用车型默认为全部)
let seriesIdFlag = false; let seriesIdFlag = false;
......
...@@ -208,7 +208,8 @@ export default { ...@@ -208,7 +208,8 @@ export default {
customerLabel: val?.customerLabel, customerLabel: val?.customerLabel,
supplySource: val?.supplySource ? val?.supplySource?.split(',') : [], supplySource: val?.supplySource ? val?.supplySource?.split(',') : [],
remark: val.remark, remark: val.remark,
checked: false checked: false,
merchantGoodsExist: val.merchantGoodsExist
} }
}) })
// 从产品清单上架产品带入数据 // 从产品清单上架产品带入数据
......
...@@ -1691,6 +1691,7 @@ export default { ...@@ -1691,6 +1691,7 @@ export default {
item.customerLabel = temp.customerLabel item.customerLabel = temp.customerLabel
item.supplySource = temp.supplySource item.supplySource = temp.supplySource
item.remark = temp.remark item.remark = temp.remark
item.merchantGoodsExist = temp.merchantGoodsExist
break; break;
} }
} }
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!