From fd985c6d2a3bfbca7eb5e9dd84bc482d73435889 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E2=80=98huanghaiixia=E2=80=99?= <980486410@.com> Date: Tue, 3 Mar 2026 13:33:49 +0800 Subject: [PATCH 1/4] =?UTF-8?q?=E5=90=88=E5=90=8C?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../ContractProc/components/createForm.vue | 49 +++++++++++++++---- .../ContractPurInt/components/createForm.vue | 22 +++++++++ .../ContractPurPng/components/createForm.vue | 24 ++++++++- .../ContractSales/components/createForm.vue | 22 +++++++++ .../components/createForm.vue | 22 +++++++++ .../components/createForm.vue | 33 ++++++++++--- .../components/createForm.vue | 32 ++++++++++-- 7 files changed, 184 insertions(+), 20 deletions(-) diff --git a/src/views/contract/ContractProc/components/createForm.vue b/src/views/contract/ContractProc/components/createForm.vue index e66b9b6..824f582 100644 --- a/src/views/contract/ContractProc/components/createForm.vue +++ b/src/views/contract/ContractProc/components/createForm.vue @@ -14,11 +14,6 @@ - - - - - @@ -53,6 +48,11 @@ + + + + + @@ -82,7 +82,7 @@ - + @@ -221,6 +221,7 @@ import { getDictionary } from '/@/api/sales/Customer'; import { useModal } from '/@/components/Modal'; import { addLngContract,updateLngContract, getLngContract,getParameter } from '/@/api/contract/ContractProc'; + import { getLngContractFact } from '/@/api/contract/ContractFact'; import { getLngAppro,getCompDept } from '/@/api/approve/Appro'; import dayjs from 'dayjs'; import { h } from 'vue'; @@ -289,7 +290,8 @@ empName: [{ required: true, message: "该项为必填项", trigger: 'change' }], bDeptName: [{ required: false, message: "该项为必填项", trigger: 'change' }], dateTo:[{ required: true, message: "该项为必填项", trigger: 'change' }], - dateFrom:[{ required: true, message: "该项为必填项", trigger: 'change' }] + dateFrom:[{ required: true, message: "该项为必填项", trigger: 'change' }], + staName:[{ required: true, message: "该项为必填项", trigger: 'change' }], }); const layout = { labelCol: { span: 8 }, @@ -404,6 +406,7 @@ Object.assign(dataListPrice.value, formState.lngPriceProcList || []) formState.dateFrom = formState.dateFrom ? dayjs(formState.dateFrom) : null formState.dateTo = formState.dateTo ? dayjs(formState.dateTo) : null + formState.staName = formState.lngContractProcList[0]?.staName dataListPrice.value.forEach(v =>{ v.dateFromNew = v.dateFrom ? dayjs(v.dateFrom) : null v.dateToF = v.dateToF ? dayjs(v.dateToF) : null @@ -423,7 +426,9 @@ dataListAppro.value.forEach(v => { // v.approId = v.id }) - + dataListContractFact.value.forEach(v => { + v.kFactId = v.id + }) } catch (error) { spinning.value = false } @@ -538,11 +543,14 @@ formState.cpName = val[0].suName } const handleSuccessContractFact = (val) => { - val.forEach(v => { + val.forEach((v, idx) => { + v.kFactId = v.id + v.sort = idx v.id = null }) if (!dataListContractFact.value.length) { dataListContractFact.value = val + getContractFact() return } let arr = [] @@ -556,10 +564,31 @@ }) }) dataListContractFact.value = unique([...dataListContractFact.value, ...arr], 'kNo') + getContractFact() + } + const getContractFact = async () => { + let a = [] + dataListContractFact.value.forEach(v=>{ + if (v.relTypeCode == 'M') { + a.push(v) + } + }) + if(a.length == 1) { + const res = await getLngContractFact(a[0].kFactId) + formState.kNo = formState.kNo ? formState.kNo : res?.kNo + formState.kName = formState.kName ? formState.kName : res?.kName + formState.kPeriod = formState.kPeriod ? formState.kPeriod : res?.periodTypeCode + formState.curCode = formState.curCode ? formState.curCode : res?.curCode + formState.dateFrom = formState.dateFrom ? formState.dateFrom : (res?.dateFrom ? dayjs(res?.dateFrom) : null) + formState.dateTo = formState.dateTo ? formState.dateTo : (res?.dateTo ? dayjs(res?.dateTo) : null) + formState.cpName = formState.cpName ? formState.cpName : (res?.lngContractFactCpList || [])[0]?.cpName + formState.cpCode = formState.cpCode ? formState.cpCode : (res?.lngContractFactCpList || [])[0]?.cpCode + } } const handleSuccessDownLoad = (val) => { formState.lngContractProcList[0].staCode = val[0].code formState.lngContractProcList[0].staName = val[0].fullName + formState.staName = val[0].fullName } function unique(arr, u_key) { @@ -591,7 +620,7 @@ dataListPrice.value[k].dateToF = dataListPrice.value[k].dateToF ? dayjs(dataListPrice.value[k].dateToF).format('YYYY-MM-DD HH:mm:ss') : null dataListPrice.value[k].dateToY = dataListPrice.value[k].dateToY ? dayjs(dataListPrice.value[k].dateToY).format('MM-DD') : null - dataListPrice.value[k].comCode = formState.comId + dataListPrice.value[k].comId = formState.comId dataListPrice.value[k].suCode = formState.cpCode dataListPrice.value[k].staCode = formState.lngContractProcList[0].staCode let arr = dataListPrice.value[k].lngPriceProcDtlList || [] diff --git a/src/views/contract/ContractPurInt/components/createForm.vue b/src/views/contract/ContractPurInt/components/createForm.vue index f0158ce..c44bc88 100644 --- a/src/views/contract/ContractPurInt/components/createForm.vue +++ b/src/views/contract/ContractPurInt/components/createForm.vue @@ -285,6 +285,7 @@ import { getDictionary } from '/@/api/sales/Customer'; import { useModal } from '/@/components/Modal'; import { addLngContract,updateLngContract, getLngContract, getAllPriceTerm} from '/@/api/contract/ContractPurInt'; + import { getLngContractFact } from '/@/api/contract/ContractFact'; import { getAllCurrency } from '/@/api/contract/ContractFact'; import { getLngAppro,getCompDept } from '/@/api/approve/Appro'; import dayjs from 'dayjs'; @@ -603,6 +604,7 @@ }) if (!dataListContractFact.value.length) { dataListContractFact.value = val + getContractFact() return } let arr = [] @@ -616,6 +618,26 @@ }) }) dataListContractFact.value = unique([...dataListContractFact.value, ...arr], 'kNo') + getContractFact() + } + const getContractFact = async () => { + let a = [] + dataListContractFact.value.forEach(v=>{ + if (v.relTypeCode == 'M') { + a.push(v) + } + }) + if(a.length == 1) { + const res = await getLngContractFact(a[0].kFactId) + formState.kNo = formState.kNo ? formState.kNo : res?.kNo + formState.kName = formState.kName ? formState.kName : res?.kName + formState.kPeriod = formState.kPeriod ? formState.kPeriod : res?.periodTypeCode + formState.curCode = formState.curCode ? formState.curCode : res?.curCode + formState.dateFrom = formState.dateFrom ? formState.dateFrom : (res?.dateFrom ? dayjs(res?.dateFrom) : null) + formState.dateTo = formState.dateTo ? formState.dateTo : (res?.dateTo ? dayjs(res?.dateTo) : null) + formState.cpName = formState.cpName ? formState.cpName : (res?.lngContractFactCpList || [])[0]?.cpName + formState.cpCode = formState.cpCode ? formState.cpCode : (res?.lngContractFactCpList || [])[0]?.cpCode + } } function unique(arr, u_key) { const map = new Map() diff --git a/src/views/contract/ContractPurPng/components/createForm.vue b/src/views/contract/ContractPurPng/components/createForm.vue index 691cd1c..122d0eb 100644 --- a/src/views/contract/ContractPurPng/components/createForm.vue +++ b/src/views/contract/ContractPurPng/components/createForm.vue @@ -187,6 +187,7 @@ import { getDictionary } from '/@/api/sales/Customer'; import { useModal } from '/@/components/Modal'; import { addLngContract,updateLngContract, getLngContract } from '/@/api/contract/ContractPurPng'; + import { getLngContractFact } from '/@/api/contract/ContractFact'; import { getLngAppro,getCompDept } from '/@/api/approve/Appro'; import dayjs from 'dayjs'; import { h } from 'vue'; @@ -492,11 +493,13 @@ formState.cpName = val[0].suName } const handleSuccessContractFact = (val) => { - val.forEach(v => { + val.forEach(v => { + v.idNew = v.id v.id = null }) if (!dataListContractFact.value.length) { dataListContractFact.value = val + getContractFact() return } let arr = [] @@ -510,6 +513,25 @@ }) }) dataListContractFact.value = unique([...dataListContractFact.value, ...arr], 'kNo') + getContractFact() + } + const getContractFact = async () => { + let a = [] + dataListContractFact.value.forEach(v=>{ + if (v.relTypeCode == 'M') { + a.push(v) + } + }) + if(a.length == 1) { + const res = await getLngContractFact(a[0].id || a[0].idNew) + formState.kNo = formState.kNo ? formState.kNo : res?.kNo + formState.kName = formState.kName ? formState.kName : res?.kName + formState.kPeriod = formState.kPeriod ? formState.kPeriod : res?.periodTypeCode + formState.dateFrom = formState.dateFrom ? formState.dateFrom : (res?.dateFrom ? dayjs(res?.dateFrom) : null) + formState.dateTo = formState.dateTo ? formState.dateTo : (res?.dateTo ? dayjs(res?.dateTo) : null) + formState.cpName = formState.cpName ? formState.cpName : (res?.lngContractFactCpList || [])[0]?.cpName + formState.cpCode = formState.cpCode ? formState.cpCode : (res?.lngContractFactCpList || [])[0]?.cpCode + } } const cancel = () => { isShow.value = false diff --git a/src/views/contract/ContractSales/components/createForm.vue b/src/views/contract/ContractSales/components/createForm.vue index 63aeeb6..72ce258 100644 --- a/src/views/contract/ContractSales/components/createForm.vue +++ b/src/views/contract/ContractSales/components/createForm.vue @@ -189,6 +189,7 @@ import { getDictionary } from '/@/api/sales/Customer'; import { useModal } from '/@/components/Modal'; import { addLngContract,updateLngContract, getLngContract, getTransList, getPurList } from '/@/api/contract/ContractSales'; + import { getLngContractFact } from '/@/api/contract/ContractFact'; import { getLngAppro,getCompDept } from '/@/api/approve/Appro'; import dayjs from 'dayjs'; import { getAppEnvConfig } from '/@/utils/env'; @@ -528,6 +529,7 @@ }) if (!dataListContractFact.value.length) { dataListContractFact.value = val + getContractFact() return } let arr = [] @@ -541,6 +543,26 @@ }) }) dataListContractFact.value = unique([...dataListContractFact.value, ...arr], 'kNo') + getContractFact() + + } + const getContractFact = async () => { + let a = [] + dataListContractFact.value.forEach(v=>{ + if (v.relTypeCode == 'M') { + a.push(v) + } + }) + if(a.length == 1) { + const res = await getLngContractFact(a[0].kFactId) + formState.kNo = formState.kNo ? formState.kNo : res?.kNo + formState.kName = formState.kName ? formState.kName : res?.kName + formState.kPeriod = formState.kPeriod ? formState.kPeriod : res?.periodTypeCode + formState.dateFrom = formState.dateFrom ? formState.dateFrom : (res?.dateFrom ? dayjs(res?.dateFrom) : null) + formState.dateTo = formState.dateTo ? formState.dateTo : (res?.dateTo ? dayjs(res?.dateTo) : null) + formState.cpName = formState.cpName ? formState.cpName : (res?.lngContractFactCpList || [])[0]?.cpName + formState.cpCode = formState.cpCode ? formState.cpCode : (res?.lngContractFactCpList || [])[0]?.cpCode + } } const handleSuccessDownLoad = async (val, type) => { if (type == 'trans') { diff --git a/src/views/contract/ContractSalesInt/components/createForm.vue b/src/views/contract/ContractSalesInt/components/createForm.vue index e25642f..0e68af5 100644 --- a/src/views/contract/ContractSalesInt/components/createForm.vue +++ b/src/views/contract/ContractSalesInt/components/createForm.vue @@ -286,6 +286,7 @@ import { useModal } from '/@/components/Modal'; import {getAllPriceTerm} from '/@/api/contract/ContractPurInt'; import { addLngContract,updateLngContract, getLngContract} from '/@/api/contract/ContractSalesInt'; + import { getLngContractFact } from '/@/api/contract/ContractFact'; import { getAllCurrency } from '/@/api/contract/ContractFact'; import { getLngAppro,getCompDept } from '/@/api/approve/Appro'; import dayjs from 'dayjs'; @@ -605,6 +606,7 @@ }) if (!dataListContractFact.value.length) { dataListContractFact.value = val + getContractFact() return } let arr = [] @@ -618,6 +620,26 @@ }) }) dataListContractFact.value = unique([...dataListContractFact.value, ...arr], 'kNo') + getContractFact() + } + const getContractFact = async () => { + let a = [] + dataListContractFact.value.forEach(v=>{ + if (v.relTypeCode == 'M') { + a.push(v) + } + }) + if(a.length == 1) { + const res = await getLngContractFact(a[0].kFactId) + formState.kNo = formState.kNo ? formState.kNo : res?.kNo + formState.kName = formState.kName ? formState.kName : res?.kName + formState.kPeriod = formState.kPeriod ? formState.kPeriod : res?.periodTypeCode + formState.curCode = formState.curCode ? formState.curCode : res?.curCode + formState.dateFrom = formState.dateFrom ? formState.dateFrom : (res?.dateFrom ? dayjs(res?.dateFrom) : null) + formState.dateTo = formState.dateTo ? formState.dateTo : (res?.dateTo ? dayjs(res?.dateTo) : null) + formState.cpName = formState.cpName ? formState.cpName : (res?.lngContractFactCpList || [])[0]?.cpName + formState.cpCode = formState.cpCode ? formState.cpCode : (res?.lngContractFactCpList || [])[0]?.cpCode + } } function unique(arr, u_key) { const map = new Map() diff --git a/src/views/contract/ContractSalesLng/components/createForm.vue b/src/views/contract/ContractSalesLng/components/createForm.vue index d0d9963..7373b64 100644 --- a/src/views/contract/ContractSalesLng/components/createForm.vue +++ b/src/views/contract/ContractSalesLng/components/createForm.vue @@ -14,11 +14,6 @@ - - - - - @@ -68,7 +63,11 @@ - + + + + + @@ -165,6 +164,7 @@ import { getDictionary } from '/@/api/sales/Customer'; import { useModal } from '/@/components/Modal'; import { addLngContract,updateLngContract, getLngContract, getTransList, getPurList } from '/@/api/contract/ContractSalesLng'; + import { getLngContractFact } from '/@/api/contract/ContractFact'; import { getLngAppro,getCompDept } from '/@/api/approve/Appro'; import dayjs from 'dayjs'; import { getAppEnvConfig } from '/@/utils/env'; @@ -450,10 +450,12 @@ } const handleSuccessContractFact = (val) => { val.forEach(v => { + v.idNew = v.id v.id = null }) if (!dataListContractFact.value.length) { dataListContractFact.value = val + getContractFact() return } let arr = [] @@ -467,6 +469,25 @@ }) }) dataListContractFact.value = unique([...dataListContractFact.value, ...arr], 'kNo') + getContractFact() + } + const getContractFact = async () => { + let a = [] + dataListContractFact.value.forEach(v=>{ + if (v.relTypeCode == 'M') { + a.push(v) + } + }) + if(a.length == 1) { + const res = await getLngContractFact(a[0].id || a[0].idNew) + formState.kNo = formState.kNo ? formState.kNo : res?.kNo + formState.kName = formState.kName ? formState.kName : res?.kName + formState.kPeriod = formState.kPeriod ? formState.kPeriod : res?.periodTypeCode + formState.dateFrom = formState.dateFrom ? formState.dateFrom : (res?.dateFrom ? dayjs(res?.dateFrom) : null) + formState.dateTo = formState.dateTo ? formState.dateTo : (res?.dateTo ? dayjs(res?.dateTo) : null) + formState.cpName = formState.cpName ? formState.cpName : (res?.lngContractFactCpList || [])[0]?.cpName + formState.cpCode = formState.cpCode ? formState.cpCode : (res?.lngContractFactCpList || [])[0]?.cpCode + } } function unique(arr, u_key) { const map = new Map() diff --git a/src/views/contract/ContractTransPng/components/createForm.vue b/src/views/contract/ContractTransPng/components/createForm.vue index 5ab53ab..72e4e0e 100644 --- a/src/views/contract/ContractTransPng/components/createForm.vue +++ b/src/views/contract/ContractTransPng/components/createForm.vue @@ -225,6 +225,7 @@ import { getDictionary } from '/@/api/sales/Customer'; import { useModal } from '/@/components/Modal'; import { addLngContract,updateLngContract, getLngContract } from '/@/api/contract/ContractTransPng'; + import { getLngContractFact } from '/@/api/contract/ContractFact'; import { getLngAppro,getCompDept } from '/@/api/approve/Appro'; import dayjs from 'dayjs'; import { h } from 'vue'; @@ -432,7 +433,9 @@ dataListAppro.value.forEach(v => { // v.approId = v.id }) - + dataListContractFact.value.forEach(v => { + v.kFactId = v.id + }) } catch (error) { spinning.value = false } @@ -558,11 +561,14 @@ formState.cpName = val[0].suName } const handleSuccessContractFact = (val) => { - val.forEach(v => { + val.forEach((v, idx) => { + v.kFactId = v.id + v.sort = idx v.id = null }) if (!dataListContractFact.value.length) { dataListContractFact.value = val + getContractFact() return } let arr = [] @@ -576,6 +582,26 @@ }) }) dataListContractFact.value = unique([...dataListContractFact.value, ...arr], 'kNo') + getContractFact() + } + const getContractFact = async () => { + let a = [] + dataListContractFact.value.forEach(v=>{ + if (v.relTypeCode == 'M') { + a.push(v) + } + }) + if(a.length == 1) { + const res = await getLngContractFact(a[0].kFactId) + formState.kNo = formState.kNo ? formState.kNo : res?.kNo + formState.kName = formState.kName ? formState.kName : res?.kName + formState.kPeriod = formState.kPeriod ? formState.kPeriod : res?.periodTypeCode + formState.curCode = formState.curCode ? formState.curCode : res?.curCode + formState.dateFrom = formState.dateFrom ? formState.dateFrom : (res?.dateFrom ? dayjs(res?.dateFrom) : null) + formState.dateTo = formState.dateTo ? formState.dateTo : (res?.dateTo ? dayjs(res?.dateTo) : null) + formState.cpName = formState.cpName ? formState.cpName : (res?.lngContractFactCpList || [])[0]?.cpName + formState.cpCode = formState.cpCode ? formState.cpCode : (res?.lngContractFactCpList || [])[0]?.cpCode + } } const handleSuccessDownLoad = (val, type) => { if (type == 'up') { @@ -616,7 +642,7 @@ let a = dataListPrice.value[i].lngPriceTransPngList[k] let flag = !a.dateFrom || !a.dateToCode || (a.dateToCode=='F'&&!a.dateToF) || (a.dateToCode=='Y'&&!a.dateToY) if (flag) { - message.warn('请完善管输价格必选项8') + message.warn('请完善管输价格必选项') return } dataListPrice.value[i].lngPriceTransPngList[k].dateFrom = dataListPrice.value[i].lngPriceTransPngList[k].dateFrom ? dayjs(dataListPrice.value[i].lngPriceTransPngList[k].dateFrom).format('YYYY-MM-DD HH:mm:ss'):null From 7c8f585f9e2875769977a7b0354f43babaafc492 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E2=80=98huanghaiixia=E2=80=99?= <980486410@.com> Date: Tue, 3 Mar 2026 16:14:37 +0800 Subject: [PATCH 2/4] =?UTF-8?q?=E6=8F=90=E4=BA=A4=E5=AE=A1=E6=89=B9?= =?UTF-8?q?=E6=B5=81=E7=A8=8B=E9=9A=90=E8=97=8F=E5=8F=96=E6=B6=88=E7=AD=89?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/SecondDev/OpinionDialog.vue | 24 ++++++----- src/views/secondDev/createFlow.vue | 48 +++++++--------------- 2 files changed, 28 insertions(+), 44 deletions(-) diff --git a/src/components/SecondDev/OpinionDialog.vue b/src/components/SecondDev/OpinionDialog.vue index 1037910..6c47a8a 100644 --- a/src/components/SecondDev/OpinionDialog.vue +++ b/src/components/SecondDev/OpinionDialog.vue @@ -1,7 +1,7 @@ - + @@ -72,6 +72,7 @@ const isEnd = ref(false); let _action = ref('agree'); + const actionType= ref('') let _processId = ''; let _taskId = ''; let flowNextNodes = ref([]); @@ -95,14 +96,15 @@ return flowNextNodes.value.length > 1 ? '多个节点,请确认流向节点' : flowNextNodes?.value[0]?.activityName; } - function toggleDialog({ isClose, action, callback, rejectCancel, processId, taskId, nextNodes } = {}) { - if (isClose) { - isOpen.value = false; - loading.value = false; - return; - } - isOpen.value = true; - _action.value = action; + function toggleDialog({ isClose, action, callback, rejectCancel, processId, taskId, nextNodes,actionFlowType } = {}) { + if (isClose) { + isOpen.value = false; + loading.value = false; + return; + } + isOpen.value = true; + _action.value = action; + actionType.value = actionFlowType _callback = callback; _onCancel = rejectCancel; _processId = processId; diff --git a/src/views/secondDev/createFlow.vue b/src/views/secondDev/createFlow.vue index a73ec84..41cda70 100644 --- a/src/views/secondDev/createFlow.vue +++ b/src/views/secondDev/createFlow.vue @@ -10,7 +10,7 @@ 关闭 - + @@ -271,24 +271,20 @@ data.submitLoading = false; return; } - const nextTaskUser = {}; - let arr = (nextNodes[0]?.userList||[]).map(v =>v.F_UserId) - nextTaskUser[nextNodes[0]?.activityId] = arr.join(',') - approvalData.nextTaskUser = nextTaskUser - onFinish({}) - // opinionDlg.value.toggleDialog({ - // action: 'agree', - // nextNodes, - // rejectCancel: () => { - // loading.value = false; - // data.submitLoading = false; - // }, - // callback: (args) => { - // approvalData.approvedContent = args.opinion; - // approvalData.nextTaskUser = args.nextTaskUser; - // onFinish({}); - // } - // }); + opinionDlg.value.toggleDialog({ + action: 'agree', + actionFlowType: 'submit', + nextNodes, + rejectCancel: () => { + loading.value = false; + data.submitLoading = false; + }, + callback: (args) => { + approvalData.approvedContent = args.opinion; + approvalData.nextTaskUser = args.nextTaskUser; + onFinish({}); + } + }); } catch (error) { loading.value = false; data.submitLoading = false; @@ -372,20 +368,6 @@ disableSubmit.value = false } } - async function saveLaunchSubmit () { - Modal.confirm({ - title: '提示', - content: '请确认是否提交流程,提交后流程不能删除', - okText: '确定', - cancelText: '取消', - onOk: () => { - saveLaunch() - }, - onCancel: () => { - - } - }); - } async function saveLaunchNew() { if (!taskId.value && rDraftsId.value != '0') { try { From 207f8cc3114b6c5380e514015d899217b31b0315 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E2=80=98huanghaiixia=E2=80=99?= <980486410@.com> Date: Tue, 3 Mar 2026 17:01:17 +0800 Subject: [PATCH 3/4] =?UTF-8?q?=E5=90=88=E5=90=8C=E5=88=97=E8=A1=A8?= =?UTF-8?q?=E5=AD=97=E6=AE=B5=E5=AE=BD=E5=BA=A6=E8=B0=83=E6=95=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/common/certificateModal.vue | 3 +- .../approve/Appro/components/createForm.vue | 6 ++-- .../ContractFact/components/createForm.vue | 6 ++-- .../ContractProc/components/config.ts | 35 +++++-------------- .../ContractProc/components/createForm.vue | 6 ++-- src/views/contract/ContractProc/index.vue | 2 +- .../ContractPurInt/components/config.ts | 25 ++++--------- .../ContractPurInt/components/createForm.vue | 6 ++-- src/views/contract/ContractPurInt/index.vue | 2 +- .../ContractPurPng/components/config.ts | 28 +++++---------- .../ContractPurPng/components/createForm.vue | 6 ++-- src/views/contract/ContractPurPng/index.vue | 2 +- .../ContractSales/components/config.ts | 34 +++++------------- .../ContractSales/components/createForm.vue | 6 ++-- src/views/contract/ContractSales/index.vue | 2 +- .../ContractSalesInt/components/config.ts | 25 ++++--------- .../components/createForm.vue | 6 ++-- src/views/contract/ContractSalesInt/index.vue | 2 +- .../ContractSalesLng/components/config.ts | 32 ++++++----------- .../components/createForm.vue | 6 ++-- src/views/contract/ContractSalesLng/index.vue | 2 +- .../ContractTransPng/components/config.ts | 25 +++++-------- .../components/createForm.vue | 6 ++-- src/views/contract/ContractTransPng/index.vue | 2 +- 24 files changed, 102 insertions(+), 173 deletions(-) diff --git a/src/components/common/certificateModal.vue b/src/components/common/certificateModal.vue index 47e9179..0e0a5fc 100644 --- a/src/components/common/certificateModal.vue +++ b/src/components/common/certificateModal.vue @@ -142,7 +142,8 @@ const [registerModal, { setModalProps, closeModal }] = useModalInner(async (data ...formState, dateFrom: formState.dateFrom ? dayjs(formState.dateFrom).format('YYYY-MM-DD') : '', dateTo: formState.dateTo ? dayjs(formState.dateTo).format('YYYY-MM-DD') : '', - fileList: formState.fileList || [] + fileList: formState.fileList || [], + docTypeName: (optionList.find(v=>v.code == formState.docTypeCode) || {}).fullName } let idx =list.value.findIndex(v => v.docTypeCode == obj.docTypeCode) if (idx > -1 && formState.docTypeCode !=curData.value) { diff --git a/src/views/approve/Appro/components/createForm.vue b/src/views/approve/Appro/components/createForm.vue index 7fd370b..4bdf100 100644 --- a/src/views/approve/Appro/components/createForm.vue +++ b/src/views/approve/Appro/components/createForm.vue @@ -245,8 +245,10 @@ formState.bDeptName = res?.dept?.name formState.bDeptId = res?.dept?.id - formState.comName = res?.comp?.name - formState.comId = res?.comp?.id + if (!pageId.value) { + formState.comName = res?.comp?.name + formState.comId = res?.comp?.id + } } const onSearch = (val)=> { openModalDept(true,{isUpdate: false}) diff --git a/src/views/contract/ContractFact/components/createForm.vue b/src/views/contract/ContractFact/components/createForm.vue index 4faee43..134c4ee 100644 --- a/src/views/contract/ContractFact/components/createForm.vue +++ b/src/views/contract/ContractFact/components/createForm.vue @@ -440,8 +440,10 @@ formState.bDeptName = res?.dept?.name formState.bDeptId = res?.dept?.id - formState.comName = res?.comp?.name - formState.comId = res?.comp?.id + if (!pageId.value) { + formState.comName = res?.comp?.name + formState.comId = res?.comp?.id + } } const periodTypeCodeChange = (val) => { if (val === 'Y') { diff --git a/src/views/contract/ContractProc/components/config.ts b/src/views/contract/ContractProc/components/config.ts index cc6624e..aedf93a 100644 --- a/src/views/contract/ContractProc/components/config.ts +++ b/src/views/contract/ContractProc/components/config.ts @@ -53,7 +53,7 @@ export const columns: BasicColumn[] = [ title: '合同号', componentType: 'input', align: 'left', - + width: 200, sorter: true, }, @@ -62,7 +62,7 @@ export const columns: BasicColumn[] = [ title: '合同名称', componentType: 'input', align: 'left', - + width: 250, sorter: true, }, @@ -71,7 +71,7 @@ export const columns: BasicColumn[] = [ title: '供应商', componentType: 'input', align: 'left', - + width: 150, sorter: true, }, @@ -92,31 +92,12 @@ export const columns: BasicColumn[] = [ width: 120, sorter: true, }, - - { - dataIndex: 'approName', - title: '状态', - componentType: 'input', - align: 'left', - width: 80, - sorter: true, - }, - { dataIndex: 'staName', title: '接收站', componentType: 'input', align: 'left', - - sorter: true, - }, - - { - dataIndex: 'wasteDesc', - title: '损耗说明', - componentType: 'input', - align: 'left', - + width: 140, sorter: true, }, @@ -125,16 +106,16 @@ export const columns: BasicColumn[] = [ title: '合同主体', componentType: 'input', align: 'left', - + width: 120, sorter: true, }, { - dataIndex: 'note', - title: '备注', + dataIndex: 'approName', + title: '状态', componentType: 'input', align: 'left', - + width: 80, sorter: true, }, ]; diff --git a/src/views/contract/ContractProc/components/createForm.vue b/src/views/contract/ContractProc/components/createForm.vue index 824f582..c69d84d 100644 --- a/src/views/contract/ContractProc/components/createForm.vue +++ b/src/views/contract/ContractProc/components/createForm.vue @@ -452,8 +452,10 @@ formState.bDeptName = res?.dept?.name formState.bDeptId = res?.dept?.id - formState.comName = res?.comp?.name - formState.comId = res?.comp?.id + if (!pageId.value) { + formState.comName = res?.comp?.name + formState.comId = res?.comp?.id + } } const getApproList = (val) => { diff --git a/src/views/contract/ContractProc/index.vue b/src/views/contract/ContractProc/index.vue index 9fe63c5..df18700 100644 --- a/src/views/contract/ContractProc/index.vue +++ b/src/views/contract/ContractProc/index.vue @@ -137,7 +137,7 @@ striped: false, actionColumn: { - width: 160, + width: 130, title: '操作', dataIndex: 'action', slots: { customRender: 'action' }, diff --git a/src/views/contract/ContractPurInt/components/config.ts b/src/views/contract/ContractPurInt/components/config.ts index 256a9a1..c11d60c 100644 --- a/src/views/contract/ContractPurInt/components/config.ts +++ b/src/views/contract/ContractPurInt/components/config.ts @@ -80,7 +80,7 @@ export const columns: BasicColumn[] = [ title: '合同号', componentType: 'input', align: 'left', - width:150, + width: 200, sorter: true, }, @@ -89,7 +89,7 @@ export const columns: BasicColumn[] = [ title: '合同名称', componentType: 'input', align: 'left', - + width: 250, sorter: true, }, @@ -98,7 +98,7 @@ export const columns: BasicColumn[] = [ title: '供应商', componentType: 'input', align: 'left', - + width: 150, sorter: true, }, @@ -119,16 +119,6 @@ export const columns: BasicColumn[] = [ width: 120, sorter: true, }, - - { - dataIndex: 'approName', - title: '状态', - componentType: 'input', - align: 'left', - width: 100, - sorter: true, - }, - { dataIndex: 'longSpotName', title: '长协/现货', @@ -143,16 +133,15 @@ export const columns: BasicColumn[] = [ title: '合同主体', componentType: 'input', align: 'left', - + width: 120, sorter: true, }, - { - dataIndex: 'note', - title: '备注', + dataIndex: 'approName', + title: '状态', componentType: 'input', align: 'left', - + width: 80, sorter: true, }, ]; diff --git a/src/views/contract/ContractPurInt/components/createForm.vue b/src/views/contract/ContractPurInt/components/createForm.vue index c44bc88..2eac1d1 100644 --- a/src/views/contract/ContractPurInt/components/createForm.vue +++ b/src/views/contract/ContractPurInt/components/createForm.vue @@ -526,8 +526,10 @@ formState.bDeptName = res?.dept?.name formState.bDeptId = res?.dept?.id - formState.comName = res?.comp?.name - formState.comId = res?.comp?.id + if (!pageId.value) { + formState.comName = res?.comp?.name + formState.comId = res?.comp?.id + } } const tipCheck = () => { isExpend.value = !isExpend.value diff --git a/src/views/contract/ContractPurInt/index.vue b/src/views/contract/ContractPurInt/index.vue index 35f7567..b696e3a 100644 --- a/src/views/contract/ContractPurInt/index.vue +++ b/src/views/contract/ContractPurInt/index.vue @@ -137,7 +137,7 @@ striped: false, actionColumn: { - width: 160, + width: 130, title: '操作', dataIndex: 'action', slots: { customRender: 'action' }, diff --git a/src/views/contract/ContractPurPng/components/config.ts b/src/views/contract/ContractPurPng/components/config.ts index ae22b72..57a70b5 100644 --- a/src/views/contract/ContractPurPng/components/config.ts +++ b/src/views/contract/ContractPurPng/components/config.ts @@ -71,7 +71,7 @@ export const columns: BasicColumn[] = [ title: '合同号', componentType: 'input', align: 'left', - + width: 200, sorter: true, }, @@ -80,7 +80,7 @@ export const columns: BasicColumn[] = [ title: '合同名称', componentType: 'input', align: 'left', - + width: 250, sorter: true, }, @@ -89,7 +89,7 @@ export const columns: BasicColumn[] = [ title: '供应商', componentType: 'input', align: 'left', - + width: 150, sorter: true, }, @@ -113,21 +113,12 @@ export const columns: BasicColumn[] = [ width: 120 }, - { - dataIndex: 'approName', - title: '状态', - componentType: 'input', - align: 'left', - width: 100, - sorter: true, - }, - { dataIndex: 'pointUpName', title: '上载点', componentType: 'input', align: 'left', - + width: 160, sorter: true, }, @@ -136,7 +127,7 @@ export const columns: BasicColumn[] = [ title: '是否托运', componentType: 'input', align: 'left', - width: 100, + width: 80, sorter: true, }, @@ -145,16 +136,15 @@ export const columns: BasicColumn[] = [ title: '合同主体', componentType: 'input', align: 'left', - + width: 120, sorter: true, }, - { - dataIndex: 'note', - title: '备注', + dataIndex: 'approName', + title: '状态', componentType: 'input', align: 'left', - + width: 80, sorter: true, }, ]; diff --git a/src/views/contract/ContractPurPng/components/createForm.vue b/src/views/contract/ContractPurPng/components/createForm.vue index 122d0eb..df194c8 100644 --- a/src/views/contract/ContractPurPng/components/createForm.vue +++ b/src/views/contract/ContractPurPng/components/createForm.vue @@ -387,8 +387,10 @@ formState.bDeptName = res?.dept?.name formState.bDeptId = res?.dept?.id - formState.comName = res?.comp?.name - formState.comId = res?.comp?.id + if (!pageId.value) { + formState.comName = res?.comp?.name + formState.comId = res?.comp?.id + } } const getApproList = (val) => { dataListAppro.value = val diff --git a/src/views/contract/ContractPurPng/index.vue b/src/views/contract/ContractPurPng/index.vue index 94dbca1..6ff5ea6 100644 --- a/src/views/contract/ContractPurPng/index.vue +++ b/src/views/contract/ContractPurPng/index.vue @@ -140,7 +140,7 @@ striped: false, actionColumn: { - width: 160, + width: 130, title: '操作', dataIndex: 'action', slots: { customRender: 'action' }, diff --git a/src/views/contract/ContractSales/components/config.ts b/src/views/contract/ContractSales/components/config.ts index 54e0b3a..e11fad2 100644 --- a/src/views/contract/ContractSales/components/config.ts +++ b/src/views/contract/ContractSales/components/config.ts @@ -72,7 +72,7 @@ export const columns: BasicColumn[] = [ title: '合同号', componentType: 'input', align: 'left', - + width: 200, sorter: true, }, @@ -81,7 +81,7 @@ export const columns: BasicColumn[] = [ title: '合同名称', componentType: 'input', align: 'left', - + width: 250, sorter: true, }, @@ -90,7 +90,7 @@ export const columns: BasicColumn[] = [ title: '客户', componentType: 'input', align: 'left', - + width: 150, sorter: true, }, @@ -112,30 +112,12 @@ export const columns: BasicColumn[] = [ sorter: true, }, - { - dataIndex: 'approName', - title: '状态', - componentType: 'input', - align: 'left', - width: 100, - sorter: true, - }, - { dataIndex: 'pointUpName', title: '交割点', componentType: 'input', align: 'left', - - sorter: true, - }, - - { - dataIndex: 'transName', - title: '是否托运', - componentType: 'input', - align: 'left', - width: 100, + width: 160, sorter: true, }, @@ -144,16 +126,16 @@ export const columns: BasicColumn[] = [ title: '合同主体', componentType: 'input', align: 'left', - + width: 120, sorter: true, }, { - dataIndex: 'note', - title: '备注', + dataIndex: 'approName', + title: '状态', componentType: 'input', align: 'left', - + width: 80, sorter: true, }, ]; diff --git a/src/views/contract/ContractSales/components/createForm.vue b/src/views/contract/ContractSales/components/createForm.vue index 72ce258..b58ac10 100644 --- a/src/views/contract/ContractSales/components/createForm.vue +++ b/src/views/contract/ContractSales/components/createForm.vue @@ -418,8 +418,10 @@ formState.bDeptName = res?.dept?.name formState.bDeptId = res?.dept?.id - formState.comName = res?.comp?.name - formState.comId = res?.comp?.id + if (!pageId.value) { + formState.comName = res?.comp?.name + formState.comId = res?.comp?.id + } } const getApproList = (val) => { dataListAppro.value = val diff --git a/src/views/contract/ContractSales/index.vue b/src/views/contract/ContractSales/index.vue index f0c1ced..b758019 100644 --- a/src/views/contract/ContractSales/index.vue +++ b/src/views/contract/ContractSales/index.vue @@ -139,7 +139,7 @@ striped: false, actionColumn: { - width: 160, + width: 130, title: '操作', dataIndex: 'action', slots: { customRender: 'action' }, diff --git a/src/views/contract/ContractSalesInt/components/config.ts b/src/views/contract/ContractSalesInt/components/config.ts index a30a36e..1009e34 100644 --- a/src/views/contract/ContractSalesInt/components/config.ts +++ b/src/views/contract/ContractSalesInt/components/config.ts @@ -80,7 +80,7 @@ export const columns: BasicColumn[] = [ title: '合同号', componentType: 'input', align: 'left', - width:150, + width: 200, sorter: true, }, @@ -89,7 +89,7 @@ export const columns: BasicColumn[] = [ title: '合同名称', componentType: 'input', align: 'left', - + width: 250, sorter: true, }, @@ -98,7 +98,7 @@ export const columns: BasicColumn[] = [ title: '客户', componentType: 'input', align: 'left', - + width: 150, sorter: true, }, @@ -119,16 +119,6 @@ export const columns: BasicColumn[] = [ width: 120, sorter: true, }, - - { - dataIndex: 'approName', - title: '状态', - componentType: 'input', - align: 'left', - width: 100, - sorter: true, - }, - { dataIndex: 'longSpotName', title: ' 长协/现货', @@ -143,16 +133,15 @@ export const columns: BasicColumn[] = [ title: '合同主体', componentType: 'input', align: 'left', - + width: 120, sorter: true, }, - { - dataIndex: 'note', - title: '备注', + dataIndex: 'approName', + title: '状态', componentType: 'input', align: 'left', - + width: 80, sorter: true, }, ]; diff --git a/src/views/contract/ContractSalesInt/components/createForm.vue b/src/views/contract/ContractSalesInt/components/createForm.vue index 0e68af5..e088e80 100644 --- a/src/views/contract/ContractSalesInt/components/createForm.vue +++ b/src/views/contract/ContractSalesInt/components/createForm.vue @@ -528,8 +528,10 @@ formState.bDeptName = res?.dept?.name formState.bDeptId = res?.dept?.id - formState.comName = res?.comp?.name - formState.comId = res?.comp?.id + if (!pageId.value) { + formState.comName = res?.comp?.name + formState.comId = res?.comp?.id + } } const tipCheck = () => { isExpend.value = !isExpend.value diff --git a/src/views/contract/ContractSalesInt/index.vue b/src/views/contract/ContractSalesInt/index.vue index 12d9abc..56bf654 100644 --- a/src/views/contract/ContractSalesInt/index.vue +++ b/src/views/contract/ContractSalesInt/index.vue @@ -138,7 +138,7 @@ striped: false, actionColumn: { - width: 160, + width: 130, title: '操作', dataIndex: 'action', slots: { customRender: 'action' }, diff --git a/src/views/contract/ContractSalesLng/components/config.ts b/src/views/contract/ContractSalesLng/components/config.ts index 7860ba8..120ebe7 100644 --- a/src/views/contract/ContractSalesLng/components/config.ts +++ b/src/views/contract/ContractSalesLng/components/config.ts @@ -67,7 +67,7 @@ export const columns: BasicColumn[] = [ title: '合同号', componentType: 'input', align: 'left', - + width: 200, sorter: true, }, @@ -76,7 +76,7 @@ export const columns: BasicColumn[] = [ title: '合同名称', componentType: 'input', align: 'left', - width: 200, + width: 250, sorter: true, }, @@ -85,16 +85,7 @@ export const columns: BasicColumn[] = [ title: '客户', componentType: 'input', align: 'left', - - sorter: true, - }, - - { - dataIndex: 'onlineSign', - title: '竞拍', - componentType: 'input', - align: 'left', - width: 90, + width: 150, sorter: true, }, @@ -115,31 +106,28 @@ export const columns: BasicColumn[] = [ width: 120, sorter: true, }, - { - dataIndex: 'approName', - title: '状态', + dataIndex: 'onlineSign', + title: '竞拍', componentType: 'input', align: 'left', - width: 100, + width: 60, sorter: true, }, - { dataIndex: 'comName', title: '合同主体', componentType: 'input', align: 'left', - + width: 120, sorter: true, }, - { - dataIndex: 'note', - title: '备注', + dataIndex: 'approName', + title: '状态', componentType: 'input', align: 'left', - + width: 80, sorter: true, }, ]; diff --git a/src/views/contract/ContractSalesLng/components/createForm.vue b/src/views/contract/ContractSalesLng/components/createForm.vue index 7373b64..1c2d423 100644 --- a/src/views/contract/ContractSalesLng/components/createForm.vue +++ b/src/views/contract/ContractSalesLng/components/createForm.vue @@ -355,8 +355,10 @@ formState.bDeptName = res?.dept?.name formState.bDeptId = res?.dept?.id - formState.comName = res?.comp?.name - formState.comId = res?.comp?.id + if (!pageId.value) { + formState.comName = res?.comp?.name + formState.comId = res?.comp?.id + } } const dateCfmChange = (val) => { if (formState.dateCfmFrom || formState.dateCfmTo) { diff --git a/src/views/contract/ContractSalesLng/index.vue b/src/views/contract/ContractSalesLng/index.vue index b84f5ef..e12185f 100644 --- a/src/views/contract/ContractSalesLng/index.vue +++ b/src/views/contract/ContractSalesLng/index.vue @@ -140,7 +140,7 @@ striped: false, actionColumn: { - width: 160, + width: 130, title: '操作', dataIndex: 'action', slots: { customRender: 'action' }, diff --git a/src/views/contract/ContractTransPng/components/config.ts b/src/views/contract/ContractTransPng/components/config.ts index 4658f3f..fe1c69b 100644 --- a/src/views/contract/ContractTransPng/components/config.ts +++ b/src/views/contract/ContractTransPng/components/config.ts @@ -59,7 +59,7 @@ export const columns: BasicColumn[] = [ title: '合同号', componentType: 'input', align: 'left', - + width: 200, sorter: true, }, @@ -68,7 +68,7 @@ export const columns: BasicColumn[] = [ title: '合同名称', componentType: 'input', align: 'left', - + width: 250, sorter: true, }, @@ -77,7 +77,7 @@ export const columns: BasicColumn[] = [ title: '供应商', componentType: 'input', align: 'left', - + width: 150, sorter: true, }, @@ -99,21 +99,12 @@ export const columns: BasicColumn[] = [ sorter: true, }, - { - dataIndex: 'approName', - title: '状态', - componentType: 'input', - align: 'left', - width: 80, - sorter: true, - }, - { dataIndex: 'pointName', title: '上下载点', componentType: 'input', align: 'left', - + width: 140, sorter: true, }, @@ -122,16 +113,16 @@ export const columns: BasicColumn[] = [ title: '合同主体', componentType: 'input', align: 'left', - + width: 120, sorter: true, }, { - dataIndex: 'note', - title: '备注', + dataIndex: 'approName', + title: '状态', componentType: 'input', align: 'left', - + width: 80, sorter: true, }, ]; diff --git a/src/views/contract/ContractTransPng/components/createForm.vue b/src/views/contract/ContractTransPng/components/createForm.vue index 72e4e0e..2eb0be1 100644 --- a/src/views/contract/ContractTransPng/components/createForm.vue +++ b/src/views/contract/ContractTransPng/components/createForm.vue @@ -458,8 +458,10 @@ formState.bDeptName = res?.dept?.name formState.bDeptId = res?.dept?.id - formState.comName = res?.comp?.name - formState.comId = res?.comp?.id + if (!pageId.value) { + formState.comName = res?.comp?.name + formState.comId = res?.comp?.id + } } const getApproList = (val) => { dataListAppro.value = val diff --git a/src/views/contract/ContractTransPng/index.vue b/src/views/contract/ContractTransPng/index.vue index ee7ed5b..470d753 100644 --- a/src/views/contract/ContractTransPng/index.vue +++ b/src/views/contract/ContractTransPng/index.vue @@ -137,7 +137,7 @@ striped: false, actionColumn: { - width: 160, + width: 130, title: '操作', dataIndex: 'action', slots: { customRender: 'action' }, From 90fd1c6f988f03d17293434e455157d97fed2b1d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E2=80=98huanghaiixia=E2=80=99?= <980486410@.com> Date: Tue, 3 Mar 2026 17:48:45 +0800 Subject: [PATCH 4/4] =?UTF-8?q?=E4=BB=A3=E7=A0=81=E7=94=9F=E6=88=90?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/price/PricePurPngApp/index.ts | 90 +++ .../model/PricePurPngAppModel.ts | 165 ++++ src/api/price/PriceSalesPngApp/index.ts | 90 +++ .../model/PriceSalesPngAppModel.ts | 159 ++++ src/api/ship/MeaPurInt/index.ts | 89 +++ .../ship/MeaPurInt/model/MeaPurIntModel.ts | 74 ++ src/api/ship/OpsPurInt/index.ts | 90 +++ .../ship/OpsPurInt/model/OpsPurIntModel.ts | 54 ++ src/api/ship/OpsSalesInt/index.ts | 90 +++ .../OpsSalesInt/model/OpsSalesIntModel.ts | 50 ++ src/api/ship/ShipSchedule/index.ts | 90 +++ .../ShipSchedule/model/ShipScheduleModel.ts | 62 ++ .../price/PricePurPngApp/components/Form.vue | 224 ++++++ .../components/PricePurPngAppModal.vue | 110 +++ .../price/PricePurPngApp/components/config.ts | 513 ++++++++++++ .../components/workflowPermission.ts | 150 ++++ src/views/price/PricePurPngApp/index.vue | 405 ++++++++++ .../PriceSalesPngApp/components/Form.vue | 224 ++++++ .../components/PriceSalesPngAppModal.vue | 110 +++ .../PriceSalesPngApp/components/config.ts | 494 ++++++++++++ .../components/workflowPermission.ts | 150 ++++ src/views/price/PriceSalesPngApp/index.vue | 405 ++++++++++ src/views/ship/MeaPurInt/components/Form.vue | 224 ++++++ .../MeaPurInt/components/MeaPurIntModal.vue | 110 +++ src/views/ship/MeaPurInt/components/config.ts | 746 ++++++++++++++++++ .../components/workflowPermission.ts | 212 +++++ src/views/ship/MeaPurInt/index.vue | 308 ++++++++ src/views/ship/OpsPurInt/components/Form.vue | 224 ++++++ .../OpsPurInt/components/OpsPurIntModal.vue | 110 +++ src/views/ship/OpsPurInt/components/config.ts | 520 ++++++++++++ .../components/workflowPermission.ts | 137 ++++ src/views/ship/OpsPurInt/index.vue | 308 ++++++++ .../ship/OpsSalesInt/components/Form.vue | 224 ++++++ .../components/OpsSalesIntModal.vue | 110 +++ .../ship/OpsSalesInt/components/config.ts | 472 +++++++++++ .../components/workflowPermission.ts | 122 +++ src/views/ship/OpsSalesInt/index.vue | 308 ++++++++ .../ship/ShipSchedule/components/Form.vue | 224 ++++++ .../components/ShipScheduleModal.vue | 110 +++ .../ship/ShipSchedule/components/config.ts | 567 +++++++++++++ .../components/workflowPermission.ts | 167 ++++ src/views/ship/ShipSchedule/index.vue | 308 ++++++++ 42 files changed, 9399 insertions(+) create mode 100644 src/api/price/PricePurPngApp/index.ts create mode 100644 src/api/price/PricePurPngApp/model/PricePurPngAppModel.ts create mode 100644 src/api/price/PriceSalesPngApp/index.ts create mode 100644 src/api/price/PriceSalesPngApp/model/PriceSalesPngAppModel.ts create mode 100644 src/api/ship/MeaPurInt/index.ts create mode 100644 src/api/ship/MeaPurInt/model/MeaPurIntModel.ts create mode 100644 src/api/ship/OpsPurInt/index.ts create mode 100644 src/api/ship/OpsPurInt/model/OpsPurIntModel.ts create mode 100644 src/api/ship/OpsSalesInt/index.ts create mode 100644 src/api/ship/OpsSalesInt/model/OpsSalesIntModel.ts create mode 100644 src/api/ship/ShipSchedule/index.ts create mode 100644 src/api/ship/ShipSchedule/model/ShipScheduleModel.ts create mode 100644 src/views/price/PricePurPngApp/components/Form.vue create mode 100644 src/views/price/PricePurPngApp/components/PricePurPngAppModal.vue create mode 100644 src/views/price/PricePurPngApp/components/config.ts create mode 100644 src/views/price/PricePurPngApp/components/workflowPermission.ts create mode 100644 src/views/price/PricePurPngApp/index.vue create mode 100644 src/views/price/PriceSalesPngApp/components/Form.vue create mode 100644 src/views/price/PriceSalesPngApp/components/PriceSalesPngAppModal.vue create mode 100644 src/views/price/PriceSalesPngApp/components/config.ts create mode 100644 src/views/price/PriceSalesPngApp/components/workflowPermission.ts create mode 100644 src/views/price/PriceSalesPngApp/index.vue create mode 100644 src/views/ship/MeaPurInt/components/Form.vue create mode 100644 src/views/ship/MeaPurInt/components/MeaPurIntModal.vue create mode 100644 src/views/ship/MeaPurInt/components/config.ts create mode 100644 src/views/ship/MeaPurInt/components/workflowPermission.ts create mode 100644 src/views/ship/MeaPurInt/index.vue create mode 100644 src/views/ship/OpsPurInt/components/Form.vue create mode 100644 src/views/ship/OpsPurInt/components/OpsPurIntModal.vue create mode 100644 src/views/ship/OpsPurInt/components/config.ts create mode 100644 src/views/ship/OpsPurInt/components/workflowPermission.ts create mode 100644 src/views/ship/OpsPurInt/index.vue create mode 100644 src/views/ship/OpsSalesInt/components/Form.vue create mode 100644 src/views/ship/OpsSalesInt/components/OpsSalesIntModal.vue create mode 100644 src/views/ship/OpsSalesInt/components/config.ts create mode 100644 src/views/ship/OpsSalesInt/components/workflowPermission.ts create mode 100644 src/views/ship/OpsSalesInt/index.vue create mode 100644 src/views/ship/ShipSchedule/components/Form.vue create mode 100644 src/views/ship/ShipSchedule/components/ShipScheduleModal.vue create mode 100644 src/views/ship/ShipSchedule/components/config.ts create mode 100644 src/views/ship/ShipSchedule/components/workflowPermission.ts create mode 100644 src/views/ship/ShipSchedule/index.vue diff --git a/src/api/price/PricePurPngApp/index.ts b/src/api/price/PricePurPngApp/index.ts new file mode 100644 index 0000000..e58a790 --- /dev/null +++ b/src/api/price/PricePurPngApp/index.ts @@ -0,0 +1,90 @@ +import { LngPricePurPngAppPageModel, LngPricePurPngAppPageParams, LngPricePurPngAppPageResult } from './model/PricePurPngAppModel'; +import { defHttp } from '/@/utils/http/axios'; +import { ErrorMessageMode } from '/#/axios'; + +enum Api { + Page = '/price/pricePurPngApp/page', + List = '/price/pricePurPngApp/list', + Info = '/price/pricePurPngApp/info', + LngPricePurPngApp = '/price/pricePurPngApp', + + + + + DataLog = '/price/pricePurPngApp/datalog', +} + +/** + * @description: 查询LngPricePurPngApp分页列表 + */ +export async function getLngPricePurPngAppPage(params: LngPricePurPngAppPageParams, mode: ErrorMessageMode = 'modal') { + return defHttp.get( + { + url: Api.Page, + params, + }, + { + errorMessageMode: mode, + }, + ); +} + +/** + * @description: 获取LngPricePurPngApp信息 + */ +export async function getLngPricePurPngApp(id: String, mode: ErrorMessageMode = 'modal') { + return defHttp.get( + { + url: Api.Info, + params: { id }, + }, + { + errorMessageMode: mode, + }, + ); +} + +/** + * @description: 新增LngPricePurPngApp + */ +export async function addLngPricePurPngApp(lngPricePurPngApp: Recordable, mode: ErrorMessageMode = 'modal') { + return defHttp.post( + { + url: Api.LngPricePurPngApp, + params: lngPricePurPngApp, + }, + { + errorMessageMode: mode, + }, + ); +} + +/** + * @description: 更新LngPricePurPngApp + */ +export async function updateLngPricePurPngApp(lngPricePurPngApp: Recordable, mode: ErrorMessageMode = 'modal') { + return defHttp.put( + { + url: Api.LngPricePurPngApp, + params: lngPricePurPngApp, + }, + { + errorMessageMode: mode, + }, + ); +} + +/** + * @description: 删除LngPricePurPngApp(批量删除) + */ +export async function deleteLngPricePurPngApp(ids: string[], mode: ErrorMessageMode = 'modal') { + return defHttp.delete( + { + url: Api.LngPricePurPngApp, + data: ids, + }, + { + errorMessageMode: mode, + }, + ); +} \ No newline at end of file diff --git a/src/api/price/PricePurPngApp/model/PricePurPngAppModel.ts b/src/api/price/PricePurPngApp/model/PricePurPngAppModel.ts new file mode 100644 index 0000000..be0c54f --- /dev/null +++ b/src/api/price/PricePurPngApp/model/PricePurPngAppModel.ts @@ -0,0 +1,165 @@ +import { BasicPageParams, BasicFetchResult } from '/@/api/model/baseModel'; + +/** + * @description: LngPricePurPngApp分页参数 模型 + */ +export interface LngPricePurPngAppPageParams extends BasicPageParams { + id: string; + + appName: string; + + priceTypeCode: string; + + comId: string; + + priceDesc: string; + + approCode: string; +} + +/** + * @description: LngPricePurPngApp分页返回值模型 + */ +export interface LngPricePurPngAppPageModel { + id: string; + + appName: string; + + priceTypeCode: string; + + comId: string; + + priceDesc: string; + + approCode: string; +} + +/** + * @description: LngPricePurPngApp表类型 + */ +export interface LngPricePurPngAppModel { + id: number; + + comId: number; + + appName: string; + + priceTypeCode: string; + + priceDesc: string; + + dateSubmit: string; + + approCode: string; + + timeAppro: string; + + note: string; + + createUserId: number; + + createDate: string; + + modifyUserId: number; + + modifyDate: string; + + tenantId: number; + + deptId: number; + + ruleUserId: number; + + lngPricePurPngAppSuList?: LngPricePurPngAppSuModel; + + lngPricePurPngAppSuDtlList?: LngPricePurPngAppSuDtlModel; +} + +/** + * @description: LngPricePurPngAppSu表类型 + */ +export interface LngPricePurPngAppSuModel { + id: number; + + pppaId: number; + + suCode: string; + + kId: number; + + kpppId: number; + + pointUpCode: string; + + kpppsId: number; + + pointDelyCode: string; + + transSign: string; + + uomCode: string; + + dateFrom: string; + + priceDesc: string; + + note: string; + + createUserId: number; + + createDate: string; + + modifyUserId: number; + + modifyDate: string; + + tenantId: number; + + deptId: number; + + ruleUserId: number; +} + +/** + * @description: LngPricePurPngAppSuDtl表类型 + */ +export interface LngPricePurPngAppSuDtlModel { + id: number; + + pppasId: number; + + priceCode: string; + + sort: number; + + rateM3Gj: number; + + rateQtyGj: number; + + rateQtyM3: number; + + priceGj: number; + + priceM3: number; + + note: string; + + createUserId: number; + + createDate: string; + + modifyUserId: number; + + modifyDate: string; + + tenantId: number; + + deptId: number; + + ruleUserId: number; +} + +/** + * @description: LngPricePurPngApp分页返回值结构 + */ +export type LngPricePurPngAppPageResult = BasicFetchResult; \ No newline at end of file diff --git a/src/api/price/PriceSalesPngApp/index.ts b/src/api/price/PriceSalesPngApp/index.ts new file mode 100644 index 0000000..270f941 --- /dev/null +++ b/src/api/price/PriceSalesPngApp/index.ts @@ -0,0 +1,90 @@ +import { LngPriceSalesPngAppPageModel, LngPriceSalesPngAppPageParams, LngPriceSalesPngAppPageResult } from './model/PriceSalesPngAppModel'; +import { defHttp } from '/@/utils/http/axios'; +import { ErrorMessageMode } from '/#/axios'; + +enum Api { + Page = '/price/priceSalesPngApp/page', + List = '/price/priceSalesPngApp/list', + Info = '/price/priceSalesPngApp/info', + LngPriceSalesPngApp = '/price/priceSalesPngApp', + + + + + DataLog = '/price/priceSalesPngApp/datalog', +} + +/** + * @description: 查询LngPriceSalesPngApp分页列表 + */ +export async function getLngPriceSalesPngAppPage(params: LngPriceSalesPngAppPageParams, mode: ErrorMessageMode = 'modal') { + return defHttp.get( + { + url: Api.Page, + params, + }, + { + errorMessageMode: mode, + }, + ); +} + +/** + * @description: 获取LngPriceSalesPngApp信息 + */ +export async function getLngPriceSalesPngApp(id: String, mode: ErrorMessageMode = 'modal') { + return defHttp.get( + { + url: Api.Info, + params: { id }, + }, + { + errorMessageMode: mode, + }, + ); +} + +/** + * @description: 新增LngPriceSalesPngApp + */ +export async function addLngPriceSalesPngApp(lngPriceSalesPngApp: Recordable, mode: ErrorMessageMode = 'modal') { + return defHttp.post( + { + url: Api.LngPriceSalesPngApp, + params: lngPriceSalesPngApp, + }, + { + errorMessageMode: mode, + }, + ); +} + +/** + * @description: 更新LngPriceSalesPngApp + */ +export async function updateLngPriceSalesPngApp(lngPriceSalesPngApp: Recordable, mode: ErrorMessageMode = 'modal') { + return defHttp.put( + { + url: Api.LngPriceSalesPngApp, + params: lngPriceSalesPngApp, + }, + { + errorMessageMode: mode, + }, + ); +} + +/** + * @description: 删除LngPriceSalesPngApp(批量删除) + */ +export async function deleteLngPriceSalesPngApp(ids: string[], mode: ErrorMessageMode = 'modal') { + return defHttp.delete( + { + url: Api.LngPriceSalesPngApp, + data: ids, + }, + { + errorMessageMode: mode, + }, + ); +} \ No newline at end of file diff --git a/src/api/price/PriceSalesPngApp/model/PriceSalesPngAppModel.ts b/src/api/price/PriceSalesPngApp/model/PriceSalesPngAppModel.ts new file mode 100644 index 0000000..83fa45b --- /dev/null +++ b/src/api/price/PriceSalesPngApp/model/PriceSalesPngAppModel.ts @@ -0,0 +1,159 @@ +import { BasicPageParams, BasicFetchResult } from '/@/api/model/baseModel'; + +/** + * @description: LngPriceSalesPngApp分页参数 模型 + */ +export interface LngPriceSalesPngAppPageParams extends BasicPageParams { + id: string; + + appName: string; + + priceTypeCode: string; + + priceDesc: string; + + comId: string; + + approCode: string; +} + +/** + * @description: LngPriceSalesPngApp分页返回值模型 + */ +export interface LngPriceSalesPngAppPageModel { + id: string; + + appName: string; + + priceTypeCode: string; + + priceDesc: string; + + comId: string; + + approCode: string; +} + +/** + * @description: LngPriceSalesPngApp表类型 + */ +export interface LngPriceSalesPngAppModel { + id: number; + + comId: number; + + appName: string; + + priceTypeCode: string; + + priceDesc: string; + + dateSubmit: string; + + approCode: string; + + timeAppro: string; + + note: string; + + createUserId: number; + + createDate: string; + + modifyUserId: number; + + modifyDate: string; + + tenantId: number; + + deptId: number; + + ruleUserId: number; + + lngPriceSalesPngAppCuList?: LngPriceSalesPngAppCuModel; + + lngPriceSalesPngAppCuDtlList?: LngPriceSalesPngAppCuDtlModel; +} + +/** + * @description: LngPriceSalesPngAppCu表类型 + */ +export interface LngPriceSalesPngAppCuModel { + id: number; + + pspaId: number; + + cuCode: string; + + kId: number; + + ksppId: number; + + pointDelyCode: string; + + uomCode: string; + + dateFrom: string; + + priceDesc: string; + + note: string; + + createUserId: number; + + createDate: string; + + modifyUserId: number; + + modifyDate: string; + + tenantId: number; + + deptId: number; + + ruleUserId: number; +} + +/** + * @description: LngPriceSalesPngAppCuDtl表类型 + */ +export interface LngPriceSalesPngAppCuDtlModel { + id: number; + + pspacId: number; + + priceCode: string; + + sort: number; + + rateM3Gj: number; + + rateQtyGj: number; + + rateQtyM3: number; + + priceGj: number; + + priceM3: number; + + note: string; + + createUserId: number; + + createDate: string; + + modifyUserId: number; + + modifyDate: string; + + tenantId: number; + + deptId: number; + + ruleUserId: number; +} + +/** + * @description: LngPriceSalesPngApp分页返回值结构 + */ +export type LngPriceSalesPngAppPageResult = BasicFetchResult; \ No newline at end of file diff --git a/src/api/ship/MeaPurInt/index.ts b/src/api/ship/MeaPurInt/index.ts new file mode 100644 index 0000000..60295b8 --- /dev/null +++ b/src/api/ship/MeaPurInt/index.ts @@ -0,0 +1,89 @@ +import { LngMeaPurIntPageModel, LngMeaPurIntPageParams, LngMeaPurIntPageResult } from './model/MeaPurIntModel'; +import { defHttp } from '/@/utils/http/axios'; +import { ErrorMessageMode } from '/#/axios'; + +enum Api { + Page = '/ship/meaPurInt/page', + List = '/ship/meaPurInt/list', + Info = '/ship/meaPurInt/info', + LngMeaPurInt = '/ship/meaPurInt', + + + + +} + +/** + * @description: 查询LngMeaPurInt分页列表 + */ +export async function getLngMeaPurIntPage(params: LngMeaPurIntPageParams, mode: ErrorMessageMode = 'modal') { + return defHttp.get( + { + url: Api.Page, + params, + }, + { + errorMessageMode: mode, + }, + ); +} + +/** + * @description: 获取LngMeaPurInt信息 + */ +export async function getLngMeaPurInt(id: String, mode: ErrorMessageMode = 'modal') { + return defHttp.get( + { + url: Api.Info, + params: { id }, + }, + { + errorMessageMode: mode, + }, + ); +} + +/** + * @description: 新增LngMeaPurInt + */ +export async function addLngMeaPurInt(lngMeaPurInt: Recordable, mode: ErrorMessageMode = 'modal') { + return defHttp.post( + { + url: Api.LngMeaPurInt, + params: lngMeaPurInt, + }, + { + errorMessageMode: mode, + }, + ); +} + +/** + * @description: 更新LngMeaPurInt + */ +export async function updateLngMeaPurInt(lngMeaPurInt: Recordable, mode: ErrorMessageMode = 'modal') { + return defHttp.put( + { + url: Api.LngMeaPurInt, + params: lngMeaPurInt, + }, + { + errorMessageMode: mode, + }, + ); +} + +/** + * @description: 删除LngMeaPurInt(批量删除) + */ +export async function deleteLngMeaPurInt(ids: string[], mode: ErrorMessageMode = 'modal') { + return defHttp.delete( + { + url: Api.LngMeaPurInt, + data: ids, + }, + { + errorMessageMode: mode, + }, + ); +} \ No newline at end of file diff --git a/src/api/ship/MeaPurInt/model/MeaPurIntModel.ts b/src/api/ship/MeaPurInt/model/MeaPurIntModel.ts new file mode 100644 index 0000000..a8ef247 --- /dev/null +++ b/src/api/ship/MeaPurInt/model/MeaPurIntModel.ts @@ -0,0 +1,74 @@ +import { BasicPageParams, BasicFetchResult } from '/@/api/model/baseModel'; + +/** + * @description: LngMeaPurInt分页参数 模型 + */ +export interface LngMeaPurIntPageParams extends BasicPageParams { + dateMea: string; + + typeCode: string; + + inspName: string; + + id: string; + + qtyMmbtu: string; + + qtyGj: string; + + qtyTon: string; + + qtyM3L: string; + + qtyM3: string; + + rateTonM3L: string; + + rateTonGj: string; + + rateM3Gj: string; + + rateTonM3: string; + + note: string; +} + +/** + * @description: LngMeaPurInt分页返回值模型 + */ +export interface LngMeaPurIntPageModel { + id: string; + + dateMea: string; + + typeCode: string; + + qtyMmbtu: string; + + qtyGj: string; + + qtyTon: string; + + qtyM3L: string; + + qtyM3: string; + + rateTonM3L: string; + + rateTonGj: string; + + rateM3Gj: string; + + rateTonM3: string; + + inspName: string; + + note: string; +} + +0; + +/** + * @description: LngMeaPurInt分页返回值结构 + */ +export type LngMeaPurIntPageResult = BasicFetchResult; \ No newline at end of file diff --git a/src/api/ship/OpsPurInt/index.ts b/src/api/ship/OpsPurInt/index.ts new file mode 100644 index 0000000..9946023 --- /dev/null +++ b/src/api/ship/OpsPurInt/index.ts @@ -0,0 +1,90 @@ +import { LngOpsPurIntPageModel, LngOpsPurIntPageParams, LngOpsPurIntPageResult } from './model/OpsPurIntModel'; +import { defHttp } from '/@/utils/http/axios'; +import { ErrorMessageMode } from '/#/axios'; + +enum Api { + Page = '/ship/opsPurInt/page', + List = '/ship/opsPurInt/list', + Info = '/ship/opsPurInt/info', + LngOpsPurInt = '/ship/opsPurInt', + + + + + DataLog = '/ship/opsPurInt/datalog', +} + +/** + * @description: 查询LngOpsPurInt分页列表 + */ +export async function getLngOpsPurIntPage(params: LngOpsPurIntPageParams, mode: ErrorMessageMode = 'modal') { + return defHttp.get( + { + url: Api.Page, + params, + }, + { + errorMessageMode: mode, + }, + ); +} + +/** + * @description: 获取LngOpsPurInt信息 + */ +export async function getLngOpsPurInt(id: String, mode: ErrorMessageMode = 'modal') { + return defHttp.get( + { + url: Api.Info, + params: { id }, + }, + { + errorMessageMode: mode, + }, + ); +} + +/** + * @description: 新增LngOpsPurInt + */ +export async function addLngOpsPurInt(lngOpsPurInt: Recordable, mode: ErrorMessageMode = 'modal') { + return defHttp.post( + { + url: Api.LngOpsPurInt, + params: lngOpsPurInt, + }, + { + errorMessageMode: mode, + }, + ); +} + +/** + * @description: 更新LngOpsPurInt + */ +export async function updateLngOpsPurInt(lngOpsPurInt: Recordable, mode: ErrorMessageMode = 'modal') { + return defHttp.put( + { + url: Api.LngOpsPurInt, + params: lngOpsPurInt, + }, + { + errorMessageMode: mode, + }, + ); +} + +/** + * @description: 删除LngOpsPurInt(批量删除) + */ +export async function deleteLngOpsPurInt(ids: string[], mode: ErrorMessageMode = 'modal') { + return defHttp.delete( + { + url: Api.LngOpsPurInt, + data: ids, + }, + { + errorMessageMode: mode, + }, + ); +} \ No newline at end of file diff --git a/src/api/ship/OpsPurInt/model/OpsPurIntModel.ts b/src/api/ship/OpsPurInt/model/OpsPurIntModel.ts new file mode 100644 index 0000000..8d3e58f --- /dev/null +++ b/src/api/ship/OpsPurInt/model/OpsPurIntModel.ts @@ -0,0 +1,54 @@ +import { BasicPageParams, BasicFetchResult } from '/@/api/model/baseModel'; + +/** + * @description: LngOpsPurInt分页参数 模型 + */ +export interface LngOpsPurIntPageParams extends BasicPageParams { + id: string; + + ssNo: string; + + kId: string; + + longSpotCode: string; + + comId: string; + + dateEta: string; + + staCode: string; + + suName: string; + + ssTypeCode: string; +} + +/** + * @description: LngOpsPurInt分页返回值模型 + */ +export interface LngOpsPurIntPageModel { + id: string; + + ssNo: string; + + kId: string; + + longSpotCode: string; + + comId: string; + + dateEta: string; + + staCode: string; + + suName: string; + + ssTypeCode: string; +} + +0; + +/** + * @description: LngOpsPurInt分页返回值结构 + */ +export type LngOpsPurIntPageResult = BasicFetchResult; \ No newline at end of file diff --git a/src/api/ship/OpsSalesInt/index.ts b/src/api/ship/OpsSalesInt/index.ts new file mode 100644 index 0000000..8987aa1 --- /dev/null +++ b/src/api/ship/OpsSalesInt/index.ts @@ -0,0 +1,90 @@ +import { LngOpsSalesIntPageModel, LngOpsSalesIntPageParams, LngOpsSalesIntPageResult } from './model/OpsSalesIntModel'; +import { defHttp } from '/@/utils/http/axios'; +import { ErrorMessageMode } from '/#/axios'; + +enum Api { + Page = '/ship/opsSalesInt/page', + List = '/ship/opsSalesInt/list', + Info = '/ship/opsSalesInt/info', + LngOpsSalesInt = '/ship/opsSalesInt', + + + + + DataLog = '/ship/opsSalesInt/datalog', +} + +/** + * @description: 查询LngOpsSalesInt分页列表 + */ +export async function getLngOpsSalesIntPage(params: LngOpsSalesIntPageParams, mode: ErrorMessageMode = 'modal') { + return defHttp.get( + { + url: Api.Page, + params, + }, + { + errorMessageMode: mode, + }, + ); +} + +/** + * @description: 获取LngOpsSalesInt信息 + */ +export async function getLngOpsSalesInt(id: String, mode: ErrorMessageMode = 'modal') { + return defHttp.get( + { + url: Api.Info, + params: { id }, + }, + { + errorMessageMode: mode, + }, + ); +} + +/** + * @description: 新增LngOpsSalesInt + */ +export async function addLngOpsSalesInt(lngOpsSalesInt: Recordable, mode: ErrorMessageMode = 'modal') { + return defHttp.post( + { + url: Api.LngOpsSalesInt, + params: lngOpsSalesInt, + }, + { + errorMessageMode: mode, + }, + ); +} + +/** + * @description: 更新LngOpsSalesInt + */ +export async function updateLngOpsSalesInt(lngOpsSalesInt: Recordable, mode: ErrorMessageMode = 'modal') { + return defHttp.put( + { + url: Api.LngOpsSalesInt, + params: lngOpsSalesInt, + }, + { + errorMessageMode: mode, + }, + ); +} + +/** + * @description: 删除LngOpsSalesInt(批量删除) + */ +export async function deleteLngOpsSalesInt(ids: string[], mode: ErrorMessageMode = 'modal') { + return defHttp.delete( + { + url: Api.LngOpsSalesInt, + data: ids, + }, + { + errorMessageMode: mode, + }, + ); +} \ No newline at end of file diff --git a/src/api/ship/OpsSalesInt/model/OpsSalesIntModel.ts b/src/api/ship/OpsSalesInt/model/OpsSalesIntModel.ts new file mode 100644 index 0000000..d0a3b99 --- /dev/null +++ b/src/api/ship/OpsSalesInt/model/OpsSalesIntModel.ts @@ -0,0 +1,50 @@ +import { BasicPageParams, BasicFetchResult } from '/@/api/model/baseModel'; + +/** + * @description: LngOpsSalesInt分页参数 模型 + */ +export interface LngOpsSalesIntPageParams extends BasicPageParams { + id: string; + + ssNo: string; + + kId: string; + + longSpotCode: string; + + comId: string; + + dateEta: string; + + portUnloading1Code: string; + + cuName: string; +} + +/** + * @description: LngOpsSalesInt分页返回值模型 + */ +export interface LngOpsSalesIntPageModel { + id: string; + + ssNo: string; + + kId: string; + + longSpotCode: string; + + comId: string; + + dateEta: string; + + portUnloading1Code: string; + + cuName: string; +} + +0; + +/** + * @description: LngOpsSalesInt分页返回值结构 + */ +export type LngOpsSalesIntPageResult = BasicFetchResult; \ No newline at end of file diff --git a/src/api/ship/ShipSchedule/index.ts b/src/api/ship/ShipSchedule/index.ts new file mode 100644 index 0000000..3a8e8ed --- /dev/null +++ b/src/api/ship/ShipSchedule/index.ts @@ -0,0 +1,90 @@ +import { LngShipSchedulePageModel, LngShipSchedulePageParams, LngShipSchedulePageResult } from './model/ShipScheduleModel'; +import { defHttp } from '/@/utils/http/axios'; +import { ErrorMessageMode } from '/#/axios'; + +enum Api { + Page = '/ship/shipSchedule/page', + List = '/ship/shipSchedule/list', + Info = '/ship/shipSchedule/info', + LngShipSchedule = '/ship/shipSchedule', + + + + + DataLog = '/ship/shipSchedule/datalog', +} + +/** + * @description: 查询LngShipSchedule分页列表 + */ +export async function getLngShipSchedulePage(params: LngShipSchedulePageParams, mode: ErrorMessageMode = 'modal') { + return defHttp.get( + { + url: Api.Page, + params, + }, + { + errorMessageMode: mode, + }, + ); +} + +/** + * @description: 获取LngShipSchedule信息 + */ +export async function getLngShipSchedule(id: String, mode: ErrorMessageMode = 'modal') { + return defHttp.get( + { + url: Api.Info, + params: { id }, + }, + { + errorMessageMode: mode, + }, + ); +} + +/** + * @description: 新增LngShipSchedule + */ +export async function addLngShipSchedule(lngShipSchedule: Recordable, mode: ErrorMessageMode = 'modal') { + return defHttp.post( + { + url: Api.LngShipSchedule, + params: lngShipSchedule, + }, + { + errorMessageMode: mode, + }, + ); +} + +/** + * @description: 更新LngShipSchedule + */ +export async function updateLngShipSchedule(lngShipSchedule: Recordable, mode: ErrorMessageMode = 'modal') { + return defHttp.put( + { + url: Api.LngShipSchedule, + params: lngShipSchedule, + }, + { + errorMessageMode: mode, + }, + ); +} + +/** + * @description: 删除LngShipSchedule(批量删除) + */ +export async function deleteLngShipSchedule(ids: string[], mode: ErrorMessageMode = 'modal') { + return defHttp.delete( + { + url: Api.LngShipSchedule, + data: ids, + }, + { + errorMessageMode: mode, + }, + ); +} \ No newline at end of file diff --git a/src/api/ship/ShipSchedule/model/ShipScheduleModel.ts b/src/api/ship/ShipSchedule/model/ShipScheduleModel.ts new file mode 100644 index 0000000..cb8eb5d --- /dev/null +++ b/src/api/ship/ShipSchedule/model/ShipScheduleModel.ts @@ -0,0 +1,62 @@ +import { BasicPageParams, BasicFetchResult } from '/@/api/model/baseModel'; + +/** + * @description: LngShipSchedule分页参数 模型 + */ +export interface LngShipSchedulePageParams extends BasicPageParams { + id: string; + + ssNo: string; + + kId: string; + + longSpotCode: string; + + comId: string; + + dateEta: string; + + staCode: string; + + suName: string; + + ssTypeCode: string; + + opsPurId: string; + + opsSalesId: string; +} + +/** + * @description: LngShipSchedule分页返回值模型 + */ +export interface LngShipSchedulePageModel { + id: string; + + ssNo: string; + + kId: string; + + longSpotCode: string; + + comId: string; + + dateEta: string; + + staCode: string; + + suName: string; + + ssTypeCode: string; + + opsPurId: string; + + opsSalesId: string; +} + +0; + +/** + * @description: LngShipSchedule分页返回值结构 + */ +export type LngShipSchedulePageResult = BasicFetchResult; \ No newline at end of file diff --git a/src/views/price/PricePurPngApp/components/Form.vue b/src/views/price/PricePurPngApp/components/Form.vue new file mode 100644 index 0000000..8080005 --- /dev/null +++ b/src/views/price/PricePurPngApp/components/Form.vue @@ -0,0 +1,224 @@ + + \ No newline at end of file diff --git a/src/views/price/PricePurPngApp/components/PricePurPngAppModal.vue b/src/views/price/PricePurPngApp/components/PricePurPngAppModal.vue new file mode 100644 index 0000000..168dd47 --- /dev/null +++ b/src/views/price/PricePurPngApp/components/PricePurPngAppModal.vue @@ -0,0 +1,110 @@ + + \ No newline at end of file diff --git a/src/views/price/PricePurPngApp/components/config.ts b/src/views/price/PricePurPngApp/components/config.ts new file mode 100644 index 0000000..c84c5e2 --- /dev/null +++ b/src/views/price/PricePurPngApp/components/config.ts @@ -0,0 +1,513 @@ +import { FormProps, FormSchema } from '/@/components/Form'; +import { BasicColumn } from '/@/components/Table'; + +export const formConfig = { + useCustomConfig: false, +}; + +export const searchFormSchema: FormSchema[] = [ + { + field: 'id', + label: 'Id', + component: 'Input', + }, + { + field: 'appName', + label: '申请说明', + component: 'Input', + }, + { + field: 'priceTypeCode', + label: '定价类型', + component: 'Input', + }, + { + field: 'comId', + label: '交易主体', + component: 'Input', + }, + { + field: 'priceDesc', + label: '说明', + component: 'Input', + }, + { + field: 'approCode', + label: '审批状态', + component: 'XjrSelect', + componentProps: { + datasourceType: 'dic', + params: { itemId: '1990669393069129729' }, + labelField: 'name', + valueField: 'value', + + getPopupContainer: () => document.body, + }, + }, +]; + +export const columns: BasicColumn[] = [ + { + dataIndex: 'id', + title: 'Id', + componentType: 'input', + align: 'left', + + sorter: true, + }, + + { + dataIndex: 'appName', + title: '申请说明', + componentType: 'input', + align: 'left', + + sorter: true, + }, + + { + dataIndex: 'priceTypeCode', + title: '定价类型', + componentType: 'input', + align: 'left', + + sorter: true, + }, + + { + dataIndex: 'comId', + title: '交易主体', + componentType: 'input', + align: 'left', + + sorter: true, + }, + + { + dataIndex: 'priceDesc', + title: '说明', + componentType: 'input', + align: 'left', + + sorter: true, + }, + + { + dataIndex: 'approCode', + title: '审批状态', + componentType: 'select', + 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: 'f4fa01f4a3064ce39de3ec27c4232382', + 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: '1d49b1f993424bfcac628210cfbbd10a', + field: 'appName', + 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: '992aadab6f59409e94231b7e4e5a5c3c', + field: 'priceTypeCode', + 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: '0d38008197d2483db6425929aaf32812', + field: 'comId', + label: '交易主体', + type: 'input', + component: 'Input', + colProps: { span: 24 }, + defaultValue: '', + componentProps: { + width: '100%', + span: '', + defaultValue: '', + labelWidthMode: 'fix', + labelFixWidth: 120, + responsive: false, + respNewRow: false, + placeholder: '请输入交易主体', + maxlength: null, + prefix: '', + suffix: '', + addonBefore: '', + addonAfter: '', + disabled: false, + allowClear: false, + showLabel: true, + required: false, + rules: [], + events: {}, + isSave: false, + isShow: true, + scan: false, + style: { width: '100%' }, + }, + }, + { + key: 'd010ae31c78244ae87bff655601cb9c6', + field: 'priceDesc', + 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: 'c2715e8e52be41018574cb36046e0db2', + field: 'approCode', + label: '审批状态', + type: 'select', + component: 'XjrSelect', + colProps: { span: 24 }, + componentProps: { + width: '100%', + span: '', + labelWidthMode: 'fix', + labelFixWidth: 120, + responsive: false, + respNewRow: false, + placeholder: '请选择下拉选择', + sepTextField: '', + showLabel: true, + showSearch: false, + clearable: false, + disabled: true, + mode: '', + staticOptions: [ + { key: 1, label: 'Option 1', value: 'Option 1' }, + { key: 2, label: 'Option 2', value: 'Option 2' }, + { key: 3, label: 'Option 3', value: 'Option 3' }, + ], + defaultSelect: 'WTJ', + datasourceType: 'dic', + params: { itemId: '1990669393069129729' }, + labelField: 'name', + valueField: 'value', + apiConfig: { + path: 'CodeGeneration/selection', + method: 'GET', + apiId: '93d735dcb7364a0f8102188ec4d77ac7', + }, + dicOptions: [], + required: false, + rules: [], + events: {}, + isShow: true, + itemId: '1990669393069129729', + style: { width: '100%' }, + }, + }, + { + key: '9aaa8930082d4453929bd7842b69c0b9', + label: '表格组件', + field: 'lngPricePurPngAppSuList', + type: 'form', + component: 'SubForm', + required: true, + colProps: { span: 24 }, + componentProps: { + mainKey: 'lngPricePurPngAppSuList', + columns: [ + { + key: '3cf2a760f9f949189a343ecf4953f64f', + 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: [], + }, + }, + { + key: 'c08c0749343146b19ff6cf54a3b264ca', + label: '表格组件', + field: 'lngPricePurPngAppSuDtlList', + type: 'form', + component: 'SubForm', + required: true, + colProps: { span: 24 }, + componentProps: { + mainKey: 'lngPricePurPngAppSuDtlList', + columns: [ + { + key: '034ec72682e740a69d3a6ac6b457b95e', + 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/price/PricePurPngApp/components/workflowPermission.ts b/src/views/price/PricePurPngApp/components/workflowPermission.ts new file mode 100644 index 0000000..3d84df3 --- /dev/null +++ b/src/views/price/PricePurPngApp/components/workflowPermission.ts @@ -0,0 +1,150 @@ +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: 'f4fa01f4a3064ce39de3ec27c4232382', + children: [], + }, + { + required: true, + view: true, + edit: true, + disabled: false, + isSaveTable: false, + tableName: '', + fieldName: '申请说明', + fieldId: 'appName', + isSubTable: false, + showChildren: true, + type: 'input', + key: '1d49b1f993424bfcac628210cfbbd10a', + children: [], + }, + { + required: true, + view: true, + edit: true, + disabled: false, + isSaveTable: false, + tableName: '', + fieldName: '定价类型', + fieldId: 'priceTypeCode', + isSubTable: false, + showChildren: true, + type: 'input', + key: '992aadab6f59409e94231b7e4e5a5c3c', + children: [], + }, + { + required: true, + view: true, + edit: true, + disabled: false, + isSaveTable: false, + tableName: '', + fieldName: '交易主体', + fieldId: 'comId', + isSubTable: false, + showChildren: true, + type: 'input', + key: '0d38008197d2483db6425929aaf32812', + children: [], + }, + { + required: true, + view: true, + edit: true, + disabled: false, + isSaveTable: false, + tableName: '', + fieldName: '说明', + fieldId: 'priceDesc', + isSubTable: false, + showChildren: true, + type: 'input', + key: 'd010ae31c78244ae87bff655601cb9c6', + children: [], + }, + { + required: true, + view: true, + edit: true, + disabled: false, + isSaveTable: false, + tableName: '', + fieldName: '审批状态', + fieldId: 'approCode', + isSubTable: false, + showChildren: true, + type: 'select', + key: 'c2715e8e52be41018574cb36046e0db2', + children: [], + }, + { + required: true, + view: true, + edit: true, + disabled: false, + isSubTable: true, + showChildren: false, + tableName: 'lngPricePurPngAppSuList', + fieldName: '表格组件', + fieldId: 'lngPricePurPngAppSuList', + type: 'form', + key: '9aaa8930082d4453929bd7842b69c0b9', + children: [ + { + required: true, + view: true, + edit: true, + disabled: false, + isSubTable: true, + isSaveTable: false, + showChildren: false, + tableName: 'lngPricePurPngAppSuList', + fieldName: '单行文本', + fieldId: 'id', + key: '3cf2a760f9f949189a343ecf4953f64f', + children: [], + }, + ], + }, + { + required: true, + view: true, + edit: true, + disabled: false, + isSubTable: true, + showChildren: false, + tableName: 'lngPricePurPngAppSuDtlList', + fieldName: '表格组件', + fieldId: 'lngPricePurPngAppSuDtlList', + type: 'form', + key: 'c08c0749343146b19ff6cf54a3b264ca', + children: [ + { + required: true, + view: true, + edit: true, + disabled: false, + isSubTable: true, + isSaveTable: false, + showChildren: false, + tableName: 'lngPricePurPngAppSuDtlList', + fieldName: '单行文本', + fieldId: 'id', + key: '034ec72682e740a69d3a6ac6b457b95e', + children: [], + }, + ], + }, +]; \ No newline at end of file diff --git a/src/views/price/PricePurPngApp/index.vue b/src/views/price/PricePurPngApp/index.vue new file mode 100644 index 0000000..c05be48 --- /dev/null +++ b/src/views/price/PricePurPngApp/index.vue @@ -0,0 +1,405 @@ + + + \ No newline at end of file diff --git a/src/views/price/PriceSalesPngApp/components/Form.vue b/src/views/price/PriceSalesPngApp/components/Form.vue new file mode 100644 index 0000000..476690b --- /dev/null +++ b/src/views/price/PriceSalesPngApp/components/Form.vue @@ -0,0 +1,224 @@ + + \ No newline at end of file diff --git a/src/views/price/PriceSalesPngApp/components/PriceSalesPngAppModal.vue b/src/views/price/PriceSalesPngApp/components/PriceSalesPngAppModal.vue new file mode 100644 index 0000000..168dd47 --- /dev/null +++ b/src/views/price/PriceSalesPngApp/components/PriceSalesPngAppModal.vue @@ -0,0 +1,110 @@ + + \ No newline at end of file diff --git a/src/views/price/PriceSalesPngApp/components/config.ts b/src/views/price/PriceSalesPngApp/components/config.ts new file mode 100644 index 0000000..172b20f --- /dev/null +++ b/src/views/price/PriceSalesPngApp/components/config.ts @@ -0,0 +1,494 @@ +import { FormProps, FormSchema } from '/@/components/Form'; +import { BasicColumn } from '/@/components/Table'; + +export const formConfig = { + useCustomConfig: false, +}; + +export const searchFormSchema: FormSchema[] = [ + { + field: 'id', + label: 'id', + component: 'Input', + }, + { + field: 'appName', + label: '申请说明', + component: 'Input', + }, + { + field: 'priceTypeCode', + label: '定价类型', + component: 'Input', + }, + { + field: 'priceDesc', + label: '说明', + component: 'Input', + }, + { + field: 'comId', + label: '交易主体', + component: 'Input', + }, + { + field: 'approCode', + label: '审批状态', + component: 'Input', + }, +]; + +export const columns: BasicColumn[] = [ + { + dataIndex: 'id', + title: 'id', + componentType: 'input', + align: 'left', + + sorter: true, + }, + + { + dataIndex: 'appName', + title: '申请说明', + componentType: 'input', + align: 'left', + + sorter: true, + }, + + { + dataIndex: 'priceTypeCode', + title: '定价类型', + componentType: 'input', + align: 'left', + + sorter: true, + }, + + { + dataIndex: 'priceDesc', + title: '说明', + componentType: 'input', + align: 'left', + + sorter: true, + }, + + { + dataIndex: 'comId', + 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: 'd97ea4a51d5444c58898ecf1d3af1df4', + 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: 'a97d07c63f044c86b415aa6d582a2e9b', + field: 'appName', + 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: 'ea4d39f2a5724276bd20319ba87fbf42', + field: 'priceTypeCode', + 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: '3ab359efb3884e549791c99bb31d6ac6', + field: 'priceDesc', + 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: '534d74fdff5f4f3ba79dbe3fc7be2035', + field: 'comId', + label: '交易主体', + type: 'input', + component: 'Input', + colProps: { span: 24 }, + defaultValue: '', + componentProps: { + width: '100%', + span: '', + defaultValue: '', + labelWidthMode: 'fix', + labelFixWidth: 120, + responsive: false, + respNewRow: false, + placeholder: '请输入交易主体', + maxlength: null, + prefix: '', + suffix: '', + addonBefore: '', + addonAfter: '', + disabled: false, + allowClear: false, + showLabel: true, + required: false, + rules: [], + events: {}, + isSave: false, + isShow: true, + scan: false, + style: { width: '100%' }, + }, + }, + { + key: '1fb3f070a0ac4950b540e7caa9a50bf9', + 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: 'c0c8ff76091f4cb580a6a837331ec22d', + label: '表格组件', + field: 'lngPriceSalesPngAppCuList', + type: 'form', + component: 'SubForm', + required: true, + colProps: { span: 24 }, + componentProps: { + mainKey: 'lngPriceSalesPngAppCuList', + columns: [ + { + key: '50ada716ed004ada8087130f563f054b', + 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: [], + }, + }, + { + key: '3da9bdaa8ba341f9ba29b9ed815dc03c', + label: '表格组件', + field: 'lngPriceSalesPngAppCuDtlList', + type: 'form', + component: 'SubForm', + required: true, + colProps: { span: 24 }, + componentProps: { + mainKey: 'lngPriceSalesPngAppCuDtlList', + columns: [ + { + key: '6d20cbed13414712aecba95024fe3bb6', + 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/price/PriceSalesPngApp/components/workflowPermission.ts b/src/views/price/PriceSalesPngApp/components/workflowPermission.ts new file mode 100644 index 0000000..ecfb83d --- /dev/null +++ b/src/views/price/PriceSalesPngApp/components/workflowPermission.ts @@ -0,0 +1,150 @@ +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: 'd97ea4a51d5444c58898ecf1d3af1df4', + children: [], + }, + { + required: true, + view: true, + edit: true, + disabled: false, + isSaveTable: false, + tableName: '', + fieldName: '申请说明', + fieldId: 'appName', + isSubTable: false, + showChildren: true, + type: 'input', + key: 'a97d07c63f044c86b415aa6d582a2e9b', + children: [], + }, + { + required: true, + view: true, + edit: true, + disabled: false, + isSaveTable: false, + tableName: '', + fieldName: '定价类型', + fieldId: 'priceTypeCode', + isSubTable: false, + showChildren: true, + type: 'input', + key: 'ea4d39f2a5724276bd20319ba87fbf42', + children: [], + }, + { + required: true, + view: true, + edit: true, + disabled: false, + isSaveTable: false, + tableName: '', + fieldName: '说明', + fieldId: 'priceDesc', + isSubTable: false, + showChildren: true, + type: 'input', + key: '3ab359efb3884e549791c99bb31d6ac6', + children: [], + }, + { + required: true, + view: true, + edit: true, + disabled: false, + isSaveTable: false, + tableName: '', + fieldName: '交易主体', + fieldId: 'comId', + isSubTable: false, + showChildren: true, + type: 'input', + key: '534d74fdff5f4f3ba79dbe3fc7be2035', + children: [], + }, + { + required: true, + view: true, + edit: true, + disabled: false, + isSaveTable: false, + tableName: '', + fieldName: '审批状态', + fieldId: 'approCode', + isSubTable: false, + showChildren: true, + type: 'input', + key: '1fb3f070a0ac4950b540e7caa9a50bf9', + children: [], + }, + { + required: true, + view: true, + edit: true, + disabled: false, + isSubTable: true, + showChildren: false, + tableName: 'lngPriceSalesPngAppCuList', + fieldName: '表格组件', + fieldId: 'lngPriceSalesPngAppCuList', + type: 'form', + key: 'c0c8ff76091f4cb580a6a837331ec22d', + children: [ + { + required: true, + view: true, + edit: true, + disabled: false, + isSubTable: true, + isSaveTable: false, + showChildren: false, + tableName: 'lngPriceSalesPngAppCuList', + fieldName: '单行文本', + fieldId: 'id', + key: '50ada716ed004ada8087130f563f054b', + children: [], + }, + ], + }, + { + required: true, + view: true, + edit: true, + disabled: false, + isSubTable: true, + showChildren: false, + tableName: 'lngPriceSalesPngAppCuDtlList', + fieldName: '表格组件', + fieldId: 'lngPriceSalesPngAppCuDtlList', + type: 'form', + key: '3da9bdaa8ba341f9ba29b9ed815dc03c', + children: [ + { + required: true, + view: true, + edit: true, + disabled: false, + isSubTable: true, + isSaveTable: false, + showChildren: false, + tableName: 'lngPriceSalesPngAppCuDtlList', + fieldName: '单行文本', + fieldId: 'id', + key: '6d20cbed13414712aecba95024fe3bb6', + children: [], + }, + ], + }, +]; \ No newline at end of file diff --git a/src/views/price/PriceSalesPngApp/index.vue b/src/views/price/PriceSalesPngApp/index.vue new file mode 100644 index 0000000..ef9db47 --- /dev/null +++ b/src/views/price/PriceSalesPngApp/index.vue @@ -0,0 +1,405 @@ + + + \ No newline at end of file diff --git a/src/views/ship/MeaPurInt/components/Form.vue b/src/views/ship/MeaPurInt/components/Form.vue new file mode 100644 index 0000000..82b7aaa --- /dev/null +++ b/src/views/ship/MeaPurInt/components/Form.vue @@ -0,0 +1,224 @@ + + \ No newline at end of file diff --git a/src/views/ship/MeaPurInt/components/MeaPurIntModal.vue b/src/views/ship/MeaPurInt/components/MeaPurIntModal.vue new file mode 100644 index 0000000..168dd47 --- /dev/null +++ b/src/views/ship/MeaPurInt/components/MeaPurIntModal.vue @@ -0,0 +1,110 @@ + + \ No newline at end of file diff --git a/src/views/ship/MeaPurInt/components/config.ts b/src/views/ship/MeaPurInt/components/config.ts new file mode 100644 index 0000000..52a151b --- /dev/null +++ b/src/views/ship/MeaPurInt/components/config.ts @@ -0,0 +1,746 @@ +import { FormProps, FormSchema } from '/@/components/Form'; +import { BasicColumn } from '/@/components/Table'; + +export const formConfig = { + useCustomConfig: false, +}; + +export const searchFormSchema: FormSchema[] = [ + { + field: 'dateMea', + label: '计量时间', + component: 'Input', + }, + { + field: 'typeCode', + label: '计量类型', + component: 'Input', + }, + { + field: 'inspName', + label: '商检公司', + component: 'Input', + }, + { + field: 'id', + label: 'id', + component: 'Input', + }, + { + field: 'qtyMmbtu', + label: '热值(MMBtu)', + component: 'Input', + }, + { + field: 'qtyGj', + label: '热值(GJ)', + component: 'Input', + }, + { + field: 'qtyTon', + label: '重量(吨)', + component: 'Input', + }, + { + field: 'qtyM3L', + label: '液态体积(方)', + component: 'Input', + }, + { + field: 'qtyM3', + label: '气态体积(方)', + component: 'Input', + }, + { + field: 'rateTonM3L', + label: '密度(吨/液态方)', + component: 'Input', + }, + { + field: 'rateTonGj', + label: '热值比(吨/GJ)', + component: 'Input', + }, + { + field: 'rateM3Gj', + label: '热值比(气态方/GJ)', + component: 'Input', + }, + { + field: 'rateTonM3', + label: '气化率(吨/气态方)', + component: 'Input', + }, + { + field: 'note', + label: '备注', + component: 'Input', + }, +]; + +export const columns: BasicColumn[] = [ + { + dataIndex: 'id', + title: 'id', + componentType: 'input', + align: 'left', + + sorter: true, + }, + + { + dataIndex: 'dateMea', + title: '计量时间', + componentType: 'input', + align: 'left', + + sorter: true, + }, + + { + dataIndex: 'typeCode', + title: '计量类型', + componentType: 'input', + align: 'left', + + sorter: true, + }, + + { + dataIndex: 'qtyMmbtu', + title: '热值(MMBtu)', + componentType: 'input', + align: 'left', + + sorter: true, + }, + + { + dataIndex: 'qtyGj', + title: '热值(GJ)', + componentType: 'input', + align: 'left', + + sorter: true, + }, + + { + dataIndex: 'qtyTon', + title: '重量(吨)', + componentType: 'input', + align: 'left', + + sorter: true, + }, + + { + dataIndex: 'qtyM3L', + title: '液态体积(方)', + componentType: 'input', + align: 'left', + + sorter: true, + }, + + { + dataIndex: 'qtyM3', + title: '气态体积(方)', + componentType: 'input', + align: 'left', + + sorter: true, + }, + + { + dataIndex: 'rateTonM3L', + title: '密度(吨/液态方)', + componentType: 'input', + align: 'left', + + sorter: true, + }, + + { + dataIndex: 'rateTonGj', + title: '热值比(吨/GJ)', + componentType: 'input', + align: 'left', + + sorter: true, + }, + + { + dataIndex: 'rateM3Gj', + title: '热值比(气态方/GJ)', + componentType: 'input', + align: 'left', + + sorter: true, + }, + + { + dataIndex: 'rateTonM3', + title: '气化率(吨/气态方)', + componentType: 'input', + align: 'left', + + sorter: true, + }, + + { + dataIndex: 'inspName', + 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: '3ae9c90410474669ba5bd53480e1b75b', + 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: '308d9a66a67b4762a9120a9febfd3eb9', + 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: '请输入计量时间', + prefix: '', + suffix: '', + addonBefore: '', + addonAfter: '', + disabled: false, + allowClear: false, + showLabel: true, + required: false, + rules: [], + events: {}, + isSave: false, + isShow: true, + scan: false, + style: { width: '100%' }, + }, + }, + { + key: '3df94eac56774f83bacdf6aea872cd2a', + field: 'typeCode', + 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: '2ea1d9d61e544bd58ddb4883d8711f02', + field: 'qtyMmbtu', + label: '热值(MMBtu)', + type: 'input', + component: 'Input', + colProps: { span: 24 }, + defaultValue: '', + componentProps: { + width: '100%', + span: '', + defaultValue: '', + labelWidthMode: 'fix', + labelFixWidth: 120, + responsive: false, + respNewRow: false, + placeholder: '请输入热值(MMBtu)', + prefix: '', + suffix: '', + addonBefore: '', + addonAfter: '', + disabled: false, + allowClear: false, + showLabel: true, + required: false, + rules: [], + events: {}, + isSave: false, + isShow: true, + scan: false, + style: { width: '100%' }, + }, + }, + { + key: 'b48b482dabab4a1ea6ea3064e3a1938b', + field: 'qtyGj', + label: '热值(GJ)', + type: 'input', + component: 'Input', + colProps: { span: 24 }, + defaultValue: '', + componentProps: { + width: '100%', + span: '', + defaultValue: '', + labelWidthMode: 'fix', + labelFixWidth: 120, + responsive: false, + respNewRow: false, + placeholder: '请输入热值(GJ)', + prefix: '', + suffix: '', + addonBefore: '', + addonAfter: '', + disabled: false, + allowClear: false, + showLabel: true, + required: false, + rules: [], + events: {}, + isSave: false, + isShow: true, + scan: false, + style: { width: '100%' }, + }, + }, + { + key: '29ec78cc27d24e7d9bd766fb9f94de35', + field: 'qtyTon', + 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: '215863caaaaf4a3eb5ba2d314cc3b218', + field: 'qtyM3L', + 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: '85607cf5efe9483fb0f9ca0a3a0273ee', + field: 'qtyM3', + 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: '49c82f8959a048e391b106539dd16363', + field: 'rateTonM3L', + 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: 'f5cdcb155e9f42359ae26c8bdadacee9', + field: 'rateTonGj', + label: '热值比(吨/GJ)', + type: 'input', + component: 'Input', + colProps: { span: 24 }, + defaultValue: '', + componentProps: { + width: '100%', + span: '', + defaultValue: '', + labelWidthMode: 'fix', + labelFixWidth: 120, + responsive: false, + respNewRow: false, + placeholder: '请输入热值比(吨/GJ)', + prefix: '', + suffix: '', + addonBefore: '', + addonAfter: '', + disabled: false, + allowClear: false, + showLabel: true, + required: false, + rules: [], + events: {}, + isSave: false, + isShow: true, + scan: false, + style: { width: '100%' }, + }, + }, + { + key: '0c0d7fe1be4942ed940a7dbe5a6d4a96', + field: 'rateM3Gj', + label: '热值比(气态方/GJ)', + type: 'input', + component: 'Input', + colProps: { span: 24 }, + defaultValue: '', + componentProps: { + width: '100%', + span: '', + defaultValue: '', + labelWidthMode: 'fix', + labelFixWidth: 120, + responsive: false, + respNewRow: false, + placeholder: '请输入热值比(气态方/GJ)', + prefix: '', + suffix: '', + addonBefore: '', + addonAfter: '', + disabled: false, + allowClear: false, + showLabel: true, + required: false, + rules: [], + events: {}, + isSave: false, + isShow: true, + scan: false, + style: { width: '100%' }, + }, + }, + { + key: 'c4b147a273e14ff89a4966de18e1bd30', + field: 'rateTonM3', + 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: '65cdc0bb9cbe42f28d94772465f6fe2e', + field: 'inspName', + 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: 'a19c701d9daa4acdbdd8a70d72aa69dc', + 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%' }, + }, + }, + ], + showActionButtonGroup: false, + buttonLocation: 'center', + actionColOptions: { span: 24 }, + showResetButton: false, + showSubmitButton: false, + hiddenComponent: [], +}; \ No newline at end of file diff --git a/src/views/ship/MeaPurInt/components/workflowPermission.ts b/src/views/ship/MeaPurInt/components/workflowPermission.ts new file mode 100644 index 0000000..2d3c2e4 --- /dev/null +++ b/src/views/ship/MeaPurInt/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: '3ae9c90410474669ba5bd53480e1b75b', + children: [], + }, + { + required: true, + view: true, + edit: true, + disabled: false, + isSaveTable: false, + tableName: '', + fieldName: '计量时间', + fieldId: 'dateMea', + isSubTable: false, + showChildren: true, + type: 'input', + key: '308d9a66a67b4762a9120a9febfd3eb9', + children: [], + }, + { + required: true, + view: true, + edit: true, + disabled: false, + isSaveTable: false, + tableName: '', + fieldName: '计量类型', + fieldId: 'typeCode', + isSubTable: false, + showChildren: true, + type: 'input', + key: '3df94eac56774f83bacdf6aea872cd2a', + children: [], + }, + { + required: true, + view: true, + edit: true, + disabled: false, + isSaveTable: false, + tableName: '', + fieldName: '热值(MMBtu)', + fieldId: 'qtyMmbtu', + isSubTable: false, + showChildren: true, + type: 'input', + key: '2ea1d9d61e544bd58ddb4883d8711f02', + children: [], + }, + { + required: true, + view: true, + edit: true, + disabled: false, + isSaveTable: false, + tableName: '', + fieldName: '热值(GJ)', + fieldId: 'qtyGj', + isSubTable: false, + showChildren: true, + type: 'input', + key: 'b48b482dabab4a1ea6ea3064e3a1938b', + children: [], + }, + { + required: true, + view: true, + edit: true, + disabled: false, + isSaveTable: false, + tableName: '', + fieldName: '重量(吨)', + fieldId: 'qtyTon', + isSubTable: false, + showChildren: true, + type: 'input', + key: '29ec78cc27d24e7d9bd766fb9f94de35', + children: [], + }, + { + required: true, + view: true, + edit: true, + disabled: false, + isSaveTable: false, + tableName: '', + fieldName: '液态体积(方)', + fieldId: 'qtyM3L', + isSubTable: false, + showChildren: true, + type: 'input', + key: '215863caaaaf4a3eb5ba2d314cc3b218', + children: [], + }, + { + required: true, + view: true, + edit: true, + disabled: false, + isSaveTable: false, + tableName: '', + fieldName: '气态体积(方)', + fieldId: 'qtyM3', + isSubTable: false, + showChildren: true, + type: 'input', + key: '85607cf5efe9483fb0f9ca0a3a0273ee', + children: [], + }, + { + required: true, + view: true, + edit: true, + disabled: false, + isSaveTable: false, + tableName: '', + fieldName: '密度(吨/液态方)', + fieldId: 'rateTonM3L', + isSubTable: false, + showChildren: true, + type: 'input', + key: '49c82f8959a048e391b106539dd16363', + children: [], + }, + { + required: true, + view: true, + edit: true, + disabled: false, + isSaveTable: false, + tableName: '', + fieldName: '热值比(吨/GJ)', + fieldId: 'rateTonGj', + isSubTable: false, + showChildren: true, + type: 'input', + key: 'f5cdcb155e9f42359ae26c8bdadacee9', + children: [], + }, + { + required: true, + view: true, + edit: true, + disabled: false, + isSaveTable: false, + tableName: '', + fieldName: '热值比(气态方/GJ)', + fieldId: 'rateM3Gj', + isSubTable: false, + showChildren: true, + type: 'input', + key: '0c0d7fe1be4942ed940a7dbe5a6d4a96', + children: [], + }, + { + required: true, + view: true, + edit: true, + disabled: false, + isSaveTable: false, + tableName: '', + fieldName: '气化率(吨/气态方)', + fieldId: 'rateTonM3', + isSubTable: false, + showChildren: true, + type: 'input', + key: 'c4b147a273e14ff89a4966de18e1bd30', + children: [], + }, + { + required: true, + view: true, + edit: true, + disabled: false, + isSaveTable: false, + tableName: '', + fieldName: '商检公司', + fieldId: 'inspName', + isSubTable: false, + showChildren: true, + type: 'input', + key: '65cdc0bb9cbe42f28d94772465f6fe2e', + children: [], + }, + { + required: true, + view: true, + edit: true, + disabled: false, + isSaveTable: false, + tableName: '', + fieldName: '备注', + fieldId: 'note', + isSubTable: false, + showChildren: true, + type: 'input', + key: 'a19c701d9daa4acdbdd8a70d72aa69dc', + children: [], + }, +]; \ No newline at end of file diff --git a/src/views/ship/MeaPurInt/index.vue b/src/views/ship/MeaPurInt/index.vue new file mode 100644 index 0000000..f49f46f --- /dev/null +++ b/src/views/ship/MeaPurInt/index.vue @@ -0,0 +1,308 @@ + + + \ No newline at end of file diff --git a/src/views/ship/OpsPurInt/components/Form.vue b/src/views/ship/OpsPurInt/components/Form.vue new file mode 100644 index 0000000..7ed4437 --- /dev/null +++ b/src/views/ship/OpsPurInt/components/Form.vue @@ -0,0 +1,224 @@ + + \ No newline at end of file diff --git a/src/views/ship/OpsPurInt/components/OpsPurIntModal.vue b/src/views/ship/OpsPurInt/components/OpsPurIntModal.vue new file mode 100644 index 0000000..168dd47 --- /dev/null +++ b/src/views/ship/OpsPurInt/components/OpsPurIntModal.vue @@ -0,0 +1,110 @@ + + \ No newline at end of file diff --git a/src/views/ship/OpsPurInt/components/config.ts b/src/views/ship/OpsPurInt/components/config.ts new file mode 100644 index 0000000..b6427ca --- /dev/null +++ b/src/views/ship/OpsPurInt/components/config.ts @@ -0,0 +1,520 @@ +import { FormProps, FormSchema } from '/@/components/Form'; +import { BasicColumn } from '/@/components/Table'; + +export const formConfig = { + useCustomConfig: false, +}; + +export const searchFormSchema: FormSchema[] = [ + { + field: 'id', + label: 'id', + component: 'Input', + }, + { + field: 'ssNo', + label: '船期编号', + component: 'Input', + }, + { + field: 'kId', + label: '合同', + component: 'Input', + }, + { + field: 'longSpotCode', + label: '长协/现货', + component: 'Input', + }, + { + field: 'comId', + label: '交易主体', + component: 'Input', + }, + { + field: 'dateEta', + label: '卸港ETA', + component: 'Input', + }, + { + field: 'staCode', + label: '接收站', + component: 'Input', + }, + { + field: 'suName', + label: '供应商', + component: 'Input', + }, + { + field: 'ssTypeCode', + label: '业务类型', + component: 'Input', + }, +]; + +export const columns: BasicColumn[] = [ + { + dataIndex: 'id', + title: 'id', + componentType: 'input', + align: 'left', + + sorter: true, + }, + + { + dataIndex: 'ssNo', + title: '船期编号', + componentType: 'input', + align: 'left', + + sorter: true, + }, + + { + dataIndex: 'kId', + title: '合同', + componentType: 'input', + align: 'left', + + sorter: true, + }, + + { + dataIndex: 'longSpotCode', + title: '长协/现货', + componentType: 'input', + align: 'left', + + sorter: true, + }, + + { + dataIndex: 'comId', + title: '交易主体', + componentType: 'input', + align: 'left', + + sorter: true, + }, + + { + dataIndex: 'dateEta', + title: '卸港ETA', + componentType: 'input', + align: 'left', + + sorter: true, + }, + + { + dataIndex: 'staCode', + title: '接收站', + componentType: 'input', + align: 'left', + + sorter: true, + }, + + { + dataIndex: 'suName', + title: '供应商', + componentType: 'input', + align: 'left', + + sorter: true, + }, + + { + dataIndex: 'ssTypeCode', + 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: '747fffbaf6f047bd8c58dd35996bfded', + 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: 'ac48af371e454a0092a92723479c8423', + field: 'ssNo', + 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: '0c59bc923f7d42ee9e64985f445d4e14', + 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: '请输入合同', + 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: '6f86351503794cf0b17296c49beae2ee', + field: 'longSpotCode', + 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: '14618367d87849e6b5ca1163adb633fc', + field: 'comId', + label: '交易主体', + type: 'input', + component: 'Input', + colProps: { span: 24 }, + defaultValue: '', + componentProps: { + width: '100%', + span: '', + defaultValue: '', + labelWidthMode: 'fix', + labelFixWidth: 120, + responsive: false, + respNewRow: false, + placeholder: '请输入交易主体', + maxlength: null, + prefix: '', + suffix: '', + addonBefore: '', + addonAfter: '', + disabled: false, + allowClear: false, + showLabel: true, + required: false, + rules: [], + events: {}, + isSave: false, + isShow: true, + scan: false, + style: { width: '100%' }, + }, + }, + { + key: '4a1f6263b59b4363a8584cbeeaa70add', + field: 'dateEta', + label: '卸港ETA', + type: 'input', + component: 'Input', + colProps: { span: 24 }, + defaultValue: '', + componentProps: { + width: '100%', + span: '', + defaultValue: '', + labelWidthMode: 'fix', + labelFixWidth: 120, + responsive: false, + respNewRow: false, + placeholder: '请输入卸港ETA', + 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: 'd934a9e60d7f49688966349ac81aa84b', + 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: '89ecce1f60c041f5b381cf24455011e9', + field: 'suName', + 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: '7bfdfd702e1b479d968b599c3c49bcbf', + field: 'ssTypeCode', + 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/ship/OpsPurInt/components/workflowPermission.ts b/src/views/ship/OpsPurInt/components/workflowPermission.ts new file mode 100644 index 0000000..f0af603 --- /dev/null +++ b/src/views/ship/OpsPurInt/components/workflowPermission.ts @@ -0,0 +1,137 @@ +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: '747fffbaf6f047bd8c58dd35996bfded', + children: [], + }, + { + required: true, + view: true, + edit: true, + disabled: false, + isSaveTable: false, + tableName: '', + fieldName: '船期编号', + fieldId: 'ssNo', + isSubTable: false, + showChildren: true, + type: 'input', + key: 'ac48af371e454a0092a92723479c8423', + children: [], + }, + { + required: true, + view: true, + edit: true, + disabled: false, + isSaveTable: false, + tableName: '', + fieldName: '合同', + fieldId: 'kId', + isSubTable: false, + showChildren: true, + type: 'input', + key: '0c59bc923f7d42ee9e64985f445d4e14', + children: [], + }, + { + required: true, + view: true, + edit: true, + disabled: false, + isSaveTable: false, + tableName: '', + fieldName: '长协/现货', + fieldId: 'longSpotCode', + isSubTable: false, + showChildren: true, + type: 'input', + key: '6f86351503794cf0b17296c49beae2ee', + children: [], + }, + { + required: true, + view: true, + edit: true, + disabled: false, + isSaveTable: false, + tableName: '', + fieldName: '交易主体', + fieldId: 'comId', + isSubTable: false, + showChildren: true, + type: 'input', + key: '14618367d87849e6b5ca1163adb633fc', + children: [], + }, + { + required: true, + view: true, + edit: true, + disabled: false, + isSaveTable: false, + tableName: '', + fieldName: '卸港ETA', + fieldId: 'dateEta', + isSubTable: false, + showChildren: true, + type: 'input', + key: '4a1f6263b59b4363a8584cbeeaa70add', + children: [], + }, + { + required: true, + view: true, + edit: true, + disabled: false, + isSaveTable: false, + tableName: '', + fieldName: '接收站', + fieldId: 'staCode', + isSubTable: false, + showChildren: true, + type: 'input', + key: 'd934a9e60d7f49688966349ac81aa84b', + children: [], + }, + { + required: true, + view: true, + edit: true, + disabled: false, + isSaveTable: false, + tableName: '', + fieldName: '供应商', + fieldId: 'suName', + isSubTable: false, + showChildren: true, + type: 'input', + key: '89ecce1f60c041f5b381cf24455011e9', + children: [], + }, + { + required: true, + view: true, + edit: true, + disabled: false, + isSaveTable: false, + tableName: '', + fieldName: '业务类型', + fieldId: 'ssTypeCode', + isSubTable: false, + showChildren: true, + type: 'input', + key: '7bfdfd702e1b479d968b599c3c49bcbf', + children: [], + }, +]; \ No newline at end of file diff --git a/src/views/ship/OpsPurInt/index.vue b/src/views/ship/OpsPurInt/index.vue new file mode 100644 index 0000000..67b563c --- /dev/null +++ b/src/views/ship/OpsPurInt/index.vue @@ -0,0 +1,308 @@ + + + \ No newline at end of file diff --git a/src/views/ship/OpsSalesInt/components/Form.vue b/src/views/ship/OpsSalesInt/components/Form.vue new file mode 100644 index 0000000..c7fc72e --- /dev/null +++ b/src/views/ship/OpsSalesInt/components/Form.vue @@ -0,0 +1,224 @@ + + \ No newline at end of file diff --git a/src/views/ship/OpsSalesInt/components/OpsSalesIntModal.vue b/src/views/ship/OpsSalesInt/components/OpsSalesIntModal.vue new file mode 100644 index 0000000..168dd47 --- /dev/null +++ b/src/views/ship/OpsSalesInt/components/OpsSalesIntModal.vue @@ -0,0 +1,110 @@ + + \ No newline at end of file diff --git a/src/views/ship/OpsSalesInt/components/config.ts b/src/views/ship/OpsSalesInt/components/config.ts new file mode 100644 index 0000000..7b280de --- /dev/null +++ b/src/views/ship/OpsSalesInt/components/config.ts @@ -0,0 +1,472 @@ +import { FormProps, FormSchema } from '/@/components/Form'; +import { BasicColumn } from '/@/components/Table'; + +export const formConfig = { + useCustomConfig: false, +}; + +export const searchFormSchema: FormSchema[] = [ + { + field: 'id', + label: 'id', + component: 'Input', + }, + { + field: 'ssNo', + label: '船期编号', + component: 'Input', + }, + { + field: 'kId', + label: '合同', + component: 'Input', + }, + { + field: 'longSpotCode', + label: '长协/现货', + component: 'Input', + }, + { + field: 'comId', + label: '交易主体', + component: 'Input', + }, + { + field: 'dateEta', + label: '卸港ETA', + component: 'Input', + }, + { + field: 'portUnloading1Code', + label: '卸港港口', + component: 'Input', + }, + { + field: 'cuName', + label: '客户', + component: 'Input', + }, +]; + +export const columns: BasicColumn[] = [ + { + dataIndex: 'id', + title: 'id', + componentType: 'input', + align: 'left', + + sorter: true, + }, + + { + dataIndex: 'ssNo', + title: '船期编号', + componentType: 'input', + align: 'left', + + sorter: true, + }, + + { + dataIndex: 'kId', + title: '合同', + componentType: 'input', + align: 'left', + + sorter: true, + }, + + { + dataIndex: 'longSpotCode', + title: '长协/现货', + componentType: 'input', + align: 'left', + + sorter: true, + }, + + { + dataIndex: 'comId', + title: '交易主体', + componentType: 'input', + align: 'left', + + sorter: true, + }, + + { + dataIndex: 'dateEta', + title: '卸港ETA', + componentType: 'input', + align: 'left', + + sorter: true, + }, + + { + dataIndex: 'portUnloading1Code', + title: '卸港港口', + componentType: 'input', + align: 'left', + + sorter: true, + }, + + { + dataIndex: 'cuName', + 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: '1e3972a0c590458fba8b5461855daf04', + 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: 'a3a65cdf7def40c8af5e32350bbc7b8b', + field: 'ssNo', + 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: 'c2cf7b2d16514e6fb05a33e9d7b5ea55', + 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: '请输入合同', + 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: '2798f304d6464c53a67283e375b54776', + field: 'longSpotCode', + 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: '04670dc9277a41e8ba07a7d2369b91a8', + field: 'comId', + label: '交易主体', + type: 'input', + component: 'Input', + colProps: { span: 24 }, + defaultValue: '', + componentProps: { + width: '100%', + span: '', + defaultValue: '', + labelWidthMode: 'fix', + labelFixWidth: 120, + responsive: false, + respNewRow: false, + placeholder: '请输入交易主体', + maxlength: null, + prefix: '', + suffix: '', + addonBefore: '', + addonAfter: '', + disabled: false, + allowClear: false, + showLabel: true, + required: false, + rules: [], + events: {}, + isSave: false, + isShow: true, + scan: false, + style: { width: '100%' }, + }, + }, + { + key: 'a097d56a0cb54b42aad8318522f937c2', + field: 'dateEta', + label: '卸港ETA', + type: 'input', + component: 'Input', + colProps: { span: 24 }, + defaultValue: '', + componentProps: { + width: '100%', + span: '', + defaultValue: '', + labelWidthMode: 'fix', + labelFixWidth: 120, + responsive: false, + respNewRow: false, + placeholder: '请输入卸港ETA', + 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: '2e7ffaedf4f34d178644175740160cb1', + field: 'portUnloading1Code', + 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: 'a74dfdcce3674f61b579b46b522ed23b', + field: 'cuName', + 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/ship/OpsSalesInt/components/workflowPermission.ts b/src/views/ship/OpsSalesInt/components/workflowPermission.ts new file mode 100644 index 0000000..e0f0a61 --- /dev/null +++ b/src/views/ship/OpsSalesInt/components/workflowPermission.ts @@ -0,0 +1,122 @@ +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: '1e3972a0c590458fba8b5461855daf04', + children: [], + }, + { + required: true, + view: true, + edit: true, + disabled: false, + isSaveTable: false, + tableName: '', + fieldName: '船期编号', + fieldId: 'ssNo', + isSubTable: false, + showChildren: true, + type: 'input', + key: 'a3a65cdf7def40c8af5e32350bbc7b8b', + children: [], + }, + { + required: true, + view: true, + edit: true, + disabled: false, + isSaveTable: false, + tableName: '', + fieldName: '合同', + fieldId: 'kId', + isSubTable: false, + showChildren: true, + type: 'input', + key: 'c2cf7b2d16514e6fb05a33e9d7b5ea55', + children: [], + }, + { + required: true, + view: true, + edit: true, + disabled: false, + isSaveTable: false, + tableName: '', + fieldName: '长协/现货', + fieldId: 'longSpotCode', + isSubTable: false, + showChildren: true, + type: 'input', + key: '2798f304d6464c53a67283e375b54776', + children: [], + }, + { + required: true, + view: true, + edit: true, + disabled: false, + isSaveTable: false, + tableName: '', + fieldName: '交易主体', + fieldId: 'comId', + isSubTable: false, + showChildren: true, + type: 'input', + key: '04670dc9277a41e8ba07a7d2369b91a8', + children: [], + }, + { + required: true, + view: true, + edit: true, + disabled: false, + isSaveTable: false, + tableName: '', + fieldName: '卸港ETA', + fieldId: 'dateEta', + isSubTable: false, + showChildren: true, + type: 'input', + key: 'a097d56a0cb54b42aad8318522f937c2', + children: [], + }, + { + required: true, + view: true, + edit: true, + disabled: false, + isSaveTable: false, + tableName: '', + fieldName: '卸港港口', + fieldId: 'portUnloading1Code', + isSubTable: false, + showChildren: true, + type: 'input', + key: '2e7ffaedf4f34d178644175740160cb1', + children: [], + }, + { + required: true, + view: true, + edit: true, + disabled: false, + isSaveTable: false, + tableName: '', + fieldName: '客户', + fieldId: 'cuName', + isSubTable: false, + showChildren: true, + type: 'input', + key: 'a74dfdcce3674f61b579b46b522ed23b', + children: [], + }, +]; \ No newline at end of file diff --git a/src/views/ship/OpsSalesInt/index.vue b/src/views/ship/OpsSalesInt/index.vue new file mode 100644 index 0000000..720dc36 --- /dev/null +++ b/src/views/ship/OpsSalesInt/index.vue @@ -0,0 +1,308 @@ + + + \ No newline at end of file diff --git a/src/views/ship/ShipSchedule/components/Form.vue b/src/views/ship/ShipSchedule/components/Form.vue new file mode 100644 index 0000000..bb4f2f3 --- /dev/null +++ b/src/views/ship/ShipSchedule/components/Form.vue @@ -0,0 +1,224 @@ + + \ No newline at end of file diff --git a/src/views/ship/ShipSchedule/components/ShipScheduleModal.vue b/src/views/ship/ShipSchedule/components/ShipScheduleModal.vue new file mode 100644 index 0000000..168dd47 --- /dev/null +++ b/src/views/ship/ShipSchedule/components/ShipScheduleModal.vue @@ -0,0 +1,110 @@ + + \ No newline at end of file diff --git a/src/views/ship/ShipSchedule/components/config.ts b/src/views/ship/ShipSchedule/components/config.ts new file mode 100644 index 0000000..ff98787 --- /dev/null +++ b/src/views/ship/ShipSchedule/components/config.ts @@ -0,0 +1,567 @@ +import { FormProps, FormSchema } from '/@/components/Form'; +import { BasicColumn } from '/@/components/Table'; + +export const formConfig = { + useCustomConfig: false, +}; + +export const searchFormSchema: FormSchema[] = [ + { + field: 'ssNo', + label: '船期编号', + component: 'Input', + }, + { + field: 'comName', + label: '交易主体', + component: 'Input', + }, + { + field: 'staName', + label: '接收站', + component: 'Input', + }, +]; + +export const columns: BasicColumn[] = [ + { + dataIndex: 'ssNo', + title: '船期编号', + componentType: 'input', + align: 'left', + + sorter: true, + }, + + { + dataIndex: 'kId', + title: '合同', + componentType: 'input', + align: 'left', + + sorter: true, + }, + + { + dataIndex: 'longSpotCode', + title: '长协/现货', + componentType: 'input', + align: 'left', + + sorter: true, + }, + + { + dataIndex: 'comId', + title: '交易主体', + componentType: 'input', + align: 'left', + + sorter: true, + }, + + { + dataIndex: 'dateEta', + title: '卸港ETA', + componentType: 'input', + align: 'left', + + sorter: true, + }, + + { + dataIndex: 'staCode', + title: '接收站', + componentType: 'input', + align: 'left', + + sorter: true, + }, + + { + dataIndex: 'suName', + title: '供应商', + componentType: 'input', + align: 'left', + + sorter: true, + }, + + { + dataIndex: 'ssTypeCode', + title: '业务类型', + componentType: 'input', + align: 'left', + + sorter: true, + }, + + { + dataIndex: 'opsPurId', + title: '采购执行状态', + componentType: 'input', + align: 'left', + + sorter: true, + }, + + { + dataIndex: 'opsSalesId', + 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: '727ecf2b215d409f91b921eabc435282', + 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: '9493071a374e43af9ef2435fe054e57c', + field: 'ssNo', + 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: '26cba2c0b33147adb57d870a00f5f138', + 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: '请输入合同', + 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: '0258b609995d4216a3af4901a471d17e', + field: 'longSpotCode', + 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: 'a26ea714754344b988e81655ff2e3f1e', + field: 'comId', + label: '交易主体', + type: 'input', + component: 'Input', + colProps: { span: 24 }, + defaultValue: '', + componentProps: { + width: '100%', + span: '', + defaultValue: '', + labelWidthMode: 'fix', + labelFixWidth: 120, + responsive: false, + respNewRow: false, + placeholder: '请输入交易主体', + maxlength: null, + prefix: '', + suffix: '', + addonBefore: '', + addonAfter: '', + disabled: false, + allowClear: false, + showLabel: true, + required: false, + rules: [], + events: {}, + isSave: false, + isShow: true, + scan: false, + style: { width: '100%' }, + }, + }, + { + key: 'fc7562df234f4de3b627fc6f6e90cc76', + field: 'dateEta', + label: '卸港ETA', + type: 'input', + component: 'Input', + colProps: { span: 24 }, + defaultValue: '', + componentProps: { + width: '100%', + span: '', + defaultValue: '', + labelWidthMode: 'fix', + labelFixWidth: 120, + responsive: false, + respNewRow: false, + placeholder: '请输入卸港ETA', + 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: 'e854bd6b50ff45dea6048479cb9db320', + 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: '6a93e33ba7044ac69bf59d1607e23179', + field: 'suName', + 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: '28a11d8e4c5a411698c4d10e47afc1a9', + field: 'ssTypeCode', + 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: '35d258428cb4424898dfbe0ea2eb5651', + field: 'opsPurId', + 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: '5e312ff598574a559555bb57fd594918', + field: 'opsSalesId', + 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/ship/ShipSchedule/components/workflowPermission.ts b/src/views/ship/ShipSchedule/components/workflowPermission.ts new file mode 100644 index 0000000..b4b866c --- /dev/null +++ b/src/views/ship/ShipSchedule/components/workflowPermission.ts @@ -0,0 +1,167 @@ +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: '727ecf2b215d409f91b921eabc435282', + children: [], + }, + { + required: true, + view: true, + edit: true, + disabled: false, + isSaveTable: false, + tableName: '', + fieldName: '船期编号', + fieldId: 'ssNo', + isSubTable: false, + showChildren: true, + type: 'input', + key: '9493071a374e43af9ef2435fe054e57c', + children: [], + }, + { + required: true, + view: true, + edit: true, + disabled: false, + isSaveTable: false, + tableName: '', + fieldName: '合同', + fieldId: 'kId', + isSubTable: false, + showChildren: true, + type: 'input', + key: '26cba2c0b33147adb57d870a00f5f138', + children: [], + }, + { + required: true, + view: true, + edit: true, + disabled: false, + isSaveTable: false, + tableName: '', + fieldName: '长协/现货', + fieldId: 'longSpotCode', + isSubTable: false, + showChildren: true, + type: 'input', + key: '0258b609995d4216a3af4901a471d17e', + children: [], + }, + { + required: true, + view: true, + edit: true, + disabled: false, + isSaveTable: false, + tableName: '', + fieldName: '交易主体', + fieldId: 'comId', + isSubTable: false, + showChildren: true, + type: 'input', + key: 'a26ea714754344b988e81655ff2e3f1e', + children: [], + }, + { + required: true, + view: true, + edit: true, + disabled: false, + isSaveTable: false, + tableName: '', + fieldName: '卸港ETA', + fieldId: 'dateEta', + isSubTable: false, + showChildren: true, + type: 'input', + key: 'fc7562df234f4de3b627fc6f6e90cc76', + children: [], + }, + { + required: true, + view: true, + edit: true, + disabled: false, + isSaveTable: false, + tableName: '', + fieldName: '接收站', + fieldId: 'staCode', + isSubTable: false, + showChildren: true, + type: 'input', + key: 'e854bd6b50ff45dea6048479cb9db320', + children: [], + }, + { + required: true, + view: true, + edit: true, + disabled: false, + isSaveTable: false, + tableName: '', + fieldName: '供应商', + fieldId: 'suName', + isSubTable: false, + showChildren: true, + type: 'input', + key: '6a93e33ba7044ac69bf59d1607e23179', + children: [], + }, + { + required: true, + view: true, + edit: true, + disabled: false, + isSaveTable: false, + tableName: '', + fieldName: '业务类型', + fieldId: 'ssTypeCode', + isSubTable: false, + showChildren: true, + type: 'input', + key: '28a11d8e4c5a411698c4d10e47afc1a9', + children: [], + }, + { + required: true, + view: true, + edit: true, + disabled: false, + isSaveTable: false, + tableName: '', + fieldName: '采购执行状态', + fieldId: 'opsPurId', + isSubTable: false, + showChildren: true, + type: 'input', + key: '35d258428cb4424898dfbe0ea2eb5651', + children: [], + }, + { + required: true, + view: true, + edit: true, + disabled: false, + isSaveTable: false, + tableName: '', + fieldName: '销售执行状态', + fieldId: 'opsSalesId', + isSubTable: false, + showChildren: true, + type: 'input', + key: '5e312ff598574a559555bb57fd594918', + children: [], + }, +]; \ No newline at end of file diff --git a/src/views/ship/ShipSchedule/index.vue b/src/views/ship/ShipSchedule/index.vue new file mode 100644 index 0000000..2e7b066 --- /dev/null +++ b/src/views/ship/ShipSchedule/index.vue @@ -0,0 +1,308 @@ + + + \ No newline at end of file