From 1e65e680519a32480219e1866baa245df1a8fd17 Mon Sep 17 00:00:00 2001
From: skyouc
Date: 星期六, 09 八月 2025 16:19:36 +0800
Subject: [PATCH] Merge branch 'ycds-wms-dev' of http://47.97.1.152:5880/r/zy-asrs-master into ycds-wms-dev
---
zy-asrs-admin/src/components/order/order/orderOut.vue | 44 ++++++++++++++++++++++++++++++++++++--------
1 files changed, 36 insertions(+), 8 deletions(-)
diff --git a/zy-asrs-admin/src/components/order/order/orderOut.vue b/zy-asrs-admin/src/components/order/order/orderOut.vue
index 8ee1a03..da6dec3 100644
--- a/zy-asrs-admin/src/components/order/order/orderOut.vue
+++ b/zy-asrs-admin/src/components/order/order/orderOut.vue
@@ -155,13 +155,12 @@
ellipsis: true,
...getColumnSearchProps('memo'),
},
-
{
title: formatMessage('common.operation', '鎿嶄綔'),
name: 'oper',
dataIndex: 'oper',
key: 'oper',
- width: 240,
+ width: 350,
fixed: 'right',
},
];
@@ -182,7 +181,6 @@
function getPage() {
state.loading = true;
-
let apiUrl = '/api/order/page';
if (props.ioModel == 'in') {
apiUrl = '/api/order/in/page';
@@ -216,6 +214,31 @@
editChild.value.formData = item == null ? editChild.value.initFormData : JSON.parse(JSON.stringify(item));
editChild.value.isSave = item == null;
}
+
+// const handleDone = (item) => {
+// Modal.confirm({
+// title: formatMessage('page.delete', '瀹岀粨'),
+// content: formatMessage('page.delete.confirm', '纭畾瀹屾垚璇ラ」鍚楋紵'),
+// maskClosable: true,
+// onOk: async () => {
+// const hide = message.loading(formatMessage('common.loading', '璇锋眰涓�'));
+// try {
+// post('/api/order/done/' + rows.map((row) => row.id).join(','), {}).then(resp => {
+// let result = resp.data;
+// if (result.code === 200) {
+// message.success(result.msg);
+// } else {
+// message.error(result.msg);
+// }
+// getPage()
+// hide()
+// })
+// } catch (error) {
+// message.error(formatMessage('common.fail', '璇锋眰澶辫触'));
+// }
+// },
+// });
+// }
const handleDel = (rows) => {
Modal.confirm({
@@ -272,15 +295,18 @@
newItem.specs = item.mat$.specs
newItem.batch = item.batch
newItem.anfme = item.anfme
+ newItem.wareType$ = item.wareType$
printData.push(newItem)
})
printChild.value.printData = printData;
+ printChild.value.data = record.__v_raw;
printChild.value.orderNo = record.__v_raw.orderNo
printChild.value.open = true;
}
const onSearch = () => {
// console.log('search');
+ currentPage = 1;
getPage()
}
@@ -438,7 +464,7 @@
<a-select v-model:value="channel" :options="channelList" mode="multiple"
style="width: 100px;"></a-select>
<a-button @click="handleGenerateWave()">{{ formatMessage('common.generateWave', '鐢熸垚娉㈡')
- }}</a-button>
+ }}</a-button>
</div>
</div>
@@ -481,15 +507,17 @@
<div style="display: flex;justify-content: space-evenly;">
<a-button type="link" primary @click="showDetl(record)">{{ formatMessage('page.order.orderDetl',
'璁㈠崟鏄庣粏')
- }}</a-button>
+ }}</a-button>
<a-button type="link" primary @click="handlePrint(record)">{{
formatMessage('page.order.orderDetl',
'鎵撳嵃璁㈠崟')
- }}</a-button>
+ }}</a-button>
<a-button type="link" primary @click="handleEdit(record)">{{ formatMessage('page.edit', '缂栬緫')
- }}</a-button>
+ }}</a-button>
+ <!-- <a-button type="link" primary @click="handleDone(record)">{{ formatMessage('page.edit', '瀹岀粨')
+ }}</a-button> -->
<a-button type="link" danger @click="handleDel([record])">{{ formatMessage('page.delete', '鍒犻櫎')
- }}</a-button>
+ }}</a-button>
</div>
</template>
</template>
--
Gitblit v1.9.1