Browse Source

采购退货记录

master_hella_20240701
yufei0306 7 months ago
parent
commit
786c67045c
  1. 150
      src/views/wms/purchasereceiptManage/purchasereturn/purchasereturnRecordMain/purchasereturnRecordMain.data.ts

150
src/views/wms/purchasereceiptManage/purchasereturn/purchasereturnRecordMain/purchasereturnRecordMain.data.ts

@ -13,6 +13,7 @@ export const PurchasereturnRecordMain = useCrudSchemas(reactive<CrudSchema[]>([
width: 180,
fixed: 'left'
},
sortTableDefault: 1012,
sortSearchDefault:1,
isSearch: true
},
@ -331,7 +332,7 @@ export const PurchasereturnRecordMain = useCrudSchemas(reactive<CrudSchema[]>([
},
},
{
label: '备注',
label: '原因',
field: 'available',
sort: 'custom',
table: {
@ -456,7 +457,7 @@ export const PurchasereturnRecordDetail = useCrudSchemas(reactive<CrudSchema[]>(
isSearch: true,
hiddenInMain: true,
sortSearchDefault: 1002,
sortTableDefault: 1001,
},
{
label: '包装规格',
@ -469,6 +470,43 @@ export const PurchasereturnRecordDetail = useCrudSchemas(reactive<CrudSchema[]>(
},
sortTableDefault: 1004,
},
{
label: '包装数量',
field: 'packQty',
sort: 'custom',
table: {
width: 150
},
sortTableDefault: 1004,
form: {
component: 'InputNumber',
}
},
{
label: '退货数量',
field: 'returnedQty',
sort: 'custom',
table: {
width: 150
},
form: {
component: 'InputNumber',
componentProps: {
min: 0,
precision: 6,
disabled:false
}
},
sortTableDefault: 1004,
hiddenInMain:true,
isForm:false,
tableForm:{
type:'InputNumber',
min:0,
precision: 6,
disabled:false
}
},
{
label: '从器具号',
field: 'fromContainerNumber',
@ -476,6 +514,7 @@ export const PurchasereturnRecordDetail = useCrudSchemas(reactive<CrudSchema[]>(
table: {
width: 150
},
isTable:false,
hiddenInMain: true
},
{
@ -485,6 +524,7 @@ export const PurchasereturnRecordDetail = useCrudSchemas(reactive<CrudSchema[]>(
table: {
width: 150
},
isTable:false,
hiddenInMain: true
},
{
@ -505,6 +545,7 @@ export const PurchasereturnRecordDetail = useCrudSchemas(reactive<CrudSchema[]>(
width: 150
},
isSearch: true,
sortTableDefault: 1000,
hiddenInMain: true
},
{
@ -514,6 +555,7 @@ export const PurchasereturnRecordDetail = useCrudSchemas(reactive<CrudSchema[]>(
table: {
width: 150
},
isTable:false,
hiddenInMain: true
},
{
@ -523,6 +565,7 @@ export const PurchasereturnRecordDetail = useCrudSchemas(reactive<CrudSchema[]>(
table: {
width: 150
},
sortTableDefault: 1009,
hiddenInMain: true
},
{
@ -532,6 +575,7 @@ export const PurchasereturnRecordDetail = useCrudSchemas(reactive<CrudSchema[]>(
table: {
width: 150
},
sortTableDefault: 1009,
hiddenInMain: true
},
{
@ -541,6 +585,7 @@ export const PurchasereturnRecordDetail = useCrudSchemas(reactive<CrudSchema[]>(
table: {
width: 150
},
sortTableDefault: 1010,
hiddenInMain: true
},
{
@ -550,6 +595,7 @@ export const PurchasereturnRecordDetail = useCrudSchemas(reactive<CrudSchema[]>(
table: {
width: 150
},
sortTableDefault: 1010,
hiddenInMain: true
},
{
@ -559,6 +605,7 @@ export const PurchasereturnRecordDetail = useCrudSchemas(reactive<CrudSchema[]>(
table: {
width: 150
},
sortTableDefault: 1010,
hiddenInMain: true
},
{
@ -568,6 +615,7 @@ export const PurchasereturnRecordDetail = useCrudSchemas(reactive<CrudSchema[]>(
table: {
width: 150
},
sortTableDefault: 1010,
hiddenInMain: true
},
{
@ -577,6 +625,7 @@ export const PurchasereturnRecordDetail = useCrudSchemas(reactive<CrudSchema[]>(
table: {
width: 150
},
sortTableDefault: 1010,
hiddenInMain: true
},
{
@ -586,6 +635,7 @@ export const PurchasereturnRecordDetail = useCrudSchemas(reactive<CrudSchema[]>(
table: {
width: 150
},
sortTableDefault: 1010,
hiddenInMain: true
},
{
@ -598,6 +648,7 @@ export const PurchasereturnRecordDetail = useCrudSchemas(reactive<CrudSchema[]>(
table: {
width: 150
},
sortTableDefault: 1008,
hiddenInMain: true
},
{
@ -607,6 +658,7 @@ export const PurchasereturnRecordDetail = useCrudSchemas(reactive<CrudSchema[]>(
table: {
width: 150
},
sortTableDefault: 4,
},
{
label: '订单行',
@ -615,44 +667,33 @@ export const PurchasereturnRecordDetail = useCrudSchemas(reactive<CrudSchema[]>(
table: {
width: 150
},
sortTableDefault: 5,
},
{
label: '原因',
field: 'reason',
dictType: DICT_TYPE.PURCHASE_RETURN_REASON,
dictClass: 'string',
isTable: true,
label: '单据号',
field: 'number',
sort: 'custom',
table: {
width: 150
width: 180,
},
hiddenInMain: true
sortTableDefault: 1013,
hiddenInMain: true,
isSearch: true
},
{
label: '单价',
field: 'singlePrice',
label: '原因',
field: 'reason',
dictType: DICT_TYPE.PURCHASE_RETURN_REASON,
dictClass: 'string',
isTable: true,
sort: 'custom',
table: {
width: 150
},
form: {
component: 'InputNumber',
},
sortTableDefault: 1013,
hiddenInMain: true
},
{
label: '金额',
field: 'amount',
sort: 'custom',
table: {
width: 150
},
form: {
component: 'InputNumber',
},
hiddenInMain: true
},
{
label: '物料代码',
field: 'itemCode',
@ -670,6 +711,7 @@ export const PurchasereturnRecordDetail = useCrudSchemas(reactive<CrudSchema[]>(
table: {
width: 150
},
sortSearchDefault: 6,
},
{
label: '物料描述1',
@ -678,6 +720,7 @@ export const PurchasereturnRecordDetail = useCrudSchemas(reactive<CrudSchema[]>(
table: {
width: 150
},
sortSearchDefault: 7,
hiddenInMain: true
},
{
@ -687,6 +730,7 @@ export const PurchasereturnRecordDetail = useCrudSchemas(reactive<CrudSchema[]>(
table: {
width: 150
},
sortSearchDefault: 7,
hiddenInMain: true
},
{
@ -696,6 +740,7 @@ export const PurchasereturnRecordDetail = useCrudSchemas(reactive<CrudSchema[]>(
table: {
width: 150
},
isTable:true,
sortTableDefault: 1005,
form: {
component: 'InputNumber',
@ -713,6 +758,32 @@ export const PurchasereturnRecordDetail = useCrudSchemas(reactive<CrudSchema[]>(
width: 150
},
},
{
label: '单价',
field: 'singlePrice',
sort: 'custom',
table: {
width: 150
},
hiddenInMain:true,
sortTableDefault: 1006,
form: {
component: 'InputNumber',
}
},
{
label: '金额',
field: 'amount',
sort: 'custom',
table: {
width: 150
},
hiddenInMain:true,
sortTableDefault: 1006,
form: {
component: 'InputNumber',
}
},
{
label: '项目代码',
field: 'projectCode',
@ -720,6 +791,7 @@ export const PurchasereturnRecordDetail = useCrudSchemas(reactive<CrudSchema[]>(
table: {
width: 150
},
sortTableDefault: 1011,
hiddenInMain: true
},
// {
@ -735,7 +807,7 @@ export const PurchasereturnRecordDetail = useCrudSchemas(reactive<CrudSchema[]>(
field: 'interfaceType',
dictType: DICT_TYPE.INTERFACE_TYPE,
dictClass: 'string',
isTable: true,
isTable: false,
sort: 'custom',
table: {
width: 150
@ -751,14 +823,25 @@ export const PurchasereturnRecordDetail = useCrudSchemas(reactive<CrudSchema[]>(
// },
// },
{
label: '备注',
label: '原因',
field: 'remark',
sort: 'custom',
table: {
width: 150
},
sortTableDefault: 1007,
hiddenInMain: true
},
{
label: '创建者',
field: 'creator',
sort: 'custom',
table: {
width: 150
},
sortTableDefault: 1014,
hiddenInMain: true,
},
{
label: '创建时间',
field: 'createTime',
@ -771,6 +854,7 @@ export const PurchasereturnRecordDetail = useCrudSchemas(reactive<CrudSchema[]>(
width: 180
},
hiddenInMain: true,
sortTableDefault: 1014,
form: {
component: 'DatePicker',
componentProps: {
@ -780,15 +864,7 @@ export const PurchasereturnRecordDetail = useCrudSchemas(reactive<CrudSchema[]>(
}
},
},
{
label: '创建者',
field: 'creator',
sort: 'custom',
table: {
width: 150
},
hiddenInMain: true,
},
]))
//表单校验

Loading…
Cancel
Save