作者 小范

进港原始舱单件重对比优化+进港运单申报回执内容优化

@@ -121,7 +121,10 @@ @@ -121,7 +121,10 @@
121 label="舱单件数" 121 label="舱单件数"
122 width="80"> 122 width="80">
123 <template slot-scope="scope"> 123 <template slot-scope="scope">
124 - <span v-if="scope.row.piece != scope.row.awbinfo.pcs" style="color: #ff4d51;font-weight: bold"> 124 + <span v-if="scope.row.awbinfo==null" style="color: #ff4d51;font-weight: bold">
  125 + {{scope.row.piece}}
  126 + </span>
  127 + <span v-else-if="scope.row.awbinfo.pcs!=scope.row.piece" style="color: #ff4d51;font-weight: bold">
125 {{scope.row.piece}} 128 {{scope.row.piece}}
126 </span> 129 </span>
127 <span v-else> 130 <span v-else>
@@ -134,7 +137,10 @@ @@ -134,7 +137,10 @@
134 label="舱单重量" 137 label="舱单重量"
135 width="100"> 138 width="100">
136 <template slot-scope="scope" style="text-align: center"> 139 <template slot-scope="scope" style="text-align: center">
137 - <span v-if="scope.row.weight != scope.row.awbinfo.weight" style="color: #ff4d51;font-weight: bold"> 140 + <span v-if="scope.row.awbinfo==null" style="color: #ff4d51;font-weight: bold">
  141 + {{scope.row.weight}}
  142 + </span>
  143 + <span v-else-if="scope.row.weight != scope.row.awbinfo.weight" style="color: #ff4d51;font-weight: bold">
138 {{scope.row.weight}} 144 {{scope.row.weight}}
139 </span> 145 </span>
140 <span v-else> 146 <span v-else>
@@ -183,7 +183,13 @@ @@ -183,7 +183,13 @@
183 label="回执内容" 183 label="回执内容"
184 width="250"> 184 width="250">
185 <template slot-scope="scope"> 185 <template slot-scope="scope">
186 - <span v-if="scope.row.ext5 && scope.row.ext5.indexOf('异常')>0" style="color: #F56C6C"> 186 + <span v-if="scope.row.ext5 && scope.row.ext5.indexOf('异常') != -1" style="color: #F56C6C">
  187 + {{scope.row.ext5}}
  188 + </span>
  189 + <span v-else-if="scope.row.ext5 && scope.row.ext5.indexOf('不通过') != -1" style="color: #F56C6C">
  190 + {{scope.row.ext5}}
  191 + </span>
  192 + <span v-else-if="scope.row.ext5 && scope.row.ext5.indexOf('不接受') != -1" style="color: #F56C6C">
187 {{scope.row.ext5}} 193 {{scope.row.ext5}}
188 </span> 194 </span>
189 <span v-else-if="scope.row.status=='01' || scope.row.status=='11'" style="color: #67C23A"> 195 <span v-else-if="scope.row.status=='01' || scope.row.status=='11'" style="color: #67C23A">
@@ -200,6 +206,7 @@ @@ -200,6 +206,7 @@
200 </span> 206 </span>
201 </template> 207 </template>
202 </el-table-column> 208 </el-table-column>
  209 +<!-- || scope.row.ext5.indexOf('不通过') != -1 || scope.row.ext5.indexOf('不接受') != -1-->
203 </el-table> 210 </el-table>
204 </template> 211 </template>
205 </el-col> 212 </el-col>