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