lilu 2 years ago
commit 2257dca824

@ -95,7 +95,7 @@
<% 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_5nvf0rgprqc.css" /> <link rel="stylesheet" href="//at.alicdn.com/t/c/font_3756681_tfuuuqzywo8.css" />
<!-- 1.8K仔百度收录 --> <!-- 1.8K仔百度收录 -->
<meta name="baidu-site-verification" content="code-QVfBYJ5laQ" /> <meta name="baidu-site-verification" content="code-QVfBYJ5laQ" />
</head> </head>

@ -53,9 +53,7 @@
</div> </div>
</a-card> </a-card>
<a-card :bodyStyle="tstyle" :bordered="false"> <a-card :bodyStyle="tstyle" :bordered="false">
<div class="title"> <div class="title"><i class="iconfont icon-fujian-wenjian"></i><span>附件</span></div>
<i class="iconfont icon-fujian-wenjian"></i><span>附件</span>
</div>
<div class="content"> <div class="content">
<a-button type="primary" class="file-btn" @click="addFile"></a-button> <a-button type="primary" class="file-btn" @click="addFile"></a-button>
<div class="file" v-for="(file, findex) in fileList" :key="findex"> <div class="file" v-for="(file, findex) in fileList" :key="findex">
@ -124,7 +122,7 @@
</a-tree-node> </a-tree-node>
</a-directory-tree> --> </a-directory-tree> -->
<div class="no-data" v-if="fileList.length === 0"> <div class="no-data" v-if="fileList.length === 0">
<i class="iconfont icon-wushuju"></i> <i class="iconfont icon-queshengye_zanwushuju" :style="{ fontSize: '50px' }"></i>
<div class="text">暂无动态</div> <div class="text">暂无动态</div>
</div> </div>
</div> </div>
@ -132,7 +130,7 @@
<a-collapse class="collapse-box" :bordered="false" expandIconPosition="right" v-model="showKey"> <a-collapse class="collapse-box" :bordered="false" expandIconPosition="right" v-model="showKey">
<a-collapse-panel key="1"> <a-collapse-panel key="1">
<template slot="header"> <template slot="header">
<div class="title" :style="{marginTop:'-10px'}"><i class="iconfont icon-rizhi"></i><span>日志</span></div> <div class="title" :style="{ marginTop: '-10px' }"><i class="iconfont icon-rizhi"></i><span>日志</span></div>
</template> </template>
<div class="cargo-info"> <div class="cargo-info">
<div class="info-header"> <div class="info-header">
@ -284,6 +282,7 @@ export default {
immediate: true, immediate: true,
handler(nD, oD) { handler(nD, oD) {
if (!nD.id) { if (!nD.id) {
this.BookingDetail = []
this.bookingServiceItem = [] this.bookingServiceItem = []
this.fileList = [] this.fileList = []
this.remarkList = [] this.remarkList = []

@ -37,7 +37,9 @@
<a-button class="more-search" @click="tableMoreRefresh" <a-button class="more-search" @click="tableMoreRefresh"
>多提单号查询<a-icon type="search" >多提单号查询<a-icon type="search"
/></a-button> /></a-button>
<span class="tab-btn" @click="formSetting"><a-icon type="setting" :style="{marginLeft:'0px'}" /></span> <span class="tab-btn" @click="formSetting"
><a-icon type="setting" :style="{ marginLeft: '0px' }"
/></span>
<a class="senior-search" @click="toggleAdvanced"> <a class="senior-search" @click="toggleAdvanced">
{{ advanced ? '收起查询' : '更多查询' }} {{ advanced ? '收起查询' : '更多查询' }}
<!-- <a-icon :type="advanced ? 'up' : 'down'" /> --> <!-- <a-icon :type="advanced ? 'up' : 'down'" /> -->
@ -73,7 +75,10 @@
style="margin-top:15px;" style="margin-top:15px;"
> >
<template #mblno="{ row }"> <template #mblno="{ row }">
<div class="mblno">{{ row.mblno }}</div> <div class="mblno">
<span @click="editColumns(row)">{{ row.mblno }}</span>
<a-icon class="CSMblnoCopy" type="copy" @click="FnCopy(row.mblno)" />
</div>
</template> </template>
<template #vessel="{ row }"> <template #vessel="{ row }">
<div class="vessel">{{ row.vessel }}</div> <div class="vessel">{{ row.vessel }}</div>
@ -236,6 +241,15 @@ export default {
}, },
methods: { methods: {
...mapActions(['setBookingList']), ...mapActions(['setBookingList']),
FnCopy(data) {
const el = document.createElement('input')
el.setAttribute('value', data)
document.body.appendChild(el)
el.select()
document.execCommand('copy')
document.body.removeChild(el)
this.$message.success('复制成功!')
},
init(queryParam = {}) { init(queryParam = {}) {
console.log(queryParam, 'queryParam') console.log(queryParam, 'queryParam')
this.gridOptions.pagerConfig = { this.gridOptions.pagerConfig = {
@ -509,7 +523,7 @@ export default {
}, },
addSubmit() { addSubmit() {
this.addVisible = false this.addVisible = false
this.$router.push({ name: 'BookingDetailAdd', query: { type: this.carrierRadio } }) this.$router.push({ name: 'BookingDetail', query: { type: this.carrierRadio } })
}, },
addCancel() { addCancel() {
this.addVisible = false this.addVisible = false
@ -570,12 +584,19 @@ export default {
</style> </style>
<style lang="less" scoped> <style lang="less" scoped>
/*订舱表格内字体颜色 */ /*订舱表格内字体颜色 */
/*.mblno{ .mblno {
color: #3277ff; color: #3277ff;
span {
margin-right: 0.5rem;
cursor: pointer;
}
.CSMblnoCopy {
cursor: pointer;
}
} }
.vessel { // .vessel {
color: #77c950; // color: #77c950;
}*/ // }
.nav-box { .nav-box {
margin-bottom: 10px; margin-bottom: 10px;
padding: 0 10px; padding: 0 10px;
@ -775,8 +796,8 @@ export default {
} }
} }
/*查询区日期默认颜色 */ /*查询区日期默认颜色 */
/deep/ .ant-calendar-today{ /deep/ .ant-calendar-today {
.ant-calendar-date{ .ant-calendar-date {
color: @primary-color !important; color: @primary-color !important;
border-color: @primary-color !important; border-color: @primary-color !important;
} }

Loading…
Cancel
Save