diff --git a/pages/zw/ll-instore.vue b/pages/zw/ll-instore.vue
index 010303e..33a3086 100644
--- a/pages/zw/ll-instore.vue
+++ b/pages/zw/ll-instore.vue
@@ -92,7 +92,8 @@
-
+
+
|
{{e.vehicle_code}} |
{{e.site_code}} |
@@ -103,7 +104,7 @@
-
+
@@ -128,6 +129,7 @@
val1: '',
val2: '',
dataList: [],
+ checkedArr: [],
pkId: '',
currentData: {},
flag: false,
@@ -139,7 +141,7 @@
this.id = options.id
},
created () {
- // this._getFormDataList()
+ this._getFormDataList()
},
methods: {
handleChange (e) {
@@ -176,7 +178,7 @@
}
},
toDel () {
- this.dataList = this.dataList.filter(el => el.checked === true)
+ this.dataList = this.dataList.filter(el => el.checked === false)
},
async _getFormDataList () {
try {
@@ -193,12 +195,17 @@
selectChange (e) {
this.index = e
},
+ // toChek (e) {
+ // this.pkId = this.pkId === e.vid ? '' : e.vid
+ // this.pkObj = this.pkId === e.vid ? e : {}
+ // },
toCheck (e) {
e.checked = !e.checked
- let arr = this.dataList.filter(el => el.checked === true)
+ this.checkedArr = this.dataList.filter(el => el.checked === true)
},
clearUp () {
- this.pkId = ''
+ this.dataList = []
+ this.checkedArr = []
},
async _zwConfirmIn () {
this.disabled = true
@@ -228,3 +235,12 @@
}
}
+
+