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/index.vue | 30 +++++++++++++++++++++++++++--- 1 files changed, 27 insertions(+), 3 deletions(-) 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