Browse Source

页面修改

hella_online_20240829
zhaoxuebing 2 months ago
parent
commit
795225f712
  1. 300
      src/views/wms/purchasereceiptManage/purchasereturnspare/purchasereturnRecordSpareMain/purchasereturnRecordSpareMain.data.ts

300
src/views/wms/purchasereceiptManage/purchasereturnspare/purchasereturnRecordSpareMain/purchasereturnRecordSpareMain.data.ts

@ -436,31 +436,90 @@ export const PurchasereturnRecordMainRules = reactive({
* @returns {Array} 退 * @returns {Array} 退
*/ */
export const PurchasereturnRecordDetail = useCrudSchemas(reactive<CrudSchema[]>([ export const PurchasereturnRecordDetail = useCrudSchemas(reactive<CrudSchema[]>([
{ {
label: '从包装号', label: '单据号',
field: 'fromPackingNumber', field: 'number',
sort: 'custom',
table: {
width: 180,
},
sortTableDefault: 1013,
hiddenInMain: true,
isSearch: false
},
{
label: '物料代码',
field: 'itemCode',
sort: 'custom', sort: 'custom',
table: { table: {
width: 150 width: 150
}, },
isSearch: true, isSearch: true,
sortTableDefault: 1001, sortSearchDefault: 6,
sortSearchDefault: 1001, },
{
label: '物料名称',
field: 'itemName',
sort: 'custom',
table: {
width: 150
},
sortSearchDefault: 6,
}, },
{ {
label: '到包装号', label: '物料描述1',
field: 'toPackingNumber', field: 'itemDesc1',
sort: 'custom',
table: {
width: 150
},
sortSearchDefault: 7,
hiddenInMain: true
},
{
label: '物料描述2',
field: 'itemDesc2',
sort: 'custom',
table: {
width: 150
},
sortSearchDefault: 7,
hiddenInMain: true
},
{
label: '从批次',
field: 'fromBatch',
sort: 'custom', sort: 'custom',
table: { table: {
width: 150 width: 150
}, },
isSearch: true, isSearch: true,
hiddenInMain: true, sortTableDefault: 1000,
sortSearchDefault: 1002, },
{
label: '从包装号',
field: 'fromPackingNumber',
sort: 'custom',
table: {
width: 150
},
isSearch: false,
sortTableDefault: 1001, sortTableDefault: 1001,
sortSearchDefault: 1001,
}, },
// { // {
// label: '到包装号',
// field: 'toPackingNumber',
// sort: 'custom',
// table: {
// width: 150
// },
// isSearch: true,
// hiddenInMain: true,
// sortSearchDefault: 1002,
// sortTableDefault: 1001,
// },
// {
// label: '包装规格', // label: '包装规格',
// field: 'packUnit', // field: 'packUnit',
// dictClass: 'string', // dictClass: 'string',
@ -509,56 +568,60 @@ export const PurchasereturnRecordDetail = useCrudSchemas(reactive<CrudSchema[]>(
} }
}, },
{ {
label: '从器具号', label: '库存状态',
field: 'fromContainerNumber', field: 'inventoryStatus',
sort: 'custom', dictType: DICT_TYPE.INVENTORY_STATUS,
table: { dictClass: 'string',
width: 150 isTable: true,
},
isTable:false,
hiddenInMain: true
},
{
label: '到器具号',
field: 'toContainerNumber',
sort: 'custom',
table: {
width: 150
},
isTable:false,
hiddenInMain: true
},
{
label: '从批次',
field: 'fromBatch',
sort: 'custom',
table: {
width: 150
},
isSearch: true,
sortTableDefault: 1000,
},
{
label: '到批次',
field: 'toBatch',
sort: 'custom',
table: {
width: 150
},
isSearch: true,
sortTableDefault: 1000,
hiddenInMain: true
},
{
label: '替代批次',
field: 'altBatch',
sort: 'custom', sort: 'custom',
table: { table: {
width: 150 width: 150
}, },
isTable:false, sortTableDefault: 1008,
hiddenInMain: true hiddenInMain: true
}, },
// {
// label: '从器具号',
// field: 'fromContainerNumber',
// sort: 'custom',
// table: {
// width: 150
// },
// isTable:false,
// hiddenInMain: true
// },
// {
// label: '到器具号',
// field: 'toContainerNumber',
// sort: 'custom',
// table: {
// width: 150
// },
// isTable:false,
// hiddenInMain: true
// },
// {
// label: '到批次',
// field: 'toBatch',
// sort: 'custom',
// table: {
// width: 150
// },
// isSearch: true,
// sortTableDefault: 1000,
// hiddenInMain: true
// },
// {
// label: '替代批次',
// field: 'altBatch',
// sort: 'custom',
// table: {
// width: 150
// },
// isTable:false,
// hiddenInMain: true
// },
{ {
label: '从库位代码', label: '从库位代码',
field: 'fromLocationCode', field: 'fromLocationCode',
@ -639,19 +702,7 @@ export const PurchasereturnRecordDetail = useCrudSchemas(reactive<CrudSchema[]>(
// sortTableDefault: 1010, // sortTableDefault: 1010,
// hiddenInMain: true // hiddenInMain: true
// }, // },
{
label: '库存状态',
field: 'inventoryStatus',
dictType: DICT_TYPE.INVENTORY_STATUS,
dictClass: 'string',
isTable: true,
sort: 'custom',
table: {
width: 150
},
sortTableDefault: 1008,
hiddenInMain: true
},
// { // {
// label: '订单号', // label: '订单号',
// field: 'poNumber', // field: 'poNumber',
@ -670,70 +721,21 @@ export const PurchasereturnRecordDetail = useCrudSchemas(reactive<CrudSchema[]>(
// }, // },
// sortTableDefault: 5, // sortTableDefault: 5,
// }, // },
{
label: '单据号',
field: 'number',
sort: 'custom',
table: {
width: 180,
},
sortTableDefault: 1013,
hiddenInMain: true,
isSearch: false
},
{
label: '原因',
field: 'reason',
dictType: DICT_TYPE.PURCHASE_RETURN_REASON,
dictClass: 'string',
isTable: true,
sort: 'custom',
table: {
width: 150
},
sortTableDefault: 1013,
hiddenInMain: true
},
{ // {
label: '物料代码', // label: '原因',
field: 'itemCode', // field: 'reason',
sort: 'custom', // dictType: DICT_TYPE.PURCHASE_RETURN_REASON,
table: { // dictClass: 'string',
width: 150 // isTable: true,
}, // sort: 'custom',
isSearch: true, // table: {
sortSearchDefault: 6, // width: 150
}, // },
{ // sortTableDefault: 1013,
label: '物料名称', // hiddenInMain: true
field: 'itemName', // },
sort: 'custom',
table: {
width: 150
},
sortSearchDefault: 6,
},
{
label: '物料描述1',
field: 'itemDesc1',
sort: 'custom',
table: {
width: 150
},
sortSearchDefault: 7,
hiddenInMain: true
},
{
label: '物料描述2',
field: 'itemDesc2',
sort: 'custom',
table: {
width: 150
},
sortSearchDefault: 7,
hiddenInMain: true
},
// { // {
// label: '数量', // label: '数量',
// field: 'qty', // field: 'qty',
@ -785,16 +787,16 @@ export const PurchasereturnRecordDetail = useCrudSchemas(reactive<CrudSchema[]>(
component: 'InputNumber', component: 'InputNumber',
} }
}, },
{ // {
label: '项目代码', // label: '项目代码',
field: 'projectCode', // field: 'projectCode',
sort: 'custom', // sort: 'custom',
table: { // table: {
width: 150 // width: 150
}, // },
sortTableDefault: 1011, // sortTableDefault: 1011,
hiddenInMain: true // hiddenInMain: true
}, // },
// { // {
// label: '代码', // label: '代码',
// field: 'code', // field: 'code',
@ -823,16 +825,16 @@ export const PurchasereturnRecordDetail = useCrudSchemas(reactive<CrudSchema[]>(
// width: 150 // width: 150
// }, // },
// }, // },
{ // {
label: '原因', // label: '原因',
field: 'remark', // field: 'remark',
sort: 'custom', // sort: 'custom',
table: { // table: {
width: 150 // width: 150
}, // },
sortTableDefault: 1007, // sortTableDefault: 1007,
hiddenInMain: true // hiddenInMain: true
}, // },
{ {
label: '创建者', label: '创建者',
field: 'creator', field: 'creator',

Loading…
Cancel
Save