From b07472f884708a6bfdf63d999004bbf0bb5f00a8 Mon Sep 17 00:00:00 2001
From: huangxiaoqiang <huangxiaoqiang@hnkhzn.com>
Date: 星期一, 17 十一月 2025 17:12:57 +0800
Subject: [PATCH] 新增分单功能、二维码打印及物料供应商管理页面
---
项目代码/WMS/WIDESEA_WMSClient/src/extension/widesea_wms/stock/Dt_BillGroupStock.jsx | 41 +++++++++++++++++++++++++++++++++++++++--
1 files changed, 39 insertions(+), 2 deletions(-)
diff --git "a/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSClient/src/extension/widesea_wms/stock/Dt_BillGroupStock.jsx" "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSClient/src/extension/widesea_wms/stock/Dt_BillGroupStock.jsx"
index cf8232d..0bb9578 100644
--- "a/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSClient/src/extension/widesea_wms/stock/Dt_BillGroupStock.jsx"
+++ "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSClient/src/extension/widesea_wms/stock/Dt_BillGroupStock.jsx"
@@ -49,7 +49,7 @@
// }
// });
this.boxButtons.push({
- name: '淇濆瓨', //鎸夐挳鍚嶇О
+ name: '纭畾鍑哄簱', //鎸夐挳鍚嶇О
type: 'danger',
icon: 'el-icon-check',
disabled: false,
@@ -61,7 +61,7 @@
cancelButtonText: '鍙栨秷',
type: 'warning',
center: true,
- customClass: 'large-text-confirm'
+ customClass: 'large-text-confirm'
}).then(() => {
this.http
.post(
@@ -106,6 +106,43 @@
}
}
})
+ this.boxButtons.push({
+ name: '鎵撳嵃浜岀淮鐮�', //鎸夐挳鍚嶇О
+ type: 'primary',
+ icon: 'el-icon-check',
+ disabled: false,
+ plain: true,
+ onClick: function () {
+ let rows = this.$refs.detail.getSelected()
+ if (rows.length == 0) return this.$error("璇烽�夋嫨鏁版嵁!");
+ let orderNos = rows.map(x => {
+ return x.orderNo
+ })
+ this.$confirm('鏄惁鎵撳嵃鍗曟嵁', '璀﹀憡', {
+ confirmButtonText: '纭畾',
+ cancelButtonText: '鍙栨秷',
+ type: 'warning',
+ center: true,
+ customClass: 'large-text-confirm'
+ }).then(() => {
+ this.http
+ .post(
+ `/api/StockInfo/PrintOrder`,
+ orderNos,
+ '姝e湪鎵撳嵃'
+ )
+ .then((res) => {
+ if (res.status) {
+ this.$Message.success(res.message)
+ this.boxModel = false
+ this.refresh()
+ } else {
+ this.$Message.error(res.message) //閿欒鎻愮ず
+ }
+ })
+ })
+ }
+ })
this.columns.push({
title: '鎿嶄綔',
field: '鎿嶄綔',
--
Gitblit v1.9.3