Commit 01df5974 by 前端

Merge branch 'SAAS+V4.51.1-0415' of http://192.168.3.233:8090/saas_plus/dj-car-l…

…ife-system into SAAS+V4.51.1-0415
2 parents 5ab57938 d4b26c12
......@@ -116,7 +116,6 @@ export default {
}
},
mounted() {
console.log(baseConfig, 'baseConfig---')
if (this.provinceView) {
this.provinceList()
}
......@@ -148,7 +147,6 @@ export default {
**/
// 获取省市信息
provinceList() {
console.log('??????????????000000000000000')
var params = {
keyword: '中国',
extensions_code: 1
......@@ -300,13 +298,13 @@ export default {
const municipalities = ['北京市', '天津市', '上海市', '重庆市']
var municipality = municipalities.find(item => item == provincename)
if (municipality) {
cityname = cityname.slice(0, 2) + '城区'
if (municipality === '重庆市') {
provincecode = provincecode.slice(0, 4)
provincecode == 5001 ? (cityname = cityname.slice(0, 2) + '城区') : (cityname = cityname.slice(0, 2) + '郊县')
// 重新赋值城市名
this.provinceForm.cityName = cityname
}
cityname = cityname.slice(0, 2) + '市'
// if (municipality === '重庆市') {
// provincecode = provincecode.slice(0, 4)
// provincecode == 5001 ? (cityname = cityname.slice(0, 2) + '城区') : (cityname = cityname.slice(0, 2) + '郊县')
// // 重新赋值城市名
// this.provinceForm.cityName = cityname
// }
}
// 判断省市是否匹配
// 如果只展示省市
......
......@@ -15,12 +15,12 @@
<div v-else-if="item.type == 'list'" class="table-box">
<!-- 表格数据 -->
<div class="table-title">
{{ orderInfo.showMerchant ?
{{ orderInfo.showMerchant == null ? "-":
orderInfo.showMerchant == 1
? "指定品牌"
: orderInfo.showMerchant == 2
? "指定门店"
: "全部门店": "-"
: "全部门店"
}}
</div>
<el-table v-if="orderInfo.showMerchant" :data="orderInfo[item.prop]" border :header-cell-style="{
......
......@@ -572,7 +572,7 @@
>
<template slot-scope="scope">
<span v-if="scope.row.reconciliationFlag === 'Y'">已对账</span>
<span v-else-if="scope.row.reconciliationFlag === 'N'">已对账</span>
<span v-else-if="scope.row.reconciliationFlag === 'N'">未对账</span>
<span v-else>--</span>
</template>
</el-table-column>
......@@ -1100,7 +1100,6 @@ export default {
type: "upload"
}
]
this.fileVisible=false
this.actionSetDownloadList({ list, type: "updateList" })
this.notice.okTips("上传成功")
this.handleBatchImport()
......
......@@ -454,7 +454,7 @@ export default {
// 强制更新 merchantAddress
this.editData.cityName = ''
this.editData.provinceName = val.name
this.editData.provinceCode = val.adcode
this.editData.provinceCode = val.code
this.$refs.editFormRef.$refs[this.editChildRef].validateField('merchantAddress')
},
// 获取市
......@@ -462,7 +462,7 @@ export default {
console.log(val)
if (val.name) {
this.editData.cityName = val.name
this.editData.cityCode = val.adcode
this.editData.cityCode = val.code
} else {
this.editData.cityName = ''
this.editData.cityCode = ''
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!