From 8fcd7a67e4391a5f1fbdb590c2a3f913aeb2a0a0 Mon Sep 17 00:00:00 2001
From: helongyang <647556386@qq.com>
Date: 星期二, 31 三月 2026 14:11:23 +0800
Subject: [PATCH] PP平库功能上线,PDA优化,部分问题点优化
---
代码管理/WMS/WIDESEA_WMSClient/src/extension/outbound/extend/mesPPCutOutOrderDetail.vue | 32 ++++++++++++++++----------------
1 files changed, 16 insertions(+), 16 deletions(-)
diff --git "a/\344\273\243\347\240\201\347\256\241\347\220\206/WMS/WIDESEA_WMSClient/src/extension/outbound/extend/mesPPCutOutOrderDetail.vue" "b/\344\273\243\347\240\201\347\256\241\347\220\206/WMS/WIDESEA_WMSClient/src/extension/outbound/extend/mesPPCutOutOrderDetail.vue"
index 0f908fa..23af84b 100644
--- "a/\344\273\243\347\240\201\347\256\241\347\220\206/WMS/WIDESEA_WMSClient/src/extension/outbound/extend/mesPPCutOutOrderDetail.vue"
+++ "b/\344\273\243\347\240\201\347\256\241\347\220\206/WMS/WIDESEA_WMSClient/src/extension/outbound/extend/mesPPCutOutOrderDetail.vue"
@@ -1,4 +1,4 @@
-a<template>
+<template>
<div>
<vol-box
v-model="showDetialBox"
@@ -14,13 +14,13 @@
<span>宸查�変腑 {{ selection.length }} 椤�</span>
</el-col>
<el-col :span="8">
- <el-link
+ <!-- <el-link
type="primary"
size="small"
style="float: right; height: 20px"
@click="lockstocks"
>閿佸畾搴撳瓨</el-link
- >
+ > -->
<el-link
type="primary"
size="small"
@@ -91,9 +91,9 @@
</el-table>
</div>
</vol-box>
- <stock-select ref="child" @parentCall="parentCall"></stock-select>
+ <pp-stock-select ref="childs" ></pp-stock-select>
<selected-stock
- ref="selectedStock"
+ ref="SelectedStock"
@parentCall="parentCall"
></selected-stock>
</div>
@@ -101,10 +101,10 @@
<script>
import VolBox from "@/components/basic/VolBox.vue";
import VolForm from "@/components/basic/VolForm.vue";
-import StockSelect from "./StockSelect.vue";
+import PPStockSelect from "./PPStockSelect.vue";
import SelectedStock from "./SelectedStock.vue";
export default {
- components: { VolBox, VolForm, StockSelect, SelectedStock },
+ components: { VolBox, VolForm,"pp-stock-select":PPStockSelect, SelectedStock },
data() {
return {
row: null,
@@ -129,30 +129,28 @@
hidden: true,
},
{
- prop: "materielCode",
+ prop: "materialCode",
title: "鐗╂枡缂栧彿",
type: "string",
width: 150,
},
{
- prop: "materielName",
+ prop: "materialName",
title: "鐗╂枡鍚嶇О",
type: "string",
width: 150,
},
{
- field: "targetAddressCode",
+ prop: "targetAddressCode",
title: "绾胯竟浠撳湴鍧�鐮�",
type: "string",
width: 100,
- align: "left",
},
{
- field: "width",
+ prop: "width",
title: "瑁佸垏瀹�",
type: "string",
width: 100,
- align: "left",
},
{
prop: "orderQuantity",
@@ -297,10 +295,12 @@
},
tableButtonClick(row, column) {
if (column.prop == "assignStock") {
- this.$refs.child.open(row);
+ console.log(row);
+ console.log(this.$refs.childs);
+ this.$refs.childs.open(row);
} else {
//鐐瑰嚮鎵撳紑鍑哄簱璇︽儏
- this.$refs.selectedStock.open(row);
+ this.$refs.SelectedStock.open(row);
}
},
lockstocks() {
@@ -326,7 +326,7 @@
var keys = this.selection.map((item) => item.id); // 鑾峰彇閫変腑琛岀殑id
this.http
- .post("api/Task/GenerateOutboundTasks", keys, "鏁版嵁澶勭悊涓�")
+ .post("api/Mes/PPCutOutGenerateOutboundTasks", keys, "鏁版嵁澶勭悊涓�")
.then((x) => {
if (!x.status) return this.$message.error(x.message);
this.$message.success("鎿嶄綔鎴愬姛");
--
Gitblit v1.9.3