作者 小范

进港业务申报回执内容优化

... ... @@ -135,7 +135,10 @@
label="回执内容"
width="250">
<template slot-scope="scope">
<span v-if="scope.row.status=='01' || scope.row.status=='11'" style="color: #67C23A">
<span v-if="scope.row.ext5 && scope.row.ext5.indexOf('异常')>0" style="color: #F56C6C">
{{scope.row.ext5}}
</span>
<span v-else-if="scope.row.status=='01' || scope.row.status=='11'" style="color: #67C23A">
{{scope.row.ext5}}
</span>
<span v-else-if="scope.row.status=='02' || scope.row.status=='03'" style="color: #E6A23C">
... ... @@ -913,7 +916,7 @@
const map = {'mt6202':row,'username':loginedUserInfo().username}
sendCreateMt6202(map).then(res=>{
let response=res.data;
//console.log(res);
console.log(res);
this.code=response.code;
if(this.code=='200'){
row.status='23'
... ...
... ... @@ -121,7 +121,7 @@
label="舱单件数"
width="80">
<template slot-scope="scope">
<span v-if="scope.row.piece != scope.row.awbinfo.pcs" style="color: #ff4d51;font-weight: bold">
<span v-if="scope.row.piece || scope.row.awbinfo.pcs || scope.row.piece != scope.row.awbinfo.pcs" style="color: #ff4d51;font-weight: bold">
{{scope.row.piece}}
</span>
<span v-else>
... ... @@ -134,7 +134,7 @@
label="舱单重量"
width="100">
<template slot-scope="scope" style="text-align: center">
<span v-if="scope.row.weight != scope.row.awbinfo.weight" style="color: #ff4d51;font-weight: bold">
<span v-if="scope.row.weight || scope.row.awbinfo.weight || scope.row.weight != scope.row.awbinfo.weight" style="color: #ff4d51;font-weight: bold">
{{scope.row.weight}}
</span>
<span v-else>
... ... @@ -156,10 +156,10 @@
label="回执内容"
width="260">
<template slot-scope="scope">
<!-- <span v-if="scope.row.ext5 && scope.row.ext5.indexOf('异常')" style="color: #F56C6C">-->
<!-- {{scope.row.ext5}}-->
<!-- </span>-->
<span v-if="scope.row.status=='01' || scope.row.status=='11'" style="color: #67C23A">
<span v-if="scope.row.ext5 && scope.row.ext5.indexOf('异常')>0" style="color: #F56C6C">
{{scope.row.ext5}}
</span>
<span v-else-if="scope.row.status=='01' || scope.row.status=='11'" style="color: #67C23A">
{{scope.row.ext5}}
</span>
<span v-else-if="scope.row.status=='02' || scope.row.status=='03'" style="color: #E6A23C">
... ... @@ -1400,6 +1400,7 @@
this.sumNmmsPrice=0;
this.sumNmmsWeight=0;
let response=res.data.data;
console.log(response)
this.tableData=response;
this.tableloading=false;
response.forEach((item,i) => {
... ...
... ... @@ -108,7 +108,10 @@
label="回执内容"
width="250">
<template slot-scope="scope">
<span v-if="scope.row.status=='01' || scope.row.status=='11'" style="color: #67C23A">
<span v-if="scope.row.ext5 && scope.row.ext5.indexOf('异常')>0" style="color: #F56C6C">
{{scope.row.ext5}}
</span>
<span v-else-if="scope.row.status=='01' || scope.row.status=='11'" style="color: #67C23A">
{{scope.row.ext5}}
</span>
<span v-else-if="scope.row.status=='02' || scope.row.status=='03'" style="color: #E6A23C">
... ...
... ... @@ -183,13 +183,16 @@
label="回执内容"
width="250">
<template slot-scope="scope">
<span v-if="scope.row.status=='01' || scope.row.status=='11'" style="color: #67C23A">
<span v-if="scope.row.ext5 && scope.row.ext5.indexOf('异常')>0" style="color: #F56C6C">
{{scope.row.ext5}}
</span>
<span v-else-if="scope.row.status=='01' || scope.row.status=='11'" style="color: #67C23A">
{{scope.row.ext5}}
</span>
<span v-else-if="scope.row.status=='02' || scope.row.status=='03'" style="color: #E6A23C">
{{scope.row.ext5}}
</span>
<span v-else-if="scope.row.status=='12' || scope.row.status=='13'" style="color: #F56C6C">
<span v-else-if="scope.row.status=='12' || scope.row.status=='13'" style="color: #f56c6c">
{{scope.row.ext5}}
</span>
<span v-else style="color: #909399;">
... ...