|
|
@@ -144,8 +144,8 @@
|
|
|
<td>@{{ info.box_amount>0 ? info.box_amount : '-' }}</td>
|
|
|
<td>@{{ info.logistic ? info.logistic.name : '' }}</td>
|
|
|
<td>@{{ info.logistic_number }}</td>
|
|
|
- <td>@{{ info.procurement_number }}</td>
|
|
|
- <td>@{{ info.asn_number }}</td>
|
|
|
+ <td><span v-html="warpText(info.procurement_number)"></span></td>
|
|
|
+ <td><span v-html="warpText(info.asn_number)"></span></td>
|
|
|
<td>
|
|
|
<div v-if="info.details.length>0">
|
|
|
<div class="row">
|
|
|
@@ -425,6 +425,15 @@
|
|
|
this.printInfo.print_date = str;
|
|
|
$("#printModal").modal("show");
|
|
|
},
|
|
|
+ warpText(code){
|
|
|
+ if (!code)return code;
|
|
|
+ code = code.split(/[,, ]+/is);
|
|
|
+ let str = "";
|
|
|
+ for (let i=0;i<code.length;i++){
|
|
|
+ str += code[i]+"<br>";
|
|
|
+ }
|
|
|
+ return str;
|
|
|
+ }
|
|
|
},
|
|
|
filters:{
|
|
|
getCommodity(detail){
|