From a81ef02fb222b9d3615632fc8cf2e53d9676220d Mon Sep 17 00:00:00 2001
From: huangxiaoqiang <huangxiaoqiang@hnkhzn.com>
Date: 星期四, 18 十二月 2025 15:20:29 +0800
Subject: [PATCH] 1
---
项目资料/接口文档/HAIQ ESS 24.4.1.0 API接口文档_灰白盒 V4.0-20241230(2).pdf | 0
项目代码/WIDESEA_WMSClient/src/extension/inbound/inboundOrder.js | 36 +++++-------------------------------
项目资料/接口文档/mes接口文档.docx | 0
3 files changed, 5 insertions(+), 31 deletions(-)
diff --git "a/\351\241\271\347\233\256\344\273\243\347\240\201/WIDESEA_WMSClient/src/extension/inbound/inboundOrder.js" "b/\351\241\271\347\233\256\344\273\243\347\240\201/WIDESEA_WMSClient/src/extension/inbound/inboundOrder.js"
index 9b7a790..6b68ff8 100644
--- "a/\351\241\271\347\233\256\344\273\243\347\240\201/WIDESEA_WMSClient/src/extension/inbound/inboundOrder.js"
+++ "b/\351\241\271\347\233\256\344\273\243\347\240\201/WIDESEA_WMSClient/src/extension/inbound/inboundOrder.js"
@@ -1,6 +1,9 @@
//姝s鏂囦欢鏄敤鏉ヨ嚜瀹氫箟鎵╁睍涓氬姟浠g爜锛屽彲浠ユ墿灞曚竴浜涜嚜瀹氫箟椤甸潰鎴栬�呴噸鏂伴厤缃敓鎴愮殑浠g爜
import gridHeader from './extend/EmptyTrayInbound.vue'
import gridBody from './extend/Pallet.vue'
+import http from '@/api/http.js'
+import { h, createVNode, render, reactive, ref } from 'vue';
+import { ElDialog, ElForm, ElFormItem, ElInput, ElButton, ElMessage, ElSelect, ElOption } from 'element-plus';
let extension = {
components: {
//鏌ヨ鐣岄潰鎵╁睍缁勪欢
@@ -15,30 +18,6 @@
tableAction: '', //鎸囧畾鏌愬紶琛ㄧ殑鏉冮檺(杩欓噷濉啓琛ㄥ悕,榛樿涓嶇敤濉啓)
buttons: {
view: [
- // {
- // name: '缁勭洏',
- // type: 'primary',
- // value: '缁勭洏',
- // onClick: function () { // 淇1锛氱Щ闄ゆ棤鐢╮ow鍙傛暟锛屽姞鏃ュ織璋冭瘯
- // const selectedRows = this.$refs.table.getSelected();
- // // 鏍¢獙1锛氭槸鍚﹂�変腑琛�
- // if (selectedRows.length === 0) {
- // console.log('鏍¢獙涓嶉�氳繃锛氭湭閫変腑浠讳綍鍗曟嵁');
- // ElMessage.warning('璇烽�夋嫨涓�鏉″崟鎹�');
- // return;
- // }
- // // 鏍¢獙2锛氭槸鍚﹂�変腑鍗曡
- // if (selectedRows.length > 1) {
- // console.log('鏍¢獙涓嶉�氳繃锛氶�変腑澶氳鍗曟嵁');
- // ElMessage.warning('鍙兘閫夋嫨涓�鏉″崟鎹�');
- // return;
- // }
-
- // const targetRow = selectedRows[0];
-
- // this.$emit('openPalletDialog', targetRow.inboundOrderNo);
- // }
- // },
{
name: '鎾ら攢缁勭洏',
type: 'primary',
@@ -67,20 +46,15 @@
// 鍙戣捣鎾ら攢缁勭洏璇锋眰
try {
- //console.log('鍙戣捣鎾ら攢缁勭洏璇锋眰锛屾墭鐩樺彿锛�', formData.palletCode.trim());
const response = await http.post('/api/InboundOrder/UndoPalletGroup?palletCode=' + formData.palletCode.trim() + '&barcode=' + formData.barcode.trim());
-
-
const { status, message, data } = response;
if (status) {
ElMessage.success(response.message);
- console.log(response.message)
this.refresh(); // 鎴愬姛鍚庡埛鏂板垪琛�
// 鍏抽棴瀵硅瘽妗�
render(null, mountNode);
document.body.removeChild(mountNode);
} else {
- console.log('鎾ら攢缁勭洏澶辫触锛屽悗绔彁绀猴細', message);
ElMessage.error(message || data?.message || '鎾ら攢缁勭洏澶辫触');
selectPalletCodeInput(); // 閫変腑杈撳叆妗嗘柟渚块噸鏂拌緭鍏�
}
@@ -134,7 +108,7 @@
ref: 'cancelPalletForm'
}, [
// 鎵樼洏鍙疯緭鍏ラ」
- h(ElFormItem, { label: '鎵樼洏鍙�', prop: 'palletCode', required: true }, [
+ h(ElFormItem, { label: '鎵樼洏鏉$爜', prop: 'palletCode', required: true }, [
h(ElInput, {
type: 'text',
modelValue: formData.palletCode,
@@ -153,7 +127,7 @@
}
})
]),
- h(ElFormItem, { label: '鏉$爜', prop: 'barcode' }, [
+ h(ElFormItem, { label: ' 鍐呯鏍囩', prop: 'barcode' }, [
h(ElInput, {
type: 'text',
modelValue: formData.barcode,
diff --git "a/\351\241\271\347\233\256\350\265\204\346\226\231/\346\216\245\345\217\243\346\226\207\346\241\243/HAIQ ESS 24.4.1.0 API\346\216\245\345\217\243\346\226\207\346\241\243_\347\201\260\347\231\275\347\233\222 V4.0-20241230\0502\051.pdf" "b/\351\241\271\347\233\256\350\265\204\346\226\231/\346\216\245\345\217\243\346\226\207\346\241\243/HAIQ ESS 24.4.1.0 API\346\216\245\345\217\243\346\226\207\346\241\243_\347\201\260\347\231\275\347\233\222 V4.0-20241230\0502\051.pdf"
new file mode 100644
index 0000000..b26efcf
--- /dev/null
+++ "b/\351\241\271\347\233\256\350\265\204\346\226\231/\346\216\245\345\217\243\346\226\207\346\241\243/HAIQ ESS 24.4.1.0 API\346\216\245\345\217\243\346\226\207\346\241\243_\347\201\260\347\231\275\347\233\222 V4.0-20241230\0502\051.pdf"
Binary files differ
diff --git "a/\351\241\271\347\233\256\350\265\204\346\226\231/\346\216\245\345\217\243\346\226\207\346\241\243/mes\346\216\245\345\217\243\346\226\207\346\241\243.docx" "b/\351\241\271\347\233\256\350\265\204\346\226\231/\346\216\245\345\217\243\346\226\207\346\241\243/mes\346\216\245\345\217\243\346\226\207\346\241\243.docx"
new file mode 100644
index 0000000..85ee085
--- /dev/null
+++ "b/\351\241\271\347\233\256\350\265\204\346\226\231/\346\216\245\345\217\243\346\226\207\346\241\243/mes\346\216\245\345\217\243\346\226\207\346\241\243.docx"
Binary files differ
--
Gitblit v1.9.3