From 221cc610f407b71973013de281fd19f7fc909e52 Mon Sep 17 00:00:00 2001
From: zouyu <2723363702@qq.com>
Date: 星期二, 19 十二月 2023 10:44:08 +0800
Subject: [PATCH] modified: src/const/crud/customerOrder/customerOrderForm.js
---
src/views/product/workbench/productrecord-tab.vue | 12 ------------
1 files changed, 0 insertions(+), 12 deletions(-)
diff --git a/src/views/product/workbench/productrecord-tab.vue b/src/views/product/workbench/productrecord-tab.vue
index 292ee23..9c72652 100644
--- a/src/views/product/workbench/productrecord-tab.vue
+++ b/src/views/product/workbench/productrecord-tab.vue
@@ -560,30 +560,25 @@
// dutyRecordId: this.isDutyFilter ? this.currentDutyRecord.id : null,
// workstationId: this.isWorkstationFilter ? this.workstationId : null
// })
- // console.log(val, res)
// this.productRecords = res.data.data
},
// 澶氶�夊垹闄�
select(selection, row) {
- console.log(selection, row)
const arr = []
// this.idList = []
selection.forEach((item) => {
arr.push(item.id)
})
this.idList = [...new Set(arr)]
- console.log(this.idList)
},
// 鍏ㄩ�夊垹闄�
selectAll(selection) {
- console.log(selection)
const arr = []
// this.idList = []
selection.forEach((item) => {
arr.push(item.id)
})
this.idList = [...new Set(arr)]
- console.log(this.idList)
},
async delAlls() {
let isContinue = true
@@ -601,7 +596,6 @@
isContinue = true
// this.idList = []
const res = await delAll(this.idList)
- console.log(res)
this.getProductRecords()
this.$message.success('鍒犻櫎鎴愬姛锛�')
this.idList = []
@@ -657,7 +651,6 @@
},
// 鑾峰彇鐢熶骇璁板綍鍒楄〃
getProductRecords() {
- console.log(this.createDateRange)
let templateJson
if (this.createDateRange != null && this.createDateRange !== '') {
templateJson = {
@@ -702,13 +695,11 @@
item.toggleRowSelection(row)
})
const index = this.idList.indexOf(row.id)
- console.log(index)
if (index >= 0) {
this.idList.splice(index, 1)
} else {
this.idList.push(row.id)
}
- console.log(this.idList)
this.currProductRecordId = row.id
this.paramValues = []
var productRecordJson = {
@@ -745,7 +736,6 @@
nextFocus(index) {
index++
this.$refs['reference_' + index].focus()
- // console.log(this.i)
},
// 鍒犻櫎鏌愭潯鐢熶骇璁板綍
delProductrecord(index, row) {
@@ -835,10 +825,8 @@
// JSON.stringify(paramValueArray)
// )
updateProductRecord(obj).then((response) => {
- console.log(this.idList)
if (response.data.code === 0) {
this.$message.success('淇敼鎴愬姛')
- console.log(this.$refs.productRecordTable)
this.$refs.productRecordTable.forEach((item) => {
item.clearSelection()
})
--
Gitblit v1.9.3