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