diff --git a/src/api/dayPlan/PngAppro/index.ts b/src/api/dayPlan/PngAppro/index.ts new file mode 100644 index 0000000..bf90216 --- /dev/null +++ b/src/api/dayPlan/PngAppro/index.ts @@ -0,0 +1,89 @@ +import { LngPngApproPageModel, LngPngApproPageParams, LngPngApproPageResult } from './model/PngApproModel'; +import { defHttp } from '/@/utils/http/axios'; +import { ErrorMessageMode } from '/#/axios'; + +enum Api { + Page = '/dayPlan/pngAppro/page', + List = '/dayPlan/pngAppro/list', + Info = '/dayPlan/pngAppro/info', + LngPngAppro = '/dayPlan/pngAppro', + + + + +} + +/** + * @description: 查询LngPngAppro分页列表 + */ +export async function getLngPngApproPage(params: LngPngApproPageParams, mode: ErrorMessageMode = 'modal') { + return defHttp.get( + { + url: Api.Page, + params, + }, + { + errorMessageMode: mode, + }, + ); +} + +/** + * @description: 获取LngPngAppro信息 + */ +export async function getLngPngAppro(id: String, mode: ErrorMessageMode = 'modal') { + return defHttp.get( + { + url: Api.Info, + params: { id }, + }, + { + errorMessageMode: mode, + }, + ); +} + +/** + * @description: 新增LngPngAppro + */ +export async function addLngPngAppro(lngPngAppro: Recordable, mode: ErrorMessageMode = 'modal') { + return defHttp.post( + { + url: Api.LngPngAppro, + params: lngPngAppro, + }, + { + errorMessageMode: mode, + }, + ); +} + +/** + * @description: 更新LngPngAppro + */ +export async function updateLngPngAppro(lngPngAppro: Recordable, mode: ErrorMessageMode = 'modal') { + return defHttp.put( + { + url: Api.LngPngAppro, + params: lngPngAppro, + }, + { + errorMessageMode: mode, + }, + ); +} + +/** + * @description: 删除LngPngAppro(批量删除) + */ +export async function deleteLngPngAppro(ids: string[], mode: ErrorMessageMode = 'modal') { + return defHttp.delete( + { + url: Api.LngPngAppro, + data: ids, + }, + { + errorMessageMode: mode, + }, + ); +} \ No newline at end of file diff --git a/src/api/dayPlan/PngAppro/model/PngApproModel.ts b/src/api/dayPlan/PngAppro/model/PngApproModel.ts new file mode 100644 index 0000000..579294e --- /dev/null +++ b/src/api/dayPlan/PngAppro/model/PngApproModel.ts @@ -0,0 +1,249 @@ +import { BasicPageParams, BasicFetchResult } from '/@/api/model/baseModel'; + +/** + * @description: LngPngAppro分页参数 模型 + */ +export interface LngPngApproPageParams extends BasicPageParams { + id: string; + + verNo: string; + + datePlanStart: string; + datePlanEnd: string; + + cuCode: string; + + demandId: string; + + qtyDemandGj: string; + + qtyDemandM3: string; + + qtySalesGj: string; + + qtySalesM3: string; + + rateK: string; + + rateMp: string; + + rateS: string; + + lastVerSign: string; + + alterSign: string; + + note: string; + + approCode: string; +} + +/** + * @description: LngPngAppro分页返回值模型 + */ +export interface LngPngApproPageModel { + id: string; + + verNo: string; + + datePlan: string; + + cuCode: string; + + demandId: string; + + qtyDemandGj: string; + + qtyDemandM3: string; + + qtySalesGj: string; + + qtySalesM3: string; + + rateK: string; + + rateMp: string; + + rateS: string; + + lastVerSign: string; + + alterSign: string; + + note: string; + + approCode: string; +} + +/** + * @description: LngPngAppro表类型 + */ +export interface LngPngApproModel { + id: number; + + demandId: number; + + demandOrgId: number; + + verNo: number; + + lastVerSign: string; + + alterSign: string; + + datePlan: string; + + cuCode: string; + + comId: number; + + ksId: number; + + ksppId: number; + + pointDelyCode: string; + + ownLineSign: string; + + powerCont: number; + + powerPeak: number; + + powerStop: number; + + powerOther: number; + + rateM3Gj: number; + + qtyContractGj: number; + + qtyContractM3: number; + + qtyPlanGj: number; + + qtyPlanM3: number; + + qtyDemandGj: number; + + qtyDemandM3: number; + + qtySalesGj: number; + + qtySalesM3: number; + + periodTypeCode: string; + + qtyMonthContractGj: number; + + qtyMonthPlanGj: number; + + qtyMonthSalesGj: number; + + rateK: number; + + rateMp: number; + + rateS: number; + + priceSalesGj: number; + + priceSalesM3: number; + + amountSales: number; + + approCode: string; + + reply: string; + + note: string; + + createUserId: number; + + createDate: string; + + modifyUserId: number; + + modifyDate: string; + + tenantId: number; + + deptId: number; + + ruleUserId: number; + + lngPngApproPurList?: LngPngApproPurModel; +} + +/** + * @description: LngPngApproPur表类型 + */ +export interface LngPngApproPurModel { + id: number; + + approId: number; + + demandId: number; + + demandPurId: number; + + datePlan: string; + + comId: number; + + suCode: string; + + kpId: number; + + kpppId: number; + + pointUpCode: string; + + staCode: string; + + ownSign: string; + + onlineSign: string; + + transSign: string; + + rateM3Gj: number; + + qtyDemandGj: number; + + qtyDemandM3: number; + + qtySalesGj: number; + + qtySalesM3: number; + + pricePurGj: number; + + pricePurM3: number; + + amountPur: number; + + sort: number; + + addSign: string; + + note: string; + + createUserId: number; + + createDate: string; + + modifyUserId: number; + + modifyDate: string; + + tenantId: number; + + deptId: number; + + ruleUserId: number; +} + +/** + * @description: LngPngAppro分页返回值结构 + */ +export type LngPngApproPageResult = BasicFetchResult; \ No newline at end of file diff --git a/src/api/dayPlan/PngMeasureSalesPur/index.ts b/src/api/dayPlan/PngMeasureSalesPur/index.ts new file mode 100644 index 0000000..853041c --- /dev/null +++ b/src/api/dayPlan/PngMeasureSalesPur/index.ts @@ -0,0 +1,114 @@ +import { LngPngMeasureSalesPurPageModel, LngPngMeasureSalesPurPageParams, LngPngMeasureSalesPurPageResult } from './model/PngMeasureSalesPurModel'; +import { defHttp } from '/@/utils/http/axios'; +import { ErrorMessageMode } from '/#/axios'; + +enum Api { + Page = '/dayPlan/pngMeasureSalesPur/page', + List = '/dayPlan/pngMeasureSalesPur/list', + Info = '/dayPlan/pngMeasureSalesPur/info', + LngPngMeasureSalesPur = '/dayPlan/pngMeasureSalesPur', + + + Export = '/dayPlan/pngMeasureSalesPur/export', + + +} + +/** + * @description: 查询LngPngMeasureSalesPur分页列表 + */ +export async function getLngPngMeasureSalesPurPage(params: LngPngMeasureSalesPurPageParams, mode: ErrorMessageMode = 'modal') { + return defHttp.get( + { + url: Api.Page, + params, + }, + { + errorMessageMode: mode, + }, + ); +} + +/** + * @description: 获取LngPngMeasureSalesPur信息 + */ +export async function getLngPngMeasureSalesPur(id: String, mode: ErrorMessageMode = 'modal') { + return defHttp.get( + { + url: Api.Info, + params: { id }, + }, + { + errorMessageMode: mode, + }, + ); +} + +/** + * @description: 新增LngPngMeasureSalesPur + */ +export async function addLngPngMeasureSalesPur(lngPngMeasureSalesPur: Recordable, mode: ErrorMessageMode = 'modal') { + return defHttp.post( + { + url: Api.LngPngMeasureSalesPur, + params: lngPngMeasureSalesPur, + }, + { + errorMessageMode: mode, + }, + ); +} + +/** + * @description: 更新LngPngMeasureSalesPur + */ +export async function updateLngPngMeasureSalesPur(lngPngMeasureSalesPur: Recordable, mode: ErrorMessageMode = 'modal') { + return defHttp.put( + { + url: Api.LngPngMeasureSalesPur, + params: lngPngMeasureSalesPur, + }, + { + errorMessageMode: mode, + }, + ); +} + +/** + * @description: 删除LngPngMeasureSalesPur(批量删除) + */ +export async function deleteLngPngMeasureSalesPur(ids: string[], mode: ErrorMessageMode = 'modal') { + return defHttp.delete( + { + url: Api.LngPngMeasureSalesPur, + data: ids, + }, + { + errorMessageMode: mode, + }, + ); +} + + + + + +/** + * @description: 导出LngPngMeasureSalesPur + */ +export async function exportLngPngMeasureSalesPur( + params?: object, + mode: ErrorMessageMode = 'modal' +) { + return defHttp.download( + { + url: Api.Export, + method: 'GET', + params, + responseType: 'blob', + }, + { + errorMessageMode: mode, + }, + ); +} \ No newline at end of file diff --git a/src/api/dayPlan/PngMeasureSalesPur/model/PngMeasureSalesPurModel.ts b/src/api/dayPlan/PngMeasureSalesPur/model/PngMeasureSalesPurModel.ts new file mode 100644 index 0000000..7e72422 --- /dev/null +++ b/src/api/dayPlan/PngMeasureSalesPur/model/PngMeasureSalesPurModel.ts @@ -0,0 +1,94 @@ +import { BasicPageParams, BasicFetchResult } from '/@/api/model/baseModel'; + +/** + * @description: LngPngMeasureSalesPur分页参数 模型 + */ +export interface LngPngMeasureSalesPurPageParams extends BasicPageParams { + id: string; + + datePlan: string; + + dateMea: string; + + suCode: string; + + pointUpCode: string; + + pointDelyCode: string; + + qtySalesGj: string; + + qtySalesM3: string; + + qtyMeaGj: string; + + qtyMeaM3: string; + + rateM3Gj: string; + + cfmCuUserId: string; + + cfmCuUserTime: string; + + cfmEmpId: string; + + cfmEmpTime: string; + + kpId: string; + + transSign: string; + + createDate: string; + + note: string; +} + +/** + * @description: LngPngMeasureSalesPur分页返回值模型 + */ +export interface LngPngMeasureSalesPurPageModel { + id: string; + + datePlan: string; + + dateMea: string; + + suCode: string; + + pointUpCode: string; + + pointDelyCode: string; + + qtySalesGj: string; + + qtySalesM3: string; + + qtyMeaGj: string; + + qtyMeaM3: string; + + rateM3Gj: string; + + cfmCuUserId: string; + + cfmCuUserTime: string; + + cfmEmpId: string; + + cfmEmpTime: string; + + kpId: string; + + transSign: string; + + createDate: string; + + note: string; +} + +0; + +/** + * @description: LngPngMeasureSalesPur分页返回值结构 + */ +export type LngPngMeasureSalesPurPageResult = BasicFetchResult; \ No newline at end of file diff --git a/src/views/dayPlan/PngAppro/components/Form.vue b/src/views/dayPlan/PngAppro/components/Form.vue new file mode 100644 index 0000000..fea5748 --- /dev/null +++ b/src/views/dayPlan/PngAppro/components/Form.vue @@ -0,0 +1,224 @@ + + \ No newline at end of file diff --git a/src/views/dayPlan/PngAppro/components/PngApproModal.vue b/src/views/dayPlan/PngAppro/components/PngApproModal.vue new file mode 100644 index 0000000..168dd47 --- /dev/null +++ b/src/views/dayPlan/PngAppro/components/PngApproModal.vue @@ -0,0 +1,110 @@ + + \ No newline at end of file diff --git a/src/views/dayPlan/PngAppro/components/config.ts b/src/views/dayPlan/PngAppro/components/config.ts new file mode 100644 index 0000000..bb16377 --- /dev/null +++ b/src/views/dayPlan/PngAppro/components/config.ts @@ -0,0 +1,851 @@ +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: 'cuCode', + label: '客户名称/简称/编码', + component: 'Input', + } +]; + +export const columns: BasicColumn[] = [ + { + dataIndex: 'id', + title: 'id', + componentType: 'input', + align: 'left', + + sorter: true, + }, + + { + dataIndex: 'verNo', + title: '版本号', + componentType: 'input', + align: 'left', + + sorter: true, + }, + + { + dataIndex: 'datePlan', + title: '计划日期', + componentType: 'input', + align: 'left', + + sorter: true, + }, + + { + dataIndex: 'cuCode', + title: '客户', + componentType: 'input', + align: 'left', + + sorter: true, + }, + + { + dataIndex: 'demandId', + title: '下载点', + componentType: 'input', + align: 'left', + + sorter: true, + }, + + { + dataIndex: 'qtyDemandGj', + title: '指定量(吉焦)', + componentType: 'input', + align: 'left', + + sorter: true, + }, + + { + dataIndex: 'qtyDemandM3', + title: '指定量(方)', + componentType: 'input', + align: 'left', + + sorter: true, + }, + + { + dataIndex: 'qtySalesGj', + title: '批复量(吉焦)', + componentType: 'input', + align: 'left', + + sorter: true, + }, + + { + dataIndex: 'qtySalesM3', + title: '批复量(方)', + componentType: 'input', + align: 'left', + + sorter: true, + }, + + { + dataIndex: 'rateK', + title: '月合同量执行%', + componentType: 'input', + align: 'left', + + sorter: true, + }, + + { + dataIndex: 'rateMp', + title: '月计划量执行%', + componentType: 'input', + align: 'left', + + sorter: true, + }, + + { + dataIndex: 'rateS', + title: '月时间进度%', + componentType: 'input', + align: 'left', + + sorter: true, + }, + + { + dataIndex: 'lastVerSign', + title: '销售合同', + componentType: 'input', + align: 'left', + + sorter: true, + }, + + { + dataIndex: 'alterSign', + title: '变更', + componentType: 'input', + align: 'left', + + sorter: true, + }, + + { + dataIndex: 'note', + 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: '32095c8e0db948ac86e2b8bd2888430f', + 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: '66a946fc05054bc0998803a9f8f6933e', + field: 'verNo', + 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: 'f9879bdf974a49ca95d83ee55c46a606', + field: 'datePlan', + 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: '6a78cc35d213438586d8aff29730b190', + field: 'cuCode', + 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: '603e0c573e1f4c2d9524e41e9c60c5b0', + field: 'demandId', + 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: '4b17781231e94d5a801ab4a9ed93ced1', + field: 'qtyDemandGj', + 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: 'b4eb1f47a07c4bf381e8e0cf30dab6be', + field: 'qtyDemandM3', + 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: '51835a5549b84a94b09cd449de36ce22', + field: 'qtySalesGj', + 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: 'fc4fb26e1784495fa6151b1da49f83f8', + field: 'qtySalesM3', + 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: '51420aab471541e3a02feb41185e97c3', + field: 'rateK', + 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: '186c77074fea4285a026b59f2b0d4bef', + field: 'rateMp', + 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: '88f743bc5d734eb18bc600996409741f', + field: 'rateS', + 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: 'd2287758d7634f63bfd19599972c0c20', + field: 'lastVerSign', + 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: '444b449b8c6d454c8ea6487dcaacb543', + field: 'alterSign', + 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: '52a2c163b9814210a141d4bc2d3b2125', + field: 'note', + 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: 'e0793eec23d14c8e864b19043341e900', + 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: 'a3c96807a133454aa5185fb18b24865b', + label: '表格组件', + field: 'lngPngApproPurList', + type: 'form', + component: 'SubForm', + required: true, + colProps: { span: 24 }, + componentProps: { + mainKey: 'lngPngApproPurList', + columns: [ + { + key: 'd264d60eeec24967bd77833ae50a9e41', + title: '单行文本', + dataIndex: 'id', + 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/PngAppro/components/workflowPermission.ts b/src/views/dayPlan/PngAppro/components/workflowPermission.ts new file mode 100644 index 0000000..a625dc2 --- /dev/null +++ b/src/views/dayPlan/PngAppro/components/workflowPermission.ts @@ -0,0 +1,271 @@ +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: '32095c8e0db948ac86e2b8bd2888430f', + children: [], + }, + { + required: true, + view: true, + edit: true, + disabled: false, + isSaveTable: false, + tableName: '', + fieldName: '版本号', + fieldId: 'verNo', + isSubTable: false, + showChildren: true, + type: 'input', + key: '66a946fc05054bc0998803a9f8f6933e', + children: [], + }, + { + required: true, + view: true, + edit: true, + disabled: false, + isSaveTable: false, + tableName: '', + fieldName: '计划日期', + fieldId: 'datePlan', + isSubTable: false, + showChildren: true, + type: 'input', + key: 'f9879bdf974a49ca95d83ee55c46a606', + children: [], + }, + { + required: true, + view: true, + edit: true, + disabled: false, + isSaveTable: false, + tableName: '', + fieldName: '客户', + fieldId: 'cuCode', + isSubTable: false, + showChildren: true, + type: 'input', + key: '6a78cc35d213438586d8aff29730b190', + children: [], + }, + { + required: true, + view: true, + edit: true, + disabled: false, + isSaveTable: false, + tableName: '', + fieldName: '下载点', + fieldId: 'demandId', + isSubTable: false, + showChildren: true, + type: 'input', + key: '603e0c573e1f4c2d9524e41e9c60c5b0', + children: [], + }, + { + required: true, + view: true, + edit: true, + disabled: false, + isSaveTable: false, + tableName: '', + fieldName: '指定量(吉焦)', + fieldId: 'qtyDemandGj', + isSubTable: false, + showChildren: true, + type: 'input', + key: '4b17781231e94d5a801ab4a9ed93ced1', + children: [], + }, + { + required: true, + view: true, + edit: true, + disabled: false, + isSaveTable: false, + tableName: '', + fieldName: '指定量(方)', + fieldId: 'qtyDemandM3', + isSubTable: false, + showChildren: true, + type: 'input', + key: 'b4eb1f47a07c4bf381e8e0cf30dab6be', + children: [], + }, + { + required: true, + view: true, + edit: true, + disabled: false, + isSaveTable: false, + tableName: '', + fieldName: '批复量(吉焦)', + fieldId: 'qtySalesGj', + isSubTable: false, + showChildren: true, + type: 'input', + key: '51835a5549b84a94b09cd449de36ce22', + children: [], + }, + { + required: true, + view: true, + edit: true, + disabled: false, + isSaveTable: false, + tableName: '', + fieldName: '批复量(方)', + fieldId: 'qtySalesM3', + isSubTable: false, + showChildren: true, + type: 'input', + key: 'fc4fb26e1784495fa6151b1da49f83f8', + children: [], + }, + { + required: true, + view: true, + edit: true, + disabled: false, + isSaveTable: false, + tableName: '', + fieldName: '月合同量执行%', + fieldId: 'rateK', + isSubTable: false, + showChildren: true, + type: 'input', + key: '51420aab471541e3a02feb41185e97c3', + children: [], + }, + { + required: true, + view: true, + edit: true, + disabled: false, + isSaveTable: false, + tableName: '', + fieldName: '月计划量执行%', + fieldId: 'rateMp', + isSubTable: false, + showChildren: true, + type: 'input', + key: '186c77074fea4285a026b59f2b0d4bef', + children: [], + }, + { + required: true, + view: true, + edit: true, + disabled: false, + isSaveTable: false, + tableName: '', + fieldName: '月时间进度%', + fieldId: 'rateS', + isSubTable: false, + showChildren: true, + type: 'input', + key: '88f743bc5d734eb18bc600996409741f', + children: [], + }, + { + required: true, + view: true, + edit: true, + disabled: false, + isSaveTable: false, + tableName: '', + fieldName: '销售合同', + fieldId: 'lastVerSign', + isSubTable: false, + showChildren: true, + type: 'input', + key: 'd2287758d7634f63bfd19599972c0c20', + children: [], + }, + { + required: true, + view: true, + edit: true, + disabled: false, + isSaveTable: false, + tableName: '', + fieldName: '变更', + fieldId: 'alterSign', + isSubTable: false, + showChildren: true, + type: 'input', + key: '444b449b8c6d454c8ea6487dcaacb543', + children: [], + }, + { + required: true, + view: true, + edit: true, + disabled: false, + isSaveTable: false, + tableName: '', + fieldName: '备注', + fieldId: 'note', + isSubTable: false, + showChildren: true, + type: 'input', + key: '52a2c163b9814210a141d4bc2d3b2125', + children: [], + }, + { + required: true, + view: true, + edit: true, + disabled: false, + isSaveTable: false, + tableName: '', + fieldName: '审批状态', + fieldId: 'approCode', + isSubTable: false, + showChildren: true, + type: 'input', + key: 'e0793eec23d14c8e864b19043341e900', + children: [], + }, + { + required: true, + view: true, + edit: true, + disabled: false, + isSubTable: true, + showChildren: false, + tableName: 'lngPngApproPurList', + fieldName: '表格组件', + fieldId: 'lngPngApproPurList', + type: 'form', + key: 'a3c96807a133454aa5185fb18b24865b', + children: [ + { + required: true, + view: true, + edit: true, + disabled: false, + isSubTable: true, + isSaveTable: false, + showChildren: false, + tableName: 'lngPngApproPurList', + fieldName: '单行文本', + fieldId: 'id', + key: 'd264d60eeec24967bd77833ae50a9e41', + children: [], + }, + ], + }, +]; \ No newline at end of file diff --git a/src/views/dayPlan/PngAppro/index.vue b/src/views/dayPlan/PngAppro/index.vue new file mode 100644 index 0000000..b52e370 --- /dev/null +++ b/src/views/dayPlan/PngAppro/index.vue @@ -0,0 +1,386 @@ + + + \ No newline at end of file diff --git a/src/views/dayPlan/PngMeasureSalesPur/components/Form.vue b/src/views/dayPlan/PngMeasureSalesPur/components/Form.vue new file mode 100644 index 0000000..dac4e2a --- /dev/null +++ b/src/views/dayPlan/PngMeasureSalesPur/components/Form.vue @@ -0,0 +1,224 @@ + + \ No newline at end of file diff --git a/src/views/dayPlan/PngMeasureSalesPur/components/PngMeasureSalesPurModal.vue b/src/views/dayPlan/PngMeasureSalesPur/components/PngMeasureSalesPurModal.vue new file mode 100644 index 0000000..168dd47 --- /dev/null +++ b/src/views/dayPlan/PngMeasureSalesPur/components/PngMeasureSalesPurModal.vue @@ -0,0 +1,110 @@ + + \ No newline at end of file diff --git a/src/views/dayPlan/PngMeasureSalesPur/components/config.ts b/src/views/dayPlan/PngMeasureSalesPur/components/config.ts new file mode 100644 index 0000000..d0694cc --- /dev/null +++ b/src/views/dayPlan/PngMeasureSalesPur/components/config.ts @@ -0,0 +1,921 @@ +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: 'suCode', + label: '供应商名称/简称/编码', + component: 'Input', + }, + { + field: 'pointUpName', + label: '上载点', + component: 'Input', + }, + { + field: 'pointUpName', + label: '上载点', + component: 'Input', + }, +]; + +export const columns: BasicColumn[] = [ + { + dataIndex: 'datePlan', + title: '计划日期', + componentType: 'input', + align: 'left', + + sorter: true, + }, + + { + dataIndex: 'dateMea', + title: '计量日期', + componentType: 'input', + align: 'left', + + sorter: true, + }, + + { + dataIndex: 'suCode', + title: '供应商简称', + componentType: 'input', + align: 'left', + + sorter: true, + }, + + { + dataIndex: 'pointUpCode', + title: '上载点', + componentType: 'input', + align: 'left', + + sorter: true, + }, + + { + dataIndex: 'pointDelyCode', + title: '下载点', + componentType: 'input', + align: 'left', + + sorter: true, + }, + + { + dataIndex: 'qtySalesGj', + title: '批复量(吉焦)', + componentType: 'input', + align: 'left', + + sorter: true, + }, + + { + dataIndex: 'qtySalesM3', + title: '批复量(方)', + componentType: 'input', + align: 'left', + + sorter: true, + }, + + { + dataIndex: 'qtyMeaGj', + title: '完成量(吉焦)', + componentType: 'input', + align: 'left', + + sorter: true, + }, + + { + dataIndex: 'qtyMeaM3', + title: '完成量(方)', + componentType: 'input', + align: 'left', + + sorter: true, + }, + + { + dataIndex: 'rateM3Gj', + title: '比值(方/吉焦)', + componentType: 'input', + align: 'left', + + sorter: true, + }, + + { + dataIndex: 'cfmCuUserId', + title: '客户确认人', + componentType: 'input', + align: 'left', + + sorter: true, + }, + + { + dataIndex: 'cfmCuUserTime', + title: '客户确认时间', + componentType: 'input', + align: 'left', + + sorter: true, + }, + + { + dataIndex: 'cfmEmpId', + title: '内部确认人', + componentType: 'input', + align: 'left', + + sorter: true, + }, + + { + dataIndex: 'cfmEmpTime', + title: '内部确认时间', + componentType: 'input', + align: 'left', + + sorter: true, + }, + + { + dataIndex: 'kpId', + title: '采购合同', + componentType: 'input', + align: 'left', + + sorter: true, + }, + + { + dataIndex: 'fileList', + title: '附件', + componentType: 'input', + align: 'left', + + sorter: true, + }, + + { + dataIndex: 'createDate', + title: '状态', + componentType: 'input', + align: 'left', + + sorter: true, + }, + + { + dataIndex: 'note', + 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: '5ce0d64b60a6442a96ce342fb477ac4d', + 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: 'f8ea243a937742c2a6476d3ae230f707', + field: 'datePlan', + 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: 'cd757e88619d410a9afc4df1995db8fb', + field: 'dateMea', + 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: '220431557d81494f9147634546e6fcc6', + field: 'suCode', + 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: '7200fa004d814d5897f917e9c4e498c7', + field: 'pointUpCode', + 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: 'f941da7b3a5f40f0840dd2e640843d4c', + field: 'pointDelyCode', + 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: '2fe5c7b2d9f74487852f664bd43106ea', + field: 'qtySalesGj', + 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: 'dce12ad696054d12819a657da5e844ee', + field: 'qtySalesM3', + 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: 'b71ab9fca71b4724b197f8b7ca8573da', + field: 'qtyMeaGj', + 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: '9b2a7b857afd44428f721d77ef347b65', + field: 'qtyMeaM3', + 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: '1ce45fd44beb4e58981c4caef7424df0', + field: 'rateM3Gj', + 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: '90c7d8e974d44477b14a35c3faf55481', + field: 'cfmCuUserId', + 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: '377bd3cbb35a41e588889cefd1670a39', + field: 'cfmCuUserTime', + 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: '666e72cedf2a4a4fbd6cae844486b0a5', + field: 'cfmEmpId', + 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: '162b2a4dbc054183b56e390205140b8c', + field: 'cfmEmpTime', + 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: '455ddc2963834b77a60005a7452a5c49', + field: 'kpId', + 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: '802bc1fca9244389a0de69ee4cc8d0d2', + field: 'transSign', + 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: 'b1ce4a34d1d7457b9cd1424d63832614', + field: 'createDate', + 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: '9b199fac6b0f465daef53ee9dd606f09', + field: 'note', + 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%' }, + }, + }, + ], + showActionButtonGroup: false, + buttonLocation: 'center', + actionColOptions: { span: 24 }, + showResetButton: false, + showSubmitButton: false, + hiddenComponent: [], +}; \ No newline at end of file diff --git a/src/views/dayPlan/PngMeasureSalesPur/components/workflowPermission.ts b/src/views/dayPlan/PngMeasureSalesPur/components/workflowPermission.ts new file mode 100644 index 0000000..ce5a039 --- /dev/null +++ b/src/views/dayPlan/PngMeasureSalesPur/components/workflowPermission.ts @@ -0,0 +1,287 @@ +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: '5ce0d64b60a6442a96ce342fb477ac4d', + children: [], + }, + { + required: true, + view: true, + edit: true, + disabled: false, + isSaveTable: false, + tableName: '', + fieldName: '计划日期', + fieldId: 'datePlan', + isSubTable: false, + showChildren: true, + type: 'input', + key: 'f8ea243a937742c2a6476d3ae230f707', + children: [], + }, + { + required: true, + view: true, + edit: true, + disabled: false, + isSaveTable: false, + tableName: '', + fieldName: '计量日期', + fieldId: 'dateMea', + isSubTable: false, + showChildren: true, + type: 'input', + key: 'cd757e88619d410a9afc4df1995db8fb', + children: [], + }, + { + required: true, + view: true, + edit: true, + disabled: false, + isSaveTable: false, + tableName: '', + fieldName: '供应商简称', + fieldId: 'suCode', + isSubTable: false, + showChildren: true, + type: 'input', + key: '220431557d81494f9147634546e6fcc6', + children: [], + }, + { + required: true, + view: true, + edit: true, + disabled: false, + isSaveTable: false, + tableName: '', + fieldName: '上载点', + fieldId: 'pointUpCode', + isSubTable: false, + showChildren: true, + type: 'input', + key: '7200fa004d814d5897f917e9c4e498c7', + children: [], + }, + { + required: true, + view: true, + edit: true, + disabled: false, + isSaveTable: false, + tableName: '', + fieldName: '下载点', + fieldId: 'pointDelyCode', + isSubTable: false, + showChildren: true, + type: 'input', + key: 'f941da7b3a5f40f0840dd2e640843d4c', + children: [], + }, + { + required: true, + view: true, + edit: true, + disabled: false, + isSaveTable: false, + tableName: '', + fieldName: '批复量(吉焦)', + fieldId: 'qtySalesGj', + isSubTable: false, + showChildren: true, + type: 'input', + key: '2fe5c7b2d9f74487852f664bd43106ea', + children: [], + }, + { + required: true, + view: true, + edit: true, + disabled: false, + isSaveTable: false, + tableName: '', + fieldName: '批复量(方)', + fieldId: 'qtySalesM3', + isSubTable: false, + showChildren: true, + type: 'input', + key: 'dce12ad696054d12819a657da5e844ee', + children: [], + }, + { + required: true, + view: true, + edit: true, + disabled: false, + isSaveTable: false, + tableName: '', + fieldName: '完成量(吉焦)', + fieldId: 'qtyMeaGj', + isSubTable: false, + showChildren: true, + type: 'input', + key: 'b71ab9fca71b4724b197f8b7ca8573da', + children: [], + }, + { + required: true, + view: true, + edit: true, + disabled: false, + isSaveTable: false, + tableName: '', + fieldName: '完成量(方)', + fieldId: 'qtyMeaM3', + isSubTable: false, + showChildren: true, + type: 'input', + key: '9b2a7b857afd44428f721d77ef347b65', + children: [], + }, + { + required: true, + view: true, + edit: true, + disabled: false, + isSaveTable: false, + tableName: '', + fieldName: '比值(方/吉焦)', + fieldId: 'rateM3Gj', + isSubTable: false, + showChildren: true, + type: 'input', + key: '1ce45fd44beb4e58981c4caef7424df0', + children: [], + }, + { + required: true, + view: true, + edit: true, + disabled: false, + isSaveTable: false, + tableName: '', + fieldName: '客户确认人', + fieldId: 'cfmCuUserId', + isSubTable: false, + showChildren: true, + type: 'input', + key: '90c7d8e974d44477b14a35c3faf55481', + children: [], + }, + { + required: true, + view: true, + edit: true, + disabled: false, + isSaveTable: false, + tableName: '', + fieldName: '客户确认时间', + fieldId: 'cfmCuUserTime', + isSubTable: false, + showChildren: true, + type: 'input', + key: '377bd3cbb35a41e588889cefd1670a39', + children: [], + }, + { + required: true, + view: true, + edit: true, + disabled: false, + isSaveTable: false, + tableName: '', + fieldName: '内部确认人', + fieldId: 'cfmEmpId', + isSubTable: false, + showChildren: true, + type: 'input', + key: '666e72cedf2a4a4fbd6cae844486b0a5', + children: [], + }, + { + required: true, + view: true, + edit: true, + disabled: false, + isSaveTable: false, + tableName: '', + fieldName: '内部确认时间', + fieldId: 'cfmEmpTime', + isSubTable: false, + showChildren: true, + type: 'input', + key: '162b2a4dbc054183b56e390205140b8c', + children: [], + }, + { + required: true, + view: true, + edit: true, + disabled: false, + isSaveTable: false, + tableName: '', + fieldName: '采购合同', + fieldId: 'kpId', + isSubTable: false, + showChildren: true, + type: 'input', + key: '455ddc2963834b77a60005a7452a5c49', + children: [], + }, + { + required: true, + view: true, + edit: true, + disabled: false, + isSaveTable: false, + tableName: '', + fieldName: '附件', + fieldId: 'transSign', + isSubTable: false, + showChildren: true, + type: 'input', + key: '802bc1fca9244389a0de69ee4cc8d0d2', + children: [], + }, + { + required: true, + view: true, + edit: true, + disabled: false, + isSaveTable: false, + tableName: '', + fieldName: '状态', + fieldId: 'createDate', + isSubTable: false, + showChildren: true, + type: 'input', + key: 'b1ce4a34d1d7457b9cd1424d63832614', + children: [], + }, + { + required: true, + view: true, + edit: true, + disabled: false, + isSaveTable: false, + tableName: '', + fieldName: '备注', + fieldId: 'note', + isSubTable: false, + showChildren: true, + type: 'input', + key: '9b199fac6b0f465daef53ee9dd606f09', + children: [], + }, +]; \ No newline at end of file diff --git a/src/views/dayPlan/PngMeasureSalesPur/index.vue b/src/views/dayPlan/PngMeasureSalesPur/index.vue new file mode 100644 index 0000000..35ee53d --- /dev/null +++ b/src/views/dayPlan/PngMeasureSalesPur/index.vue @@ -0,0 +1,393 @@ + + + + \ No newline at end of file