Commit 00e7cda6 by 匡雅琴

驻点电话回显

1 parent 8beb07d5
......@@ -105,7 +105,7 @@ export default {
async getUserInfo() {
this.businessType = await this.$apis.store.findAllDictData({ dictType: 'business_type' })
const infoForm = await this.$apis.store.findMerchantBaseInfo({ merchantId: this.$globalState.session.merchantId })
const { merchantAddress, provinceName, cityName, provinceCode, cityCode, lng, lat, id, merchantName, businessType, bussinessTime, bussinessBegintime, bussinessEndtime, channelId, merchantNo, merchantBrandMain } = infoForm
const { merchantAddress, provinceName, residentPhone, cityName, provinceCode, cityCode, lng, lat, id, merchantName, businessType, bussinessTime, bussinessBegintime, bussinessEndtime, channelId, merchantNo, merchantBrandMain } = infoForm
this.infoForm = {
merchantAddress,
lng,
......@@ -120,7 +120,8 @@ export default {
provinceName,
cityName,
provinceCode,
cityCode
cityCode,
residentPhone
}
if (!businessType) {
this.infoForm.businessType = [1, 2, 3, 4, 5, 6]
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!