From 58ac82fceff96784dd9e16872d1e2316fa2cfdec Mon Sep 17 00:00:00 2001 From: zuozhengqing <a13193816592@163.com> Date: 星期五, 24 十一月 2023 14:36:12 +0800 Subject: [PATCH] 入库明细报表修改状态进度展示 --- src/views/operate/orderPoint/index.vue | 20 +++++++++++--------- 1 files changed, 11 insertions(+), 9 deletions(-) diff --git a/src/views/operate/orderPoint/index.vue b/src/views/operate/orderPoint/index.vue index 0da0d1d..d9167c5 100644 --- a/src/views/operate/orderPoint/index.vue +++ b/src/views/operate/orderPoint/index.vue @@ -113,13 +113,13 @@ } }, created() { - if(this.$route.params.productId){ + if (this.$route.params.productId) { this.getData({ - productId:this.$route.params.productId, - pageSize:15, - page:1 + productId: this.$route.params.productId, + pageSize: 15, + page: 1 }) - }else{ + } else { this.getData() } this.setTable() @@ -153,7 +153,7 @@ keyWord: data?.jointName, page: this.pagerOptions.currPage, pageSize: this.pagerOptions.pageSize, - productId:data?.productId + productId: data?.productId }).then((res) => { if (res.code === 200) { console.log(res) @@ -215,7 +215,7 @@ }, // 鏂板 addProductClick() { - console.log(this.addTitle) + console.log(this.addTitle, "qqqqqqqqqqqq") this.isSel() if (this.isNoProduct && this.addTitle === "鏂板缓") { this.$refs.tablelistRef.getProductList() @@ -241,6 +241,7 @@ editable: false, isOrder: true }) + this.tableList.tableData = this.tableData this.locationId = 0 this.productId = 0 } else { @@ -355,8 +356,10 @@ }, // 閫変腑浜у搧鏂规硶 selProductClick(item) { - this.productId = item.value + this.productId = item.productId this.unit = item.unit + this.amount = item.amount + this.prediction = item.prediction }, // 閫変腑璺嚎鏂规硶 selRouteClick(item, prop) { @@ -382,7 +385,6 @@ }, ...res.data ] - console.log(res, "res666") }) }, // 鍒犻櫎type -- Gitblit v1.8.0