Commit ea1924b9 by zhangxw

bug修复

1 parent 1f75a873
......@@ -405,19 +405,19 @@ export default {
computed: {},
mounted() {
async mounted() {
const nowDate = new Date()
this.year = nowDate.getFullYear().toString()
this.nowYear = nowDate.getFullYear().toString()
this.nowMoth = nowDate.getMonth() + 1
this.nowDay = nowDate.getDate()
this.info = this.$route.params?.info
this.getShopSetting(this.info)
this.findMerchantStaffList()
this.merchantStaffByRoleList()
this.getSelectList(this.info)
this.listByMerchantIdAndYear(this.year)
this.findSellerMerchantStaffList()
await this.getShopSetting(this.info)
await this.findMerchantStaffList()
await this.merchantStaffByRoleList()
await this.getSelectList(this.info)
await this.listByMerchantIdAndYear(this.year)
await this.findSellerMerchantStaffList()
},
methods: {
......@@ -442,7 +442,7 @@ export default {
this.form.shopMerchantConfig = { boutiqueDirectorUserId: '', quotationDirectorUserId: '', boutiqueSunshineInspiration: '', quotationSunshineInspiration: '', boutiqueMarketInspiration: '', quotationMarketInspiration: '', boutiqueServiceDirectorUserId: '', quotationServiceDirectorUserId: '' }
}
// 对比下拉框是否存在已选的选择项 不存在清空
this.checkSelectOption()
// this.checkSelectOption()
console.log(this.form)
if (this.form.list && this.form.list.length > 0) {
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!