任务台

szh-new
lijingjia 4 months ago
parent 3258ce6520
commit 28d11a7ef1

@ -28,3 +28,11 @@
width: 100% !important;
max-width: 100%;
}
.ant-input[disabled], .ant-input-affix-wrapper-disabled, .ant-select-disabled.ant-select:not(.ant-select-customize-input) .ant-select-selector, .ant-picker.ant-picker-disabled, .ant-input-number-disabled {
background-color: #F5F9FC!important;
color: #7A8798!important;
input {
color: #7A8798!important;
}
}

@ -52,7 +52,6 @@
<cargoInfo ref="RefcargoInfo" :details="bookingDetails"></cargoInfo>
<div class="line"></div>
<goodsTable
v-if="source == 'edit'"
ref="RefgoodsTable"
:details="bookingDetails"
isParent="parent"
@ -986,12 +985,15 @@
const postData = {
businessId: id.value,
businessType: '1',
taskTypeName: route.query.status
taskTypeName: type || route.query.status
}
loading.value = true
await CreateTask(postData).then(res => {
loading.value = false
createMessage.success(res.message)
//
const { fullPath } = route //
tabStore.closeTabByKey(fullPath, router)
}).catch(() => {
loading.value = false
})
@ -1462,13 +1464,13 @@
}
//
const sspace = ref()
const cvisible = ref(false)
const cvisible = ref(true)
const cvalue = ref(1)
const handleOk = () => {
if (cvalue.value == 1) {
sspace.value.init()
} else {
createTask(202)
createTask('WAIT_BOOKING')
}
cvisible.value = false
}
@ -1487,6 +1489,10 @@
//
if (res.data.isCompleted && res.data.flowStatus == 3) {
cvisible.value = true
} else {
//
const { fullPath } = route //
tabStore.closeTabByKey(fullPath, router)
}
}).catch(() => {
loading.value = false

@ -6,6 +6,7 @@
<template>
<div class="ds-sea-basic-info ds-card">
<ConfigForm
v-if="source == 'edit'"
@TransferData="TransferData"
:form-schema="basicInfoFormSchema"
:isTransfer="true"

@ -3,6 +3,7 @@
<div class="flex" style="justify-content: space-between;">
<h4>货物信息</h4>
<ConfigForm
v-if="source == 'edit'"
@TransferData="TransferData"
:form-schema="cargoInfoFormSchema2"
:isTransfer="true"
@ -766,10 +767,4 @@
height: 77px;
}
}
.form4 {
.ant-input {
position: relative;
top: -4px;
}
}
</style>

@ -2,7 +2,7 @@
<div class="goods-table" style="width: 100%; overflow: auto">
<a-spin :spinning="loadingTable">
<div>
<div class="flex" v-if="!isLockBooking" style="justify-content: space-between">
<div class="flex" v-if="!isLockBooking && source == 'edit'" style="justify-content: space-between">
<div>
<a-button type="link" v-repeat size="mini" @click="openDialog">
<span class="iconfont icon-liebiao1"></span>
@ -275,13 +275,13 @@
import { GetPackageSelectList } from '/@/views/operation/seaexport/api/BookingLedger'
registerAllModules()
import * as XLSX from 'xlsx'
import { log } from 'console'
// import printJS from 'print-js'
const route = useRoute()
const props = defineProps({
details: { type: Object, default: {} },
isLockBooking: { type: Boolean, default: false },
})
//
const source = route.query.source || 'edit'
const emit = defineEmits([
'changectnall',
'changeDetail',
@ -992,6 +992,16 @@
})
list.value.push(item)
})
//
if (source != 'edit') {
hotTb.value.hotInstance.updateSettings({
cells: function (row, col) {
//
const props = { readOnly: true }
return props
}
})
}
})
}
const moreSelectLoad = ref(true)

@ -8,6 +8,7 @@
<div class="flex" style="justify-content: space-between;">
<h4>运输信息</h4>
<ConfigForm
v-if="source == 'edit'"
@TransferData="TransferData"
:form-schema="mailingInfoFormSchemaR"
:isTransfer="true"

Loading…
Cancel
Save