diff --git a/src/components/ApproveBtns/index.vue b/src/components/ApproveBtns/index.vue index 668cf736..9f4ed9b4 100644 --- a/src/components/ApproveBtns/index.vue +++ b/src/components/ApproveBtns/index.vue @@ -4,26 +4,34 @@ * @Date: 2024-04-29 11:54:04 --> \ No newline at end of file + + + \ No newline at end of file diff --git a/src/components/CostEntry/actionBar.vue b/src/components/CostEntry/actionBar.vue index a4281b3d..76ba220c 100644 --- a/src/components/CostEntry/actionBar.vue +++ b/src/components/CostEntry/actionBar.vue @@ -381,7 +381,7 @@ if (!flag) return createMessage.warning('请勾选要查看流程的费用!') if (arr.length > 1) return createMessage.warning('仅支持勾选1条费用进行查看流程!') if (arr[0].feeStatus == 1) return createMessage.warning('费用录入状态的数据不支持查看流程!') - flowChart.value.init(arr[0].id, 0, 1) + flowChart.value.init(arr[0].id, 1, 0) } // 提交引入(历史) const submitHistory = (v) => { diff --git a/src/components/FlowChart/index.vue b/src/components/FlowChart/index.vue index f04c2729..d6de0c1c 100644 --- a/src/components/FlowChart/index.vue +++ b/src/components/FlowChart/index.vue @@ -73,11 +73,12 @@ const loading = ref(false) // 审批历史数据 const approveData = ref([]) - const init = (id, type, btype) => { + // 初始化方法 params: {id: 业务id, type,} + const init = (id, btype, type) => { visible.value = true loading.value = true activeKey.value = '1' - GetFlowContent({ businessId: id, type, businessType: btype }).then(res => { + GetFlowContent({ businessId: id, businessType: btype, type }).then(res => { loading.value = false const { data } = res data.forEach(item => { @@ -112,7 +113,8 @@ } .ant-modal-title { position: relative; - top: -15px; + top: 0; + padding-right: 20px; } .ant-modal-body { display: none; diff --git a/src/design/public.less b/src/design/public.less index 65695c70..eb6ee068 100644 --- a/src/design/public.less +++ b/src/design/public.less @@ -274,18 +274,6 @@ h5 { color: #7A8798; } -// 审批按钮容器 -.ds-approve-btns { - position: fixed; - bottom: 0; - background-color: #ffffff; - padding: 8px 20px; - text-align: right; - right: 0; - left: 0; - border-top: 1px solid #d9d9d9; -} - .ds-view-box { padding-bottom: 65px; } \ No newline at end of file diff --git a/src/views/approve/fee/components/feeActionBar.vue b/src/views/approve/fee/components/feeActionBar.vue index ef139257..d9ee7695 100644 --- a/src/views/approve/fee/components/feeActionBar.vue +++ b/src/views/approve/fee/components/feeActionBar.vue @@ -184,7 +184,7 @@ if (props.ids.length > 1) return createMessage.warning('仅支持勾选1条费用进行查看流程!') if (props.feeStatus[0] == 1) return createMessage.warning('费用录入状态的数据不支持查看流程!') console.log(props.ids) - flowChart.value.init(props.ids[0], 0, 1) + flowChart.value.init(props.ids[0], 1, 0) } onMounted(() => { }) diff --git a/src/views/approve/paid/components/feeActionBar.vue b/src/views/approve/paid/components/feeActionBar.vue index d0559353..516bbb49 100644 --- a/src/views/approve/paid/components/feeActionBar.vue +++ b/src/views/approve/paid/components/feeActionBar.vue @@ -171,8 +171,7 @@ if (props.ids.length == 0) return createMessage.warning('请勾选要查看流程的费用!') if (props.ids.length > 1) return createMessage.warning('仅支持勾选1条费用进行查看流程!') if (props.feeStatus[0] == 1) return createMessage.warning('费用录入状态的数据不支持查看流程!') - console.log(props.ids) - flowChart.value.init(props.ids[0], 0, 1) + flowChart.value.init(props.ids[0], 1, 0) } onMounted(() => { }) diff --git a/src/views/operation/seaexport/api/BookingLedger.js b/src/views/operation/seaexport/api/BookingLedger.js index 1f50ad20..800dcfa8 100644 --- a/src/views/operation/seaexport/api/BookingLedger.js +++ b/src/views/operation/seaexport/api/BookingLedger.js @@ -2064,3 +2064,30 @@ export function BatchDelBusinessOrderContact(data) { data }) } + +// 现舱剩余查询 +export function GetAvailableBookingSlots(data) { + return request({ + url: '/opApi/BookingSlotService/GetAvailableBookingSlots', + method: 'post', + data + }) +} + +// 引入现舱关联海运出口 +export function BringInBookingSlotToOrder(data) { + return request({ + url: '/opApi/BookingSlotService/BringInBookingSlotToOrder', + method: 'post', + data + }) +} + +// 获取当前任务 +export function GetCurrent(params) { + return request({ + url: '/opApi/SeaExportTask/GetCurrent', + method: 'get', + params + }) +} \ No newline at end of file diff --git a/src/views/operation/seaexport/detail/components/ladingInfo.tsx b/src/views/operation/seaexport/detail/components/ladingInfo.tsx index a06d7e4c..cd7bb6b3 100644 --- a/src/views/operation/seaexport/detail/components/ladingInfo.tsx +++ b/src/views/operation/seaexport/detail/components/ladingInfo.tsx @@ -987,17 +987,96 @@ export const formSchema6: FormSchema[] = [ export const storageColumns: BasicColumn[] = [ { title: '舱位提单号', - dataIndex: 'mblno', + dataIndex: 'slotBookingNo', + width: 100, + }, + { + title: '合约号', + dataIndex: 'contractNo', + width: 100, + }, + { + title: '船公司', + dataIndex: 'carrier', + width: 130, + }, + { + title: '订舱抬头', + dataIndex: 'bookingParty', + width: 210, + }, + { + title: '订舱方式', + dataIndex: 'bookingSlotTypeName', + width: 80, + }, + { + title: '承运模式', + dataIndex: 'carriageTypeName', + width: 72, + }, + { + title: '船名', + dataIndex: 'vessel', width: 150, + }, + { + title: '航次', + dataIndex: 'voyno', + width: 90, + }, + { + title: '装货地', + dataIndex: 'portLoad', + width: 150, + }, + { + title: '交货地', + dataIndex: 'placeDelivery', + width: 150 + }, + { + title: '订舱编号', + dataIndex: 'slotNo', + width: 150 + }, + { + title: '箱型箱量(余量)', + dataIndex: 'ctnStat', + width: 120 } ] // 仓位表格过滤表单 export const storageSearchFormSchema: FormSchema[] = [ { - field: 'mblno', + field: 'portLoad', label: '装货地', component: 'Input', - colProps: { span: 6 } + colProps: { span: 4 } + }, + { + field: 'placeDelivery', + label: '交货地', + component: 'Input', + colProps: { span: 4 } + }, + { + field: 'vessel', + label: '船名', + component: 'Input', + colProps: { span: 4 } + }, + { + field: 'voyno', + label: '航次', + component: 'Input', + colProps: { span: 4 } + }, + { + field: 'slotNo', + label: '订舱编号', + component: 'Input', + colProps: { span: 4 } }, ] \ No newline at end of file diff --git a/src/views/operation/seaexport/detail/components/storageSpace.vue b/src/views/operation/seaexport/detail/components/storageSpace.vue index fb3b58e1..798db1dc 100644 --- a/src/views/operation/seaexport/detail/components/storageSpace.vue +++ b/src/views/operation/seaexport/detail/components/storageSpace.vue @@ -1,5 +1,5 @@ @@ -14,14 +14,15 @@ :loading="loading" >