Browse Source

增加备注字段

hella_online_20240816
zhaoyiran 1 month ago
parent
commit
5cfe5ea2bc
  1. 9
      src/views/wms/productionManage/productreceipt/productreceiptRecordMain/productreceiptRecordMain.data.ts
  2. 9
      src/views/wms/productionManage/productreceiptAssemble/productreceiptAssembleRecordMain/productreceiptAssembleRecordMain.data.ts
  3. 83
      src/views/wms/purchasereceiptManage/purchasereceipt/purchasereceiptRecordMain/purchasereceiptRecordMain.data.ts

9
src/views/wms/productionManage/productreceipt/productreceiptRecordMain/productreceiptRecordMain.data.ts

@ -33,6 +33,15 @@ export const ProductreceiptRecordMain = useCrudSchemas(reactive<CrudSchema[]>([
}, },
isSearch: true isSearch: true
}, },
{
label: '备注',
field: 'remark',
sort: 'custom',
table: {
width: 180
},
isSearch: false
},
{ {
label: '生产计划单号', label: '生产计划单号',
field: 'productionPlanNumber', field: 'productionPlanNumber',

9
src/views/wms/productionManage/productreceiptAssemble/productreceiptAssembleRecordMain/productreceiptAssembleRecordMain.data.ts

@ -33,6 +33,15 @@ export const ProductreceiptRecordMain = useCrudSchemas(reactive<CrudSchema[]>([
}, },
isSearch: true isSearch: true
}, },
{
label: '备注',
field: 'remark',
sort: 'custom',
table: {
width: 180
},
isSearch: false
},
{ {
label: '生产计划单号', label: '生产计划单号',
field: 'productionPlanNumber', field: 'productionPlanNumber',

83
src/views/wms/purchasereceiptManage/purchasereceipt/purchasereceiptRecordMain/purchasereceiptRecordMain.data.ts

@ -1,6 +1,5 @@
import type { CrudSchema } from '@/hooks/web/useCrudSchemas' import type { CrudSchema } from '@/hooks/web/useCrudSchemas'
import { dateFormatter,dateFormatter2 } from '@/utils/formatTime' import { dateFormatter,dateFormatter2 } from '@/utils/formatTime'
import { t } from '@wangeditor/editor'
@ -39,6 +38,16 @@ export const PurchasereceiptRecordMain = useCrudSchemas(reactive<CrudSchema[]>([
}, },
sortTableDefault:3 sortTableDefault:3
}, },
{
label: '备注',
field: 'remark',
sort: 'custom',
table: {
width: 180
},
isSearch: false,
sortTableDefault:3
},
{ {
label: '发货单号', label: '发货单号',
field: 'asnNumber', field: 'asnNumber',
@ -339,15 +348,15 @@ export const PurchasereceiptRecordMain = useCrudSchemas(reactive<CrudSchema[]>([
}, },
isTable:false, isTable:false,
}, },
{ // {
label: '备注', // label: '备注',
field: 'mainRemark', // field: 'mainRemark',
sort: 'custom', // sort: 'custom',
table: { // table: {
width: 150 // width: 150
}, // },
isTable:true, // isTable:true,
}, // },
{ {
label: '创建者', label: '创建者',
field: 'creator', field: 'creator',
@ -1109,16 +1118,16 @@ export const PurchasereceiptRecordDetail = useCrudSchemas(reactive<CrudSchema[]>
isTable:false, isTable:false,
hiddenInMain:true hiddenInMain:true
}, },
{ // {
label: '备注', // label: '备注',
field: 'remark', // field: 'remark',
sort: 'custom', // sort: 'custom',
table: { // table: {
width: 150 // width: 150
}, // },
hiddenInMain:true, // hiddenInMain:true,
sortTableDefault:2000, // sortTableDefault:2000,
}, // },
{ {
label: '创建者', label: '创建者',
field: 'creator', field: 'creator',
@ -1935,21 +1944,21 @@ export const PurchasereceiptRecordDetailPackingNumber = useCrudSchemas(reactive<
disabled: true, disabled: true,
} }
}, },
{ // {
label: '备注', // label: '备注',
field: 'remark', // field: 'remark',
sort: 'custom', // sort: 'custom',
table: { // table: {
width: 150 // width: 150
}, // },
hiddenInMain:true, // hiddenInMain:true,
form: { // form: {
componentProps: { // componentProps: {
disabled:true // disabled:true
} // }
}, // },
tableForm: { // tableForm: {
disabled: true, // disabled: true,
} // }
} // }
])) ]))

Loading…
Cancel
Save