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] =?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