Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
saas_plus
/
dj-car-life-system
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit 838e3fad
authored
May 29, 2026
by
张立顺
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
fix bug
1 parent
11350ade
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
12 additions
and
450 deletions
src/components/glsx-combi-form/images/icon-map.png
src/components/glsx-combi-form/index.vue
src/components/glsx-combi-form/mapView.vue
src/views/orderManage/carDamage.vue
src/views/orderManage/order.vue
src/components/glsx-combi-form/images/icon-map.png
deleted
100644 → 0
View file @
11350ad
1.22 KB
src/components/glsx-combi-form/index.vue
View file @
838e3fa
...
@@ -338,15 +338,6 @@
...
@@ -338,15 +338,6 @@
<img
v-else
class=
"dialog-img"
width=
"100%"
:src=
"dialogObj.url"
alt=
""
/>
<img
v-else
class=
"dialog-img"
width=
"100%"
:src=
"dialogObj.url"
alt=
""
/>
</div>
</div>
</GLDialog>
</GLDialog>
<GLDialog
title=
"选择地址"
width=
"1080px"
:has-scroll=
"false"
:is-visible=
"dialogMapVisible"
:modal-append-to-body=
"nestedModalAppendToBody"
@
closeDialog=
"dialogMapVisible = false"
@
confirmDialog=
"getAddress"
>
<MapView
v-if=
"dialogMapVisible"
ref=
"mapForm"
></MapView>
<!-- <span slot="footer" class="dialog-footer">
<el-button @click="">取 消</el-button>
<el-button type="primary" @click="getAddress">确 定</el-button>
</span> -->
</GLDialog>
</div>
</div>
</template>
</template>
...
@@ -356,12 +347,10 @@ import { rangePickerOptions_30day2 } from "@/common/format";
...
@@ -356,12 +347,10 @@ import { rangePickerOptions_30day2 } from "@/common/format";
import
RemoteSelect
from
"@/components/remoteSearchSelect/index.vue"
;
import
RemoteSelect
from
"@/components/remoteSearchSelect/index.vue"
;
import
GLDialog
from
"../glsx-dialog/index.vue"
;
import
GLDialog
from
"../glsx-dialog/index.vue"
;
import
{
afterRangePickerOptions
,
beforeRangePickerOptions
}
from
"./common"
;
import
{
afterRangePickerOptions
,
beforeRangePickerOptions
}
from
"./common"
;
import
mapView
from
"./mapView.vue"
;
export
default
{
export
default
{
name
:
"GlsxCombiForm"
,
name
:
"GlsxCombiForm"
,
components
:
{
components
:
{
MapView
:
mapView
,
GLDialog
,
GLDialog
,
RemoteSelect
,
RemoteSelect
,
},
},
...
@@ -422,9 +411,6 @@ export default {
...
@@ -422,9 +411,6 @@ export default {
afterRangePickerOptions
,
afterRangePickerOptions
,
rangePickerOptions_30day2
,
rangePickerOptions_30day2
,
},
},
subdistrict
:
2
,
dialogMapVisible
:
false
,
targetItem
:
{},
isImgVisible
:
false
,
isImgVisible
:
false
,
dialogObj
:
{
dialogObj
:
{
url
:
""
,
url
:
""
,
...
@@ -839,105 +825,6 @@ export default {
...
@@ -839,105 +825,6 @@ export default {
forbidEdit
()
{
forbidEdit
()
{
this
.
$refs
.
textBox
.
forbidEdit
();
this
.
$refs
.
textBox
.
forbidEdit
();
},
},
// 地图
handleSelectMap
(
targetItem
)
{
this
.
targetItem
=
targetItem
;
this
.
dialogMapVisible
=
true
;
this
.
$nextTick
(()
=>
{
if
(
this
.
formObj
[
targetItem
.
attrObj
.
fullAddress
]
&&
!
this
.
$refs
.
mapForm
.
address
)
{
this
.
$refs
.
mapForm
.
address
=
this
.
formObj
[
targetItem
.
attrObj
.
fullAddress
];
this
.
$refs
.
mapForm
.
lnglat
=
this
.
formObj
[
targetItem
.
attrObj
.
lng
]
?
[
this
.
formObj
[
targetItem
.
attrObj
.
lng
],
this
.
formObj
[
targetItem
.
attrObj
.
lat
],
]
:
[];
// this.$refs.mapForm.addMarker([this.formObj[targetItem.attrObj.lng], this.formObj[targetItem.attrObj.lat]])
}
});
},
getAddress
()
{
const
mapInfo
=
this
.
$refs
.
mapForm
;
if
(
!
mapInfo
.
address
)
{
this
.
$message
({
message
:
"请选择地址"
,
type
:
"error"
,
customClass
:
"message-Z-zinde"
,
});
return
;
}
this
.
formObj
[
this
.
targetItem
.
attrObj
.
fullAddress
]
=
mapInfo
.
address
;
this
.
formObj
[
this
.
targetItem
.
attrObj
.
lat
]
=
mapInfo
.
lnglat
[
1
];
this
.
formObj
[
this
.
targetItem
.
attrObj
.
lng
]
=
mapInfo
.
lnglat
[
0
];
// var fullAddress = mapInfo.geocoderAddress.addressComponent || this.formObj[this.targetItem.attrObj.fullAddress]
let
fullAddress
=
mapInfo
.
geocoderAddress
.
addressComponent
;
// if (!fullAddress) {
// this.dialogMapVisible = false
// return
// }
let
provincecode
=
mapInfo
.
geocoderAddress
.
adcode
||
this
.
formObj
[
this
.
targetItem
.
attrObj
.
provinceCode
];
this
.
formObj
[
this
.
targetItem
.
attrObj
.
provinceCode
]
=
provincecode
;
// 获取省市
let
province
=
""
;
let
city
=
""
;
province
=
fullAddress
.
province
;
city
=
fullAddress
.
city
?
fullAddress
.
city
:
fullAddress
.
district
;
const
municipalities
=
[
"北京市"
,
"天津市"
,
"上海市"
,
"重庆市"
];
let
municipality
=
municipalities
.
find
(
item
=>
item
==
province
);
if
(
municipality
)
{
city
=
city
.
slice
(
0
,
2
)
+
"城区"
;
if
(
municipality
===
"重庆市"
)
{
provincecode
=
provincecode
.
slice
(
0
,
4
);
provincecode
==
5001
?
(
city
=
city
.
slice
(
0
,
2
)
+
"城区"
)
:
(
city
=
city
.
slice
(
0
,
2
)
+
"郊县"
);
}
}
// 判断省市是否匹配
if
(
this
.
formObj
[
this
.
targetItem
.
attrObj
.
provinceName
])
{
if
(
this
.
formObj
[
this
.
targetItem
.
attrObj
.
provinceName
]
!==
province
&&
this
.
formObj
[
this
.
targetItem
.
attrObj
.
cityName
]
!==
city
)
{
this
.
$message
({
message
:
"您选择的地址错误,请重新选择"
,
type
:
"error"
,
customClass
:
"message-Z-zinde"
,
});
this
.
formObj
[
this
.
formObj
[
this
.
targetItem
.
attrObj
.
fullAddress
]]
=
""
;
return
;
}
}
this
.
dialogMapVisible
=
false
;
this
.
formObj
[
this
.
targetItem
.
attrObj
.
provinceName
]
=
province
;
this
.
formObj
[
this
.
targetItem
.
attrObj
.
cityName
]
=
city
;
// 当直接点击选择地址时,获取省市ID
this
.
$refs
.
provinceForm
[
0
].
init
(
province
,
city
);
},
// 获取省
handleSelectProvince
(
val
,
targetItem
)
{
this
.
formObj
[
targetItem
.
attrObj
.
fullAddress
]
=
""
;
this
.
formObj
[
targetItem
.
attrObj
.
cityName
]
=
""
;
this
.
formObj
[
targetItem
.
attrObj
.
provinceName
]
=
val
.
provinceName
;
this
.
formObj
[
targetItem
.
attrObj
.
provinceCode
]
=
val
.
provinceCode
;
},
// 获取市
handleSelectCity
(
val
,
targetItem
)
{
if
(
val
.
cityName
)
{
this
.
formObj
[
targetItem
.
attrObj
.
cityName
]
=
val
.
cityName
;
this
.
formObj
[
targetItem
.
attrObj
.
cityCode
]
=
val
.
cityCode
;
}
else
{
this
.
formObj
[
targetItem
.
attrObj
.
cityName
]
=
""
;
this
.
formObj
[
targetItem
.
attrObj
.
cityCode
]
=
""
;
}
this
.
formObj
[
targetItem
.
attrObj
.
fullAddress
]
=
""
;
},
maxLengthInput
(
value
,
item
)
{
maxLengthInput
(
value
,
item
)
{
if
(
item
.
inputType
&&
value
.
length
>
item
.
maxlength
)
{
if
(
item
.
inputType
&&
value
.
length
>
item
.
maxlength
)
{
this
.
formObj
[
item
.
name
]
=
value
.
slice
(
0
,
item
.
maxlength
);
this
.
formObj
[
item
.
name
]
=
value
.
slice
(
0
,
item
.
maxlength
);
...
...
src/components/glsx-combi-form/mapView.vue
deleted
100644 → 0
View file @
11350ad
<
template
>
<div
class=
"map-box"
:style=
"
{ height: mapHeight + 'px', width: mapWidth + 'xp' }">
<div
id=
"container"
>
<el-select
v-model=
"input"
class=
"map-input"
filterable
remote
reserve-keyword
placeholder=
"请输入"
:remote-method=
"remoteMethod"
@
change=
"handleChangeAdr"
:loading=
"loading"
>
<el-option
v-for=
"item in adrList"
:key=
"item.id"
:label=
"item.address"
:value=
"item.id"
></el-option>
</el-select>
</div>
<div
class=
"map-address"
>
<img
class=
"icon-map"
src=
"./images/icon-map.png"
/>
{{
address
}}
</div>
</div>
</
template
>
<
script
>
let
map
,
marker
,
placeSearch
export
default
{
name
:
'Map'
,
props
:
{
mapHeight
:
{
type
:
Number
,
default
:
460
},
mapWidth
:
{
type
:
Number
,
default
:
740
}
},
data
()
{
return
{
input
:
[],
address
:
''
,
adrList
:
[],
lnglat
:
[],
geocoderAddress
:
{}
}
},
mounted
()
{
this
.
mapInit
()
},
methods
:
{
// initMap() {
// console.log(document.getElementsByTagName('head'))
// var script = document.createElement('script')
// script.type = 'text/javascript'
// script.src = 'https://webapi.amap.com/loader.js'
// document.getElementsByTagName('head')[0].appendChild(script)
// },
mapInit
()
{
/* eslint-disable */
AMapLoader
.
load
({
/* eslint-enable */
key
:
'44cc16e43ad7ed3358df507bd0618181'
,
// 申请好的Web端开发者Key,首次调用 load 时必填
version
:
'2.0'
,
// 指定要加载的 JSAPI 的版本,缺省时默认为 1.4.15
// 需要使用的的插件列表
plugins
:
[
'AMap.ToolBar'
,
'AMap.Scale'
,
'AMap.Geocoder'
],
AMapUI
:
{
// 是否加载 AMapUI,缺省不加载
version
:
'1.1'
,
// AMapUI 版本
plugins
:
[
'overlay/SimpleMarker'
]
// 需要加载的 AMapUI ui插件
},
Loca
:
{
// 是否加载 Loca, 缺省不加载
version
:
'2.0'
// Loca 版本
}
})
.
then
(
AMap
=>
{
map
=
new
AMap
.
Map
(
'container'
,
{
zoom
:
20
,
autoFitView
:
true
,
resizeEnable
:
true
,
cursor
:
'move'
})
if
(
this
.
lnglat
.
length
)
{
this
.
addMarker
(
this
.
lnglat
)
}
map
.
addControl
(
new
AMap
.
Scale
())
map
.
addControl
(
new
AMap
.
ToolBar
())
this
.
geocoder
=
new
AMap
.
Geocoder
()
map
.
setDefaultCursor
(
'pointer'
)
AMap
.
plugin
([
'AMap.PlaceSearch'
],
function
()
{
// 构造地点查询类
placeSearch
=
new
AMap
.
PlaceSearch
({
pageSize
:
8
,
// 单页显示结果条数
pageIndex
:
1
,
// 页码
citylimit
:
false
,
// 是否强制限制在设置的城市内搜索
// panel: "panel", // 结果列表将在此容器中进行展示。
autoFitView
:
true
,
// 是否自动调整地图视野使绘制的 Marker点都处于视口的可见范围
renderStyle
:
'default'
})
})
map
.
on
(
'click'
,
this
.
getAddress
)
})
.
catch
(
e
=>
{
console
.
error
(
e
)
// 加载错误提示
})
},
remoteMethod
(
query
)
{
if
(
query
==
''
)
{
return
true
}
const
_this
=
this
placeSearch
.
search
(
query
,
function
(
status
,
result
)
{
if
(
status
===
'complete'
&&
result
.
poiList
.
pois
.
length
)
{
_this
.
adrList
=
result
.
poiList
.
pois
}
})
},
addMarker
(
lnglat
)
{
let
position
if
(
lnglat
.
lng
)
{
position
=
[
lnglat
.
lng
,
lnglat
.
lat
]
}
else
{
position
=
lnglat
}
this
.
lnglat
=
position
marker
=
new
AMap
.
Marker
({
map
:
map
,
icon
:
new
AMap
.
Icon
({
image
:
'//a.amap.com/jsapi_demos/static/demo-center/icons/poi-marker-default.png'
,
size
:
new
AMap
.
Size
(
27
,
34
),
// 图标大小
imageSize
:
new
AMap
.
Size
(
27
,
34
)
}),
// draggable: true,
position
:
position
,
offset
:
new
AMap
.
Pixel
(
-
10
,
-
10
)
})
map
.
setCenter
(
position
)
map
.
add
(
marker
)
marker
.
setMap
(
map
)
// this.map.setFitView()
},
getAddress
(
e
)
{
const
self
=
this
let
position
if
(
e
.
type
==
'click'
)
{
position
=
e
.
lnglat
}
else
{
const
{
lng
,
lat
}
=
e
position
=
[
lng
,
lat
]
}
if
(
marker
)
{
map
.
remove
(
marker
)
marker
.
setMap
(
null
)
marker
=
null
}
self
.
addMarker
(
position
)
AMap
.
plugin
(
'AMap.Geocoder'
,
()
=>
{
const
geocoder
=
new
AMap
.
Geocoder
()
geocoder
.
getAddress
(
position
,
(
status
,
result
)
=>
{
self
.
address
=
result
.
regeocode
.
formattedAddress
geocoder
.
getLocation
(
self
.
address
,
(
status
,
result
)
=>
{
if
(
status
===
'complete'
&&
result
.
info
===
'OK'
)
{
self
.
geocoderAddress
=
result
.
geocodes
[
0
]
}
})
})
})
},
handleChangeAdr
(
val
)
{
if
(
val
)
{
var
location
=
this
.
adrList
.
find
(
item
=>
item
.
id
==
val
)
this
.
getAddress
(
location
.
location
)
this
.
input
=
''
this
.
adrList
=
[]
}
}
}
}
</
script
>
<
style
scoped
lang=
"scss"
>
.map-box
{
display
:
flex
;
#container
{
position
:
relative
;
width
:
calc
(
100%
-
284px
-
16px
);
height
:
100%
;
}
.map-input
{
position
:
absolute
;
top
:
32px
;
width
:
60%
;
left
:
25%
;
z-index
:
2
;
}
}
#panel
{
position
:
absolute
;
max-height
:
90%
;
overflow-y
:
auto
;
top
:
80px
;
right
:
10px
;
width
:
280px
;
}
.map-address
{
display
:
flex
;
box-sizing
:
border-box
;
width
:
284px
;
height
:
100%
;
background-color
:
#f9f9f9
;
padding
:
20px
;
margin-left
:
16px
;
line-height
:
20px
;
.icon-map
{
width
:
16px
;
height
:
16px
;
margin-right
:
6px
;
}
}
</
style
>
src/views/orderManage/carDamage.vue
View file @
838e3fa
...
@@ -463,7 +463,7 @@ import {
...
@@ -463,7 +463,7 @@ import {
}
from
"@api/order"
;
}
from
"@api/order"
;
import
{
getAllCategory
}
from
"@api/product"
;
import
{
getAllCategory
}
from
"@api/product"
;
import
{
mapActions
,
mapMutations
,
mapState
}
from
"vuex"
;
import
{
mapActions
,
mapMutations
,
mapState
}
from
"vuex"
;
import
{
getBrandList
}
from
"@/api/shopConfig.js"
;
import
{
getBrandList
,
getDistrictDetail
}
from
"@/api/shopConfig.js"
;
import
{
auditStatusMap
,
BaseData
,
djOrderTypeList
,
djOrderTypeMap
,
goodsAuditStatusList
,
manageTypeList
,
zyVoucherStatusOpt
}
from
"@/common/constants"
;
import
{
auditStatusMap
,
BaseData
,
djOrderTypeList
,
djOrderTypeMap
,
goodsAuditStatusList
,
manageTypeList
,
zyVoucherStatusOpt
}
from
"@/common/constants"
;
import
{
deepClone
,
Util
}
from
"@/common/util"
;
import
{
deepClone
,
Util
}
from
"@/common/util"
;
import
chooseRuleDialog
from
"./chooseRuleDialog"
;
import
chooseRuleDialog
from
"./chooseRuleDialog"
;
...
@@ -740,7 +740,7 @@ export default {
...
@@ -740,7 +740,7 @@ export default {
name
:
"provinceId"
,
name
:
"provinceId"
,
type
:
"select"
,
type
:
"select"
,
optionList
:
[],
optionList
:
[],
optionId
:
"
ad
code"
,
optionId
:
"code"
,
optionLabel
:
"name"
,
optionLabel
:
"name"
,
optionsName
:
"provinceInfoList"
,
optionsName
:
"provinceInfoList"
,
}
,
}
,
...
@@ -1688,69 +1688,11 @@ export default {
...
@@ -1688,69 +1688,11 @@ export default {
// 省市区
// 省市区
getProvinceList
()
{
getProvinceList
()
{
let
map
=
new
AMap
.
Map
(
"district"
,
{
getDistrictDetail
({
districtName
:
"中国"
}
).
then
((
res
)
=>
{
resizeEnable
:
true
,
if
(
res
&&
res
.
length
)
{
}
);
this
.
baseData
.
provinceInfoList
=
res
[
0
].
districts
;
AMap
.
plugin
([
"AMap.DistrictSearch"
],
()
=>
{
let
opts
=
{
subdistrict
:
1
,
// 返回下一级行政区
level
:
"city"
,
// 查询的范围
showbiz
:
true
,
// 查询行政级别为 市
}
;
let
districtSearch
=
new
AMap
.
DistrictSearch
(
opts
);
districtSearch
.
search
(
"中国"
,
(
status
,
result
)
=>
{
this
.
baseData
.
provinceInfoList
=
result
.
districtList
[
0
].
districtList
;
console
.
log
(
this
.
baseData
.
provinceInfoList
);
this
.
getOptionsList
();
this
.
getOptionsList
();
// com.getSelect(
{
}
// id: 'startp',
// name: 'provinceName',
// url: '/area/list',
// // value: 'provinceId',
// data: provinceInfoList,
// value: 'name',
// text: 'name',
// param:
{
}
,
// select: function (data)
{
// const
{
value
}
=
data
// if (value)
{
// // var province = provinceInfoList.find(item => item.provinceId == value)
// var province = provinceInfoList.find(item => item.name == value)
// cityInfo = province.districtList
// merchantForm.provinceCode = province.adcode
// merchantForm.provinceName = province.name
// $('#addrEl').val('')
//
}
else
{
// cityInfo = []
// merchantForm.provinceCode = ''
// merchantForm.provinceName = ''
//
}
// merchantForm.cityCode = ''
// merchantForm.cityName = ''
// com.getSelect(
{
// id: 'startc',
// name: 'cityName',
// url: '/area/list',
// value: 'name',
// text: 'name',
// data: cityInfo,
// link: 'startp',
// select: function (data)
{
// const
{
value
}
=
data
// if (value)
{
// // var city = cityInfo.find(item => item.cityId == value)
// var city = cityInfo.find(item => item.name == value)
// merchantForm.cityCode = city.adcode
// merchantForm.cityName = city.name
//
}
else
{
// merchantForm.cityCode = ''
// merchantForm.cityName = ''
//
}
//
}
//
}
)
//
}
//
}
)
}
);
}
);
}
);
}
,
}
,
// 审批通过
// 审批通过
...
...
src/views/orderManage/order.vue
View file @
838e3fa
...
@@ -442,7 +442,7 @@ import {
...
@@ -442,7 +442,7 @@ import {
}
from
"@api/order"
;
}
from
"@api/order"
;
import
{
getAllCategory
}
from
"@api/product"
;
import
{
getAllCategory
}
from
"@api/product"
;
import
{
mapActions
,
mapMutations
,
mapState
}
from
"vuex"
;
import
{
mapActions
,
mapMutations
,
mapState
}
from
"vuex"
;
import
{
getBrandList
}
from
"@/api/shopConfig.js"
;
import
{
getBrandList
,
getDistrictDetail
}
from
"@/api/shopConfig.js"
;
import
{
auditStatusMap
,
BaseData
,
djOrderTypeList
,
djOrderTypeMap
,
goodsAuditStatusList
,
manageTypeList
}
from
"@/common/constants"
;
import
{
auditStatusMap
,
BaseData
,
djOrderTypeList
,
djOrderTypeMap
,
goodsAuditStatusList
,
manageTypeList
}
from
"@/common/constants"
;
import
{
Util
}
from
"@/common/util"
;
import
{
Util
}
from
"@/common/util"
;
import
chooseRuleDialog
from
"./chooseRuleDialog"
;
import
chooseRuleDialog
from
"./chooseRuleDialog"
;
...
@@ -684,7 +684,7 @@ export default {
...
@@ -684,7 +684,7 @@ export default {
name
:
"provinceId"
,
name
:
"provinceId"
,
type
:
"select"
,
type
:
"select"
,
optionList
:
[],
optionList
:
[],
optionId
:
"
ad
code"
,
optionId
:
"code"
,
optionLabel
:
"name"
,
optionLabel
:
"name"
,
optionsName
:
"provinceInfoList"
,
optionsName
:
"provinceInfoList"
,
}
,
}
,
...
@@ -1590,69 +1590,11 @@ export default {
...
@@ -1590,69 +1590,11 @@ export default {
// 省市区
// 省市区
getProvinceList
()
{
getProvinceList
()
{
let
map
=
new
AMap
.
Map
(
"district"
,
{
getDistrictDetail
({
districtName
:
"中国"
}
).
then
((
res
)
=>
{
resizeEnable
:
true
,
if
(
res
&&
res
.
length
)
{
}
);
this
.
baseData
.
provinceInfoList
=
res
[
0
].
districts
;
AMap
.
plugin
([
"AMap.DistrictSearch"
],
()
=>
{
let
opts
=
{
subdistrict
:
1
,
// 返回下一级行政区
level
:
"city"
,
// 查询的范围
showbiz
:
true
,
// 查询行政级别为 市
}
;
let
districtSearch
=
new
AMap
.
DistrictSearch
(
opts
);
districtSearch
.
search
(
"中国"
,
(
status
,
result
)
=>
{
this
.
baseData
.
provinceInfoList
=
result
.
districtList
[
0
].
districtList
;
console
.
log
(
this
.
baseData
.
provinceInfoList
);
this
.
getOptionsList
();
this
.
getOptionsList
();
// com.getSelect(
{
}
// id: 'startp',
// name: 'provinceName',
// url: '/area/list',
// // value: 'provinceId',
// data: provinceInfoList,
// value: 'name',
// text: 'name',
// param:
{
}
,
// select: function (data)
{
// const
{
value
}
=
data
// if (value)
{
// // var province = provinceInfoList.find(item => item.provinceId == value)
// var province = provinceInfoList.find(item => item.name == value)
// cityInfo = province.districtList
// merchantForm.provinceCode = province.adcode
// merchantForm.provinceName = province.name
// $('#addrEl').val('')
//
}
else
{
// cityInfo = []
// merchantForm.provinceCode = ''
// merchantForm.provinceName = ''
//
}
// merchantForm.cityCode = ''
// merchantForm.cityName = ''
// com.getSelect(
{
// id: 'startc',
// name: 'cityName',
// url: '/area/list',
// value: 'name',
// text: 'name',
// data: cityInfo,
// link: 'startp',
// select: function (data)
{
// const
{
value
}
=
data
// if (value)
{
// // var city = cityInfo.find(item => item.cityId == value)
// var city = cityInfo.find(item => item.name == value)
// merchantForm.cityCode = city.adcode
// merchantForm.cityName = city.name
//
}
else
{
// merchantForm.cityCode = ''
// merchantForm.cityName = ''
//
}
//
}
//
}
)
//
}
//
}
)
}
);
}
);
}
);
}
,
}
,
// 审批通过
// 审批通过
...
...
Write
Preview
Markdown
is supported
Attach a file
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to post a comment