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%'}, 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: { 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