From 63d061faea13b55dc322436f3444399d842bec9c Mon Sep 17 00:00:00 2001
From: "pref_mail@163.com" <123456>
Date: Mon, 4 Sep 2023 23:30:51 +0800
Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E5=BA=93=E5=AD=98=E5=93=81?=
=?UTF-8?q?=E5=A4=87=E8=B4=A7=E6=97=A0=E6=B3=95=E5=A4=87=E8=B4=A7?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
.../stockup/distributionStockupDetails.vue | 6 ++----
src/views/warehouse/warehouseWaybill.vue | 10 +++++-----
2 files changed, 7 insertions(+), 9 deletions(-)
diff --git a/src/views/distribution/stockup/distributionStockupDetails.vue b/src/views/distribution/stockup/distributionStockupDetails.vue
index d5d6fa4f..c4afec00 100644
--- a/src/views/distribution/stockup/distributionStockupDetails.vue
+++ b/src/views/distribution/stockup/distributionStockupDetails.vue
@@ -761,7 +761,6 @@ export default {
methods: {
//系统备货确定
callFordelivery(){
- // console.log("确定操作",this.form);
let c = false;
if (this.selectionList.length > 0) {
let ids = this.selectionList.map(i => i.id).join(',');
@@ -771,16 +770,15 @@ export default {
}
})
this.form.ids = ids.split(",");
+ }else{
+ this.form.ids =this.form.ids.split(",");
}
if(c){
this.$message.warning("有已备货的数据!!")
return ;
}
this.form.stockupId = this.$route.query.id;
- // this.form.type = "QT";
- console.log("ids",this.form);
getStockDetail( Object.assign(this.form)).then(res =>{
- console.log("resd",res.data.data);
this.$message({
type: "success",
message: "操作成功!"
diff --git a/src/views/warehouse/warehouseWaybill.vue b/src/views/warehouse/warehouseWaybill.vue
index 1383bd47..35035cdf 100644
--- a/src/views/warehouse/warehouseWaybill.vue
+++ b/src/views/warehouse/warehouseWaybill.vue
@@ -187,7 +187,7 @@
-
+
+
@@ -1000,7 +1000,7 @@ export default {
handleEdit(row) {
this.title = '编辑';
this.box = true;
- getDetail(row.id).then(res => {
+ getDetail(row.row.id).then(res => {
this.form = res.data.data;
});
},
@@ -1008,7 +1008,7 @@ export default {
this.title = '查看';
this.view = true;
this.box = true;
- getDetail(row.id).then(res => {
+ getDetail(row.row.id).then(res => {
this.form = res.data.data;
});
},