Browse Source

增加备注字段

hella_online_20240816
zhaoyiran 4 months 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
},
{
label: '备注',
field: 'remark',
sort: 'custom',
table: {
width: 180
},
isSearch: false
},
{
label: '生产计划单号',
field: 'productionPlanNumber',

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

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

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

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

Loading…
Cancel
Save