From 9c550e05a7ed8446123f3dcc57da8ecad0c0fdc2 Mon Sep 17 00:00:00 2001
From: Fixiaobai <fixiaobai@163.com>
Date: 星期四, 14 九月 2023 10:52:05 +0800
Subject: [PATCH] modified: src/components/view/technical.vue
---
src/components/view/sale.vue | 23 +++++++++++------------
1 files changed, 11 insertions(+), 12 deletions(-)
diff --git a/src/components/view/sale.vue b/src/components/view/sale.vue
index 56b9c32..b106e8f 100644
--- a/src/components/view/sale.vue
+++ b/src/components/view/sale.vue
@@ -402,7 +402,7 @@
delTime: null
},
tableData: [],
- selects: [],
+ selects: '',
currentPage: 1,
countSize: 0,
pageSize: 10,
@@ -430,9 +430,12 @@
},
methods: {
handleSelectionChange(val) {
- this.selects = []
- val.forEach(a=>{
- this.selects.push(a.id)
+ this.selects = ''
+ val.forEach((a, ai)=>{
+ this.selects += a.id
+ if(ai!=val.length-1){
+ this.selects += ','
+ }
})
},
handleSizeChange(val) {
@@ -459,7 +462,7 @@
})
},
clean() {
- this.selects = []
+ this.selects = ''
this.currentPage = 1
this.countSize = 0
this.pageSize = 10
@@ -467,7 +470,8 @@
formTime: null,
createTime: null,
insState: 2,
- judgeState: 2
+ judgeState: 2,
+ type: null
}
this.selectRawInspectsList()
},
@@ -615,17 +619,12 @@
})
},
delSales(){
- console.log(this.selects);
- if(this.selects.length==0) {
+ if(this.selects=='') {
this.$message.warning('璇烽�夋嫨涓�鏉℃暟鎹垹闄�')
return
}
this.axios.post(this.$api.url.delAllSale,{
ids: this.selects
- }, {
- headers: {
- 'Content-Type': 'application/json'
- }
}).then(res=>{
this.$message.success('鍒犻櫎鎴愬姛')
this.selectRawInspectsList()
--
Gitblit v1.9.3