From e896cefe31db443c70f842a6189824bf091d1500 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E2=80=98huanghaiixia=E2=80=99?= <980486410@.com> Date: Thu, 2 Apr 2026 18:21:21 +0800 Subject: [PATCH] =?UTF-8?q?=E9=87=87=E8=BF=90=E9=94=80=E5=85=B3=E8=81=94?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/contract/ContractSalesPngPur/index.ts | 113 +++ .../model/ContractSalesPngPurModel.ts | 63 ++ .../common/contractSalesPngPurPointModal.vue | 141 ++++ src/components/common/priceInfoList.vue | 2 +- src/router/routes/basic.ts | 8 + .../components/ContractSalesPngPurModal.vue | 110 +++ .../ContractSalesPngPur/components/Form.vue | 224 ++++++ .../ContractSalesPngPur/components/config.ts | 694 ++++++++++++++++++ .../components/createForm.vue | 434 +++++++++++ .../components/workflowPermission.ts | 225 ++++++ .../contract/ContractSalesPngPur/index.vue | 293 ++++++++ 11 files changed, 2306 insertions(+), 1 deletion(-) create mode 100644 src/api/contract/ContractSalesPngPur/index.ts create mode 100644 src/api/contract/ContractSalesPngPur/model/ContractSalesPngPurModel.ts create mode 100644 src/components/common/contractSalesPngPurPointModal.vue create mode 100644 src/views/contract/ContractSalesPngPur/components/ContractSalesPngPurModal.vue create mode 100644 src/views/contract/ContractSalesPngPur/components/Form.vue create mode 100644 src/views/contract/ContractSalesPngPur/components/config.ts create mode 100644 src/views/contract/ContractSalesPngPur/components/createForm.vue create mode 100644 src/views/contract/ContractSalesPngPur/components/workflowPermission.ts create mode 100644 src/views/contract/ContractSalesPngPur/index.vue diff --git a/src/api/contract/ContractSalesPngPur/index.ts b/src/api/contract/ContractSalesPngPur/index.ts new file mode 100644 index 0000000..6351b3f --- /dev/null +++ b/src/api/contract/ContractSalesPngPur/index.ts @@ -0,0 +1,113 @@ +import { LngContractSalesPngPointPageModel, LngContractSalesPngPointPageParams, LngContractSalesPngPointPageResult } from './model/ContractSalesPngPurModel'; +import { defHttp } from '/@/utils/http/axios'; +import { ErrorMessageMode } from '/#/axios'; + +enum Api { + // Page = '/contract/contractSalesPngPur/page', + Page = '/magic-api/contract/contractSalesPngPoint/pageList', + List = '/contract/contractSalesPngPur/list', + Info = '/contract/contractSalesPngPur/info', + LngContractSalesPngPoint = '/contract/contractSalesPngPur', + selectPcPageList = '/magic-api/contract/contractSalesPngPoint/selectPcPageList', + selectScPageList = '/magic-api/contract/contractSalesPngPoint/selectScPageList', + + + DataLog = '/contract/contractSalesPngPur/datalog', +} +// 销售合同 +export async function getContractScPageList(ksppId: String, mode: ErrorMessageMode = 'modal') { + return defHttp.get( + { + url: Api.selectScPageList, + params: { ksppId }, + }, + { + errorMessageMode: mode, + }, + ); +} +export async function getContractSalesPngPoint(params: LngContractSalesPngPointPageParams, mode: ErrorMessageMode = 'modal') { + return defHttp.get( + { + url: Api.selectPcPageList, + params, + }, + { + errorMessageMode: mode, + }, + ); +} +/** + * @description: 查询LngContractSalesPngPoint分页列表 + */ +export async function getLngContractSalesPngPointPage(params: LngContractSalesPngPointPageParams, mode: ErrorMessageMode = 'modal') { + return defHttp.get( + { + url: Api.Page, + params, + }, + { + errorMessageMode: mode, + }, + ); +} + +/** + * @description: 获取LngContractSalesPngPoint信息 + */ +export async function getLngContractSalesPngPoint(ksppId: String, mode: ErrorMessageMode = 'modal') { + return defHttp.get( + { + url: Api.Info, + params: { ksppId }, + }, + { + errorMessageMode: mode, + }, + ); +} + +/** + * @description: 新增LngContractSalesPngPoint + */ +export async function addLngContractSalesPngPoint(lngContractSalesPngPoint: Recordable, mode: ErrorMessageMode = 'modal') { + return defHttp.post( + { + url: Api.LngContractSalesPngPoint, + params: lngContractSalesPngPoint, + }, + { + errorMessageMode: mode, + }, + ); +} + +/** + * @description: 更新LngContractSalesPngPoint + */ +export async function updateLngContractSalesPngPoint(lngContractSalesPngPoint: Recordable, mode: ErrorMessageMode = 'modal') { + return defHttp.put( + { + url: Api.LngContractSalesPngPoint, + params: lngContractSalesPngPoint, + }, + { + errorMessageMode: mode, + }, + ); +} + +/** + * @description: 删除LngContractSalesPngPoint(批量删除) + */ +export async function deleteLngContractSalesPngPoint(ids: string[], mode: ErrorMessageMode = 'modal') { + return defHttp.delete( + { + url: Api.LngContractSalesPngPoint, + data: ids, + }, + { + errorMessageMode: mode, + }, + ); +} \ No newline at end of file diff --git a/src/api/contract/ContractSalesPngPur/model/ContractSalesPngPurModel.ts b/src/api/contract/ContractSalesPngPur/model/ContractSalesPngPurModel.ts new file mode 100644 index 0000000..b5dffa3 --- /dev/null +++ b/src/api/contract/ContractSalesPngPur/model/ContractSalesPngPurModel.ts @@ -0,0 +1,63 @@ +import { BasicPageParams, BasicFetchResult } from '/@/api/model/baseModel'; + +/** + * @description: LngContractSalesPngPoint分页参数 模型 + */ +export interface LngContractSalesPngPointPageParams extends BasicPageParams { + id: string; + + createUserId: string; + + kId: string; + + createDate: string; + + pointDelyCode: string; + + modifyDate: string; + + note: string; + + ruleUserId: string; + + deptId: string; + + transSign: string; + + pointTransCode: string; +} + +/** + * @description: LngContractSalesPngPoint分页返回值模型 + */ +export interface LngContractSalesPngPointPageModel { + id: string; + + createUserId: string; + + kId: string; + + createDate: string; + + pointDelyCode: string; + + modifyDate: string; + + note: string; + + ruleUserId: string; + + deptId: string; + + transSign: string; + + pointTransCode: string; +} + +0; + +/** + * @description: LngContractSalesPngPoint分页返回值结构 + */ +export type LngContractSalesPngPointPageResult = + BasicFetchResult; \ No newline at end of file diff --git a/src/components/common/contractSalesPngPurPointModal.vue b/src/components/common/contractSalesPngPurPointModal.vue new file mode 100644 index 0000000..97646b1 --- /dev/null +++ b/src/components/common/contractSalesPngPurPointModal.vue @@ -0,0 +1,141 @@ + + + + diff --git a/src/components/common/priceInfoList.vue b/src/components/common/priceInfoList.vue index 15ee858..4fdc033 100644 --- a/src/components/common/priceInfoList.vue +++ b/src/components/common/priceInfoList.vue @@ -22,7 +22,7 @@ - + diff --git a/src/router/routes/basic.ts b/src/router/routes/basic.ts index 0505071..6c1befe 100644 --- a/src/router/routes/basic.ts +++ b/src/router/routes/basic.ts @@ -398,6 +398,14 @@ export const PAGE_CUSTOM_ROUTE: AppRouteRecordRaw[] = [{ title: (route) => (route.query.formName) } }, + { + path: '/contract/ContractSalesPngPur/createForm', + name: 'ContractSalesPngPur', + component: () => import('/@/views/contract/ContractSalesPngPur/components/createForm.vue'), + meta: { + title: (route) => (route.query.formName) + } + }, ] diff --git a/src/views/contract/ContractSalesPngPur/components/ContractSalesPngPurModal.vue b/src/views/contract/ContractSalesPngPur/components/ContractSalesPngPurModal.vue new file mode 100644 index 0000000..0cf2395 --- /dev/null +++ b/src/views/contract/ContractSalesPngPur/components/ContractSalesPngPurModal.vue @@ -0,0 +1,110 @@ + + \ No newline at end of file diff --git a/src/views/contract/ContractSalesPngPur/components/Form.vue b/src/views/contract/ContractSalesPngPur/components/Form.vue new file mode 100644 index 0000000..cce714e --- /dev/null +++ b/src/views/contract/ContractSalesPngPur/components/Form.vue @@ -0,0 +1,224 @@ + + \ No newline at end of file diff --git a/src/views/contract/ContractSalesPngPur/components/config.ts b/src/views/contract/ContractSalesPngPur/components/config.ts new file mode 100644 index 0000000..458a09e --- /dev/null +++ b/src/views/contract/ContractSalesPngPur/components/config.ts @@ -0,0 +1,694 @@ +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: 'ksName', + label: '销售合同号/名称', + component: 'Input', + }, + { + field: 'cuName', + label: '客户', + component: 'Input', + }, +]; + +export const columns: BasicColumn[] = [ + { + dataIndex: 'cuName', + title: '客户', + componentType: 'input', + align: 'left', + + sorter: true, + }, + + { + dataIndex: 'ksNo', + title: '销售合同号', + componentType: 'input', + align: 'left', + + sorter: true, + }, + + { + dataIndex: 'kpName', + title: '销售合同名称', + componentType: 'input', + align: 'left', + + sorter: true, + }, + + { + dataIndex: 'pointDelyName', + title: '下载点', + componentType: 'input', + align: 'left', + + sorter: true, + }, + + { + dataIndex: 'dateFrom', + title: '销售合同有效期开始', + componentType: 'input', + align: 'left', + + sorter: true, + }, + + { + dataIndex: 'dateTo', + title: '销售合同有效期结束', + componentType: 'input', + align: 'left', + + sorter: true, + }, + + { + dataIndex: 'suName', + title: '供应商', + componentType: 'input', + align: 'left', + + sorter: true, + }, + + { + dataIndex: 'pointUpName', + title: '上载点', + componentType: 'input', + align: 'left', + + sorter: true, + }, + + { + dataIndex: 'ksName', + title: '采购合同', + componentType: 'input', + align: 'left', + + sorter: true, + }, + + { + dataIndex: 'suYsName', + title: '托运商', + componentType: 'input', + align: 'left', + + sorter: true, + }, + { + dataIndex: 'ktpName', + title: '运输合同', + componentType: 'input', + align: 'left', + + sorter: true, + }, + { + dataIndex: 'comName', + 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: '099a7c94e61348e190cf953f39d03075', + 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: '26e6b9a891894f36b32d12c6980d861d', + field: 'createUserId', + label: '客户', + type: 'input', + component: 'Input', + colProps: { span: 24 }, + defaultValue: '', + componentProps: { + width: '100%', + span: '', + defaultValue: '', + labelWidthMode: 'fix', + labelFixWidth: 120, + responsive: false, + respNewRow: false, + placeholder: '请输入客户', + prefix: '', + suffix: '', + addonBefore: '', + addonAfter: '', + disabled: false, + allowClear: false, + showLabel: true, + required: false, + rules: [], + events: {}, + isSave: false, + isShow: true, + scan: false, + style: { width: '100%' }, + }, + }, + { + key: '97b10c6ff8e34c8ebfd909837578cb70', + field: 'kId', + label: '销售合同号', + type: 'input', + component: 'Input', + colProps: { span: 24 }, + defaultValue: '', + componentProps: { + width: '100%', + span: '', + defaultValue: '', + labelWidthMode: 'fix', + labelFixWidth: 120, + responsive: false, + respNewRow: false, + placeholder: '请输入销售合同号', + prefix: '', + suffix: '', + addonBefore: '', + addonAfter: '', + disabled: false, + allowClear: false, + showLabel: true, + required: false, + rules: [], + events: {}, + isSave: false, + isShow: true, + scan: false, + style: { width: '100%' }, + }, + }, + { + key: 'c3b0c9629a6b42949f4714dd9ebf0927', + 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: '请输入销售合同名称', + prefix: '', + suffix: '', + addonBefore: '', + addonAfter: '', + disabled: false, + allowClear: false, + showLabel: true, + required: false, + rules: [], + events: {}, + isSave: false, + isShow: true, + scan: false, + style: { width: '100%' }, + }, + }, + { + key: '4ab1b6f5ae5c4eac95df041261fbc641', + 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: '请输入下载点', + prefix: '', + suffix: '', + addonBefore: '', + addonAfter: '', + disabled: false, + allowClear: false, + showLabel: true, + required: false, + rules: [], + events: {}, + isSave: false, + isShow: true, + scan: false, + style: { width: '100%' }, + }, + }, + { + key: '09f7ea6f69cb4e9291bed72bd0b25e20', + field: 'modifyDate', + label: '销售合同有效期开始', + type: 'input', + component: 'Input', + colProps: { span: 24 }, + defaultValue: '', + componentProps: { + width: '100%', + span: '', + defaultValue: '', + labelWidthMode: 'fix', + labelFixWidth: 120, + responsive: false, + respNewRow: false, + placeholder: '请输入销售合同有效期开始', + prefix: '', + suffix: '', + addonBefore: '', + addonAfter: '', + disabled: false, + allowClear: false, + showLabel: true, + required: false, + rules: [], + events: {}, + isSave: false, + isShow: true, + scan: false, + style: { width: '100%' }, + }, + }, + { + key: '5b457a72ec2d42369c8af2974d2bdd91', + 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: '请输入销售合同有效期结束', + prefix: '', + suffix: '', + addonBefore: '', + addonAfter: '', + disabled: false, + allowClear: false, + showLabel: true, + required: false, + rules: [], + events: {}, + isSave: false, + isShow: true, + scan: false, + style: { width: '100%' }, + }, + }, + { + key: '17f189a0b07b463ba37f7aacb08c2e35', + field: 'ruleUserId', + label: '供应商', + type: 'input', + component: 'Input', + colProps: { span: 24 }, + defaultValue: '', + componentProps: { + width: '100%', + span: '', + defaultValue: '', + labelWidthMode: 'fix', + labelFixWidth: 120, + responsive: false, + respNewRow: false, + placeholder: '请输入供应商', + prefix: '', + suffix: '', + addonBefore: '', + addonAfter: '', + disabled: false, + allowClear: false, + showLabel: true, + required: false, + rules: [], + events: {}, + isSave: false, + isShow: true, + scan: false, + style: { width: '100%' }, + }, + }, + { + key: '2363e0c349db47e7b4071d02af617086', + field: 'deptId', + label: '上载点', + type: 'input', + component: 'Input', + colProps: { span: 24 }, + defaultValue: '', + componentProps: { + width: '100%', + span: '', + defaultValue: '', + labelWidthMode: 'fix', + labelFixWidth: 120, + responsive: false, + respNewRow: false, + placeholder: '请输入上载点', + prefix: '', + suffix: '', + addonBefore: '', + addonAfter: '', + disabled: false, + allowClear: false, + showLabel: true, + required: false, + rules: [], + events: {}, + isSave: false, + isShow: true, + scan: false, + style: { width: '100%' }, + }, + }, + { + key: 'e4b8e7cb7c064a24be5666f39297492c', + 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: '请输入采购合同', + prefix: '', + suffix: '', + addonBefore: '', + addonAfter: '', + disabled: false, + allowClear: false, + showLabel: true, + required: false, + rules: [], + events: {}, + isSave: false, + isShow: true, + scan: false, + style: { width: '100%' }, + }, + }, + { + key: '6d8a64879c3f4ab78301709772e42fae', + field: 'pointTransCode', + label: '托运商', + type: 'input', + component: 'Input', + colProps: { span: 24 }, + defaultValue: '', + componentProps: { + width: '100%', + span: '', + defaultValue: '', + labelWidthMode: 'fix', + labelFixWidth: 120, + responsive: false, + respNewRow: false, + placeholder: '请输入托运商', + prefix: '', + suffix: '', + addonBefore: '', + addonAfter: '', + disabled: false, + allowClear: false, + showLabel: true, + required: false, + rules: [], + events: {}, + isSave: false, + isShow: true, + scan: false, + style: { width: '100%' }, + }, + }, + { + key: '34e71585c82c4b7c8e4b950f924116ef', + label: '表格组件', + field: 'lngContractSalesPngPointPurList', + type: 'form', + component: 'SubForm', + required: true, + colProps: { span: 24 }, + componentProps: { + mainKey: 'lngContractSalesPngPointPurList', + columns: [ + { + key: '35b4306b3bd640668fec95ba9a82fdc7', + title: '供应商', + dataIndex: 'suCode', + componentType: 'Input', + defaultValue: '', + componentProps: { + width: '100%', + span: '', + defaultValue: '', + labelWidthMode: 'fix', + labelFixWidth: 120, + responsive: false, + respNewRow: false, + placeholder: '请输入供应商', + prefix: '', + suffix: '', + addonBefore: '', + addonAfter: '', + disabled: false, + allowClear: false, + showLabel: true, + required: false, + rules: [], + events: {}, + isSave: false, + isShow: true, + scan: false, + }, + }, + { title: '操作', key: 'action', fixed: 'right', width: '50px' }, + ], + span: '24', + preloadType: 'api', + apiConfig: {}, + itemId: '', + dicOptions: [], + useSelectButton: false, + buttonName: '选择数据', + showLabel: true, + showComponentBorder: true, + showFormBorder: true, + showIndex: false, + isShow: true, + multipleHeads: [], + }, + }, + { + key: '85871c5877a047749ec8f25bde5ab379', + label: '表格组件', + field: 'lngContractSalesPngPointTransList', + type: 'form', + component: 'SubForm', + required: true, + colProps: { span: 24 }, + componentProps: { + mainKey: 'lngContractSalesPngPointTransList', + columns: [ + { + key: 'e5a91a5a0299403cbff6e9e242bdd931', + title: '托运商', + dataIndex: 'suCode', + componentType: 'Input', + defaultValue: '', + componentProps: { + width: '100%', + span: '', + defaultValue: '', + labelWidthMode: 'fix', + labelFixWidth: 120, + responsive: false, + respNewRow: false, + placeholder: '请输入托运商', + 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/contract/ContractSalesPngPur/components/createForm.vue b/src/views/contract/ContractSalesPngPur/components/createForm.vue new file mode 100644 index 0000000..ee5c0ec --- /dev/null +++ b/src/views/contract/ContractSalesPngPur/components/createForm.vue @@ -0,0 +1,434 @@ + + + + + diff --git a/src/views/contract/ContractSalesPngPur/components/workflowPermission.ts b/src/views/contract/ContractSalesPngPur/components/workflowPermission.ts new file mode 100644 index 0000000..dcc87b8 --- /dev/null +++ b/src/views/contract/ContractSalesPngPur/components/workflowPermission.ts @@ -0,0 +1,225 @@ +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: '099a7c94e61348e190cf953f39d03075', + children: [], + }, + { + required: true, + view: true, + edit: true, + disabled: false, + isSaveTable: false, + tableName: '', + fieldName: '客户', + fieldId: 'createUserId', + isSubTable: false, + showChildren: true, + type: 'input', + key: '26e6b9a891894f36b32d12c6980d861d', + children: [], + }, + { + required: true, + view: true, + edit: true, + disabled: false, + isSaveTable: false, + tableName: '', + fieldName: '销售合同号', + fieldId: 'kId', + isSubTable: false, + showChildren: true, + type: 'input', + key: '97b10c6ff8e34c8ebfd909837578cb70', + children: [], + }, + { + required: true, + view: true, + edit: true, + disabled: false, + isSaveTable: false, + tableName: '', + fieldName: '销售合同名称', + fieldId: 'createDate', + isSubTable: false, + showChildren: true, + type: 'input', + key: 'c3b0c9629a6b42949f4714dd9ebf0927', + children: [], + }, + { + required: true, + view: true, + edit: true, + disabled: false, + isSaveTable: false, + tableName: '', + fieldName: '下载点', + fieldId: 'pointDelyCode', + isSubTable: false, + showChildren: true, + type: 'input', + key: '4ab1b6f5ae5c4eac95df041261fbc641', + children: [], + }, + { + required: true, + view: true, + edit: true, + disabled: false, + isSaveTable: false, + tableName: '', + fieldName: '销售合同有效期开始', + fieldId: 'modifyDate', + isSubTable: false, + showChildren: true, + type: 'input', + key: '09f7ea6f69cb4e9291bed72bd0b25e20', + children: [], + }, + { + required: true, + view: true, + edit: true, + disabled: false, + isSaveTable: false, + tableName: '', + fieldName: '销售合同有效期结束', + fieldId: 'note', + isSubTable: false, + showChildren: true, + type: 'input', + key: '5b457a72ec2d42369c8af2974d2bdd91', + children: [], + }, + { + required: true, + view: true, + edit: true, + disabled: false, + isSaveTable: false, + tableName: '', + fieldName: '供应商', + fieldId: 'ruleUserId', + isSubTable: false, + showChildren: true, + type: 'input', + key: '17f189a0b07b463ba37f7aacb08c2e35', + children: [], + }, + { + required: true, + view: true, + edit: true, + disabled: false, + isSaveTable: false, + tableName: '', + fieldName: '上载点', + fieldId: 'deptId', + isSubTable: false, + showChildren: true, + type: 'input', + key: '2363e0c349db47e7b4071d02af617086', + children: [], + }, + { + required: true, + view: true, + edit: true, + disabled: false, + isSaveTable: false, + tableName: '', + fieldName: '采购合同', + fieldId: 'transSign', + isSubTable: false, + showChildren: true, + type: 'input', + key: 'e4b8e7cb7c064a24be5666f39297492c', + children: [], + }, + { + required: true, + view: true, + edit: true, + disabled: false, + isSaveTable: false, + tableName: '', + fieldName: '托运商', + fieldId: 'pointTransCode', + isSubTable: false, + showChildren: true, + type: 'input', + key: '6d8a64879c3f4ab78301709772e42fae', + children: [], + }, + { + required: true, + view: true, + edit: true, + disabled: false, + isSubTable: true, + showChildren: false, + tableName: 'lngContractSalesPngPointPurList', + fieldName: '表格组件', + fieldId: 'lngContractSalesPngPointPurList', + type: 'form', + key: '34e71585c82c4b7c8e4b950f924116ef', + children: [ + { + required: true, + view: true, + edit: true, + disabled: false, + isSubTable: true, + isSaveTable: false, + showChildren: false, + tableName: 'lngContractSalesPngPointPurList', + fieldName: '供应商', + fieldId: 'suCode', + key: '35b4306b3bd640668fec95ba9a82fdc7', + children: [], + }, + ], + }, + { + required: true, + view: true, + edit: true, + disabled: false, + isSubTable: true, + showChildren: false, + tableName: 'lngContractSalesPngPointTransList', + fieldName: '表格组件', + fieldId: 'lngContractSalesPngPointTransList', + type: 'form', + key: '85871c5877a047749ec8f25bde5ab379', + children: [ + { + required: true, + view: true, + edit: true, + disabled: false, + isSubTable: true, + isSaveTable: false, + showChildren: false, + tableName: 'lngContractSalesPngPointTransList', + fieldName: '托运商', + fieldId: 'suCode', + key: 'e5a91a5a0299403cbff6e9e242bdd931', + children: [], + }, + ], + }, +]; \ No newline at end of file diff --git a/src/views/contract/ContractSalesPngPur/index.vue b/src/views/contract/ContractSalesPngPur/index.vue new file mode 100644 index 0000000..4f09367 --- /dev/null +++ b/src/views/contract/ContractSalesPngPur/index.vue @@ -0,0 +1,293 @@ + + + \ No newline at end of file