修改问题

master
sunzehua 1 year ago
parent e8726290a7
commit 385cff6472

@ -95,8 +95,8 @@
<% for (var i in htmlWebpackPlugin.options.cdn && htmlWebpackPlugin.options.cdn.css) { %> <% for (var i in htmlWebpackPlugin.options.cdn && htmlWebpackPlugin.options.cdn.css) { %>
<link rel="stylesheet" href="<%= htmlWebpackPlugin.options.cdn.css[i] %>" /> <link rel="stylesheet" href="<%= htmlWebpackPlugin.options.cdn.css[i] %>" />
<% } %> <% } %>
<link rel="stylesheet" href="//at.alicdn.com/t/c/font_3756681_qbc103sjo2g.css" /> <!-- <link rel="stylesheet" href="//at.alicdn.com/t/c/font_3756681_qbc103sjo2g.css" /> -->
<!-- <link rel="stylesheet" href="iconfont.css"> --> <link rel="stylesheet" href="./icon/iconfont.css">
<!-- 1.8K仔百度收录 --> <!-- 1.8K仔百度收录 -->
<meta name="baidu-site-verification" content="code-QVfBYJ5laQ" /> <meta name="baidu-site-verification" content="code-QVfBYJ5laQ" />
</head> </head>
@ -120,7 +120,6 @@
<% for (var i in htmlWebpackPlugin.options.cdn && htmlWebpackPlugin.options.cdn.js) { %> <% for (var i in htmlWebpackPlugin.options.cdn && htmlWebpackPlugin.options.cdn.js) { %>
<script src="<%= htmlWebpackPlugin.options.cdn.js[i] %>"></script> <script src="<%= htmlWebpackPlugin.options.cdn.js[i] %>"></script>
<% } %> <% } %>
<!-- <script src="iconfont.js"></script> -->
<!-- built files will be auto injected --> <!-- built files will be auto injected -->
</body> </body>
</html> </html>

Binary file not shown.

Before

Width:  |  Height:  |  Size: 16 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 74 KiB

@ -1183,3 +1183,19 @@ export function GetWebData(parameter) {
params: parameter params: parameter
}) })
} }
export function SaveServiceStatusByList(parameter) {
return axios({
url: '/BookingValueAdded/SaveServiceStatus',
method: 'post',
data: parameter
})
}
export function CancelServiceStatusByList(parameter) {
return axios({
url: '/BookingValueAdded/CancelServiceStatus',
method: 'post',
data: parameter
})
}

@ -18,8 +18,10 @@
:wrapperCol="wrapperCol" :wrapperCol="wrapperCol"
has-feedback has-feedback
> >
<a-select placeholder="审核结果" <a-select
v-model="verificationFinally" @change="e => conditionChange(e)"> placeholder="审核结果"
v-model="verificationFinally"
@change="e => conditionChange(e)">
<a-select-option <a-select-option
v-for="(condition,index) in conditions " v-for="(condition,index) in conditions "
:key="index" :key="index"
@ -37,7 +39,8 @@
<a-input placeholder="审核意见" v-model="verificationOpinion" /> <a-input placeholder="审核意见" v-model="verificationOpinion" />
</a-form-item> </a-form-item>
</a-col> </a-col>
<a-form-item v-if="!!nextMakerName &&verificationFinally=='1'" <a-form-item
v-if="!!nextMakerName &&verificationFinally=='1'"
label="下一步审核人员" label="下一步审核人员"
:labelCol="labelCol" :labelCol="labelCol"
:wrapperCol="wrapperCol" :wrapperCol="wrapperCol"
@ -57,7 +60,7 @@
<a-tab-pane key="1" tab="表单信息" :force-Render="true"> <a-tab-pane key="1" tab="表单信息" :force-Render="true">
<a-form :form="form"> <a-form :form="form">
<a-form-item v-show="webId == 'kfp'" v-if="frmType == 0"> <a-form-item v-show="webId == 'kfp'" v-if="frmType == 0">
<k-form-build :value="jsonData" ref='kfp'/> <k-form-build :value="jsonData" ref="kfp"/>
</a-form-item> </a-form-item>
<a-form-item v-else > <a-form-item v-else >
<component :is="webId" ref="cfp"></component> <component :is="webId" ref="cfp"></component>
@ -93,9 +96,8 @@
const ctx = require.context('@/views/flowCenter/custom/', true, /\.vue$/) const ctx = require.context('@/views/flowCenter/custom/', true, /\.vue$/)
const routes = {}; const routes = {};
ctx.keys().forEach(key => { ctx.keys().forEach(key => {
const name = key.split("/")[1].split(".")[0]; const name = key.split('/')[1].split('.')[0];
routes[name] = ctx(key).default || ctx(key); routes[name] = ctx(key).default || ctx(key);
}); });
export default { export default {
components: { components: {
@ -134,7 +136,7 @@
schemeId: null, schemeId: null,
frmId: null, frmId: null,
form: this.$form.createForm(this), form: this.$form.createForm(this),
verificationFinally:"1", verificationFinally: '1',
verificationOpinion: null, verificationOpinion: null,
flowInstanceId: null, flowInstanceId: null,
conditions: [{ id: '1', name: '同意' }, conditions: [{ id: '1', name: '同意' },
@ -176,8 +178,7 @@
return return
} }
this.webId = res.data.webId this.webId = res.data.webId
if(record.frmType == 0) if (record.frmType == 0) {
{
this.webId = 'kfp' this.webId = 'kfp'
} }
record.nextNodeDesignateType = res.data.nextNodeDesignateType record.nextNodeDesignateType = res.data.nextNodeDesignateType
@ -187,10 +188,9 @@
this.formLoading = false this.formLoading = false
this.nextNodeDesignateType = record.nextNodeDesignateType this.nextNodeDesignateType = record.nextNodeDesignateType
this.hisList = res.data.hisList this.hisList = res.data.hisList
switch(this.nextNodeDesignateType) switch (this.nextNodeDesignateType) {
{ case 'ALL_USER':
case "ALL_USER": this.nextMakerName = '所有人'
this.nextMakerName="所有人"
break break
default: default:
this.nextMakerName = record.nextMakerName this.nextMakerName = record.nextMakerName
@ -198,7 +198,7 @@
} }
this.jsonData = record.frmContent ? JSON.parse(record.frmContent) : {}; this.jsonData = record.frmContent ? JSON.parse(record.frmContent) : {};
this.frmData = JSON.parse(record.frmData); this.frmData = JSON.parse(record.frmData);
this.frmContentData = record.frmContentData.split(","); this.frmContentData = record.frmContentData.split(',');
setTimeout(() => { setTimeout(() => {
this.importData() this.importData()
this.fieldNames = JSON.parse(record.frmContentParse) this.fieldNames = JSON.parse(record.frmContentParse)
@ -210,85 +210,60 @@
this.condition = e; this.condition = e;
}, },
importData() { importData() {
if(this.defaultActive == 2) if (this.defaultActive == 2) {
{ if (this.schemeContent) {
if(!!this.schemeContent) if (this.$refs.vfd) {
{
if(!!this.$refs.vfd)
{
this.$refs.vfd.loadFlow(this.schemeContent) this.$refs.vfd.loadFlow(this.schemeContent)
} } else {
else
{
setTimeout(() => { setTimeout(() => {
this.$refs.vfd.loadFlow(this.schemeContent); this.$refs.vfd.loadFlow(this.schemeContent);
}, 100) }, 100)
} }
} } else {
else{
this.$refs.vfd.clear() this.$refs.vfd.clear()
} }
} } else if (this.defaultActive == 1) {
else if(this.defaultActive == 1) if (this.$refs.vfd) {
{
if(!!this.$refs.vfd)
{
this.$refs.vfd.clear() this.$refs.vfd.clear()
} }
if(this.webId=='kfp') if (this.webId == 'kfp') {
{ if (this.$refs.kfp) {
if (!!this.$refs.kfp)
{
this.$refs.kfp.setData(this.frmData); this.$refs.kfp.setData(this.frmData);
this.$refs.kfp.disable(this.frmContentData); this.$refs.kfp.disable(this.frmContentData);
} } else {
else
{
setTimeout(() => { setTimeout(() => {
this.$refs.kfp.setData(this.frmData); this.$refs.kfp.setData(this.frmData);
this.$refs.kfp.disable(this.frmContentData); this.$refs.kfp.disable(this.frmContentData);
}, 100) }, 100)
} }
} } else {
else if (this.$refs.cfp) {
{
if (!!this.$refs.cfp)
{
this.$refs.cfp.setData(this.frmData); this.$refs.cfp.setData(this.frmData);
this.$refs.cfp.disable(this.frmContentData); this.$refs.cfp.disable(this.frmContentData);
} } else {
else
{
setTimeout(() => { setTimeout(() => {
this.$refs.cfp.setData(this.frmData); this.$refs.cfp.setData(this.frmData);
this.$refs.cfp.disable(this.frmContentData); this.$refs.cfp.disable(this.frmContentData);
}, 100) }, 100)
} }
} }
} } else {
else{ if (this.$refs.vfd) {
if(!!this.$refs.vfd)
{
this.$refs.vfd.clear() this.$refs.vfd.clear()
} }
} }
}, },
setUser() setUser() {
{ if (this.nextNodeDesignateType == 'RUNTIME_SPECIAL_USER') {
if(this.nextNodeDesignateType=="RUNTIME_SPECIAL_USER")
{
this.$refs.userListForm.userList(); this.$refs.userListForm.userList();
} } else if (this.nextNodeDesignateType == 'RUNTIME_SPECIAL_ROLE') {
else if(this.nextNodeDesignateType=="RUNTIME_SPECIAL_ROLE")
{
this.$refs.roleListForm.roleList(); this.$refs.roleListForm.roleList();
} }
}, },
// //
handleOk(record) { handleOk(record) {
const that = this; const that = this;
if(!!record) if (record) {
{
const nodeDesignateData = []; const nodeDesignateData = [];
const nodeDesignateName = []; const nodeDesignateName = [];
record.forEach(item => { record.forEach(item => {
@ -296,15 +271,13 @@
nodeDesignateName.push(item.name); nodeDesignateName.push(item.name);
}); });
if(nodeDesignateName.length>0) if (nodeDesignateName.length > 0) {
{
that.nextMakerName = nodeDesignateName.join(','); that.nextMakerName = nodeDesignateName.join(',');
that.nextNodeDesignates = nodeDesignateData; that.nextNodeDesignates = nodeDesignateData;
} }
} }
}, },
callback(key) callback(key) {
{
this.defaultActive = key this.defaultActive = key
setTimeout(() => { setTimeout(() => {
this.importData() this.importData()
@ -326,8 +299,7 @@
this.$message.success('审核成功') this.$message.success('审核成功')
this.$emit('ok') this.$emit('ok')
this.handleCancel() this.handleCancel()
if(this.webId=='kfp') if (this.webId == 'kfp') {
{
this.$refs['kfp'].reset() this.$refs['kfp'].reset()
} }
} else { } else {
@ -339,8 +311,7 @@
handleCancel () { handleCancel () {
this.form.resetFields() this.form.resetFields()
this.visible = false this.visible = false
if(!!this.$refs.vfd) if (this.$refs.vfd) {
{
this.$refs.vfd.clear() this.$refs.vfd.clear()
} }
} }

@ -469,7 +469,7 @@ import selectView from '../../BookingLedger/detail/components/selectView'
import datePickerView from '../../BookingLedger/detail/components/datePickerView' import datePickerView from '../../BookingLedger/detail/components/datePickerView'
import autoView from '../../BookingLedger/detail/components/autoView' import autoView from '../../BookingLedger/detail/components/autoView'
import textareaView from '../../BookingLedger/detail/components/textareaView' import textareaView from '../../BookingLedger/detail/components/textareaView'
import { UploadTempFile, BookingCustomerOrderGetFile } from '@/api/modular/system/fileManage' import { BookingCustomerOrderGetFile } from '@/api/modular/system/fileManage'
import { import {
BookingCustomerOrderSave, BookingTemplateAdd, BookingCustomerOrderGet, BookingCustomerOrderSave, BookingTemplateAdd, BookingCustomerOrderGet,
BookingCustomerOrderDelete, BookingCustomerOrderSubmit, BookingCustomerOrderDelete, BookingCustomerOrderSubmit,

@ -208,6 +208,22 @@
<template #ygtETD="{ row }"> <template #ygtETD="{ row }">
<div class="etd" v-if="row.ygtETD">{{ row.ygtETD.substring(0, 10) }}</div> <div class="etd" v-if="row.ygtETD">{{ row.ygtETD.substring(0, 10) }}</div>
</template> </template>
<template #fangdan="{ row }">
<a-spin :spinning="row.serviceLoad">
<div style="font-size:16px;cursor: pointer;">
<a-icon
title="已放单"
type="plus-circle"
style="margin-right:15px;color:rgb(38 129 58);"
@click="handleSaveService(row)" />
<a-icon
title="取消已放单"
type="minus-circle"
style="color:rgb(255, 32, 2);"
@click="handleCancelService(row)" />
</div>
</a-spin>
</template>
<template #atd="{ row, rowIndex }"> <template #atd="{ row, rowIndex }">
<a-spin :spinning="row.atdLoading"> <a-spin :spinning="row.atdLoading">
<a-icon <a-icon
@ -254,9 +270,14 @@
:key="bindex"> :key="bindex">
<a-popover placement="topLeft" v-if="btn.staTime"> <a-popover placement="topLeft" v-if="btn.staTime">
<div slot="content">{{ btn.staTime }}</div> <div slot="content">{{ btn.staTime }}</div>
<span @click="handleGetWebDataYZ(row,btn.staCode)" :class="{ active: btn.isChecked }">{{ enmuBookingBtn(btn.staCode) }}</span> <span @click="handleGetWebDataYZ(row, btn.staCode)" :class="{ active: btn.isChecked }">{{
enmuBookingBtn(btn.staCode) }}</span>
</a-popover> </a-popover>
<span style="cursor: pointer;" @click="handleGetWebDataYZ(row,btn.staCode)" :class="{ active: btn.isChecked }" v-else>{{ enmuBookingBtn(btn.staCode) }}</span> <span
style="cursor: pointer;"
@click="handleGetWebDataYZ(row, btn.staCode)"
:class="{ active: btn.isChecked }"
v-else>{{ enmuBookingBtn(btn.staCode) }}</span>
<i <i
class="iconfont icon-xiaoyoujiantou" class="iconfont icon-xiaoyoujiantou"
:class="{ hide: bindex === row.bookstatus.length - 1 }"></i> :class="{ hide: bindex === row.bookstatus.length - 1 }"></i>
@ -283,8 +304,10 @@
<span class="txfcSpan">{{ item.fcopTime }}</span> <span class="txfcSpan">{{ item.fcopTime }}</span>
</div> </div>
</div> </div>
<div @click="handleGetWebData(row,'YARD')" :class="{ active: row.statuslogs1[0].txopTime }">提箱</div> <div @click="handleGetWebData(row, 'YARD')" :class="{ active: row.statuslogs1[0].txopTime }">提箱
<div @click="handleGetWebData(row,'YARD')" :class="{ active: row.statuslogs1[0].fcopTime }">返场</div> </div>
<div @click="handleGetWebData(row, 'YARD')" :class="{ active: row.statuslogs1[0].fcopTime }">返场
</div>
</a-popover> </a-popover>
</a-spin> </a-spin>
</div> </div>
@ -306,7 +329,8 @@
<template slot="content"> <template slot="content">
<p> <p>
比对方式: 比对方式:
<span>{{ row.lstShipOrderCompareMode ? row.lstShipOrderCompareMode == 'MANUAL' ? '手动': '自动' : '' }}</span> <span>{{ row.lstShipOrderCompareMode ? row.lstShipOrderCompareMode == 'MANUAL' ? '手动' : '自动' : ''
}}</span>
<span>-{{ row.lstShipOrderCompareRltName }}</span> <span>-{{ row.lstShipOrderCompareRltName }}</span>
</p> </p>
<p> <p>
@ -361,7 +385,12 @@
</div> </div>
</div> </div>
</a-popover> </a-popover>
<a-icon v-if="row.lstDraftCompareRlt" title="查看比对结果" class="TablelstShipOrderCompareRltRedo" @click="handleFormatContrast(row)" type="diff" /> <a-icon
v-if="row.lstDraftCompareRlt"
title="查看比对结果"
class="TablelstShipOrderCompareRltRedo"
@click="handleFormatContrast(row)"
type="diff" />
</div> </div>
</template> </template>
<template #goodsStatusList="{ row }"> <template #goodsStatusList="{ row }">
@ -609,7 +638,10 @@
<div style="display: flex;"> <div style="display: flex;">
<div style="width:55%"> <div style="width:55%">
<div> <div>
<div v-if="formatSheet.total>0" style="display: flex;justify-content: space-between;" class="TaskShippingOrderCompareP"> <div
v-if="formatSheet.total > 0"
style="display: flex;justify-content: space-between;"
class="TaskShippingOrderCompareP">
<div> <div>
{{ formatSheet.compareTime }} {{ formatSheet.compareTime }}
<span v-if="formatSheet.isExistsDiff"> <span v-if="formatSheet.isExistsDiff">
@ -619,19 +651,27 @@
</span> </span>
</div> </div>
<div>显示全部 <div>显示全部
<a-switch :checked="formatFlag" @change="formatFlag=!formatFlag" /></div> <a-switch :checked="formatFlag" @change="formatFlag = !formatFlag" />
</div>
</div> </div>
<div style="display: flex;align-items: flex-start;" v-else> <div style="display: flex;align-items: flex-start;" v-else>
<a-icon style="color: rgb(82,196,26);font-size: 50px;margin-top: 5px;" type="check-circle" theme="filled" /> <a-icon
style="color: rgb(82,196,26);font-size: 50px;margin-top: 5px;"
type="check-circle"
theme="filled" />
<div style="margin-left: 20px;"> <div style="margin-left: 20px;">
<div style="font-weight: bold;font-size: 22px;">格式单比对(正常)</div> <div style="font-weight: bold;font-size: 22px;">格式单比对(正常)</div>
<div style="font-weight: bold;">提单号:{{ formatSheet.mBlNo }}</div> <div style="font-weight: bold;">提单号:{{ formatSheet.mBlNo }}</div>
<div style="font-weight: bold;">{{ formatSheet.compareTime }}</div> <div style="font-weight: bold;">{{ formatSheet.compareTime }}</div>
</div> </div>
<div style="margin:5px 0px 0px 40px">显示全部 <div style="margin:5px 0px 0px 40px">显示全部
<a-switch :checked="formatFlag" @change="formatFlag=!formatFlag" /></div> <a-switch :checked="formatFlag" @change="formatFlag = !formatFlag" />
</div> </div>
<div v-if="!formatFlag && formatSheet.total>0" class="TaskShippingOrderCompareMainBox" style="height: 600px;"> </div>
<div
v-if="!formatFlag && formatSheet.total > 0"
class="TaskShippingOrderCompareMainBox"
style="height: 600px;">
<div class="TaskShippingOrderCompareMain"> <div class="TaskShippingOrderCompareMain">
<div class="TaskShippingOrderCompareMainHeader"> <div class="TaskShippingOrderCompareMainHeader">
<div> <div>
@ -646,7 +686,10 @@
style="display: flex;margin-top: 15px;" style="display: flex;margin-top: 15px;"
v-show="item.pCode != 'ContaList' && item.isDiff"> v-show="item.pCode != 'ContaList' && item.isDiff">
<p style="padding-top: 4px;" v-if="item.msg"> <p style="padding-top: 4px;" v-if="item.msg">
<a-icon style="color: rgb(194,5,5);font-size: 18px;margin-right: 35px;" type="close-circle" theme="filled" /> <a-icon
style="color: rgb(194,5,5);font-size: 18px;margin-right: 35px;"
type="close-circle"
theme="filled" />
</p> </p>
<p v-if="item.isDiff" style="width: 90px;margin-right: 20px;">{{ item.fieldName }}:</p> <p v-if="item.isDiff" style="width: 90px;margin-right: 20px;">{{ item.fieldName }}:</p>
<div v-if="item.isDiff" style="width:60%"> <div v-if="item.isDiff" style="width:60%">
@ -674,11 +717,13 @@
v-for="(item, index) in formatSheet.showDetailList" v-for="(item, index) in formatSheet.showDetailList"
:key="index" :key="index"
v-show="(item.pCode == 'ContaList' && item.isDiff) || item.fieldName == '箱号'" v-show="(item.pCode == 'ContaList' && item.isDiff) || item.fieldName == '箱号'"
style="display: flex;margin-top: 15px;align-items: flex-start;" style="display: flex;margin-top: 15px;align-items: flex-start;">
>
<div v-if="item.fieldName == '箱号' && formatSheet.isShowCntall">:{{ item.primaryKey }}</div> <div v-if="item.fieldName == '箱号' && formatSheet.isShowCntall">:{{ item.primaryKey }}</div>
<p style="padding-top: 4px;" v-if="item.msg && item.isDiff"> <p style="padding-top: 4px;" v-if="item.msg && item.isDiff">
<a-icon style="color: rgb(194,5,5);font-size: 18px;margin-right: 35px;" type="close-circle" theme="filled" /> <a-icon
style="color: rgb(194,5,5);font-size: 18px;margin-right: 35px;"
type="close-circle"
theme="filled" />
</p> </p>
<p v-if="item.isDiff" style="width: 90px;margin-right: 20px;">{{ item.fieldName }}:</p> <p v-if="item.isDiff" style="width: 90px;margin-right: 20px;">{{ item.fieldName }}:</p>
<div v-if="item.isDiff" style="width:60%"> <div v-if="item.isDiff" style="width:60%">
@ -712,10 +757,16 @@
style="display: flex;margin-top: 15px;" style="display: flex;margin-top: 15px;"
v-show="item.pCode != 'ContaList'"> v-show="item.pCode != 'ContaList'">
<p style="padding-top: 4px;" v-if="item.msg"> <p style="padding-top: 4px;" v-if="item.msg">
<a-icon style="color: rgb(194,5,5);font-size: 18px;margin-right: 35px;" type="close-circle" theme="filled" /> <a-icon
style="color: rgb(194,5,5);font-size: 18px;margin-right: 35px;"
type="close-circle"
theme="filled" />
</p> </p>
<p style="padding-top: 4px;" v-else> <p style="padding-top: 4px;" v-else>
<a-icon style="color: rgb(0,153,68);font-size: 18px;margin-right: 35px;" type="check-circle" theme="filled" /> <a-icon
style="color: rgb(0,153,68);font-size: 18px;margin-right: 35px;"
type="check-circle"
theme="filled" />
</p> </p>
<p style="width: 90px;margin-right: 20px;">{{ item.fieldName }}:</p> <p style="width: 90px;margin-right: 20px;">{{ item.fieldName }}:</p>
<div style="width:60%"> <div style="width:60%">
@ -745,15 +796,20 @@
v-for="(item, index) in formatSheet.showDetailList" v-for="(item, index) in formatSheet.showDetailList"
:key="index" :key="index"
v-show="item.pCode == 'ContaList'" v-show="item.pCode == 'ContaList'"
style="display: flex;margin-top: 15px;align-items: flex-start;" style="display: flex;margin-top: 15px;align-items: flex-start;">
>
<div v-if="item.fieldName == '箱号'">:{{ item.primaryKey }}</div> <div v-if="item.fieldName == '箱号'">:{{ item.primaryKey }}</div>
<div style="display: flex;align-items: flex-start;" v-else> <div style="display: flex;align-items: flex-start;" v-else>
<p style="padding-top: 4px;" v-if="item.msg"> <p style="padding-top: 4px;" v-if="item.msg">
<a-icon style="color: rgb(194,5,5);font-size: 18px;margin-right: 35px;" type="close-circle" theme="filled" /> <a-icon
style="color: rgb(194,5,5);font-size: 18px;margin-right: 35px;"
type="close-circle"
theme="filled" />
</p> </p>
<p style="padding-top: 4px;" v-else> <p style="padding-top: 4px;" v-else>
<a-icon style="color: rgb(0,153,68);font-size: 18px;margin-right: 35px;" type="check-circle" theme="filled" /> <a-icon
style="color: rgb(0,153,68);font-size: 18px;margin-right: 35px;"
type="check-circle"
theme="filled" />
</p> </p>
<p style="width: 90px;margin-right: 20px;flex-shrink:0">{{ item.fieldName }}:</p> <p style="width: 90px;margin-right: 20px;flex-shrink:0">{{ item.fieldName }}:</p>
<div style="width:60%"> <div style="width:60%">
@ -1149,7 +1205,9 @@ import {
GetDraftCompareResultInfo, GetDraftCompareResultInfo,
BookingOrderDownload, BookingOrderDownload,
GetShippingOrderCompareResult, GetShippingOrderCompareResult,
GetWebData GetWebData,
CancelServiceStatusByList,
SaveServiceStatusByList
} from '@/api/modular/main/BookingLedger' } from '@/api/modular/main/BookingLedger'
import initData from './modules/initData' import initData from './modules/initData'
@ -1442,6 +1500,7 @@ export default {
item.rowCustno = false item.rowCustno = false
item.rowDzMark = false item.rowDzMark = false
item.atdLoading = false item.atdLoading = false
item.serviceLoad = false
if (!item.shenQingXiangShi) { if (!item.shenQingXiangShi) {
item.shenQingXiangShi = '' item.shenQingXiangShi = ''
} }
@ -1513,6 +1572,46 @@ export default {
handleImportBcMore() { handleImportBcMore() {
this.$refs.importBcMore.open() this.$refs.importBcMore.open()
}, },
handleSaveService(row) {
const data = {
bookingId: row.id,
statusCodes: [{ 'statusCode': 'YFD' }]
}
row.serviceLoad = true
SaveServiceStatusByList(data).then(res => {
if (res.code === 200) {
this.$message.success(res.data.msg)
PageDataByBooking({ id: row.id }).then(ress => {
const itme = ress.data.items[0]
row.bsstatusname = itme.bsstatusname
row.serviceLoad = false
})
} else {
this.$message.error(res.data.msg)
row.serviceLoad = false
}
})
},
handleCancelService(row) {
const data = {
bookingId: row.id,
statusCodes: [{ 'statusCode': 'YFD' }]
}
row.serviceLoad = true
CancelServiceStatusByList(data).then(res => {
if (res.code === 200) {
this.$message.success(res.data.msg)
PageDataByBooking({ id: row.id }).then(ress => {
const itme = ress.data.items[0]
row.bsstatusname = itme.bsstatusname
row.serviceLoad = false
})
} else {
this.$message.error(res.data.msg)
row.serviceLoad = false
}
})
},
onresize() { onresize() {
window.onresize = () => { window.onresize = () => {
this.screenWidth = document.body.clientWidth this.screenWidth = document.body.clientWidth
@ -2468,6 +2567,7 @@ export default {
item.refshYzitemLoad = false item.refshYzitemLoad = false
item.webDataLoad = false item.webDataLoad = false
item.atdLoading = false item.atdLoading = false
item.serviceLoad = false
item.rowDzMark = false item.rowDzMark = false
item.rowCzMark = false item.rowCzMark = false
item.rowCustno = false item.rowCustno = false
@ -3945,9 +4045,11 @@ export default {
font-size: 100px; font-size: 100px;
} }
} }
/deep/ .padUrl .ant-spin-container { /deep/ .padUrl .ant-spin-container {
height: 100%; height: 100%;
} }
/deep/ .content-table .vxe-body--column .vxe-cell div { /deep/ .content-table .vxe-body--column .vxe-cell div {
color: #000; color: #000;
} }
@ -3969,6 +4071,7 @@ export default {
border-bottom: 1px solid #000; border-bottom: 1px solid #000;
padding: 5px; padding: 5px;
background: #0000000e; background: #0000000e;
.TaskShippingOrderCompareSpan { .TaskShippingOrderCompareSpan {
font-weight: bolder; font-weight: bolder;
color: red; color: red;

@ -500,6 +500,14 @@ export default {
showHeaderOverflow: true, showHeaderOverflow: true,
slots: { default: 'IsZZFX' } slots: { default: 'IsZZFX' }
}, },
{
field: 'fangdan',
label: 'fangdan',
width: 70,
title: '放单',
showHeaderOverflow: true,
slots: { default: 'fangdan' }
},
{ field: 'startETA', label: 'startETA', width: 120, title: '起始港ETA', showHeaderOverflow: true, sortable: true }, { field: 'startETA', label: 'startETA', width: 120, title: '起始港ETA', showHeaderOverflow: true, sortable: true },
{ field: 'startATA', label: 'startATA', width: 120, title: '起始港ATA', showHeaderOverflow: true, sortable: true } { field: 'startATA', label: 'startATA', width: 120, title: '起始港ATA', showHeaderOverflow: true, sortable: true }
], ],

@ -44,7 +44,7 @@
<script> <script>
import { import {
BookingTemplateAddPrinttemplateRight, BookingTemplateAddPrinttemplateRight,
SysUserPage, // SysUserPage,
BookingPrintTemplateGetPrintTemplateList BookingPrintTemplateGetPrintTemplateList
} from '@/api/modular/main/PrinttemplateRight' } from '@/api/modular/main/PrinttemplateRight'
export default { export default {
@ -75,9 +75,9 @@ export default {
} }
}, },
mounted() { mounted() {
SysUserPage().then(res => { // SysUserPage().then(res => {
this.UserList = res.data.rows // this.UserList = res.data.rows
}) // })
BookingPrintTemplateGetPrintTemplateList().then(res => { BookingPrintTemplateGetPrintTemplateList().then(res => {
this.TemplateList = res.data.rows this.TemplateList = res.data.rows
}) })

@ -44,7 +44,7 @@
<script> <script>
import { import {
BookingTemplateAddPrinttemplateRight, BookingTemplateAddPrinttemplateRight,
SysUserPage, // SysUserPage,
BookingPrintTemplateGetPrintTemplateList BookingPrintTemplateGetPrintTemplateList
} from '@/api/modular/main/PrinttemplateRight' } from '@/api/modular/main/PrinttemplateRight'
export default { export default {
@ -75,9 +75,9 @@ export default {
} }
}, },
mounted() { mounted() {
SysUserPage().then(res => { // SysUserPage().then(res => {
this.UserList = res.data.rows // this.UserList = res.data.rows
}) // })
BookingPrintTemplateGetPrintTemplateList().then(res => { BookingPrintTemplateGetPrintTemplateList().then(res => {
this.TemplateList = res.data.rows this.TemplateList = res.data.rows
}) })

Loading…
Cancel
Save