Browse Source

预生产装备任务修改

master_hella_20240701
zhaoxuebing 7 months ago
parent
commit
52e34c1fe1
  1. 19
      src/views/wms/productionManage/productreceipt/productreceiptJobMain/productreceiptJobMain.data.ts
  2. 18
      src/views/wms/productionManage/productreceiptAssemble/productreceiptAssembleJobMain/productreceiptAssembleJobMain.data.ts

19
src/views/wms/productionManage/productreceipt/productreceiptJobMain/productreceiptJobMain.data.ts

@ -670,6 +670,7 @@ export const ProductreceiptJobDetail = useCrudSchemas(reactive<CrudSchema[]>([
{
label: '生产日期',
field: 'produceDate',
sortTableDefault:1008,
formatter: dateFormatter2,
detail: {
dateFormat: 'YYYY-MM-DD'
@ -691,6 +692,7 @@ export const ProductreceiptJobDetail = useCrudSchemas(reactive<CrudSchema[]>([
{
label: '过期日期',
field: 'expireDate',
hiddenInMain:true,
formatter: dateFormatter2,
detail: {
dateFormat: 'YYYY-MM-DD'
@ -712,6 +714,7 @@ export const ProductreceiptJobDetail = useCrudSchemas(reactive<CrudSchema[]>([
{
label: '库存状态',
field: 'inventoryStatus',
sortTableDefault:1007,
dictType: DICT_TYPE.INVENTORY_STATUS,
dictClass: 'string',
isTable: true,
@ -722,8 +725,8 @@ export const ProductreceiptJobDetail = useCrudSchemas(reactive<CrudSchema[]>([
},
{
label: '到库位代码',
field: 'toLocationCode',
sortTableDefault:1009,
sort: 'custom',
table: {
width: 150
@ -731,6 +734,7 @@ export const ProductreceiptJobDetail = useCrudSchemas(reactive<CrudSchema[]>([
},
{
label: '订单号',
hiddenInMain:true,
field: 'woNumber',
sort: 'custom',
table: {
@ -740,6 +744,7 @@ export const ProductreceiptJobDetail = useCrudSchemas(reactive<CrudSchema[]>([
{
label: '订单行',
field: 'woLine',
hiddenInMain:true,
sort: 'custom',
table: {
width: 150
@ -748,6 +753,7 @@ export const ProductreceiptJobDetail = useCrudSchemas(reactive<CrudSchema[]>([
{
label: '包装数量',
field: 'packQty',
hiddenInMain:true,
sort: 'custom',
table: {
width: 150
@ -759,6 +765,7 @@ export const ProductreceiptJobDetail = useCrudSchemas(reactive<CrudSchema[]>([
{
label: '包装规格',
field: 'packUnit',
sortTableDefault:1004,
// dictType: DICT_TYPE.PACK_UNIT,
// dictClass: 'string',
isTable: true,
@ -788,6 +795,7 @@ export const ProductreceiptJobDetail = useCrudSchemas(reactive<CrudSchema[]>([
{
label: '物料描述1',
field: 'itemDesc1',
hiddenInMain:true,
sort: 'custom',
table: {
width: 150
@ -796,6 +804,7 @@ export const ProductreceiptJobDetail = useCrudSchemas(reactive<CrudSchema[]>([
{
label: '物料描述2',
field: 'itemDesc2',
hiddenInMain:true,
sort: 'custom',
table: {
width: 150
@ -804,6 +813,7 @@ export const ProductreceiptJobDetail = useCrudSchemas(reactive<CrudSchema[]>([
{
label: '项目代码',
field: 'projectCode',
hiddenInMain:true,
sort: 'custom',
table: {
width: 150
@ -813,6 +823,7 @@ export const ProductreceiptJobDetail = useCrudSchemas(reactive<CrudSchema[]>([
label: '数量',
field: 'qty',
sort: 'custom',
sortTableDefault:1005,
table: {
width: 150
},
@ -824,6 +835,7 @@ export const ProductreceiptJobDetail = useCrudSchemas(reactive<CrudSchema[]>([
label: '计量单位',
field: 'uom',
dictType: DICT_TYPE.UOM,
sortTableDefault:1006,
dictClass: 'string',
isTable: true,
sort: 'custom',
@ -834,6 +846,7 @@ export const ProductreceiptJobDetail = useCrudSchemas(reactive<CrudSchema[]>([
{
label: '单据号',
field: 'number',
hiddenInMain:true,
sort: 'custom',
table: {
width: 180
@ -842,6 +855,7 @@ export const ProductreceiptJobDetail = useCrudSchemas(reactive<CrudSchema[]>([
{
label: '备注',
field: 'remark',
hiddenInMain:true,
sort: 'custom',
table: {
width: 150
@ -850,6 +864,7 @@ export const ProductreceiptJobDetail = useCrudSchemas(reactive<CrudSchema[]>([
{
label: '创建者',
field: 'creator',
sortTableDefault:1011,
sort: 'custom',
table: {
width: 150
@ -858,6 +873,7 @@ export const ProductreceiptJobDetail = useCrudSchemas(reactive<CrudSchema[]>([
{
label: '创建时间',
field: 'createTime',
sortTableDefault:1010,
formatter: dateFormatter,
detail: {
dateFormat: 'YYYY-MM-DD HH:mm:ss'
@ -878,6 +894,7 @@ export const ProductreceiptJobDetail = useCrudSchemas(reactive<CrudSchema[]>([
{
label: '到货主代码',
field: 'toOwnerCode',
hiddenInMain:true,
sort: 'custom',
table: {
width: 150

18
src/views/wms/productionManage/productreceiptAssemble/productreceiptAssembleJobMain/productreceiptAssembleJobMain.data.ts

@ -672,6 +672,7 @@ export const ProductreceiptJobDetail = useCrudSchemas(reactive<CrudSchema[]>([
{
label: '生产日期',
field: 'produceDate',
sortTableDefault:1008,
formatter: dateFormatter2,
detail: {
dateFormat: 'YYYY-MM-DD'
@ -693,6 +694,7 @@ export const ProductreceiptJobDetail = useCrudSchemas(reactive<CrudSchema[]>([
{
label: '过期日期',
field: 'expireDate',
hiddenInMain:true,
formatter: dateFormatter2,
detail: {
dateFormat: 'YYYY-MM-DD'
@ -714,6 +716,7 @@ export const ProductreceiptJobDetail = useCrudSchemas(reactive<CrudSchema[]>([
{
label: '库存状态',
field: 'inventoryStatus',
sortTableDefault:1007,
dictType: DICT_TYPE.INVENTORY_STATUS,
dictClass: 'string',
isTable: true,
@ -725,6 +728,7 @@ export const ProductreceiptJobDetail = useCrudSchemas(reactive<CrudSchema[]>([
{
label: '到库位代码',
field: 'toLocationCode',
sortTableDefault:1009,
sort: 'custom',
table: {
width: 150
@ -733,6 +737,7 @@ export const ProductreceiptJobDetail = useCrudSchemas(reactive<CrudSchema[]>([
{
label: '订单号',
field: 'woNumber',
hiddenInMain:true,
sort: 'custom',
table: {
width: 150
@ -741,6 +746,7 @@ export const ProductreceiptJobDetail = useCrudSchemas(reactive<CrudSchema[]>([
{
label: '订单行',
field: 'woLine',
hiddenInMain:true,
sort: 'custom',
table: {
width: 150
@ -749,6 +755,7 @@ export const ProductreceiptJobDetail = useCrudSchemas(reactive<CrudSchema[]>([
{
label: '包装数量',
field: 'packQty',
hiddenInMain:true,
sort: 'custom',
table: {
width: 150
@ -760,6 +767,7 @@ export const ProductreceiptJobDetail = useCrudSchemas(reactive<CrudSchema[]>([
{
label: '包装规格',
field: 'packUnit',
sortTableDefault:1004,
// dictType: DICT_TYPE.PACK_UNIT,
// dictClass: 'string',
isTable: true,
@ -789,6 +797,7 @@ export const ProductreceiptJobDetail = useCrudSchemas(reactive<CrudSchema[]>([
{
label: '物料描述1',
field: 'itemDesc1',
hiddenInMain:true,
sort: 'custom',
table: {
width: 150
@ -797,6 +806,7 @@ export const ProductreceiptJobDetail = useCrudSchemas(reactive<CrudSchema[]>([
{
label: '物料描述2',
field: 'itemDesc2',
hiddenInMain:true,
sort: 'custom',
table: {
width: 150
@ -805,6 +815,7 @@ export const ProductreceiptJobDetail = useCrudSchemas(reactive<CrudSchema[]>([
{
label: '项目代码',
field: 'projectCode',
hiddenInMain:true,
sort: 'custom',
table: {
width: 150
@ -814,6 +825,7 @@ export const ProductreceiptJobDetail = useCrudSchemas(reactive<CrudSchema[]>([
label: '数量',
field: 'qty',
sort: 'custom',
sortTableDefault:1005,
table: {
width: 150
},
@ -825,6 +837,7 @@ export const ProductreceiptJobDetail = useCrudSchemas(reactive<CrudSchema[]>([
label: '计量单位',
field: 'uom',
dictType: DICT_TYPE.UOM,
sortTableDefault:1006,
dictClass: 'string',
isTable: true,
sort: 'custom',
@ -835,6 +848,7 @@ export const ProductreceiptJobDetail = useCrudSchemas(reactive<CrudSchema[]>([
{
label: '单据号',
field: 'number',
hiddenInMain:true,
sort: 'custom',
table: {
width: 180
@ -843,6 +857,7 @@ export const ProductreceiptJobDetail = useCrudSchemas(reactive<CrudSchema[]>([
{
label: '备注',
field: 'remark',
hiddenInMain:true,
sort: 'custom',
table: {
width: 150
@ -851,6 +866,7 @@ export const ProductreceiptJobDetail = useCrudSchemas(reactive<CrudSchema[]>([
{
label: '创建者',
field: 'creator',
sortTableDefault:1011,
sort: 'custom',
table: {
width: 150
@ -859,6 +875,7 @@ export const ProductreceiptJobDetail = useCrudSchemas(reactive<CrudSchema[]>([
{
label: '创建时间',
field: 'createTime',
sortTableDefault:1010,
formatter: dateFormatter,
detail: {
dateFormat: 'YYYY-MM-DD HH:mm:ss'
@ -879,6 +896,7 @@ export const ProductreceiptJobDetail = useCrudSchemas(reactive<CrudSchema[]>([
{
label: '到货主代码',
field: 'toOwnerCode',
hiddenInMain:true,
sort: 'custom',
table: {
width: 150

Loading…
Cancel
Save