diff --git a/project/pidu/app/AppGoods/components/Add.vue b/project/pidu/app/AppGoods/components/Add.vue
index 7559fae1..d3f1184c 100644
--- a/project/pidu/app/AppGoods/components/Add.vue
+++ b/project/pidu/app/AppGoods/components/Add.vue
@@ -49,8 +49,8 @@
- {{ item.girdName }}
- 等{{ form.girdList.length }}个
+ {{ item.girdName }}
+ 等{{ girdList.length }}个
请选择
{{ form.rangeList.length ? '重新选择' : '选择' }}
@@ -114,12 +114,24 @@
this.form.imageUrl = [{
url: res.data.imageUrl
}]
+
+ if (res.data.rangeList && res.data.rangeList.length) {
+ this.form.wxGroupsName = 1
+ this.girdList = res.data.rangeList.map(v => {
+ return {
+ ...v,
+ id: v.rangeId,
+ girdName: v.rangeName
+ }
+ })
+ this.form.rangeList = res.data.rangeList.map(v => v.rangeId)
+ }
}
})
},
onPick (e) {
- this.form.girdList = e
+ this.girdList = e
},
onSelcetChange (e) {
diff --git a/project/pidu/app/AppGoods/components/List.vue b/project/pidu/app/AppGoods/components/List.vue
index 2a20e3d9..b0a91e8b 100644
--- a/project/pidu/app/AppGoods/components/List.vue
+++ b/project/pidu/app/AppGoods/components/List.vue
@@ -163,6 +163,10 @@
})
},
+ onUserChange () {
+
+ },
+
mapStatus (status) {
return {
'0': '可兑换',
diff --git a/project/pidu/app/AppOrder/components/List.vue b/project/pidu/app/AppOrder/components/List.vue
index d971f3ef..f40282be 100644
--- a/project/pidu/app/AppOrder/components/List.vue
+++ b/project/pidu/app/AppOrder/components/List.vue
@@ -8,7 +8,7 @@
-
+
{{ name }}
兑换人
@@ -20,7 +20,7 @@
v-model="search.source"
clearable
placeholder="请选择订单状态"
- :selectList="dict.getDict('EP_source')"
+ :selectList="dict.getDict('merchandiseStatus')"
@change="search.current = 1, getList()">
+
![]()
+
{{ row.merchandiseName }}
@@ -107,6 +109,7 @@
name: '',
createUserId: ''
},
+ user: [],
name: '',
info: {},
colConfigs: [
@@ -120,9 +123,10 @@
label: '兑换时间'
},
{
- prop: 'arriveAreaName',
+ prop: 'status',
align: 'center',
- label: '状态'
+ label: '状态',
+ formart: v => this.dict.getLabel('merchandiseStatus', v)
}
],
ids: [],
@@ -134,14 +138,18 @@
},
created () {
- this.dict.load(['EP_riskLevel', 'EP_handleType', 'modeType', 'EP_riskStatus', 'EP_source']).then(() => {
+ this.dict.load(['merchandiseStatus']).then(() => {
this.getList()
})
},
methods: {
+ onUserChange () {
+
+ },
+
getList () {
- this.instance.post(`/app/appepidemicpreventionregisterinfo/list`, null, {
+ this.instance.post(`/app/appintegralmerchandiseorder/list`, null, {
params: {
...this.search,
arriveAreaId: this.search.arriveAreaId,
@@ -150,6 +158,7 @@
}
}).then(res => {
if (res.code == 0) {
+ console.log(res.data.records)
this.tableData = res.data.records
this.total = res.data.total
}
@@ -181,6 +190,17 @@