Commit 096bd9c4 by 张立顺

feat

1 parent 9bbfbdfd
...@@ -1445,7 +1445,6 @@ export default { ...@@ -1445,7 +1445,6 @@ export default {
}, },
beforeDestroy() { beforeDestroy() {
this.$EventBus.$off("packageInfoList") this.$EventBus.$off("packageInfoList")
this.$EventBus.$off("shelfUpdateContractMer")
this.$EventBus.$off("shelfUpdateParMer") this.$EventBus.$off("shelfUpdateParMer")
this.$EventBus.$off("shelfUpdatMerchantId") this.$EventBus.$off("shelfUpdatMerchantId")
} }
......
...@@ -118,12 +118,11 @@ export default { ...@@ -118,12 +118,11 @@ export default {
return this.goodInfoList return this.goodInfoList
}, },
submitParamsPackages() { submitParamsPackages() {
this.goodInfoList = [] this.packageInfoList = []
this.packageTabs.forEach((item, idx) => { this.packageTabs.forEach((item, idx) => {
const info = this.$refs["packageTabRef" + idx][0].returnThisTabDate() const info = this.$refs["packageTabRef" + idx][0].returnThisTabDate()
this.packageInfoList.push(info) this.packageInfoList.push(info)
}) })
// console.log("this.packageInfoList", this.packageInfoList)
return this.packageInfoList return this.packageInfoList
}, },
submit() { submit() {
......
...@@ -163,10 +163,6 @@ export default { ...@@ -163,10 +163,6 @@ export default {
merchantName: merchantName merchantName: merchantName
} }
}) })
// this.$EventBus.$emit("shelfUpdateContractMer", {
// merchantId: value,
// merchantName: merchantName
// })
} }
}, },
{ {
......
...@@ -541,7 +541,7 @@ export default { ...@@ -541,7 +541,7 @@ export default {
}, },
salesProportionPercentInput(e) { salesProportionPercentInput(e) {
e = e.replace(/[^\d.]/g, "") e = e.replace(/[^\d.]/g, "")
const oldValue = `${this.formData["salesProportionPercent"]}` const oldValue = `${this.formData["oldesalesProportionPercent"]}`
this.$set( this.$set(
this.formData, this.formData,
"salesProportionPercent", "salesProportionPercent",
......
...@@ -509,7 +509,7 @@ export default { ...@@ -509,7 +509,7 @@ export default {
}), }),
salesProportionPercentInput(e) { salesProportionPercentInput(e) {
e = e.replace(/[^\d.]/g, "") e = e.replace(/[^\d.]/g, "")
const oldValue = `${this.packageForm["salesProportionPercent"]}` const oldValue = `${this.packageForm["oldesalesProportionPercent"]}`
this.$set( this.$set(
this.packageForm, this.packageForm,
"salesProportionPercent", "salesProportionPercent",
......
...@@ -1473,7 +1473,6 @@ export default { ...@@ -1473,7 +1473,6 @@ export default {
}, },
beforeDestroy() { beforeDestroy() {
this.$EventBus.$off("packageInfoList") this.$EventBus.$off("packageInfoList")
this.$EventBus.$off("shelfUpdateContractMer")
this.$EventBus.$off("shelfUpdateParMer") this.$EventBus.$off("shelfUpdateParMer")
this.$EventBus.$off("shelfUpdatMerchantId") this.$EventBus.$off("shelfUpdatMerchantId")
} }
......
...@@ -169,10 +169,6 @@ export default { ...@@ -169,10 +169,6 @@ export default {
merchantName: merchantName merchantName: merchantName
} }
}) })
// this.$EventBus.$emit("shelfUpdateContractMer", {
// merchantId: value,
// merchantName: merchantName
// })
} }
}, },
{ {
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!