Browse Source

发票修改

master_hella_20240701
zhaoxuebing 7 months ago
parent
commit
760d8c6916
  1. 18
      src/views/wms/supplierManage/supplierinvoiceInvoiced/supplierinvoiceInvoiced.data.ts

18
src/views/wms/supplierManage/supplierinvoiceInvoiced/supplierinvoiceInvoiced.data.ts

@ -1,5 +1,5 @@
import type { CrudSchema } from '@/hooks/web/useCrudSchemas' import type { CrudSchema } from '@/hooks/web/useCrudSchemas'
import { dateFormatter } from '@/utils/formatTime' import { dateFormatter,dateFormatter2 } from '@/utils/formatTime'
// 表单校验 // 表单校验
export const SupplierinvoiceInvoicedRules = reactive({ export const SupplierinvoiceInvoicedRules = reactive({
@ -14,11 +14,11 @@ export const SupplierinvoiceInvoiced = useCrudSchemas(reactive<CrudSchema[]>([
label: '供应商送货日期', label: '供应商送货日期',
field: 'supplierDeliveryTime', field: 'supplierDeliveryTime',
sort: 'custom', sort: 'custom',
formatter: dateFormatter, formatter: dateFormatter2,
search: { search: {
component: 'DatePicker', component: 'DatePicker',
componentProps: { componentProps: {
valueFormat: 'YYYY-MM-DD HH:mm:ss', valueFormat: 'YYYY-MM-DD',
type: 'daterange', type: 'daterange',
defaultTime: [new Date('1 00:00:00'), new Date('1 23:59:59')] defaultTime: [new Date('1 00:00:00'), new Date('1 23:59:59')]
} }
@ -32,11 +32,11 @@ export const SupplierinvoiceInvoiced = useCrudSchemas(reactive<CrudSchema[]>([
label: '物流收货日期', label: '物流收货日期',
field: 'logisticsReceiptTime', field: 'logisticsReceiptTime',
sort: 'custom', sort: 'custom',
formatter: dateFormatter, formatter: dateFormatter2,
search: { search: {
component: 'DatePicker', component: 'DatePicker',
componentProps: { componentProps: {
valueFormat: 'YYYY-MM-DD HH:mm:ss', valueFormat: 'YYYY-MM-DD',
type: 'daterange', type: 'daterange',
defaultTime: [new Date('1 00:00:00'), new Date('1 23:59:59')] defaultTime: [new Date('1 00:00:00'), new Date('1 23:59:59')]
} }
@ -94,6 +94,14 @@ export const SupplierinvoiceInvoiced = useCrudSchemas(reactive<CrudSchema[]>([
width: 150 width: 150
}, },
}, },
{
label: '物流单据号',
field: 'erpNumber',
sort: 'custom',
table: {
width: 150
},
},
{ {
label: '发货单号', label: '发货单号',
field: 'asnBillNum', field: 'asnBillNum',

Loading…
Cancel
Save