集装箱复制bug,审单选舱流程变更

szh-new
lijingjia 1 month ago
parent 522a088697
commit 17eb981cb6

@ -39,7 +39,6 @@
<script lang="ts" setup>
import { ref, onMounted, defineProps } from 'vue'
import { GetSeaExportLogList } from '/@/views/operation/seaexport/api/BookingLedger'
const props = defineProps({
id: {
type: String

@ -870,7 +870,7 @@
//
const approveAndCreateTast = (type) => {
createTask(type)
seaExportTaskAudit(null)
seaExportTaskAudit(null, false)
}
//
const createTask = async (type) => {
@ -1036,18 +1036,17 @@
sspace.value.init()
} else {
//
seaExportTaskAudit(remark)
AutomaticBooking(id.value)
seaExportTaskAudit(remark, true)
}
} else {
//
seaExportTaskAudit(remark)
seaExportTaskAudit(remark, false)
}
})
}
}
//
const seaExportTaskAudit = (remark) => {
const seaExportTaskAudit = (remark, b) => {
const postData = {
result: remark ? 2 : 1,
ids: [id.value],
@ -1059,6 +1058,7 @@
SeaExportTaskAudit(postData).then(res => {
loading.value = false
createMessage.success(res.message)
if (b) AutomaticBooking(id.value)
//
const { fullPath } = route //
tabStore.closeTabByKey(fullPath, router)

@ -589,19 +589,16 @@
UploadOcrFile,
GetOcrImg,
DownloadBookingOrClosingEDI,
CheckAndInitVOLTAEdi,
CancelAllocationSlot,
GetOcrText,
SendTrace,
SubmitTelex,
GetClientParamListById,
PrintShippingOrderLetterPDF,
GetChangeOrderStatus,
CreateChangeTaskAsync
} from '/@/views/operation/seaexport/api/BookingLedger.js'
import { Divider } from 'ant-design-vue'
import { BookingTruckGetTruckListByBooking } from '/@/views/operation/seaexport/api/SendCar.js'
import { ref, reactive, getCurrentInstance, h, watch, onMounted } from 'vue'
import { ref, reactive, h, watch, nextTick } from 'vue'
import { Modal } from 'ant-design-vue'
import { useModal } from '/@/components/Modal'
import { useAppStore } from '/@/store/modules/app'
@ -1084,6 +1081,8 @@
if (res.data == '未审单') {
createMessage.warning('此单未审,可直接编辑调整!')
} else {
changeConfigFlag.value = true
nextTick(() => {
if (res.data == '已审未出号') {
setFieldsValue({
orderProgress: 1
@ -1097,7 +1096,11 @@
orderProgress: 3
})
}
changeConfigFlag.value = true
})
setFieldsValue({
changeReason: null,
changeRemark: null
})
}
})
}
@ -1126,9 +1129,11 @@
const postData = await validate()
postData['id'] = props.id
CreateChangeTaskAsync(postData).then(res => {
createMessage.success(res.message)
createMessage.success('已进入改配页面!')
emit('changeConfig')
changeConfigFlag.value = false
}).catch(() => {
changeConfigFlag.value = false
})
}
function downloadBookingOrEDI(type) {

Loading…
Cancel
Save