diff --git a/.env.development b/.env.development
index 9a6ef86..90748a2 100644
--- a/.env.development
+++ b/.env.development
@@ -8,7 +8,7 @@ VUE_APP_BASE_API = '/api'
# VUE_APP_URL = "http://jianguan.yyundong.com/shgfapi"
-VUE_APP_URL = "http://192.168.2.103:7201"
+VUE_APP_URL = "http://192.168.2.105:7201"
VUE_APP_REPORT_URL = "http://192.168.2.106:7202"
##VUE_APP_REPORT_URL = "https://lpk.yyundong.com"
##VUE_APP_REPORT_URL = "https://supervise.yxtsoft.com/lpk"
diff --git a/src/components/uploadFile/upload_yanchejianchaTuBiao.vue b/src/components/uploadFile/upload_yanchejianchaTuBiao.vue
index 6ff9c71..805decf 100644
--- a/src/components/uploadFile/upload_yanchejianchaTuBiao.vue
+++ b/src/components/uploadFile/upload_yanchejianchaTuBiao.vue
@@ -145,6 +145,7 @@
imgFiles.push(o.url)
})
this.$emit('fileChange', this.files)
+ this.$emit('change', this.files)
},
handleRemove(file, fileList) {
console.log('file:' + JSON.stringify(file))
diff --git a/src/views/commodity/commodityAdd.vue b/src/views/commodity/commodityAdd.vue
index 3fd7881..8f62ac3 100644
--- a/src/views/commodity/commodityAdd.vue
+++ b/src/views/commodity/commodityAdd.vue
@@ -47,7 +47,8 @@
图片:
+ @change="backData" bucket="map" :class="{ hide: hideUploadBtn }"
+ :upload-data="{ type: '0001' }">
@@ -89,7 +90,8 @@
remarks: "",
picUrl: "",
appContent: ''
- }
+ },
+ hideUploadBtn: false,
}
},
methods: {
@@ -97,8 +99,14 @@
console.log("backData》》》》", value)
console.log("imgList", this.imgList)
+ if (this.imgList.length > 0) {
+ this.formobj.picUrl = this.imgList[0].url
+ } else {
+ this.formobj.picUrl = ""
+ }
- this.formobj.picUrl = this.imgList[0].url
+ this.hideUploadBtn = this.imgList.length != 0;
+ console.log("this.hideUploadBtn", this.hideUploadBtn)
},
saveOrUpdate() {
@@ -143,18 +151,25 @@
if (resp.success) {
this.formobj = resp.data
this.imgList = []
- this.imgList.push({
- url: resp.data.picUrl
- })
+ if (resp.data.picUrl != '')
+ this.imgList.push({
+ url: resp.data.picUrl
+ })
+ this.hideUploadBtn = this.imgList.length != 0;
+ console.log("this.hideUploadBtn", this.hideUploadBtn)
}
})
.catch(e => {
this.formobj = row
this.imgList = []
- this.imgList.push({
- url: formobj.picUrl
- })
+ if (resp.data.picUrl != '')
+ this.imgList.push({
+ url: formobj.picUrl
+ })
+
+ this.hideUploadBtn = this.imgList.length != 0;
+ console.log("this.hideUploadBtn", this.hideUploadBtn)
})
},
editinput(text) {
@@ -163,7 +178,15 @@
}
}
-
\ No newline at end of file
diff --git a/src/views/marketingCard/pickupCardSet.vue b/src/views/marketingCard/pickupCardSet.vue
index 57aca9d..c14696a 100644
--- a/src/views/marketingCard/pickupCardSet.vue
+++ b/src/views/marketingCard/pickupCardSet.vue
@@ -31,13 +31,13 @@
-
+
-
+
明细
@@ -98,7 +98,7 @@
-
+
@@ -321,6 +321,9 @@
stateList: [{
name: "全部",
sid: ""
+ }, {
+ name: "未发放",
+ sid: "1"
}, {
name: "未绑定用户",
sid: "2"
@@ -360,6 +363,18 @@
this.getBankList()
},
methods: {
+ // 序号
+ indexMethod(index) {
+ var pagestart = (this.page.current - 1) * this.page.size
+ var pageindex = index + 1 + pagestart
+ return pageindex
+ },
+ // 序号
+ indexMethod2(index) {
+ var pagestart = (this.listQuery.current - 1) * this.listQuery.size
+ var pageindex = index + 1 + pagestart
+ return pageindex
+ },
//下载模版
handleDownload() {
diff --git a/src/views/order/index.vue b/src/views/order/index.vue
index ad12310..90102bd 100644
--- a/src/views/order/index.vue
+++ b/src/views/order/index.vue
@@ -68,7 +68,7 @@
-
+