销售审批
This commit is contained in:
@ -6,65 +6,42 @@ export const formConfig = {
|
||||
};
|
||||
|
||||
export const searchFormSchema: FormSchema[] = [
|
||||
|
||||
{
|
||||
field: 'verNo',
|
||||
label: '版本号',
|
||||
component: 'Input',
|
||||
},
|
||||
{
|
||||
field: 'datePlan',
|
||||
label: '计划日期',
|
||||
component: 'Input',
|
||||
},
|
||||
{
|
||||
field: 'pointDelyCode',
|
||||
field: 'pointDelyName',
|
||||
label: '下载点',
|
||||
component: 'Input',
|
||||
},
|
||||
{
|
||||
field: 'qtyDemandGj',
|
||||
label: '指定量 (吉焦)',
|
||||
field: 'kName',
|
||||
label: '销售合同名称/编码',
|
||||
component: 'Input',
|
||||
},
|
||||
{
|
||||
field: 'qtyDemandM3',
|
||||
label: '指定量 (万方)',
|
||||
component: 'Input',
|
||||
field: 'approCode',
|
||||
label: '审批状态',
|
||||
component: 'XjrSelect',
|
||||
componentProps: {
|
||||
datasourceType: 'dic',
|
||||
params: { itemId: '1990669393069129729' },
|
||||
labelField: 'name',
|
||||
valueField: 'value',
|
||||
|
||||
getPopupContainer: () => document.body,
|
||||
},
|
||||
},
|
||||
{
|
||||
field: 'priceSalesGj',
|
||||
label: '批复量 (吉焦)',
|
||||
component: 'Input',
|
||||
},
|
||||
{
|
||||
field: 'priceSalesM3',
|
||||
label: '批复量 (万方)',
|
||||
component: 'Input',
|
||||
},
|
||||
{
|
||||
field: 'ksId',
|
||||
label: '合同',
|
||||
component: 'Input',
|
||||
},
|
||||
{
|
||||
field: 'id',
|
||||
label: 'id',
|
||||
component: 'Input',
|
||||
},
|
||||
{
|
||||
field: 'orgId',
|
||||
label: 'orgId',
|
||||
component: 'Input',
|
||||
},
|
||||
{
|
||||
field: 'note',
|
||||
label: '备注',
|
||||
component: 'Input',
|
||||
},
|
||||
{
|
||||
field: 'reply',
|
||||
label: '批复意见',
|
||||
component: 'Input',
|
||||
field: 'approCode',
|
||||
label: '审批状态',
|
||||
component: 'XjrSelect',
|
||||
componentProps: {
|
||||
datasourceType: 'dic',
|
||||
params: { itemId: '1990669393069129729' },
|
||||
labelField: 'name',
|
||||
valueField: 'value',
|
||||
|
||||
getPopupContainer: () => document.body,
|
||||
},
|
||||
},
|
||||
];
|
||||
|
||||
|
||||
@ -1,5 +1,5 @@
|
||||
<template>
|
||||
<PageWrapper dense fixedHeight contentFullHeight contentClass="flex">
|
||||
<PageWrapper dense fixedHeight contentFullHeight contentClass="flex Demandtyle">
|
||||
<BasicTable @register="registerTable" ref="tableRef" @row-dbClick="dbClickRow">
|
||||
|
||||
<template #toolbar>
|
||||
@ -128,7 +128,7 @@
|
||||
},
|
||||
schemas: customSearchFormSchema,
|
||||
fieldMapToTime: [],
|
||||
showResetButton: false,
|
||||
showResetButton: true,
|
||||
},
|
||||
beforeFetch: (params) => {
|
||||
return { ...params, FormId: formIdComputedRef.value, PK: 'id' };
|
||||
@ -417,6 +417,11 @@
|
||||
}
|
||||
};
|
||||
</script>
|
||||
<style lang="less">
|
||||
.Demandtyle .cusSearchForm .advanceRow> div:nth-of-type(3){
|
||||
display: none;
|
||||
}
|
||||
</style>
|
||||
<style lang="less" scoped>
|
||||
:deep(.ant-table-selection-col) {
|
||||
width: 50px;
|
||||
@ -427,4 +432,15 @@
|
||||
.hide{
|
||||
display: none !important;
|
||||
}
|
||||
:deep( .ant-col-8:nth-child(2)) {
|
||||
width: 360px !important;
|
||||
max-width: 320px !important;;
|
||||
}
|
||||
:deep(.ant-col-8:nth-child(2) .ant-form-item-label) {
|
||||
width: 160px !important;
|
||||
}
|
||||
:deep(.ant-col-8:nth-child(2) .ant-form-item-label .ant-form-item-no-colon) {
|
||||
width: 160px !important;
|
||||
max-width: 160px !important;
|
||||
}
|
||||
</style>
|
||||
Reference in New Issue
Block a user