|
|
|
@ -50,9 +50,12 @@
|
|
|
|
|
<div class="remark" v-for="(remark, rindex) in remarkList" :key="rindex">
|
|
|
|
|
<div class="remark-main">
|
|
|
|
|
<div class="top"><i class="iconfont icon-yuandian"></i>{{ remark.remark }}</div>
|
|
|
|
|
<div class="bottom">{{ remark.updatedTime || remark.createdTime }} </div>
|
|
|
|
|
<div class="bottom">{{ remark.updatedTime || remark.createdTime }} {{ remark.UpdatedUserName }}</div>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="remark-btn" @click="editRemark(remark)"><i class="iconfont icon-bianji1"></i></div>
|
|
|
|
|
<a-popconfirm title="你确定要删除这个备注吗?" ok-text="是" cancel-text="否" @confirm="deleteRemark(remark)">
|
|
|
|
|
<div class="remark-btn"><i class="iconfont icon-shanchu1"></i></div>
|
|
|
|
|
</a-popconfirm>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="remark no-data" v-if="remarkList.length === 0">
|
|
|
|
|
<i class="iconfont icon-wushuju"></i>
|
|
|
|
@ -76,7 +79,9 @@
|
|
|
|
|
<i class="iconfont icon-file-word" v-else></i>
|
|
|
|
|
{{ file.fileName }}
|
|
|
|
|
</span>
|
|
|
|
|
<span class="right"><i class="iconfont icon-yulan" @click="getFileFun(file)"></i><i class="iconfont icon-arrow-"></i></span>
|
|
|
|
|
<span class="right"
|
|
|
|
|
><i class="iconfont icon-yulan" @click="getFileFun(file)"></i><i class="iconfont icon-arrow-"></i
|
|
|
|
|
></span>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="bottom">
|
|
|
|
|
<span><i class="iconfont icon-leixing"></i>{{ file.typeName }}</span>
|
|
|
|
@ -111,7 +116,9 @@
|
|
|
|
|
<div class="child-log" v-for="(child, cindex) in bookingLog.detail" :key="cindex">
|
|
|
|
|
<span class="log-time">{{ child.opTime }}</span>
|
|
|
|
|
<i class="iconfont icon-yuanxuankuang2 icon"></i>
|
|
|
|
|
<span class="log-name">{{ child.status }} <span class="min-log" v-if="child.cntrno">箱号:{{ child.cntrno }}</span> </span>
|
|
|
|
|
<span class="log-name"
|
|
|
|
|
>{{ child.status }} <span class="min-log" v-if="child.cntrno">箱号:{{ child.cntrno }}</span>
|
|
|
|
|
</span>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
@ -236,7 +243,8 @@ import {
|
|
|
|
|
AddFile,
|
|
|
|
|
BookingOrderGetFile,
|
|
|
|
|
ExcuteRulesOceanBooking,
|
|
|
|
|
BookingOrderDownload
|
|
|
|
|
BookingOrderDownload,
|
|
|
|
|
BookingOrderDeleteRemark
|
|
|
|
|
} from '@/api/modular/main/BookingLedger'
|
|
|
|
|
|
|
|
|
|
export default {
|
|
|
|
@ -389,12 +397,20 @@ export default {
|
|
|
|
|
console.log(err)
|
|
|
|
|
})
|
|
|
|
|
},
|
|
|
|
|
editRemark (data) {
|
|
|
|
|
editRemark(data) {
|
|
|
|
|
// console.log('=== 暂无接口, 需要添加编辑备注 ===')
|
|
|
|
|
this.remarkModelvisible = true
|
|
|
|
|
this.remarkVal = data.remark
|
|
|
|
|
this.editRemarkVal = data
|
|
|
|
|
},
|
|
|
|
|
deleteRemark(data) {
|
|
|
|
|
console.log(data)
|
|
|
|
|
BookingOrderDeleteRemark({ id: data.id }).then(res => {
|
|
|
|
|
// console.log(res)
|
|
|
|
|
this.$message.success('成功删除')
|
|
|
|
|
this.getRemark()
|
|
|
|
|
})
|
|
|
|
|
},
|
|
|
|
|
handleModelCancel() {
|
|
|
|
|
this.remarkModelvisible = false
|
|
|
|
|
this.editRemarkVal = null
|
|
|
|
@ -686,7 +702,7 @@ export default {
|
|
|
|
|
.remark {
|
|
|
|
|
padding-bottom: 8px;
|
|
|
|
|
display: flex;
|
|
|
|
|
.remark-main{
|
|
|
|
|
.remark-main {
|
|
|
|
|
flex: 1;
|
|
|
|
|
.top {
|
|
|
|
|
font-size: 13px;
|
|
|
|
@ -778,7 +794,7 @@ export default {
|
|
|
|
|
}
|
|
|
|
|
.log-name {
|
|
|
|
|
flex: 1;
|
|
|
|
|
.min-log{
|
|
|
|
|
.min-log {
|
|
|
|
|
font-size: 12px;
|
|
|
|
|
color: #999;
|
|
|
|
|
margin-left: 4px;
|
|
|
|
@ -838,7 +854,7 @@ export default {
|
|
|
|
|
.log-name {
|
|
|
|
|
flex: 1;
|
|
|
|
|
display: flex;
|
|
|
|
|
.min-log{
|
|
|
|
|
.min-log {
|
|
|
|
|
font-size: 12px;
|
|
|
|
|
color: #999;
|
|
|
|
|
margin-left: 4px;
|
|
|
|
@ -1130,7 +1146,7 @@ export default {
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
&.ant-upload-disabled{
|
|
|
|
|
&.ant-upload-disabled {
|
|
|
|
|
color: #ccc;
|
|
|
|
|
}
|
|
|
|
|
.uplad-type {
|
|
|
|
|