Browse Source

Merge branch 'master_hella' of http://dev.ccwin-in.com:3000/sfms3.0/sfms3.0-ui into master_hella

master_hella_20240701
zhaoxuebing 5 months ago
parent
commit
5812743a49
  1. 302
      src/views/wms/supplierManage/supplierinvoice/supplierinvoiceRequestMain/supplierinvoiceRequestMain.data.ts

302
src/views/wms/supplierManage/supplierinvoice/supplierinvoiceRequestMain/supplierinvoiceRequestMain.data.ts

@ -874,83 +874,26 @@ export const SupplierinvoiceRequestMainRules = reactive({
*/ */
export const SupplierinvoiceRequestDetail = useCrudSchemas(reactive<CrudSchema[]>([ export const SupplierinvoiceRequestDetail = useCrudSchemas(reactive<CrudSchema[]>([
{ {
label: '订单号', label: '物料代码',
field: 'poNumber', field: 'itemCode',
form: {
componentProps: {
disabled: true
}
},
sortTableDefault:7,
table: {
width: 150
},
tableForm:{
disabled: true
}
},
{
label: '订单行',
field: 'poLine',
table: { table: {
width: 150 width: 150
}, },
form: { form: {
// labelMessage: '信息提示说明!!!',
componentProps: { componentProps: {
multiple:true,//多选 disabled: true
isSearchList: true,
searchListPlaceholder: '请选择订单行',
searchField: 'poLine',
searchTitle: '待开票列表',
searchAllSchemas: PurchaseReceiptOrReturnRecordDetail.allSchemas,
searchPage: supplierinvoiceRequestDetailApi.getPoNumberPoLineInfo,
searchCondition: [
{
key: 'supplierCode',
value: 'supplierCode',
message: '请填供应商信息!',
isMainValue: true
},{
key: 'orderType',
value: 'orderType',
message: '请填订单类型!',
isMainValue: true
}
]
} }
}, },
tableForm:{ tableForm:{
multiple:true,//多选 disabled: true
isInpuFocusShow: true,
searchListPlaceholder: '请选择订单行',
searchField: 'poLine',
searchTitle: '待开票列表',
searchAllSchemas: PurchaseReceiptOrReturnRecordDetail.allSchemas,
searchPage: supplierinvoiceRequestDetailApi.getPoNumberPoLineInfo,
searchCondition: [
{
key: 'supplierCode',
value: 'supplierCode',
message: '请填供应商信息!',
isMainValue: true
},
{
key: 'orderType',
value: 'orderType',
message: '请填订单类型!',
isMainValue: true
}
]
} }
}, },
{ {
label: '待开票单据号', label: '物料名称',
field: 'recvBillNum', field: 'itemName',
table: { table: {
width: 150 width: 150
}, },
sortTableDefault:9,
form: { form: {
componentProps: { componentProps: {
disabled: true disabled: true
@ -961,40 +904,55 @@ export const SupplierinvoiceRequestDetail = useCrudSchemas(reactive<CrudSchema[]
} }
}, },
{ {
label: '单据类型', label: '物料描述',
field: 'billType', field: 'itemDesc',
table: { table: {
width: 150 width: 150
}, },
form: { isForm:false,
isTableForm:false,
isDetail: false,
isTable: true,
},
//仅是主列表页面的筛选搜索条件
{
label: '收货日期',
field: 'deliveryDate',
sort: 'custom',
isDetail:false,
isTable: false,
isForm:false,
isTableForm:false,
isSearch:true,
formatter: dateFormatter,
search: {
value:[],
component: 'DatePicker',
componentProps: { componentProps: {
disabled: true valueFormat: 'YYYY-MM-DD',
type: 'daterange',
defaultTime: [new Date('1 '), new Date('1 ')]
} }
}, },
tableForm:{
disabled: true
}
}, },
{ {
label: '供应商发货单号', label: '收货日期',
field: 'asnBillNum', field: 'deliveryDate',
table: { table: {
width: 150 width: 150
}, },
sortTableDefault:8, formatter: dateFormatter2,
form: { isForm:false,
componentProps: { isTableForm:true,
disabled: true isDetail: false,
} isTable: true,
},
tableForm:{ tableForm:{
disabled:true disabled:true
} }
}, },
{ {
label: '供应商代码', label: '可开票数量',
field: 'supplierCode', field: 'invoicableQuantity',
hiddenInMain:true,
table: { table: {
width: 150 width: 150
}, },
@ -1069,46 +1027,92 @@ export const SupplierinvoiceRequestDetail = useCrudSchemas(reactive<CrudSchema[]
} }
}, },
{ {
label: '未税差额', label: '到货数量',
field: 'untaxedDifference', field: 'arrivalQty',
formatter: accountantFormart,
table: { table: {
width: 150 width: 150
}, },
isForm:false,
isTableForm:true,
isDetail: false,
isTable: true,
tableForm:{
disabled:true
}
},
{
label: '订单号',
field: 'poNumber',
form: { form: {
component: 'InputNumber',
componentProps: { componentProps: {
precision: 6, disabled: true
} }
}, },
table: {
width: 150
},
tableForm:{ tableForm:{
type: 'InputNumber', disabled: true
min: 0,
precision: 6,
} }
}, },
{ {
label: '含税差额', label: '订单行',
field: 'taxInclusiveDifference', field: 'poLine',
formatter: accountantFormart,
table: { table: {
width: 150 width: 150
}, },
form: { form: {
component: 'InputNumber', // labelMessage: '信息提示说明!!!',
componentProps: { componentProps: {
precision: 6, multiple:true,//多选
isSearchList: true,
searchListPlaceholder: '请选择订单行',
searchField: 'poLine',
searchTitle: '待开票列表',
searchAllSchemas: PurchaseReceiptOrReturnRecordDetail.allSchemas,
searchPage: supplierinvoiceRequestDetailApi.getPoNumberPoLineInfo,
searchCondition: [
{
key: 'supplierCode',
value: 'supplierCode',
message: '请填供应商信息!',
isMainValue: true
},{
key: 'orderType',
value: 'orderType',
message: '请填订单类型!',
isMainValue: true
}
]
} }
}, },
tableForm: { tableForm: {
type: 'InputNumber', multiple:true,//多选
min: 0, isInpuFocusShow: true,
precision: 6, searchListPlaceholder: '请选择订单行',
searchField: 'poLine',
searchTitle: '待开票列表',
searchAllSchemas: PurchaseReceiptOrReturnRecordDetail.allSchemas,
searchPage: supplierinvoiceRequestDetailApi.getPoNumberPoLineInfo,
searchCondition: [
{
key: 'supplierCode',
value: 'supplierCode',
message: '请填供应商信息!',
isMainValue: true
},
{
key: 'orderType',
value: 'orderType',
message: '请填订单类型!',
isMainValue: true
}
]
} }
}, },
{ {
label: '可开票数量', label: '待开票单据号',
field: 'invoicableQuantity', field: 'recvBillNum',
table: { table: {
width: 150 width: 150
}, },
@ -1122,12 +1126,11 @@ export const SupplierinvoiceRequestDetail = useCrudSchemas(reactive<CrudSchema[]
} }
}, },
{ {
label: '物料代码', label: '单据类型',
field: 'itemCode', field: 'billType',
table: { table: {
width: 150 width: 150
}, },
sortTableDefault:3,
form: { form: {
componentProps: { componentProps: {
disabled: true disabled: true
@ -1138,69 +1141,77 @@ export const SupplierinvoiceRequestDetail = useCrudSchemas(reactive<CrudSchema[]
} }
}, },
{ {
label: '物料描述', label: '供应商发货单号',
field: 'itemDesc', field: 'asnBillNum',
table: { table: {
width: 150 width: 150
}, },
sortTableDefault:4, form: {
isForm:false, componentProps: {
isTableForm:false, disabled: true
isDetail: false, }
isTable: true, },
tableForm:{
disabled: true
}
}, },
{ {
label: '到货数量', label: '供应商代码',
field: 'arrivalQty', field: 'supplierCode',
hiddenInMain:true,
table: { table: {
width: 150 width: 150
}, },
sortTableDefault:6, form: {
isForm:false, componentProps: {
isTableForm:true, disabled: true
isDetail: false, }
isTable: true, },
tableForm:{ tableForm:{
disabled: true disabled: true
} }
}, },
{ {
label: '物料名称', label: '未税差额',
field: 'itemName', field: 'untaxedDifference',
formatter: accountantFormart,
table: { table: {
width: 150 width: 150
}, },
form: { form: {
component: 'InputNumber',
componentProps: { componentProps: {
disabled: true precision: 6,
} }
}, },
tableForm: { tableForm: {
disabled: true type: 'InputNumber',
min: 0,
precision: 6,
} }
}, },
//仅是主列表页面的筛选搜索条件
{ {
label: '收货日期', label: '含税差额',
field: 'deliveryDate', field: 'taxInclusiveDifference',
sort: 'custom', formatter: accountantFormart,
isDetail:false, table: {
isTable: false, width: 150
isForm:false, },
isTableForm:false, form: {
isSearch:true, component: 'InputNumber',
formatter: dateFormatter,
search: {
value:[],
component: 'DatePicker',
componentProps: { componentProps: {
valueFormat: 'YYYY-MM-DD', precision: 6,
type: 'daterange',
defaultTime: [new Date('1 '), new Date('1 ')]
} }
}, },
tableForm: {
type: 'InputNumber',
min: 0,
precision: 6,
}
}, },
//仅是主列表页面的筛选搜索条件 //仅是主列表页面的筛选搜索条件
{ {
label: '创建时间', label: '创建时间',
@ -1224,22 +1235,7 @@ export const SupplierinvoiceRequestDetail = useCrudSchemas(reactive<CrudSchema[]
}, },
}, },
{
label: '收货日期',
field: 'deliveryDate',
table: {
width: 150
},
formatter: dateFormatter2,
sortTableDefault:5,
isForm:false,
isTableForm:true,
isDetail: false,
isTable: true,
tableForm:{
disabled:true
}
},
{ {
label: '货币', label: '货币',
field: 'currency', field: 'currency',

Loading…
Cancel
Save