|
|
|
@ -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 {
|
|
|
|
@ -395,6 +403,14 @@ export default {
|
|
|
|
|
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
|
|
|
|
|