diff --git a/project/fengdu/app/AppIntegratingSupermarket/components/AddStore.vue b/project/fengdu/app/AppIntegratingSupermarket/components/AddStore.vue
index da6920fb..06418b55 100644
--- a/project/fengdu/app/AppIntegratingSupermarket/components/AddStore.vue
+++ b/project/fengdu/app/AppIntegratingSupermarket/components/AddStore.vue
@@ -1,7 +1,7 @@
-
+
@@ -51,6 +51,127 @@
+
+
+ 选择商品
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
取消
@@ -71,6 +192,7 @@
data () {
return {
+ isShow: false,
form: {
title: '',
type: '',
@@ -78,11 +200,43 @@
girdList: []
},
girdList: [],
- id: ''
+ id: '',
+ search: {
+ type: '',
+ title: '',
+ current: 1,
+ status: '',
+ size: 10
+ },
+ total: 0,
+ tableData: [],
+ chooseColConfigs: [
+ { slot: 'goods' },
+ { prop: 'type', label: '商品类型', align: 'center', format: v => this.dict.getLabel('integralSGType', v) },
+ { slot: 'integralPrice' },
+ { slot: 'payMoney' },
+ { prop: 'onlineTime', label: '商品链接', align: 'center' },
+ { slot: 'stock' },
+ { prop: 'jdUrl', label: '申请时间', align: 'center' },
+ { prop: 'status', width: 90, label: '状态', align: 'center', format: v => this.dict.getLabel('integralSGStatus', v) }
+ ],
+ colConfigs: [
+ { type: 'selection', label: '', align: 'left' },
+ { prop: 'serialNumber', label: '商品ID', align: 'center' },
+ { slot: 'goods', align: 'center' },
+ { prop: 'type', label: '商品类型', align: 'center', format: v => this.dict.getLabel('integralSGType', v) },
+ { prop: 'onlineTime', label: '上架时间', align: 'center' },
+ { prop: 'createTime', label: '申请时间', align: 'center' },
+ { prop: 'status', width: 90, label: '状态', align: 'center', format: v => this.dict.getLabel('integralSGStatus', v) }
+ ]
}
},
created () {
+ this.dict.load('integralSGType', 'integralSGStatus').then(() => {
+ this.getList()
+ })
+
if (this.params && this.params.id) {
this.id = this.params.id
this.getInfo(this.params.id)
@@ -90,6 +244,24 @@
},
methods: {
+ getList () {
+ this.instance.post(`/app/appintegralsupermarketgoods/list`, null, {
+ params: {
+ ...this.search,
+ areaId: this.areaId,
+ }
+ }).then((res) => {
+ if (res.code == 0) {
+ this.tableData = res.data.records
+ this.total = res.data.total
+ }
+ })
+ },
+
+ handleSelectionChange (e) {
+ console.log(e)
+ },
+
getInfo (id) {
this.instance.post(`/app/appintegralmerchandise/queryDetailById?id=${id}`).then(res => {
if (res.code === 0) {
@@ -145,6 +317,12 @@
diff --git a/project/fengdu/app/AppIntegratingSupermarket/components/addGoods.vue b/project/fengdu/app/AppIntegratingSupermarket/components/addGoods.vue
index 80cb72f6..6487aaa6 100644
--- a/project/fengdu/app/AppIntegratingSupermarket/components/addGoods.vue
+++ b/project/fengdu/app/AppIntegratingSupermarket/components/addGoods.vue
@@ -1,7 +1,7 @@
-
+