diff --git a/src/api/dayPlan/PngSettleHdr/index.ts b/src/api/dayPlan/PngSettleHdr/index.ts new file mode 100644 index 0000000..cdc4245 --- /dev/null +++ b/src/api/dayPlan/PngSettleHdr/index.ts @@ -0,0 +1,89 @@ +import { LngPngSettleHdrPageModel, LngPngSettleHdrPageParams, LngPngSettleHdrPageResult } from './model/PngSettleHdrModel'; +import { defHttp } from '/@/utils/http/axios'; +import { ErrorMessageMode } from '/#/axios'; + +enum Api { + Page = '/dayPlan/pngSettleHdr/page', + List = '/dayPlan/pngSettleHdr/list', + Info = '/dayPlan/pngSettleHdr/info', + LngPngSettleHdr = '/dayPlan/pngSettleHdr', + + + + +} + +/** + * @description: 查询LngPngSettleHdr分页列表 + */ +export async function getLngPngSettleHdrPage(params: LngPngSettleHdrPageParams, mode: ErrorMessageMode = 'modal') { + return defHttp.get( + { + url: Api.Page, + params, + }, + { + errorMessageMode: mode, + }, + ); +} + +/** + * @description: 获取LngPngSettleHdr信息 + */ +export async function getLngPngSettleHdr(id: String, mode: ErrorMessageMode = 'modal') { + return defHttp.get( + { + url: Api.Info, + params: { id }, + }, + { + errorMessageMode: mode, + }, + ); +} + +/** + * @description: 新增LngPngSettleHdr + */ +export async function addLngPngSettleHdr(lngPngSettleHdr: Recordable, mode: ErrorMessageMode = 'modal') { + return defHttp.post( + { + url: Api.LngPngSettleHdr, + params: lngPngSettleHdr, + }, + { + errorMessageMode: mode, + }, + ); +} + +/** + * @description: 更新LngPngSettleHdr + */ +export async function updateLngPngSettleHdr(lngPngSettleHdr: Recordable, mode: ErrorMessageMode = 'modal') { + return defHttp.put( + { + url: Api.LngPngSettleHdr, + params: lngPngSettleHdr, + }, + { + errorMessageMode: mode, + }, + ); +} + +/** + * @description: 删除LngPngSettleHdr(批量删除) + */ +export async function deleteLngPngSettleHdr(ids: string[], mode: ErrorMessageMode = 'modal') { + return defHttp.delete( + { + url: Api.LngPngSettleHdr, + data: ids, + }, + { + errorMessageMode: mode, + }, + ); +} \ No newline at end of file diff --git a/src/api/dayPlan/PngSettleHdr/model/PngSettleHdrModel.ts b/src/api/dayPlan/PngSettleHdr/model/PngSettleHdrModel.ts new file mode 100644 index 0000000..88f7de0 --- /dev/null +++ b/src/api/dayPlan/PngSettleHdr/model/PngSettleHdrModel.ts @@ -0,0 +1,232 @@ +import { BasicPageParams, BasicFetchResult } from '/@/api/model/baseModel'; + +/** + * @description: LngPngSettleHdr分页参数 模型 + */ +export interface LngPngSettleHdrPageParams extends BasicPageParams { + id: string; + + settleMonthStart: string; + settleMonthEnd: string; + + dateFromStart: string; + dateFromEnd: string; + + dateToStart: string; + dateToEnd: string; + + cpCode: string; + + qtySettleGj: string; + + qtySettleM3: string; + + amount: string; + + comId: string; + + settleDesc: string; + + deptId: string; + + approCode: string; +} + +/** + * @description: LngPngSettleHdr分页返回值模型 + */ +export interface LngPngSettleHdrPageModel { + id: string; + + settleMonth: string; + + dateFrom: string; + + dateTo: string; + + cpCode: string; + + qtySettleGj: string; + + qtySettleM3: string; + + amount: string; + + comId: string; + + settleDesc: string; + + deptId: string; + + approCode: string; +} + +/** + * @description: LngPngSettleHdr表类型 + */ +export interface LngPngSettleHdrModel { + id: number; + + settleMonth: string; + + dateFrom: string; + + dateTo: string; + + settleTypeCode: string; + + cpCode: string; + + comId: number; + + qtySettleGj: number; + + qtySettleM3: number; + + amount: number; + + rpSign: string; + + billAccount: string; + + approCode: string; + + settleDesc: string; + + note: string; + + createUserId: number; + + createDate: string; + + modifyUserId: number; + + modifyDate: string; + + tenantId: number; + + deptId: number; + + ruleUserId: number; + + lngPngSettleSalesList?: LngPngSettleSalesModel; + + lngPngSettleSalesDtlList?: LngPngSettleSalesDtlModel; +} + +/** + * @description: LngPngSettleSales表类型 + */ +export interface LngPngSettleSalesModel { + id: number; + + settleHdrId: number; + + salesId: number; + + settleMonth: string; + + settleTypeCode: string; + + datePlan: string; + + dateMea: string; + + cuCode: string; + + ksId: number; + + ksppId: number; + + pointDelyCode: string; + + uomCode: string; + + rateM3Gj: number; + + qtyMeaGj: number; + + qtyMeaM3: number; + + qtySettleGj: number; + + qtySettleM3: number; + + priceGj: number; + + priceM3: number; + + amount: number; + + priceDesc: string; + + settleTimes: number; + + note: string; + + createUserId: number; + + createDate: string; + + modifyUserId: number; + + modifyDate: string; + + tenantId: number; + + deptId: number; + + ruleUserId: number; +} + +/** + * @description: LngPngSettleSalesDtl表类型 + */ +export interface LngPngSettleSalesDtlModel { + id: number; + + settleId: number; + + priceCode: string; + + sort: number; + + uomCode: string; + + rateQtyGj: number; + + rateQtyM3: number; + + rateM3Gj: number; + + qtySettleGj: number; + + qtySettleM3: number; + + priceGj: number; + + priceM3: number; + + amount: number; + + note: string; + + createUserId: number; + + createDate: string; + + modifyUserId: number; + + modifyDate: string; + + tenantId: number; + + deptId: number; + + ruleUserId: number; +} + +/** + * @description: LngPngSettleHdr分页返回值结构 + */ +export type LngPngSettleHdrPageResult = BasicFetchResult; \ No newline at end of file diff --git a/src/components/Form/src/components/UploadList.vue b/src/components/Form/src/components/UploadList.vue index 945730e..8b20c2c 100644 --- a/src/components/Form/src/components/UploadList.vue +++ b/src/components/Form/src/components/UploadList.vue @@ -32,10 +32,10 @@ const dataFile = ref([]); const { t } = useI18n(); const columns = ref([ - { title: t('序号'), dataIndex: 'index', sorter: true, customRender: (column) => `${column.index + 1}`}, - { title: t('附件名称'), dataIndex: 'fileOrg', sorter: true}, - { title: t('附件说明'), dataIndex: 'remark', sorter: true}, - { title: t('操作'), dataIndex: 'operation', sorter: true}, + { title: t('序号'), dataIndex: 'index', customRender: (column) => `${column.index + 1}`}, + { title: t('附件名称'), dataIndex: 'fileOrg'}, + { title: t('附件说明'), dataIndex: 'remark'}, + { title: t('操作'), dataIndex: 'operation', width: 140}, ]); const tableId = ref(); const tableName = ref(); diff --git a/src/views/dayPlan/PngSettleHdr/components/Form.vue b/src/views/dayPlan/PngSettleHdr/components/Form.vue new file mode 100644 index 0000000..b9b2f7a --- /dev/null +++ b/src/views/dayPlan/PngSettleHdr/components/Form.vue @@ -0,0 +1,224 @@ + + \ No newline at end of file diff --git a/src/views/dayPlan/PngSettleHdr/components/PngSettleHdrModal.vue b/src/views/dayPlan/PngSettleHdr/components/PngSettleHdrModal.vue new file mode 100644 index 0000000..168dd47 --- /dev/null +++ b/src/views/dayPlan/PngSettleHdr/components/PngSettleHdrModal.vue @@ -0,0 +1,110 @@ + + \ No newline at end of file diff --git a/src/views/dayPlan/PngSettleHdr/components/config.ts b/src/views/dayPlan/PngSettleHdr/components/config.ts new file mode 100644 index 0000000..1c51eba --- /dev/null +++ b/src/views/dayPlan/PngSettleHdr/components/config.ts @@ -0,0 +1,729 @@ +import { FormProps, FormSchema } from '/@/components/Form'; +import { BasicColumn } from '/@/components/Table'; + +export const formConfig = { + useCustomConfig: false, +}; + +export const searchFormSchema: FormSchema[] = [ + { + field: 'datePlan', + label: '结算日期', + component: 'RangePicker', + componentProps: { + format: 'YYYY-MM-DD', + style: { width: '100%' }, + getPopupContainer: () => document.body, + }, + }, + { + field: 'cpName', + label: '客户名称', + component: 'Input', + }, +]; + +export const columns: BasicColumn[] = [ + + { + dataIndex: 'settleMonth', + title: '结算月', + componentType: 'input', + align: 'left', + + sorter: true, + }, + + { + dataIndex: 'dateFrom', + title: '结算月开始日期', + componentType: 'input', + align: 'left', + + sorter: true, + }, + + { + dataIndex: 'dateTo', + title: '结算月结束日期', + componentType: 'input', + align: 'left', + + sorter: true, + }, + + { + dataIndex: 'cpCode', + title: '客户简称', + componentType: 'input', + align: 'left', + + sorter: true, + }, + + { + dataIndex: 'qtySettleGj', + title: '结算总数量(吉焦)', + componentType: 'input', + align: 'left', + + sorter: true, + }, + + { + dataIndex: 'qtySettleM3', + title: '结算总数量 (方)', + componentType: 'input', + align: 'left', + + sorter: true, + }, + + { + dataIndex: 'amount', + title: '结算总金额 (元)', + componentType: 'input', + align: 'left', + + sorter: true, + }, + + { + dataIndex: 'comId', + title: '交易主体', + componentType: 'input', + align: 'left', + + sorter: true, + }, + + { + dataIndex: 'settleDesc', + title: '结算说明', + componentType: 'input', + align: 'left', + + sorter: true, + }, + + { + dataIndex: 'deptId', + title: '附件', + componentType: 'input', + align: 'left', + + sorter: true, + }, + + { + dataIndex: 'approCode', + title: '审批状态', + componentType: 'input', + align: 'left', + + sorter: true, + }, +]; +//表单事件 +export const formEventConfigs = { + 0: [ + { + type: 'circle', + color: '#2774ff', + text: '开始节点', + icon: '#icon-kaishi', + bgcColor: '#D8E5FF', + isUserDefined: false, + }, + { + color: '#F6AB01', + icon: '#icon-chushihua', + text: '初始化表单', + bgcColor: '#f9f5ea', + isUserDefined: false, + nodeInfo: { processEvent: [] }, + }, + ], + 1: [ + { + color: '#B36EDB', + icon: '#icon-shujufenxi', + text: '获取表单数据', + detail: '(新增无此操作)', + bgcColor: '#F8F2FC', + isUserDefined: false, + nodeInfo: { processEvent: [] }, + }, + ], + 2: [ + { + color: '#F8625C', + icon: '#icon-jiazai', + text: '加载表单', + bgcColor: '#FFF1F1', + isUserDefined: false, + nodeInfo: { processEvent: [] }, + }, + ], + 3: [ + { + color: '#6C6AE0', + icon: '#icon-jsontijiao', + text: '提交表单', + bgcColor: '#F5F4FF', + isUserDefined: false, + nodeInfo: { processEvent: [] }, + }, + ], + 4: [ + { + type: 'circle', + color: '#F8625C', + text: '结束节点', + icon: '#icon-jieshuzhiliao', + bgcColor: '#FFD6D6', + isLast: true, + isUserDefined: false, + }, + ], +}; +export const formProps: FormProps = { + labelCol: { span: 3, offset: 0 }, + labelAlign: 'right', + layout: 'horizontal', + size: 'default', + schemas: [ + { + key: '0e5177531b9440538e5db1d02a4afa95', + field: 'id', + label: 'id', + type: 'input', + component: 'Input', + colProps: { span: 24 }, + defaultValue: '', + componentProps: { + width: '100%', + span: '', + defaultValue: '', + labelWidthMode: 'fix', + labelFixWidth: 120, + responsive: false, + respNewRow: false, + placeholder: '请输入id', + maxlength: null, + prefix: '', + suffix: '', + addonBefore: '', + addonAfter: '', + disabled: false, + allowClear: false, + showLabel: true, + required: false, + rules: [], + events: {}, + isSave: false, + isShow: true, + scan: false, + style: { width: '100%' }, + }, + }, + { + key: 'd5345f2f5c10465c8e8f071c5fcda584', + field: 'settleMonth', + label: '结算月', + type: 'input', + component: 'Input', + colProps: { span: 24 }, + defaultValue: '', + componentProps: { + width: '100%', + span: '', + defaultValue: '', + labelWidthMode: 'fix', + labelFixWidth: 120, + responsive: false, + respNewRow: false, + placeholder: '请输入结算月', + maxlength: null, + prefix: '', + suffix: '', + addonBefore: '', + addonAfter: '', + disabled: false, + allowClear: false, + showLabel: true, + required: false, + rules: [], + events: {}, + isSave: false, + isShow: true, + scan: false, + style: { width: '100%' }, + }, + }, + { + key: '79b1cdf4156a4477a19edcec99d81d56', + field: 'dateFrom', + label: '结算月开始日期', + type: 'input', + component: 'Input', + colProps: { span: 24 }, + defaultValue: '', + componentProps: { + width: '100%', + span: '', + defaultValue: '', + labelWidthMode: 'fix', + labelFixWidth: 120, + responsive: false, + respNewRow: false, + placeholder: '请输入结算月开始日期', + maxlength: null, + prefix: '', + suffix: '', + addonBefore: '', + addonAfter: '', + disabled: false, + allowClear: false, + showLabel: true, + required: false, + rules: [], + events: {}, + isSave: false, + isShow: true, + scan: false, + style: { width: '100%' }, + }, + }, + { + key: 'b95db041a20a486cbfec71480fb8aa8b', + field: 'dateTo', + label: '结算月结束日期', + type: 'input', + component: 'Input', + colProps: { span: 24 }, + defaultValue: '', + componentProps: { + width: '100%', + span: '', + defaultValue: '', + labelWidthMode: 'fix', + labelFixWidth: 120, + responsive: false, + respNewRow: false, + placeholder: '请输入结算月结束日期', + maxlength: null, + prefix: '', + suffix: '', + addonBefore: '', + addonAfter: '', + disabled: false, + allowClear: false, + showLabel: true, + required: false, + rules: [], + events: {}, + isSave: false, + isShow: true, + scan: false, + style: { width: '100%' }, + }, + }, + { + key: '23202591851543e6952e6a1c8b7a906a', + field: 'cpCode', + label: '客户简称', + type: 'input', + component: 'Input', + colProps: { span: 24 }, + defaultValue: '', + componentProps: { + width: '100%', + span: '', + defaultValue: '', + labelWidthMode: 'fix', + labelFixWidth: 120, + responsive: false, + respNewRow: false, + placeholder: '请输入客户简称', + maxlength: null, + prefix: '', + suffix: '', + addonBefore: '', + addonAfter: '', + disabled: false, + allowClear: false, + showLabel: true, + required: false, + rules: [], + events: {}, + isSave: false, + isShow: true, + scan: false, + style: { width: '100%' }, + }, + }, + { + key: '8085c8a6f656473eb050a094b5edc506', + field: 'qtySettleGj', + label: '结算总数量(吉焦)', + type: 'input', + component: 'Input', + colProps: { span: 24 }, + defaultValue: '', + componentProps: { + width: '100%', + span: '', + defaultValue: '', + labelWidthMode: 'fix', + labelFixWidth: 120, + responsive: false, + respNewRow: false, + placeholder: '请输入结算总数量(吉焦)', + maxlength: null, + prefix: '', + suffix: '', + addonBefore: '', + addonAfter: '', + disabled: false, + allowClear: false, + showLabel: true, + required: false, + rules: [], + events: {}, + isSave: false, + isShow: true, + scan: false, + style: { width: '100%' }, + }, + }, + { + key: '4ea1df548ccd4277ac271319f90f98c3', + field: 'qtySettleM3', + label: '结算总数量 (方)', + type: 'input', + component: 'Input', + colProps: { span: 24 }, + defaultValue: '', + componentProps: { + width: '100%', + span: '', + defaultValue: '', + labelWidthMode: 'fix', + labelFixWidth: 120, + responsive: false, + respNewRow: false, + placeholder: '请输入结算总数量 (方)', + maxlength: null, + prefix: '', + suffix: '', + addonBefore: '', + addonAfter: '', + disabled: false, + allowClear: false, + showLabel: true, + required: false, + rules: [], + events: {}, + isSave: false, + isShow: true, + scan: false, + style: { width: '100%' }, + }, + }, + { + key: '7278b21860fa4ae4a37824424919d58f', + field: 'amount', + label: '结算总金额 (元)', + type: 'input', + component: 'Input', + colProps: { span: 24 }, + defaultValue: '', + componentProps: { + width: '100%', + span: '', + defaultValue: '', + labelWidthMode: 'fix', + labelFixWidth: 120, + responsive: false, + respNewRow: false, + placeholder: '请输入结算总金额 (元)', + maxlength: null, + prefix: '', + suffix: '', + addonBefore: '', + addonAfter: '', + disabled: false, + allowClear: false, + showLabel: true, + required: false, + rules: [], + events: {}, + isSave: false, + isShow: true, + scan: false, + style: { width: '100%' }, + }, + }, + { + key: '874e0a0e29ae40ed94e6b5e04597a739', + field: 'comId', + label: '交易主体', + type: 'input', + component: 'Input', + colProps: { span: 24 }, + defaultValue: '', + componentProps: { + width: '100%', + span: '', + defaultValue: '', + labelWidthMode: 'fix', + labelFixWidth: 120, + responsive: false, + respNewRow: false, + placeholder: '请输入交易主体', + maxlength: null, + prefix: '', + suffix: '', + addonBefore: '', + addonAfter: '', + disabled: false, + allowClear: false, + showLabel: true, + required: false, + rules: [], + events: {}, + isSave: false, + isShow: true, + scan: false, + style: { width: '100%' }, + }, + }, + { + key: '3fff1f671839416091a04863bf9fc03a', + field: 'settleDesc', + label: '结算说明', + type: 'input', + component: 'Input', + colProps: { span: 24 }, + defaultValue: '', + componentProps: { + width: '100%', + span: '', + defaultValue: '', + labelWidthMode: 'fix', + labelFixWidth: 120, + responsive: false, + respNewRow: false, + placeholder: '请输入结算说明', + maxlength: null, + prefix: '', + suffix: '', + addonBefore: '', + addonAfter: '', + disabled: false, + allowClear: false, + showLabel: true, + required: false, + rules: [], + events: {}, + isSave: false, + isShow: true, + scan: false, + style: { width: '100%' }, + }, + }, + { + key: '5597f98607194b2badd2b7469b56deab', + field: 'deptId', + label: '附件', + type: 'input', + component: 'Input', + colProps: { span: 24 }, + defaultValue: '', + componentProps: { + width: '100%', + span: '', + defaultValue: '', + labelWidthMode: 'fix', + labelFixWidth: 120, + responsive: false, + respNewRow: false, + placeholder: '请输入附件', + maxlength: null, + prefix: '', + suffix: '', + addonBefore: '', + addonAfter: '', + disabled: false, + allowClear: false, + showLabel: true, + required: false, + rules: [], + events: {}, + isSave: false, + isShow: true, + scan: false, + style: { width: '100%' }, + }, + }, + { + key: 'ce05d6adcf1a4e8bbd107db8b21a6b04', + field: 'approCode', + label: '审批状态', + type: 'input', + component: 'Input', + colProps: { span: 24 }, + defaultValue: '', + componentProps: { + width: '100%', + span: '', + defaultValue: '', + labelWidthMode: 'fix', + labelFixWidth: 120, + responsive: false, + respNewRow: false, + placeholder: '请输入审批状态', + maxlength: null, + prefix: '', + suffix: '', + addonBefore: '', + addonAfter: '', + disabled: false, + allowClear: false, + showLabel: true, + required: false, + rules: [], + events: {}, + isSave: false, + isShow: true, + scan: false, + style: { width: '100%' }, + }, + }, + { + key: 'a15631219b3e4f87bdc6dd027c088aaf', + label: '表格组件', + field: 'lngPngSettleSalesList', + type: 'form', + component: 'SubForm', + required: true, + colProps: { span: 24 }, + componentProps: { + mainKey: 'lngPngSettleSalesList', + columns: [ + { + key: '0e65269b143b4a539075fc0645c0754f', + title: '单行文本', + dataIndex: 'settleMonth', + componentType: 'Input', + defaultValue: '', + componentProps: { + width: '100%', + span: '', + defaultValue: '', + labelWidthMode: 'fix', + labelFixWidth: 120, + responsive: false, + respNewRow: false, + placeholder: '请输入单行文本', + maxlength: null, + prefix: '', + suffix: '', + addonBefore: '', + addonAfter: '', + disabled: false, + allowClear: false, + showLabel: true, + required: false, + rules: [], + events: {}, + isSave: false, + isShow: true, + scan: false, + }, + }, + { title: '操作', key: 'action', fixed: 'right', width: '50px' }, + ], + span: '24', + preloadType: 'api', + apiConfig: {}, + itemId: '', + dicOptions: [], + useSelectButton: false, + buttonName: '选择数据', + showLabel: true, + showComponentBorder: true, + showFormBorder: true, + showIndex: false, + isShow: true, + multipleHeads: [], + }, + }, + { + key: 'cd4b0b5719ff4c5fb8bdb179b49fd545', + label: '表格组件', + field: 'lngPngSettleSalesDtlList', + type: 'form', + component: 'SubForm', + required: true, + colProps: { span: 24 }, + componentProps: { + mainKey: 'lngPngSettleSalesDtlList', + columns: [ + { + key: 'f3c19f1b49f94470b9ebe7e28be90c62', + title: '单行文本', + dataIndex: 'priceCode', + componentType: 'Input', + defaultValue: '', + componentProps: { + width: '100%', + span: '', + defaultValue: '', + labelWidthMode: 'fix', + labelFixWidth: 120, + responsive: false, + respNewRow: false, + placeholder: '请输入单行文本', + maxlength: null, + prefix: '', + suffix: '', + addonBefore: '', + addonAfter: '', + disabled: false, + allowClear: false, + showLabel: true, + required: false, + rules: [], + events: {}, + isSave: false, + isShow: true, + scan: false, + }, + }, + { title: '操作', key: 'action', fixed: 'right', width: '50px' }, + ], + span: '24', + preloadType: 'api', + apiConfig: {}, + itemId: '', + dicOptions: [], + useSelectButton: false, + buttonName: '选择数据', + showLabel: true, + showComponentBorder: true, + showFormBorder: true, + showIndex: false, + isShow: true, + multipleHeads: [], + }, + }, + ], + showActionButtonGroup: false, + buttonLocation: 'center', + actionColOptions: { span: 24 }, + showResetButton: false, + showSubmitButton: false, + hiddenComponent: [], +}; \ No newline at end of file diff --git a/src/views/dayPlan/PngSettleHdr/components/createForm.vue b/src/views/dayPlan/PngSettleHdr/components/createForm.vue new file mode 100644 index 0000000..929d26a --- /dev/null +++ b/src/views/dayPlan/PngSettleHdr/components/createForm.vue @@ -0,0 +1,350 @@ + + + + + diff --git a/src/views/dayPlan/PngSettleHdr/components/workflowPermission.ts b/src/views/dayPlan/PngSettleHdr/components/workflowPermission.ts new file mode 100644 index 0000000..bd7bc47 --- /dev/null +++ b/src/views/dayPlan/PngSettleHdr/components/workflowPermission.ts @@ -0,0 +1,240 @@ +export const permissionList = [ + { + required: true, + view: true, + edit: true, + disabled: false, + isSaveTable: false, + tableName: '', + fieldName: 'id', + fieldId: 'id', + isSubTable: false, + showChildren: true, + type: 'input', + key: '0e5177531b9440538e5db1d02a4afa95', + children: [], + }, + { + required: true, + view: true, + edit: true, + disabled: false, + isSaveTable: false, + tableName: '', + fieldName: '结算月', + fieldId: 'settleMonth', + isSubTable: false, + showChildren: true, + type: 'input', + key: 'd5345f2f5c10465c8e8f071c5fcda584', + children: [], + }, + { + required: true, + view: true, + edit: true, + disabled: false, + isSaveTable: false, + tableName: '', + fieldName: '结算月开始日期', + fieldId: 'dateFrom', + isSubTable: false, + showChildren: true, + type: 'input', + key: '79b1cdf4156a4477a19edcec99d81d56', + children: [], + }, + { + required: true, + view: true, + edit: true, + disabled: false, + isSaveTable: false, + tableName: '', + fieldName: '结算月结束日期', + fieldId: 'dateTo', + isSubTable: false, + showChildren: true, + type: 'input', + key: 'b95db041a20a486cbfec71480fb8aa8b', + children: [], + }, + { + required: true, + view: true, + edit: true, + disabled: false, + isSaveTable: false, + tableName: '', + fieldName: '客户简称', + fieldId: 'cpCode', + isSubTable: false, + showChildren: true, + type: 'input', + key: '23202591851543e6952e6a1c8b7a906a', + children: [], + }, + { + required: true, + view: true, + edit: true, + disabled: false, + isSaveTable: false, + tableName: '', + fieldName: '结算总数量(吉焦)', + fieldId: 'qtySettleGj', + isSubTable: false, + showChildren: true, + type: 'input', + key: '8085c8a6f656473eb050a094b5edc506', + children: [], + }, + { + required: true, + view: true, + edit: true, + disabled: false, + isSaveTable: false, + tableName: '', + fieldName: '结算总数量 (方)', + fieldId: 'qtySettleM3', + isSubTable: false, + showChildren: true, + type: 'input', + key: '4ea1df548ccd4277ac271319f90f98c3', + children: [], + }, + { + required: true, + view: true, + edit: true, + disabled: false, + isSaveTable: false, + tableName: '', + fieldName: '结算总金额 (元)', + fieldId: 'amount', + isSubTable: false, + showChildren: true, + type: 'input', + key: '7278b21860fa4ae4a37824424919d58f', + children: [], + }, + { + required: true, + view: true, + edit: true, + disabled: false, + isSaveTable: false, + tableName: '', + fieldName: '交易主体', + fieldId: 'comId', + isSubTable: false, + showChildren: true, + type: 'input', + key: '874e0a0e29ae40ed94e6b5e04597a739', + children: [], + }, + { + required: true, + view: true, + edit: true, + disabled: false, + isSaveTable: false, + tableName: '', + fieldName: '结算说明', + fieldId: 'settleDesc', + isSubTable: false, + showChildren: true, + type: 'input', + key: '3fff1f671839416091a04863bf9fc03a', + children: [], + }, + { + required: true, + view: true, + edit: true, + disabled: false, + isSaveTable: false, + tableName: '', + fieldName: '附件', + fieldId: 'deptId', + isSubTable: false, + showChildren: true, + type: 'input', + key: '5597f98607194b2badd2b7469b56deab', + children: [], + }, + { + required: true, + view: true, + edit: true, + disabled: false, + isSaveTable: false, + tableName: '', + fieldName: '审批状态', + fieldId: 'approCode', + isSubTable: false, + showChildren: true, + type: 'input', + key: 'ce05d6adcf1a4e8bbd107db8b21a6b04', + children: [], + }, + { + required: true, + view: true, + edit: true, + disabled: false, + isSubTable: true, + showChildren: false, + tableName: 'lngPngSettleSalesList', + fieldName: '表格组件', + fieldId: 'lngPngSettleSalesList', + type: 'form', + key: 'a15631219b3e4f87bdc6dd027c088aaf', + children: [ + { + required: true, + view: true, + edit: true, + disabled: false, + isSubTable: true, + isSaveTable: false, + showChildren: false, + tableName: 'lngPngSettleSalesList', + fieldName: '单行文本', + fieldId: 'settleMonth', + key: '0e65269b143b4a539075fc0645c0754f', + children: [], + }, + ], + }, + { + required: true, + view: true, + edit: true, + disabled: false, + isSubTable: true, + showChildren: false, + tableName: 'lngPngSettleSalesDtlList', + fieldName: '表格组件', + fieldId: 'lngPngSettleSalesDtlList', + type: 'form', + key: 'cd4b0b5719ff4c5fb8bdb179b49fd545', + children: [ + { + required: true, + view: true, + edit: true, + disabled: false, + isSubTable: true, + isSaveTable: false, + showChildren: false, + tableName: 'lngPngSettleSalesDtlList', + fieldName: '单行文本', + fieldId: 'priceCode', + key: 'f3c19f1b49f94470b9ebe7e28be90c62', + children: [], + }, + ], + }, +]; \ No newline at end of file diff --git a/src/views/dayPlan/PngSettleHdr/index.vue b/src/views/dayPlan/PngSettleHdr/index.vue new file mode 100644 index 0000000..64e38d8 --- /dev/null +++ b/src/views/dayPlan/PngSettleHdr/index.vue @@ -0,0 +1,437 @@ + + + \ No newline at end of file diff --git a/src/views/secondDev/customFormConfig.ts b/src/views/secondDev/customFormConfig.ts index 6a130b8..354d8ad 100644 --- a/src/views/secondDev/customFormConfig.ts +++ b/src/views/secondDev/customFormConfig.ts @@ -10,6 +10,7 @@ export const customFormConfig = { 'addContractSales', 'addContractSalesLng', 'ContractPurInt', - 'ContractSalesInt' + 'ContractSalesInt', + 'addDayPlanPngSettleSales' ], }; \ No newline at end of file