查询条件添加

This commit is contained in:
‘huanghaiixia’
2026-02-02 10:43:46 +08:00
parent 16a8e11308
commit 3ce161bcbe
26 changed files with 282 additions and 90 deletions

View File

@ -21,6 +21,24 @@ export const searchFormSchema: FormSchema[] = [
labelField: 'name',
valueField: 'value',
getPopupContainer: () => document.body,
},
},
{
field: 'comId',
label: '合同主体',
component: 'Input',
},
{
field: 'approCode',
label: '审批状态',
component: 'XjrSelect',
componentProps: {
datasourceType: 'dic',
params: { itemId: '1990669393069129729' },
labelField: 'name',
valueField: 'value',
getPopupContainer: () => document.body,
},
},

View File

@ -112,7 +112,8 @@
const taskIdRef = ref('');
const visibleFlowRecordModal = ref(false);
const [registerModal, { openModal }] = useModal();
const formName='合同要素';
// const formName='合同要素';
const formName=currentRoute.value.meta?.title;
const [registerTable, { reload, }] = useTable({
title: '' || (formName + '列表'),
api: getLngContractFactPage,
@ -127,7 +128,7 @@
showResetButton: true,
},
beforeFetch: (params) => {
return { ...params, FormId: formIdComputedRef.value, PK: 'id' };
return { ...params, FormId: formIdComputedRef.value, PK: 'id',page: params.limit};
},
afterFetch: (res) => {
tableRef.value.setToolBarWidth();
@ -396,7 +397,6 @@
if (record.approCode == 'YSP') {
actionsList = actionsList.concat(updateBtn);
}
// if (record.workflowData?.enabled) {
// //与工作流有关联的表单
// if (record.workflowData.status) {

View File

@ -17,6 +17,43 @@ export const searchFormSchema: FormSchema[] = [
label: '供应商',
component: 'Input',
},
{
field: 'comId',
label: '合同主体',
component: 'Input',
},
{
field: 'pointUpName',
label: '上载点',
component: 'Input',
// componentProps: {
// showSearch: true,
// optionFilterProp: 'label',
// filterOption: (input: string, option: any) => {
// return option.label.toLowerCase().indexOf(input.toLowerCase()) >= 0;
// },
// options: [
// // { label: '全部', value: '' },
// ],
// placeholder: '请选择',
// allowClear: true,
// getPopupContainer: () => document.body,
// },
},
{
field: 'approCode',
label: '审批状态',
component: 'XjrSelect',
componentProps: {
datasourceType: 'dic',
params: { itemId: '1990669393069129729' },
labelField: 'name',
valueField: 'value',
getPopupContainer: () => document.body,
},
},
];
export const columns: BasicColumn[] = [

View File

@ -112,7 +112,8 @@
const taskIdRef = ref('');
const visibleFlowRecordModal = ref(false);
const [registerModal, { openModal }] = useModal();
const formName='国内管道气采购';
// const formName='国内管道气采购';
const formName=currentRoute.value.meta?.title;
const [registerTable, { reload, }] = useTable({
title: '' || (formName + '列表'),
api: getLngContractPage,
@ -496,13 +497,7 @@
:deep(.ant-table-selection-col) {
width: 50px;
}
:deep(.ant-col-8:nth-child(1) .ant-form-item-label) {
width: 100px !important;
}
:deep(.ant-col-8:nth-child(1)) {
max-width: 300px !important;
width: 300px !important;
}
.show{
display: flex;
}

View File

@ -15,7 +15,30 @@ export const searchFormSchema: FormSchema[] = [
field: 'cpName',
label: '客户',
component: 'Input',
}
},
{
field: 'comId',
label: '合同主体',
component: 'Input',
},
{
field: 'pointUpName',
label: '交割点',
component: 'Input',
},
{
field: 'approCode',
label: '审批状态',
component: 'XjrSelect',
componentProps: {
datasourceType: 'dic',
params: { itemId: '1990669393069129729' },
labelField: 'name',
valueField: 'value',
getPopupContainer: () => document.body,
},
},
];
export const columns: BasicColumn[] = [

View File

@ -112,7 +112,8 @@
const taskIdRef = ref('');
const visibleFlowRecordModal = ref(false);
const [registerModal, { openModal }] = useModal();
const formName='国内管道气销售';
// const formName='国内管道气销售';
const formName=currentRoute.value.meta?.title;
const [registerTable, { reload, }] = useTable({
title: '' || (formName + '列表'),
api: getLngContractPage,