From c4926e25f0d61c621e781c54659b76bd9e6f54ab Mon Sep 17 00:00:00 2001
From: songshankun <songshankun@foxmail.com>
Date: 星期三, 18 十月 2023 20:15:13 +0800
Subject: [PATCH] feat: 产品类别表单非必填项添加兜底展示
---
src/views/reportForm/inventoryReport/index.vue | 25 +++++++++++++++----------
1 files changed, 15 insertions(+), 10 deletions(-)
diff --git a/src/views/reportForm/inventoryReport/index.vue b/src/views/reportForm/inventoryReport/index.vue
index 6bd8e38..b03195f 100644
--- a/src/views/reportForm/inventoryReport/index.vue
+++ b/src/views/reportForm/inventoryReport/index.vue
@@ -3,8 +3,9 @@
<div class="rightContent">
<div class="top">
<SearchCommonView
+ :showAdd="false"
:add-title="'鏂板缓'"
- :placeholder="'璇疯緭鍏ュ弬鑰�'"
+ :placeholder="''"
:amount-view="false"
@addCommonClick="addBtnClick"
@searchClick="getList"
@@ -143,7 +144,8 @@
warehouseListName: "", // 浠撳簱鍚嶇О
stashRadio: "1",
pageSizes: [15, 30],
- oldRadioBtn: ""
+ oldRadioBtn: "",
+ metaTitle: this.$route.meta.title
}
},
created() {
@@ -159,12 +161,10 @@
checkListHandler(e) {
this.categoryListId = e
this.getData()
- console.log(this.categoryListId, e, " 閫変腑鐨勪骇鍝乮d")
},
radioHandleChange(e) {
this.warehouseListName = e
this.getData()
- console.log(e, "鍗曢��")
},
setTable() {
if (this.isIconIndex === "1") {
@@ -173,7 +173,8 @@
}
this.tableList = {
tableInfomation: [],
- selectBox: true,
+ selectBox: false,
+ selectIndex: true,
showcol: this.showcol,
countcol: this.countcol,
allcol: [],
@@ -288,9 +289,15 @@
},
// 鍘嗗彶
handleHistoryClick(row) {
- console.log(row)
- this.$router.push("/operate/allot")
+ this.$router.push({
+ name: "inboundOutboundDetail",
+ params: {
+ id: row.produceId,
+ name: "鎶ヨ〃"
+ }
+ })
},
+
// 琛ヨ揣
handleAddGoods(row) {
console.log(row)
@@ -317,7 +324,6 @@
unit: item.unit //鍗曚綅
}
this.testArr.push(obj)
- console.log(this.testArr, "this")
})
},
@@ -326,13 +332,13 @@
async getData() {
let params = {
categoryIds: this.categoryListId,
+ keyWord:this.productName,
page: this.pagerOptions.currPage,
pageSize: this.pagerOptions.pageSize,
warehouseCode: this.warehouseListName
}
await getInventoryData(params).then((res) => {
if (res.code === 200) {
- console.log(res.data, "鎺ュ彛璇锋眰鎴愬姛")
const list = res.data
this.tableList.tableInfomation = list || []
this.pagerOptions.totalCount = res.total
@@ -360,7 +366,6 @@
}).then((res) => {
if (res.data.code === 200) {
this.warehouseList = res.data.data
- console.log(this.warehouseList, "warehouseList")
}
})
}
--
Gitblit v1.8.0