Commit ea1924b9 by zhangxw

bug修复

1 parent 1f75a873
...@@ -405,19 +405,19 @@ export default { ...@@ -405,19 +405,19 @@ export default {
computed: {}, computed: {},
mounted() { async mounted() {
const nowDate = new Date() const nowDate = new Date()
this.year = nowDate.getFullYear().toString() this.year = nowDate.getFullYear().toString()
this.nowYear = nowDate.getFullYear().toString() this.nowYear = nowDate.getFullYear().toString()
this.nowMoth = nowDate.getMonth() + 1 this.nowMoth = nowDate.getMonth() + 1
this.nowDay = nowDate.getDate() this.nowDay = nowDate.getDate()
this.info = this.$route.params?.info this.info = this.$route.params?.info
this.getShopSetting(this.info) await this.getShopSetting(this.info)
this.findMerchantStaffList() await this.findMerchantStaffList()
this.merchantStaffByRoleList() await this.merchantStaffByRoleList()
this.getSelectList(this.info) await this.getSelectList(this.info)
this.listByMerchantIdAndYear(this.year) await this.listByMerchantIdAndYear(this.year)
this.findSellerMerchantStaffList() await this.findSellerMerchantStaffList()
}, },
methods: { methods: {
...@@ -442,7 +442,7 @@ export default { ...@@ -442,7 +442,7 @@ export default {
this.form.shopMerchantConfig = { boutiqueDirectorUserId: '', quotationDirectorUserId: '', boutiqueSunshineInspiration: '', quotationSunshineInspiration: '', boutiqueMarketInspiration: '', quotationMarketInspiration: '', boutiqueServiceDirectorUserId: '', quotationServiceDirectorUserId: '' } this.form.shopMerchantConfig = { boutiqueDirectorUserId: '', quotationDirectorUserId: '', boutiqueSunshineInspiration: '', quotationSunshineInspiration: '', boutiqueMarketInspiration: '', quotationMarketInspiration: '', boutiqueServiceDirectorUserId: '', quotationServiceDirectorUserId: '' }
} }
// 对比下拉框是否存在已选的选择项 不存在清空 // 对比下拉框是否存在已选的选择项 不存在清空
this.checkSelectOption() // this.checkSelectOption()
console.log(this.form) console.log(this.form)
if (this.form.list && this.form.list.length > 0) { if (this.form.list && this.form.list.length > 0) {
this.form.list = this.form.list.map(item => { this.form.list = this.form.list.map(item => {
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!