From bf6b7af0fb6c230eb15dd09ceda3a04abf958141 Mon Sep 17 00:00:00 2001
From: cloudroam <cloudroam>
Date: 星期四, 09 一月 2025 18:36:22 +0800
Subject: [PATCH] add:发货
---
pages/order/list/_id.vue | 2 +-
pages/order/list/index.vue | 30 +++++++++++++++++++++++++++---
2 files changed, 28 insertions(+), 4 deletions(-)
diff --git a/pages/order/list/_id.vue b/pages/order/list/_id.vue
index a28c893..d19da68 100644
--- a/pages/order/list/_id.vue
+++ b/pages/order/list/_id.vue
@@ -413,7 +413,7 @@
{ label: '库区:', id: 'warehouseName', type: 'input' },
{ label: '库位:', id: 'warehouseLocationCode', type: 'input' },
{ label: '特殊需求:', id: 'specialNeedsStr', type: 'input' },
- { label: '快递单号:', id: 'deliveryNo', type: 'input' },
+ { label: '快递号:', id: 'deliveryNo', type: 'input' },
{
label: '备注:',
id: 'remarks',
diff --git a/pages/order/list/index.vue b/pages/order/list/index.vue
index 753861e..c7292c0 100644
--- a/pages/order/list/index.vue
+++ b/pages/order/list/index.vue
@@ -108,6 +108,7 @@
),
minWidth: 200,
},
+ { label: '快递号', prop: 'deliveryNo', minWidth: 120 },
],
searchFormAttrs: {
labelWidth: 'auto',
@@ -360,7 +361,7 @@
],
extraButtons: [
{
- text: '快递单号',
+ text: '快递号',
show: (row) => !row.partnerName && row.statusBackend === 'SEND',
atClick: (row) => {
this.$refs.crud.$refs.extraDialog[1].show(row)
@@ -404,6 +405,18 @@
hiddenReverseItems: [],
form: [
{
+ label: '物流公司:',
+ id: 'logisticsCompanyCode',
+ type: 'bus-select-dict',
+ readonly: true,
+ el: {
+ code: 'LOGISTICS_COMPANY_CODE',
+ style: 'width:100%',
+ },
+ str: true,
+ rules: {required: true, message: '物流公司'},
+ },
+ {
label: '快递号:',
id: 'deliveryNo',
type: 'text',
@@ -426,9 +439,20 @@
},
},
{
- title: '快递单号录入',
+ title: '快递号录入',
hiddenReverseItems: [],
form: [
+ {
+ label: '物流公司:',
+ id: 'logisticsCompanyCode',
+ type: 'bus-select-dict',
+ el: {
+ code: 'LOGISTICS_COMPANY_CODE',
+ style: 'width:100%',
+ },
+ str: true,
+ rules: {required: true, message: '物流公司'},
+ },
{
label: '快递号:',
id: 'deliveryNo',
@@ -446,7 +470,7 @@
{ method: 'post', data: val }
)
if (code === 0) {
- this.$message.success('快递单号录入成功')
+ this.$message.success('快递号录入成功')
}
},
},
--
Gitblit v1.9.3