|
@@ -146,13 +146,13 @@ export default {
|
|
|
},
|
|
|
confirm(selected) {
|
|
|
console.log(selected)
|
|
|
- this.dataList = selected
|
|
|
+ this.dataList = [...this.dataList,...selected]
|
|
|
this.$refs.header.screenForm.customerName = this.dataList[0].customerName
|
|
|
this.$refs.header.screenForm.customerNumber = this.dataList[0].customerNumber
|
|
|
this.$refs.header.screenForm.stockType = this.dataList[0].stockType
|
|
|
this.customerNumber = this.dataList[0].customerNumber
|
|
|
this.dialogVisible = false
|
|
|
- this.$refs.dia.$refs.pageRef.$refs.zjpage.$refs.tableEl.$refs.tableView.clearSelection()
|
|
|
+ // this.$refs.dia.$refs.pageRef.$refs.zjpage.$refs.tableEl.$refs.tableView.clearSelection()
|
|
|
},
|
|
|
handleDel(item, index) {
|
|
|
this.dataList.splice(index, 1)
|