From 6d09d49d85c779a7a58a9471c7da6ffe4380fa1f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E2=80=98huanghaiixia=E2=80=99?= <980486410@.com> Date: Wed, 25 Mar 2026 16:00:32 +0800 Subject: [PATCH] =?UTF-8?q?=E5=9B=BD=E7=BD=91\=E8=87=AA=E6=9C=89?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/inventory/LngInventoryPngNa/index.ts | 91 +++ .../model/LngInventoryPngNaModel.ts | 74 ++ src/api/inventory/LngInventoryPngZy/index.ts | 91 +++ .../model/LngInventoryPngZyModel.ts | 78 ++ src/router/routes/basic.ts | 16 + .../LngInventoryPngNa/components/Form.vue | 224 ++++++ .../components/LngInventoryPngNaModal.vue | 110 +++ .../LngInventoryPngNa/components/config.ts | 709 +++++++++++++++++ .../components/createForm.vue | 281 +++++++ .../components/workflowPermission.ts | 212 +++++ .../inventory/LngInventoryPngNa/index.vue | 288 +++++++ .../LngInventoryPngZy/components/Form.vue | 224 ++++++ .../components/LngInventoryPngZyModal.vue | 110 +++ .../LngInventoryPngZy/components/config.ts | 752 ++++++++++++++++++ .../components/createForm.vue | 295 +++++++ .../components/workflowPermission.ts | 227 ++++++ .../inventory/LngInventoryPngZy/index.vue | 288 +++++++ 17 files changed, 4070 insertions(+) create mode 100644 src/api/inventory/LngInventoryPngNa/index.ts create mode 100644 src/api/inventory/LngInventoryPngNa/model/LngInventoryPngNaModel.ts create mode 100644 src/api/inventory/LngInventoryPngZy/index.ts create mode 100644 src/api/inventory/LngInventoryPngZy/model/LngInventoryPngZyModel.ts create mode 100644 src/views/inventory/LngInventoryPngNa/components/Form.vue create mode 100644 src/views/inventory/LngInventoryPngNa/components/LngInventoryPngNaModal.vue create mode 100644 src/views/inventory/LngInventoryPngNa/components/config.ts create mode 100644 src/views/inventory/LngInventoryPngNa/components/createForm.vue create mode 100644 src/views/inventory/LngInventoryPngNa/components/workflowPermission.ts create mode 100644 src/views/inventory/LngInventoryPngNa/index.vue create mode 100644 src/views/inventory/LngInventoryPngZy/components/Form.vue create mode 100644 src/views/inventory/LngInventoryPngZy/components/LngInventoryPngZyModal.vue create mode 100644 src/views/inventory/LngInventoryPngZy/components/config.ts create mode 100644 src/views/inventory/LngInventoryPngZy/components/createForm.vue create mode 100644 src/views/inventory/LngInventoryPngZy/components/workflowPermission.ts create mode 100644 src/views/inventory/LngInventoryPngZy/index.vue diff --git a/src/api/inventory/LngInventoryPngNa/index.ts b/src/api/inventory/LngInventoryPngNa/index.ts new file mode 100644 index 0000000..d832be5 --- /dev/null +++ b/src/api/inventory/LngInventoryPngNa/index.ts @@ -0,0 +1,91 @@ +import { LngInventoryPngNationPageModel, LngInventoryPngNationPageParams, LngInventoryPngNationPageResult } from './model/LngInventoryPngNaModel'; +import { defHttp } from '/@/utils/http/axios'; +import { ErrorMessageMode } from '/#/axios'; + +enum Api { + // Page = '/inventory/lngInventoryPngNa/page', + Page = '/magic-api/inventory/lngInventoryPngNa/page', + List = '/inventory/lngInventoryPngNa/list', + Info = '/inventory/lngInventoryPngNa/info', + LngInventoryPngNation = '/inventory/lngInventoryPngNa', + + + + + DataLog = '/inventory/lngInventoryPngNa/datalog', +} + +/** + * @description: 查询LngInventoryPngNation分页列表 + */ +export async function getLngInventoryPngNationPage(params: LngInventoryPngNationPageParams, mode: ErrorMessageMode = 'modal') { + return defHttp.get( + { + url: Api.Page, + params, + }, + { + errorMessageMode: mode, + }, + ); +} + +/** + * @description: 获取LngInventoryPngNation信息 + */ +export async function getLngInventoryPngNation(id: String, mode: ErrorMessageMode = 'modal') { + return defHttp.get( + { + url: Api.Info, + params: { id }, + }, + { + errorMessageMode: mode, + }, + ); +} + +/** + * @description: 新增LngInventoryPngNation + */ +export async function addLngInventoryPngNation(lngInventoryPngNation: Recordable, mode: ErrorMessageMode = 'modal') { + return defHttp.post( + { + url: Api.LngInventoryPngNation, + params: lngInventoryPngNation, + }, + { + errorMessageMode: mode, + }, + ); +} + +/** + * @description: 更新LngInventoryPngNation + */ +export async function updateLngInventoryPngNation(lngInventoryPngNation: Recordable, mode: ErrorMessageMode = 'modal') { + return defHttp.put( + { + url: Api.LngInventoryPngNation, + params: lngInventoryPngNation, + }, + { + errorMessageMode: mode, + }, + ); +} + +/** + * @description: 删除LngInventoryPngNation(批量删除) + */ +export async function deleteLngInventoryPngNation(ids: string[], mode: ErrorMessageMode = 'modal') { + return defHttp.delete( + { + url: Api.LngInventoryPngNation, + data: ids, + }, + { + errorMessageMode: mode, + }, + ); +} \ No newline at end of file diff --git a/src/api/inventory/LngInventoryPngNa/model/LngInventoryPngNaModel.ts b/src/api/inventory/LngInventoryPngNa/model/LngInventoryPngNaModel.ts new file mode 100644 index 0000000..9511b53 --- /dev/null +++ b/src/api/inventory/LngInventoryPngNa/model/LngInventoryPngNaModel.ts @@ -0,0 +1,74 @@ +import { BasicPageParams, BasicFetchResult } from '/@/api/model/baseModel'; + +/** + * @description: LngInventoryPngNation分页参数 模型 + */ +export interface LngInventoryPngNationPageParams extends BasicPageParams { + id: string; + + datePlan: string; + + dateMea: string; + + qtyBeginGj: string; + + qtyInGj: string; + + qtyOutGj: string; + + qtyAdjGj: string; + + qtyEndGj: string; + + qtyBeginM3: string; + + qtyInM3: string; + + qtyOutM3: string; + + qtyAdjM3: string; + + qtyEndM3: string; + + comId: string; +} + +/** + * @description: LngInventoryPngNation分页返回值模型 + */ +export interface LngInventoryPngNationPageModel { + id: string; + + datePlan: string; + + dateMea: string; + + qtyBeginGj: string; + + qtyInGj: string; + + qtyOutGj: string; + + qtyAdjGj: string; + + qtyEndGj: string; + + qtyBeginM3: string; + + qtyInM3: string; + + qtyOutM3: string; + + qtyAdjM3: string; + + qtyEndM3: string; + + comId: string; +} + +0; + +/** + * @description: LngInventoryPngNation分页返回值结构 + */ +export type LngInventoryPngNationPageResult = BasicFetchResult; \ No newline at end of file diff --git a/src/api/inventory/LngInventoryPngZy/index.ts b/src/api/inventory/LngInventoryPngZy/index.ts new file mode 100644 index 0000000..70fa8e0 --- /dev/null +++ b/src/api/inventory/LngInventoryPngZy/index.ts @@ -0,0 +1,91 @@ +import { LngInventoryPngZyPageModel, LngInventoryPngZyPageParams, LngInventoryPngZyPageResult } from './model/LngInventoryPngZyModel'; +import { defHttp } from '/@/utils/http/axios'; +import { ErrorMessageMode } from '/#/axios'; + +enum Api { + // Page = '/inventory/lngInventoryPngZy/page', + Page = '/magic-api/inventory/lngInventoryPngZy/page', + List = '/inventory/lngInventoryPngZy/list', + Info = '/inventory/lngInventoryPngZy/info', + LngInventoryPngZy = '/inventory/lngInventoryPngZy', + + + + + DataLog = '/inventory/lngInventoryPngZy/datalog', +} + +/** + * @description: 查询LngInventoryPngZy分页列表 + */ +export async function getLngInventoryPngZyPage(params: LngInventoryPngZyPageParams, mode: ErrorMessageMode = 'modal') { + return defHttp.get( + { + url: Api.Page, + params, + }, + { + errorMessageMode: mode, + }, + ); +} + +/** + * @description: 获取LngInventoryPngZy信息 + */ +export async function getLngInventoryPngZy(id: String, mode: ErrorMessageMode = 'modal') { + return defHttp.get( + { + url: Api.Info, + params: { id }, + }, + { + errorMessageMode: mode, + }, + ); +} + +/** + * @description: 新增LngInventoryPngZy + */ +export async function addLngInventoryPngZy(lngInventoryPngZy: Recordable, mode: ErrorMessageMode = 'modal') { + return defHttp.post( + { + url: Api.LngInventoryPngZy, + params: lngInventoryPngZy, + }, + { + errorMessageMode: mode, + }, + ); +} + +/** + * @description: 更新LngInventoryPngZy + */ +export async function updateLngInventoryPngZy(lngInventoryPngZy: Recordable, mode: ErrorMessageMode = 'modal') { + return defHttp.put( + { + url: Api.LngInventoryPngZy, + params: lngInventoryPngZy, + }, + { + errorMessageMode: mode, + }, + ); +} + +/** + * @description: 删除LngInventoryPngZy(批量删除) + */ +export async function deleteLngInventoryPngZy(ids: string[], mode: ErrorMessageMode = 'modal') { + return defHttp.delete( + { + url: Api.LngInventoryPngZy, + data: ids, + }, + { + errorMessageMode: mode, + }, + ); +} \ No newline at end of file diff --git a/src/api/inventory/LngInventoryPngZy/model/LngInventoryPngZyModel.ts b/src/api/inventory/LngInventoryPngZy/model/LngInventoryPngZyModel.ts new file mode 100644 index 0000000..cfcea58 --- /dev/null +++ b/src/api/inventory/LngInventoryPngZy/model/LngInventoryPngZyModel.ts @@ -0,0 +1,78 @@ +import { BasicPageParams, BasicFetchResult } from '/@/api/model/baseModel'; + +/** + * @description: LngInventoryPngZy分页参数 模型 + */ +export interface LngInventoryPngZyPageParams extends BasicPageParams { + id: string; + + staCode: string; + + datePlan: string; + + dateMea: string; + + qtyBeginGj: string; + + qtyInGj: string; + + qtyOutGj: string; + + qtyAdjGj: string; + + qtyEndGj: string; + + qtyBeginM3: string; + + qtyInM3: string; + + qtyOutM3: string; + + qtyEndM3: string; + + qtyAdjM3: string; + + comId: string; +} + +/** + * @description: LngInventoryPngZy分页返回值模型 + */ +export interface LngInventoryPngZyPageModel { + id: string; + + staCode: string; + + datePlan: string; + + dateMea: string; + + qtyBeginGj: string; + + qtyInGj: string; + + qtyOutGj: string; + + qtyAdjGj: string; + + qtyEndGj: string; + + qtyBeginM3: string; + + qtyInM3: string; + + qtyOutM3: string; + + qtyEndM3: string; + + qtyAdjM3: string; + + comId: string; +} + +0; + +/** + * @description: LngInventoryPngZy分页返回值结构 + */ +export type LngInventoryPngZyPageResult = BasicFetchResult; \ No newline at end of file diff --git a/src/router/routes/basic.ts b/src/router/routes/basic.ts index e324b5d..0505071 100644 --- a/src/router/routes/basic.ts +++ b/src/router/routes/basic.ts @@ -382,6 +382,22 @@ export const PAGE_CUSTOM_ROUTE: AppRouteRecordRaw[] = [{ title: (route) => (route.query.formName) } }, + { + path: '/inventory/LngInventoryPngNa/createForm', + name: 'LngInventoryPngNa', + component: () => import('/@/views/inventory/LngInventoryPngNa/components/createForm.vue'), + meta: { + title: (route) => (route.query.formName) + } + }, + { + path: '/inventory/LngInventoryPngZy/createForm', + name: 'LngInventoryPngZy', + component: () => import('/@/views/inventory/LngInventoryPngZy/components/createForm.vue'), + meta: { + title: (route) => (route.query.formName) + } + }, ] diff --git a/src/views/inventory/LngInventoryPngNa/components/Form.vue b/src/views/inventory/LngInventoryPngNa/components/Form.vue new file mode 100644 index 0000000..d634f2d --- /dev/null +++ b/src/views/inventory/LngInventoryPngNa/components/Form.vue @@ -0,0 +1,224 @@ + + \ No newline at end of file diff --git a/src/views/inventory/LngInventoryPngNa/components/LngInventoryPngNaModal.vue b/src/views/inventory/LngInventoryPngNa/components/LngInventoryPngNaModal.vue new file mode 100644 index 0000000..168dd47 --- /dev/null +++ b/src/views/inventory/LngInventoryPngNa/components/LngInventoryPngNaModal.vue @@ -0,0 +1,110 @@ + + \ No newline at end of file diff --git a/src/views/inventory/LngInventoryPngNa/components/config.ts b/src/views/inventory/LngInventoryPngNa/components/config.ts new file mode 100644 index 0000000..a6e57a8 --- /dev/null +++ b/src/views/inventory/LngInventoryPngNa/components/config.ts @@ -0,0 +1,709 @@ +import { FormProps, FormSchema } from '/@/components/Form'; +import { BasicColumn } from '/@/components/Table'; + +export const formConfig = { + useCustomConfig: false, +}; + +export const searchFormSchema: FormSchema[] = [ + { + field: 'dateFrom', + label: '计量日期', + component: 'RangePicker', + componentProps: { + format: 'YYYY-MM-DD', + style: { width: '100%' }, + getPopupContainer: () => document.body, + }, + }, + + { + field: 'comId', + label: '公司', + component: 'Select', + componentProps: { + showSearch: true, + optionFilterProp: 'label', + filterOption: (input: string, option: any) => { + return option.label.toLowerCase().indexOf(input.toLowerCase()) >= 0; + }, + options: [], + placeholder: '请选择', + allowClear: true, + + getPopupContainer: () => document.body, + } + }, +]; + +export const columns: BasicColumn[] = [ + + { + dataIndex: 'datePlan', + title: '计划日期', + componentType: 'input', + align: 'left', + width: 110, + sorter: true, + }, + + { + dataIndex: 'dateMea', + title: '计量日期', + componentType: 'input', + align: 'left', + width: 110, + sorter: true, + }, + + { + dataIndex: 'qtyBeginGj', + title: '前日管存(吉焦)', + componentType: 'input', + align: 'left', + width: 130, + sorter: true, + }, + + { + dataIndex: 'qtyInGj', + title: '当日上载量(吉焦)', + componentType: 'input', + align: 'left', + width: 130, + sorter: true, + }, + + { + dataIndex: 'qtyOutGj', + title: '当日下载量(吉焦)', + componentType: 'input', + align: 'left', + width: 130, + sorter: true, + }, + + { + dataIndex: 'qtyAdjGj', + title: '手工调整量(吉焦)', + componentType: 'input', + align: 'left', + width: 140, + sorter: true, + }, + + { + dataIndex: 'qtyEndGj', + title: '当日管存(吉焦)', + componentType: 'input', + align: 'left', + width: 130, + sorter: true, + }, + + { + dataIndex: 'qtyBeginM3', + title: '前日管存(方)', + componentType: 'input', + align: 'left', + width: 130, + sorter: true, + }, + + { + dataIndex: 'qtyInM3', + title: '当日上载量(方)', + componentType: 'input', + align: 'left', + width: 130, + sorter: true, + }, + + { + dataIndex: 'qtyOutM3', + title: '当日下载量(方)', + componentType: 'input', + align: 'left', + width: 130, + sorter: true, + }, + + { + dataIndex: 'qtyAdjM3', + title: '手工调整量(方)', + componentType: 'input', + align: 'left', + width: 130, + sorter: true, + }, + + { + dataIndex: 'qtyEndM3', + title: '当日管存(方)', + componentType: 'input', + align: 'left', + width: 130, + sorter: true, + }, + + { + dataIndex: 'comName', + title: '公司', + componentType: 'input', + align: 'left', + width: 120, + 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: 'd9b0647c7aaa4609bc781b3028e0c7b0', + 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', + prefix: '', + suffix: '', + addonBefore: '', + addonAfter: '', + disabled: false, + allowClear: false, + showLabel: true, + required: false, + rules: [], + events: {}, + isSave: false, + isShow: true, + scan: false, + style: { width: '100%' }, + }, + }, + { + key: '3b142a1e9eaf475f8af5350bc32a9031', + 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: 'fac5092d6db44230b4d79eb2ba863ad4', + 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: '4bc6534677fb466aa501222edb6d4147', + field: 'qtyBeginGj', + 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: '66fca81b3a224629ad68b03d17e3025e', + field: 'qtyInGj', + 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: '54f77ae6d7d84f4082c60a8bc10430c1', + field: 'qtyOutGj', + 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: '1a80a9aa96bb4458a9da70151b17a983', + field: 'qtyAdjGj', + 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: '42b7f746637c4706a15597a8b21ecec3', + field: 'qtyEndGj', + 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: 'f99a3831062144afa951180a6d276396', + field: 'qtyBeginM3', + 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: 'd2175714f19c4335a8ec52c15994e7bb', + field: 'qtyInM3', + 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: '8d2786ad2545458a9b1003eacfd50524', + field: 'qtyOutM3', + 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: '3640f82aca7b41acb6c3a9b0edba6f73', + field: 'qtyAdjM3', + 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: '8efb783f4a9c49a0a1b3d61e132bfd22', + field: 'qtyEndM3', + 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: '8d905b348d33490ea2388a75eb7a01bd', + 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%' }, + }, + }, + ], + showActionButtonGroup: false, + buttonLocation: 'center', + actionColOptions: { span: 24 }, + showResetButton: false, + showSubmitButton: false, + hiddenComponent: [], +}; \ No newline at end of file diff --git a/src/views/inventory/LngInventoryPngNa/components/createForm.vue b/src/views/inventory/LngInventoryPngNa/components/createForm.vue new file mode 100644 index 0000000..3404cdf --- /dev/null +++ b/src/views/inventory/LngInventoryPngNa/components/createForm.vue @@ -0,0 +1,281 @@ + + + + + diff --git a/src/views/inventory/LngInventoryPngNa/components/workflowPermission.ts b/src/views/inventory/LngInventoryPngNa/components/workflowPermission.ts new file mode 100644 index 0000000..7005bf1 --- /dev/null +++ b/src/views/inventory/LngInventoryPngNa/components/workflowPermission.ts @@ -0,0 +1,212 @@ +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: 'd9b0647c7aaa4609bc781b3028e0c7b0', + children: [], + }, + { + required: true, + view: true, + edit: true, + disabled: false, + isSaveTable: false, + tableName: '', + fieldName: '计划日期', + fieldId: 'datePlan', + isSubTable: false, + showChildren: true, + type: 'input', + key: '3b142a1e9eaf475f8af5350bc32a9031', + children: [], + }, + { + required: true, + view: true, + edit: true, + disabled: false, + isSaveTable: false, + tableName: '', + fieldName: '计量日期', + fieldId: 'dateMea', + isSubTable: false, + showChildren: true, + type: 'input', + key: 'fac5092d6db44230b4d79eb2ba863ad4', + children: [], + }, + { + required: true, + view: true, + edit: true, + disabled: false, + isSaveTable: false, + tableName: '', + fieldName: '前日管存(吉焦)', + fieldId: 'qtyBeginGj', + isSubTable: false, + showChildren: true, + type: 'input', + key: '4bc6534677fb466aa501222edb6d4147', + children: [], + }, + { + required: true, + view: true, + edit: true, + disabled: false, + isSaveTable: false, + tableName: '', + fieldName: '当日上载量(吉焦)', + fieldId: 'qtyInGj', + isSubTable: false, + showChildren: true, + type: 'input', + key: '66fca81b3a224629ad68b03d17e3025e', + children: [], + }, + { + required: true, + view: true, + edit: true, + disabled: false, + isSaveTable: false, + tableName: '', + fieldName: '当日下载量(吉焦)', + fieldId: 'qtyOutGj', + isSubTable: false, + showChildren: true, + type: 'input', + key: '54f77ae6d7d84f4082c60a8bc10430c1', + children: [], + }, + { + required: true, + view: true, + edit: true, + disabled: false, + isSaveTable: false, + tableName: '', + fieldName: '手工调整量(吉焦)', + fieldId: 'qtyAdjGj', + isSubTable: false, + showChildren: true, + type: 'input', + key: '1a80a9aa96bb4458a9da70151b17a983', + children: [], + }, + { + required: true, + view: true, + edit: true, + disabled: false, + isSaveTable: false, + tableName: '', + fieldName: '当日管存(吉焦)', + fieldId: 'qtyEndGj', + isSubTable: false, + showChildren: true, + type: 'input', + key: '42b7f746637c4706a15597a8b21ecec3', + children: [], + }, + { + required: true, + view: true, + edit: true, + disabled: false, + isSaveTable: false, + tableName: '', + fieldName: '前日管存(方)', + fieldId: 'qtyBeginM3', + isSubTable: false, + showChildren: true, + type: 'input', + key: 'f99a3831062144afa951180a6d276396', + children: [], + }, + { + required: true, + view: true, + edit: true, + disabled: false, + isSaveTable: false, + tableName: '', + fieldName: '当日上载量(方)', + fieldId: 'qtyInM3', + isSubTable: false, + showChildren: true, + type: 'input', + key: 'd2175714f19c4335a8ec52c15994e7bb', + children: [], + }, + { + required: true, + view: true, + edit: true, + disabled: false, + isSaveTable: false, + tableName: '', + fieldName: '当日下载量(方)', + fieldId: 'qtyOutM3', + isSubTable: false, + showChildren: true, + type: 'input', + key: '8d2786ad2545458a9b1003eacfd50524', + children: [], + }, + { + required: true, + view: true, + edit: true, + disabled: false, + isSaveTable: false, + tableName: '', + fieldName: '手工调整量(方)', + fieldId: 'qtyAdjM3', + isSubTable: false, + showChildren: true, + type: 'input', + key: '3640f82aca7b41acb6c3a9b0edba6f73', + children: [], + }, + { + required: true, + view: true, + edit: true, + disabled: false, + isSaveTable: false, + tableName: '', + fieldName: '当日管存(方)', + fieldId: 'qtyEndM3', + isSubTable: false, + showChildren: true, + type: 'input', + key: '8efb783f4a9c49a0a1b3d61e132bfd22', + children: [], + }, + { + required: true, + view: true, + edit: true, + disabled: false, + isSaveTable: false, + tableName: '', + fieldName: '公司', + fieldId: 'comId', + isSubTable: false, + showChildren: true, + type: 'input', + key: '8d905b348d33490ea2388a75eb7a01bd', + children: [], + }, +]; \ No newline at end of file diff --git a/src/views/inventory/LngInventoryPngNa/index.vue b/src/views/inventory/LngInventoryPngNa/index.vue new file mode 100644 index 0000000..a5c0d6e --- /dev/null +++ b/src/views/inventory/LngInventoryPngNa/index.vue @@ -0,0 +1,288 @@ + + + \ No newline at end of file diff --git a/src/views/inventory/LngInventoryPngZy/components/Form.vue b/src/views/inventory/LngInventoryPngZy/components/Form.vue new file mode 100644 index 0000000..d6a459a --- /dev/null +++ b/src/views/inventory/LngInventoryPngZy/components/Form.vue @@ -0,0 +1,224 @@ + + \ No newline at end of file diff --git a/src/views/inventory/LngInventoryPngZy/components/LngInventoryPngZyModal.vue b/src/views/inventory/LngInventoryPngZy/components/LngInventoryPngZyModal.vue new file mode 100644 index 0000000..168dd47 --- /dev/null +++ b/src/views/inventory/LngInventoryPngZy/components/LngInventoryPngZyModal.vue @@ -0,0 +1,110 @@ + + \ No newline at end of file diff --git a/src/views/inventory/LngInventoryPngZy/components/config.ts b/src/views/inventory/LngInventoryPngZy/components/config.ts new file mode 100644 index 0000000..2e67fa9 --- /dev/null +++ b/src/views/inventory/LngInventoryPngZy/components/config.ts @@ -0,0 +1,752 @@ +import { FormProps, FormSchema } from '/@/components/Form'; +import { BasicColumn } from '/@/components/Table'; + +export const formConfig = { + useCustomConfig: false, +}; + +export const searchFormSchema: FormSchema[] = [ + { + field: 'dateFrom', + label: '计量日期', + component: 'RangePicker', + componentProps: { + format: 'YYYY-MM-DD', + style: { width: '100%' }, + getPopupContainer: () => document.body, + }, + }, + + { + field: 'comId', + label: '公司', + component: 'Select', + componentProps: { + showSearch: true, + optionFilterProp: 'label', + filterOption: (input: string, option: any) => { + return option.label.toLowerCase().indexOf(input.toLowerCase()) >= 0; + }, + options: [], + placeholder: '请选择', + allowClear: true, + + getPopupContainer: () => document.body, + } + }, +]; + +export const columns: BasicColumn[] = [ + + { + dataIndex: 'staName', + title: '接收站', + componentType: 'input', + align: 'left', + width: 130, + sorter: true, + }, + + { + dataIndex: 'datePlan', + title: '计划日期', + componentType: 'input', + align: 'left', + width: 110, + sorter: true, + }, + + { + dataIndex: 'dateMea', + title: '计量日期', + componentType: 'input', + align: 'left', + width: 110, + sorter: true, + }, + + { + dataIndex: 'qtyBeginGj', + title: '前日管存(吉焦)', + componentType: 'input', + align: 'left', + width: 130, + sorter: true, + }, + + { + dataIndex: 'qtyInGj', + title: '当日上载量(吉焦)', + componentType: 'input', + align: 'left', + width: 130, + sorter: true, + }, + + { + dataIndex: 'qtyOutGj', + title: '当日下载量(吉焦)', + componentType: 'input', + align: 'left', + width: 130, + sorter: true, + }, + + { + dataIndex: 'qtyAdjGj', + title: '手工调整量(吉焦)', + componentType: 'input', + align: 'left', + width: 130, + sorter: true, + }, + + { + dataIndex: 'qtyEndGj', + title: '当日管存(吉焦)', + componentType: 'input', + align: 'left', + width: 130, + sorter: true, + }, + + { + dataIndex: 'qtyBeginM3', + title: '前日管存(方)', + componentType: 'input', + align: 'left', + width: 130, + sorter: true, + }, + + { + dataIndex: 'qtyInM3', + title: '当日上载量(方)', + componentType: 'input', + align: 'left', + width: 130, + sorter: true, + }, + + { + dataIndex: 'qtyOutM3', + title: '当日下载量(方)', + componentType: 'input', + align: 'left', + width: 130, + sorter: true, + }, + + { + dataIndex: 'qtyEndM3', + title: '当日管存(方)', + componentType: 'input', + align: 'left', + width: 130, + sorter: true, + }, + + { + dataIndex: 'qtyAdjM3', + title: '手工调整量(方)', + componentType: 'input', + align: 'left', + width: 130, + sorter: true, + }, + + { + dataIndex: 'comName', + title: '公司', + componentType: 'input', + align: 'left', + width: 120, + 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: 'b47dd381770d47da9ca49f9d21d38b2c', + 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', + prefix: '', + suffix: '', + addonBefore: '', + addonAfter: '', + disabled: false, + allowClear: false, + showLabel: true, + required: false, + rules: [], + events: {}, + isSave: false, + isShow: true, + scan: false, + style: { width: '100%' }, + }, + }, + { + key: 'e51a332292714f788f7890c977f72a59', + field: 'staCode', + 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: '6b109c2beb2840dda3b4b5d85a844b96', + 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: '9dcc0bbb53904da49d928e4da4860761', + 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: 'e647efec0a294898858a162b0509aaa5', + field: 'qtyBeginGj', + 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: '450f669e343546d5aeffd0440ab2506a', + field: 'qtyInGj', + 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: 'e3f50b78be2a47d7ba9601322161f40b', + field: 'qtyOutGj', + 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: 'e590781b52504a499134e5e42b6c6d9b', + field: 'qtyAdjGj', + 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: '29083b2910854f2a8949d6c63c882509', + field: 'qtyEndGj', + 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: '54f46bcb72384f3ebc0e03474210ca64', + field: 'qtyBeginM3', + 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: '08e29c82735f4b88862e2f5a5fb7c311', + field: 'qtyInM3', + 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: '68b2dcdec4e146e38b2d0163cef1d2f5', + field: 'qtyOutM3', + 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: '6f71731861734aa5a18e5eb1ca58624e', + field: 'qtyEndM3', + 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: '85189d1a6d8642cf8d7ff166ccc97a04', + field: 'qtyAdjM3', + 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: 'f66d2947ad134056bdf7f7ab7e1489f8', + 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%' }, + }, + }, + ], + showActionButtonGroup: false, + buttonLocation: 'center', + actionColOptions: { span: 24 }, + showResetButton: false, + showSubmitButton: false, + hiddenComponent: [], +}; \ No newline at end of file diff --git a/src/views/inventory/LngInventoryPngZy/components/createForm.vue b/src/views/inventory/LngInventoryPngZy/components/createForm.vue new file mode 100644 index 0000000..2ea1944 --- /dev/null +++ b/src/views/inventory/LngInventoryPngZy/components/createForm.vue @@ -0,0 +1,295 @@ + + + + + diff --git a/src/views/inventory/LngInventoryPngZy/components/workflowPermission.ts b/src/views/inventory/LngInventoryPngZy/components/workflowPermission.ts new file mode 100644 index 0000000..76c8932 --- /dev/null +++ b/src/views/inventory/LngInventoryPngZy/components/workflowPermission.ts @@ -0,0 +1,227 @@ +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: 'b47dd381770d47da9ca49f9d21d38b2c', + children: [], + }, + { + required: true, + view: true, + edit: true, + disabled: false, + isSaveTable: false, + tableName: '', + fieldName: '接收站', + fieldId: 'staCode', + isSubTable: false, + showChildren: true, + type: 'input', + key: 'e51a332292714f788f7890c977f72a59', + children: [], + }, + { + required: true, + view: true, + edit: true, + disabled: false, + isSaveTable: false, + tableName: '', + fieldName: '计划日期', + fieldId: 'datePlan', + isSubTable: false, + showChildren: true, + type: 'input', + key: '6b109c2beb2840dda3b4b5d85a844b96', + children: [], + }, + { + required: true, + view: true, + edit: true, + disabled: false, + isSaveTable: false, + tableName: '', + fieldName: '计量日期', + fieldId: 'dateMea', + isSubTable: false, + showChildren: true, + type: 'input', + key: '9dcc0bbb53904da49d928e4da4860761', + children: [], + }, + { + required: true, + view: true, + edit: true, + disabled: false, + isSaveTable: false, + tableName: '', + fieldName: '前日管存(吉焦)', + fieldId: 'qtyBeginGj', + isSubTable: false, + showChildren: true, + type: 'input', + key: 'e647efec0a294898858a162b0509aaa5', + children: [], + }, + { + required: true, + view: true, + edit: true, + disabled: false, + isSaveTable: false, + tableName: '', + fieldName: '当日上载量(吉焦)', + fieldId: 'qtyInGj', + isSubTable: false, + showChildren: true, + type: 'input', + key: '450f669e343546d5aeffd0440ab2506a', + children: [], + }, + { + required: true, + view: true, + edit: true, + disabled: false, + isSaveTable: false, + tableName: '', + fieldName: '当日下载量(吉焦)', + fieldId: 'qtyOutGj', + isSubTable: false, + showChildren: true, + type: 'input', + key: 'e3f50b78be2a47d7ba9601322161f40b', + children: [], + }, + { + required: true, + view: true, + edit: true, + disabled: false, + isSaveTable: false, + tableName: '', + fieldName: '手工调整量(吉焦)', + fieldId: 'qtyAdjGj', + isSubTable: false, + showChildren: true, + type: 'input', + key: 'e590781b52504a499134e5e42b6c6d9b', + children: [], + }, + { + required: true, + view: true, + edit: true, + disabled: false, + isSaveTable: false, + tableName: '', + fieldName: '当日管存(吉焦)', + fieldId: 'qtyEndGj', + isSubTable: false, + showChildren: true, + type: 'input', + key: '29083b2910854f2a8949d6c63c882509', + children: [], + }, + { + required: true, + view: true, + edit: true, + disabled: false, + isSaveTable: false, + tableName: '', + fieldName: '前日管存(方)', + fieldId: 'qtyBeginM3', + isSubTable: false, + showChildren: true, + type: 'input', + key: '54f46bcb72384f3ebc0e03474210ca64', + children: [], + }, + { + required: true, + view: true, + edit: true, + disabled: false, + isSaveTable: false, + tableName: '', + fieldName: '当日上载量(方)', + fieldId: 'qtyInM3', + isSubTable: false, + showChildren: true, + type: 'input', + key: '08e29c82735f4b88862e2f5a5fb7c311', + children: [], + }, + { + required: true, + view: true, + edit: true, + disabled: false, + isSaveTable: false, + tableName: '', + fieldName: '当日下载量(方)', + fieldId: 'qtyOutM3', + isSubTable: false, + showChildren: true, + type: 'input', + key: '68b2dcdec4e146e38b2d0163cef1d2f5', + children: [], + }, + { + required: true, + view: true, + edit: true, + disabled: false, + isSaveTable: false, + tableName: '', + fieldName: '当日管存(方)', + fieldId: 'qtyEndM3', + isSubTable: false, + showChildren: true, + type: 'input', + key: '6f71731861734aa5a18e5eb1ca58624e', + children: [], + }, + { + required: true, + view: true, + edit: true, + disabled: false, + isSaveTable: false, + tableName: '', + fieldName: '手工调整量(方)', + fieldId: 'qtyAdjM3', + isSubTable: false, + showChildren: true, + type: 'input', + key: '85189d1a6d8642cf8d7ff166ccc97a04', + children: [], + }, + { + required: true, + view: true, + edit: true, + disabled: false, + isSaveTable: false, + tableName: '', + fieldName: '公司', + fieldId: 'comId', + isSubTable: false, + showChildren: true, + type: 'input', + key: 'f66d2947ad134056bdf7f7ab7e1489f8', + children: [], + }, +]; \ No newline at end of file diff --git a/src/views/inventory/LngInventoryPngZy/index.vue b/src/views/inventory/LngInventoryPngZy/index.vue new file mode 100644 index 0000000..3dc0bc0 --- /dev/null +++ b/src/views/inventory/LngInventoryPngZy/index.vue @@ -0,0 +1,288 @@ + + + \ No newline at end of file