|
@@ -9,19 +9,24 @@
|
|
@cancle="isShow=false"
|
|
@cancle="isShow=false"
|
|
:width="960">
|
|
:width="960">
|
|
<a-spin :spinning="spinning" tip="Loading...">
|
|
<a-spin :spinning="spinning" tip="Loading...">
|
|
- <div v-if="form">
|
|
|
|
|
|
+ <div>
|
|
<a-collapse :activeKey="['1','2','3']" class="merchantInfoManagement-cont-m">
|
|
<a-collapse :activeKey="['1','2','3']" class="merchantInfoManagement-cont-m">
|
|
<a-collapse-panel key="1" header="基础信息">
|
|
<a-collapse-panel key="1" header="基础信息">
|
|
<a-descriptions :column="2" bordered size="small">
|
|
<a-descriptions :column="2" bordered size="small">
|
|
- <a-descriptions-item label="经销商名称">{{ form.dealerName || '--' }}</a-descriptions-item>
|
|
|
|
- <a-descriptions-item label="经销商别名">{{ form.dealerAlias || '--' }}</a-descriptions-item>
|
|
|
|
- <a-descriptions-item label="商户类型">{{ form.dealerTypeDictValue || '--' }}</a-descriptions-item>
|
|
|
|
- <a-descriptions-item label="联系人1">{{ form.contact || '--' }}</a-descriptions-item>
|
|
|
|
- <a-descriptions-item label="联系手机1">{{ form.contactMobile || '--' }}</a-descriptions-item>
|
|
|
|
- <a-descriptions-item label="联系角色1">{{ form.contactRole || '--' }}</a-descriptions-item>
|
|
|
|
- <a-descriptions-item label="联系电话">{{ form.dealerTelephone || '--' }}</a-descriptions-item>
|
|
|
|
|
|
+ <a-descriptions-item label="经销商名称">{{ form&&form.dealerName ? form.dealerName : '--' }}</a-descriptions-item>
|
|
|
|
+ <a-descriptions-item label="经销商别名">{{ form&&form.dealerAlias ? form.dealerAlias : '--' }}</a-descriptions-item>
|
|
|
|
+ <a-descriptions-item label="商户类型">{{ form&&form.dealerTypeDictValue ? form.dealerTypeDictValue : '--' }}</a-descriptions-item>
|
|
|
|
+ <a-descriptions-item label="联系人1">{{ form&&form.contact ? form.contact : '--' }}</a-descriptions-item>
|
|
|
|
+ <a-descriptions-item label="联系手机1">{{ form&&form.contactMobile ? form.contactMobile : '--' }}</a-descriptions-item>
|
|
|
|
+ <a-descriptions-item label="联系角色1">{{ form&&form.contactRole ? form.contactRole : '--' }}</a-descriptions-item>
|
|
|
|
+ <a-descriptions-item label="联系电话">{{ form&&form.dealerTelephone ? form.dealerTelephone : '--' }}</a-descriptions-item>
|
|
<a-descriptions-item label="地址">
|
|
<a-descriptions-item label="地址">
|
|
- <span v-if="form.provinceName || form.cityName || form.districtName || form.address">{{ form.provinceName }}{{ form.cityName }}{{ form.districtName }}{{ form.address }}</span>
|
|
|
|
|
|
+ <span v-if="form&&(form.provinceName || form.cityName || form.districtName || form.address)">
|
|
|
|
+ {{ form&&form.provinceName ? form.provinceName : '' }}
|
|
|
|
+ {{ form&&form.cityName ? form.cityName : '' }}
|
|
|
|
+ {{ form&&form.districtName ? form.districtName : '' }}
|
|
|
|
+ {{ form&&form.address ? form.address : '' }}
|
|
|
|
+ </span>
|
|
<span v-else>--</span>
|
|
<span v-else>--</span>
|
|
</a-descriptions-item>
|
|
</a-descriptions-item>
|
|
</a-descriptions>
|
|
</a-descriptions>
|
|
@@ -30,44 +35,49 @@
|
|
<a-collapse class="merchantInfoManagement-cont-m">
|
|
<a-collapse class="merchantInfoManagement-cont-m">
|
|
<a-collapse-panel key="2" header="公司信息">
|
|
<a-collapse-panel key="2" header="公司信息">
|
|
<a-descriptions :column="2" bordered size="small">
|
|
<a-descriptions :column="2" bordered size="small">
|
|
- <a-descriptions-item label="经营方式">{{ form.busniessMode || '--' }}</a-descriptions-item>
|
|
|
|
- <a-descriptions-item label="经营项目">{{ form.busniessItmes || '--' }}</a-descriptions-item>
|
|
|
|
- <a-descriptions-item label="公司规模">{{ form.busniessScope || '--' }}</a-descriptions-item>
|
|
|
|
- <a-descriptions-item label="成立时间">{{ form.buildDate || '--' }}</a-descriptions-item>
|
|
|
|
|
|
+ <a-descriptions-item label="经营方式">{{ form&&form.busniessMode ? form.busniessMode : '--' }}</a-descriptions-item>
|
|
|
|
+ <a-descriptions-item label="经营项目">{{ form&&form.busniessItmes ? form.busniessItmes : '--' }}</a-descriptions-item>
|
|
|
|
+ <a-descriptions-item label="公司规模">{{ form&&form.busniessScope ? form.busniessScope : '--' }}</a-descriptions-item>
|
|
|
|
+ <a-descriptions-item label="成立时间">{{ form&&form.buildDate ? form.buildDate : '--' }}</a-descriptions-item>
|
|
<a-descriptions-item label="一般纳税人">
|
|
<a-descriptions-item label="一般纳税人">
|
|
- <span v-if="form.isTaxpayer">{{ form.isTaxpayer == 1 ? '是':'否' }}</span>
|
|
|
|
|
|
+ <span v-if="form&&form.isTaxpayer">{{ form&&form.isTaxpayer == 1 ? '是':'否' }}</span>
|
|
<span v-else>--</span>
|
|
<span v-else>--</span>
|
|
</a-descriptions-item>
|
|
</a-descriptions-item>
|
|
- <a-descriptions-item label="身份证号码">{{ form.indentityCard || '--' }}</a-descriptions-item>
|
|
|
|
- <a-descriptions-item label="生日">{{ form.brithday || '--' }}</a-descriptions-item>
|
|
|
|
- <a-descriptions-item label="籍贯">{{ form.nativePlace || '--' }}</a-descriptions-item>
|
|
|
|
- <a-descriptions-item label="邮箱">{{ form.mail || '--' }}</a-descriptions-item>
|
|
|
|
- <a-descriptions-item label="联系人2">{{ form.contact2 || '--' }}</a-descriptions-item>
|
|
|
|
- <a-descriptions-item label="联系角色2">{{ form.contractRole2 || '--' }}</a-descriptions-item>
|
|
|
|
- <a-descriptions-item label="联系手机2">{{ form.contactMobile2 || '--' }}</a-descriptions-item>
|
|
|
|
- <a-descriptions-item label="邮政编码">{{ form.zipCode || '--' }}</a-descriptions-item>
|
|
|
|
- <a-descriptions-item label="收货人">{{ form.receiveContact || '--' }}</a-descriptions-item>
|
|
|
|
- <a-descriptions-item label="收货人电话">{{ form.receiveMobile || '--' }}</a-descriptions-item>
|
|
|
|
|
|
+ <a-descriptions-item label="身份证号码">{{ form&&form.indentityCard ? form.indentityCard : '--' }}</a-descriptions-item>
|
|
|
|
+ <a-descriptions-item label="生日">{{ form&&form.brithday ? form.brithday : '--' }}</a-descriptions-item>
|
|
|
|
+ <a-descriptions-item label="籍贯">{{ form&&form.nativePlace ? form.nativePlace : '--' }}</a-descriptions-item>
|
|
|
|
+ <a-descriptions-item label="邮箱">{{ form&&form.mail ? form.mail : '--' }}</a-descriptions-item>
|
|
|
|
+ <a-descriptions-item label="联系人2">{{ form&&form.contact2 ? form.contact2 : '--' }}</a-descriptions-item>
|
|
|
|
+ <a-descriptions-item label="联系角色2">{{ form&&form.contractRole2 ? form.contractRole2 : '--' }}</a-descriptions-item>
|
|
|
|
+ <a-descriptions-item label="联系手机2">{{ form&&form.contactMobile2 ? form.contactMobile2 : '--' }}</a-descriptions-item>
|
|
|
|
+ <a-descriptions-item label="邮政编码">{{ form&&form.zipCode ? form.zipCode : '--' }}</a-descriptions-item>
|
|
|
|
+ <a-descriptions-item label="收货人">{{ form&&form.receiveContact ? form.receiveContact : '--' }}</a-descriptions-item>
|
|
|
|
+ <a-descriptions-item label="收货人电话">{{ form&&form.receiveMobile ? form.receiveMobile : '--' }}</a-descriptions-item>
|
|
<a-descriptions-item label="收货地址">
|
|
<a-descriptions-item label="收货地址">
|
|
- <span v-if="form.receiveProvinceName || form.receiveCityName || form.receiveDistrictName || form.receiveAddress">{{ form.receiveProvinceName }}{{ form.receiveCityName }}{{ form.receiveDistrictName }}{{ form.receiveAddress }}</span>
|
|
|
|
|
|
+ <span v-if="form&&(form.receiveProvinceName || form.receiveCityName || form.receiveDistrictName || form.receiveAddress)">
|
|
|
|
+ {{ form&&form.receiveProvinceName ? form.receiveProvinceName : '' }}
|
|
|
|
+ {{ form&&form.receiveCityName ? form.receiveCityName : '' }}
|
|
|
|
+ {{ form&&form.receiveDistrictName ? form.receiveDistrictName : '' }}
|
|
|
|
+ {{ form&&form.receiveAddress ? form.receiveAddress : '' }}
|
|
|
|
+ </span>
|
|
<span v-else>--</span>
|
|
<span v-else>--</span>
|
|
</a-descriptions-item>
|
|
</a-descriptions-item>
|
|
- <a-descriptions-item label="银行账户">{{ form.tradeAccountName || '--' }}</a-descriptions-item>
|
|
|
|
- <a-descriptions-item label="开户行">{{ form.tradeBankName || '--' }}</a-descriptions-item>
|
|
|
|
- <a-descriptions-item label="银行账号">{{ form.tradeBankAccount || '--' }}</a-descriptions-item>
|
|
|
|
|
|
+ <a-descriptions-item label="银行账户">{{ form&&form.tradeAccountName ? form.tradeAccountName : '--' }}</a-descriptions-item>
|
|
|
|
+ <a-descriptions-item label="开户行">{{ form&&form.tradeBankName ? form.tradeBankName : '--' }}</a-descriptions-item>
|
|
|
|
+ <a-descriptions-item label="银行账号">{{ form&&form.tradeBankAccount ? form.tradeBankAccount : '--' }}</a-descriptions-item>
|
|
</a-descriptions>
|
|
</a-descriptions>
|
|
</a-collapse-panel>
|
|
</a-collapse-panel>
|
|
</a-collapse>
|
|
</a-collapse>
|
|
<a-collapse class="merchantInfoManagement-cont-m">
|
|
<a-collapse class="merchantInfoManagement-cont-m">
|
|
<a-collapse-panel key="3" header="总部信息">
|
|
<a-collapse-panel key="3" header="总部信息">
|
|
<a-descriptions :column="2" bordered size="small">
|
|
<a-descriptions :column="2" bordered size="small">
|
|
- <a-descriptions-item label="箭冠汽配代码">{{ form.jgAutoPartsCode || '--' }}</a-descriptions-item>
|
|
|
|
- <a-descriptions-item label="门头更换日期">{{ form.jgDoorHeaderChangeTime || '--' }}</a-descriptions-item>
|
|
|
|
|
|
+ <a-descriptions-item label="箭冠汽配代码">{{ form&&form.jgAutoPartsCode ? form.jgAutoPartsCode : '--' }}</a-descriptions-item>
|
|
|
|
+ <a-descriptions-item label="门头更换日期">{{ form&&form.jgDoorHeaderChangeTime ? form.jgDoorHeaderChangeTime : '--' }}</a-descriptions-item>
|
|
<a-descriptions-item label="特约价是否可见">
|
|
<a-descriptions-item label="特约价是否可见">
|
|
- <span v-if="form.isShowSpecialPrice">{{ form.isShowSpecialPrice == 1 ? '是':'否' }}</span>
|
|
|
|
|
|
+ <span v-if="form&&form.isShowSpecialPrice">{{ form&&form.isShowSpecialPrice == 1 ? '是':'否' }}</span>
|
|
<span v-else>--</span>
|
|
<span v-else>--</span>
|
|
</a-descriptions-item>
|
|
</a-descriptions-item>
|
|
- <a-descriptions-item label="备注">{{ form.remark || '--' }}</a-descriptions-item>
|
|
|
|
|
|
+ <a-descriptions-item label="备注">{{ form&&form.remark ? form.remark : '--' }}</a-descriptions-item>
|
|
</a-descriptions>
|
|
</a-descriptions>
|
|
</a-collapse-panel>
|
|
</a-collapse-panel>
|
|
</a-collapse>
|
|
</a-collapse>
|
|
@@ -83,9 +93,6 @@
|
|
<a-button id="merchantInfoManagement-back" size="large" @click="isShow = false" style="font-size: 12px;">返回列表</a-button>
|
|
<a-button id="merchantInfoManagement-back" size="large" @click="isShow = false" style="font-size: 12px;">返回列表</a-button>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
- <div style="padding: 50px;text-align: center;" v-else>
|
|
|
|
- <a-spin />
|
|
|
|
- </div>
|
|
|
|
</a-spin>
|
|
</a-spin>
|
|
<!-- 审核 -->
|
|
<!-- 审核 -->
|
|
<auditModal :openModal="visibleAudit" @close="visibleAudit=false" @ok="auditOrder('PASS')" @fail="auditOrder('REJECT')" />
|
|
<auditModal :openModal="visibleAudit" @close="visibleAudit=false" @ok="auditOrder('PASS')" @fail="auditOrder('REJECT')" />
|
|
@@ -139,16 +146,23 @@ export default {
|
|
},
|
|
},
|
|
// 详情编辑
|
|
// 详情编辑
|
|
getDetail () {
|
|
getDetail () {
|
|
|
|
+ this.spinning = true
|
|
if (this.isAudit) {
|
|
if (this.isAudit) {
|
|
dealerFindUpdateInfoBySn({ sn: this.itemId }).then(res => {
|
|
dealerFindUpdateInfoBySn({ sn: this.itemId }).then(res => {
|
|
if (res.status == 200) {
|
|
if (res.status == 200) {
|
|
this.form = res.data
|
|
this.form = res.data
|
|
|
|
+ this.spinning = false
|
|
|
|
+ } else {
|
|
|
|
+ this.spinning = false
|
|
}
|
|
}
|
|
})
|
|
})
|
|
} else {
|
|
} else {
|
|
dealerDetailBySn({ sn: this.itemId }).then(res => {
|
|
dealerDetailBySn({ sn: this.itemId }).then(res => {
|
|
if (res.status == 200) {
|
|
if (res.status == 200) {
|
|
this.form = res.data
|
|
this.form = res.data
|
|
|
|
+ this.spinning = false
|
|
|
|
+ } else {
|
|
|
|
+ this.spinning = false
|
|
}
|
|
}
|
|
})
|
|
})
|
|
}
|
|
}
|