From 624dbdf2b7e3dc1bbcb9d6ebe8fd9d2ab36e214a Mon Sep 17 00:00:00 2001
From: zuozhengqing <a13193816592@163.com>
Date: 星期三, 15 十一月 2023 18:40:28 +0800
Subject: [PATCH] 重订货规则列表-产品调整
---
src/views/warehouseManage/listingRules/index.vue | 5 +++--
src/views/productManage/reorderRules/index.vue | 6 +++---
src/components/makepager/CommonFormTableView.vue | 3 +--
3 files changed, 7 insertions(+), 7 deletions(-)
diff --git a/src/components/makepager/CommonFormTableView.vue b/src/components/makepager/CommonFormTableView.vue
index 9bde217..36a861b 100644
--- a/src/components/makepager/CommonFormTableView.vue
+++ b/src/components/makepager/CommonFormTableView.vue
@@ -430,7 +430,7 @@
tableData: [], // 鎺ュ彛杩斿洖鏁版嵁
tableColumn: [
// table琛ㄥ崟
- { label: "", prop: "", min: 200, tooltip: true }
+ { label: "", prop: "", min: 200, tooltip: true}
]
}
}
@@ -586,7 +586,6 @@
page: 1,
pageSize: 15
}).then((res) => {
- console.log(res, "鐪嬬湅浜у搧绫诲瀷鍒楄〃")
if (res.code === 200) {
const list = res.data ? res.data : []
this.productTypeNameOptions = list
diff --git a/src/views/productManage/reorderRules/index.vue b/src/views/productManage/reorderRules/index.vue
index c233acd..cbf2af2 100644
--- a/src/views/productManage/reorderRules/index.vue
+++ b/src/views/productManage/reorderRules/index.vue
@@ -102,7 +102,7 @@
selectBox: false,
selectIndex: true,
tableColumn: [
- { label: "浜у搧", prop: "productName", product: true },
+ { label: "浜у搧", prop: "productName", product: true,width:"150px" },
{ label: "浣嶇疆", prop: "locationName", defaultLocation: true },
{ label: "鍦ㄥ簱鏁伴噺", prop: "amount" },
{ label: "棰勬祴鏁伴噺", prop: "prediction" },
@@ -134,7 +134,7 @@
}
return {
...item,
- productName: { label: item.product.name, value: item.product.id },
+ productName:item.product.name,
locationName: item.location.name,
isSet: false,
isEdit: true,
@@ -293,7 +293,7 @@
this.tableData.map((item, index) => {
if (index === rowIndex) {
item.isEdit = false
- item.editable = true
+ item.editable = false
item.isOrder = true
} else {
item.isEdit = true
diff --git a/src/views/warehouseManage/listingRules/index.vue b/src/views/warehouseManage/listingRules/index.vue
index 6d60a38..22a6742 100644
--- a/src/views/warehouseManage/listingRules/index.vue
+++ b/src/views/warehouseManage/listingRules/index.vue
@@ -279,6 +279,7 @@
},
// 琛岀偣鍑�
tableRowClick(row, rowIndex) {
+
this.thatRow=row
this.tableList.rowClickIndex=rowIndex
this.rowIndex = rowIndex
@@ -290,8 +291,8 @@
this.addTitle = "淇濆瓨"
this.showDiscard = true
this.isRowClick = true
- if (!this.isNoProduct) {
- this.tableData.splice(this.tableData.length - 1, 1)
+ if (this.isNoProduct) {
+ // this.tableData.splice(this.tableData.length - 1, 1)
this.tableData.map((item, index) => {
if (index === rowIndex) {
item.isEdit = false
--
Gitblit v1.8.0