From 17123b3d98cf10f51e9809f28159d4e01140a44d Mon Sep 17 00:00:00 2001 From: wangyufei <2267742828@qq.com> Date: Sat, 15 Jun 2024 14:46:24 +0800 Subject: [PATCH 1/3] =?UTF-8?q?=E8=AE=A2=E5=8D=95=E7=B1=BB=E5=9E=8B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../supplierinvoiceRequestMain/index.vue | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/src/views/wms/supplierManage/supplierinvoice/supplierinvoiceRequestMain/index.vue b/src/views/wms/supplierManage/supplierinvoice/supplierinvoiceRequestMain/index.vue index 8f7b5ae4c..b7b8b5538 100644 --- a/src/views/wms/supplierManage/supplierinvoice/supplierinvoiceRequestMain/index.vue +++ b/src/views/wms/supplierManage/supplierinvoice/supplierinvoiceRequestMain/index.vue @@ -447,6 +447,20 @@ const handleImport = () => { /** 添加/修改操作 */ const formRef = ref() const openForm = async (type : string, row ?: number) => { + if(type=='update'){ + SupplierinvoiceRequestMain.allSchemas.formSchema.forEach((item) => { + if(item.field == 'orderType'){ + item.componentProps.disabled = true + } + }) + }else{ + SupplierinvoiceRequestMain.allSchemas.formSchema.forEach((item) => { + if(item.field == 'orderType'){ + item.componentProps.disabled = false + } + }) + } + if(row && row.status == '8'){ SupplierinvoiceRequestMainRules.invoiceTime[0].required = true SupplierinvoiceRequestMainRules.goldenTaxInvoiceNumber[0].required = true From 195194e925c5fe9c9a4b51c6d72e90ce33a9a747 Mon Sep 17 00:00:00 2001 From: wangyufei <2267742828@qq.com> Date: Sat, 15 Jun 2024 15:51:17 +0800 Subject: [PATCH 2/3] =?UTF-8?q?=E5=8F=AB=E6=96=99=E6=A0=87=E7=AD=BE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../labelManage/callmaterials/callmaterials.data.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/src/views/wms/basicDataManage/labelManage/callmaterials/callmaterials.data.ts b/src/views/wms/basicDataManage/labelManage/callmaterials/callmaterials.data.ts index 3f11aa5a5..13d17aeec 100644 --- a/src/views/wms/basicDataManage/labelManage/callmaterials/callmaterials.data.ts +++ b/src/views/wms/basicDataManage/labelManage/callmaterials/callmaterials.data.ts @@ -123,6 +123,7 @@ export const Callmaterials = useCrudSchemas(reactive([ width: 120 }, form: { + labelMessage: '指包装个数', component: 'InputNumber', componentProps: { style: {width:'100%'}, From 27da6c3b4726e2d49fab8a72cf1489d26eb341da Mon Sep 17 00:00:00 2001 From: chenfang Date: Sat, 15 Jun 2024 17:33:25 +0800 Subject: [PATCH 3/3] =?UTF-8?q?=E6=97=B6=E9=97=B4=E6=88=B3=E5=B1=95?= =?UTF-8?q?=E7=A4=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../saleShipmentMainRecord.data.ts | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/src/views/wms/deliversettlementManage/saleShipmentMainRecord/saleShipmentMainRecord.data.ts b/src/views/wms/deliversettlementManage/saleShipmentMainRecord/saleShipmentMainRecord.data.ts index 7f958772f..25bc2b808 100644 --- a/src/views/wms/deliversettlementManage/saleShipmentMainRecord/saleShipmentMainRecord.data.ts +++ b/src/views/wms/deliversettlementManage/saleShipmentMainRecord/saleShipmentMainRecord.data.ts @@ -37,6 +37,9 @@ export const SaleShipmentMainRecord = useCrudSchemas(reactive([ field: 'invoiceTime', sort: 'custom', formatter: dateFormatter, + detail: { + dateFormat: 'YYYY-MM-DD HH:mm:ss' + }, search: { component: 'DatePicker', componentProps: { @@ -104,6 +107,9 @@ export const SaleShipmentMainRecord = useCrudSchemas(reactive([ field: 'createTime', sort: 'custom', formatter: dateFormatter, + detail: { + dateFormat: 'YYYY-MM-DD HH:mm:ss' + }, search: { component: 'DatePicker', componentProps: { @@ -264,6 +270,9 @@ export const SaleShipmentDetailRecord = useCrudSchemas(reactive([ field: 'createTime', sort: 'custom', formatter: dateFormatter, + detail: { + dateFormat: 'YYYY-MM-DD HH:mm:ss' + }, search: { component: 'DatePicker', componentProps: {