|
@@ -216,7 +216,7 @@
|
|
|
<td v-if="s.items.length>0">
|
|
<td v-if="s.items.length>0">
|
|
|
<table class="table table-sm">
|
|
<table class="table table-sm">
|
|
|
<tr><th v-for="(val,key) in auditList.mapping.operation.child">@{{ val }}</th></tr>
|
|
<tr><th v-for="(val,key) in auditList.mapping.operation.child">@{{ val }}</th></tr>
|
|
|
- <tr v-for="item in s.items">
|
|
|
|
|
|
|
+ <tr v-for="item in s.items" :class="item.operation=='C' ? 'bg-success' : (item.operation=='D' ? 'bg-danger' : '')">
|
|
|
<td v-for="(val,key) in auditList.mapping.operation.child" v-html="item[key]"></td>
|
|
<td v-for="(val,key) in auditList.mapping.operation.child" v-html="item[key]"></td>
|
|
|
</tr>
|
|
</tr>
|
|
|
</table>
|
|
</table>
|
|
@@ -235,7 +235,7 @@
|
|
|
<td v-if="s.details.length>0">
|
|
<td v-if="s.details.length>0">
|
|
|
<table class="table table-sm">
|
|
<table class="table table-sm">
|
|
|
<tr><th v-for="(val,key) in auditList.mapping.express.child">@{{ val }}</th></tr>
|
|
<tr><th v-for="(val,key) in auditList.mapping.express.child">@{{ val }}</th></tr>
|
|
|
- <tr v-for="item in s.details">
|
|
|
|
|
|
|
+ <tr v-for="item in s.details" :class="item.operation=='C' ? 'bg-success' : (item.operation=='D' ? 'bg-danger' : '')">
|
|
|
<td v-for="(val,key) in auditList.mapping.express.child" v-html="item[key]"></td>
|
|
<td v-for="(val,key) in auditList.mapping.express.child" v-html="item[key]"></td>
|
|
|
</tr>
|
|
</tr>
|
|
|
</table>
|
|
</table>
|
|
@@ -254,7 +254,7 @@
|
|
|
<td v-if="s.details.length>0">
|
|
<td v-if="s.details.length>0">
|
|
|
<table class="table table-sm">
|
|
<table class="table table-sm">
|
|
|
<tr><th v-for="(val,key) in auditList.mapping.logistic.child">@{{ val }}</th></tr>
|
|
<tr><th v-for="(val,key) in auditList.mapping.logistic.child">@{{ val }}</th></tr>
|
|
|
- <tr v-for="item in s.details">
|
|
|
|
|
|
|
+ <tr v-for="item in s.details" :class="item.operation=='C' ? 'bg-success' : (item.operation=='D' ? 'bg-danger' : '')">
|
|
|
<td v-for="(val,key) in auditList.mapping.logistic.child" v-html="item[key]"></td>
|
|
<td v-for="(val,key) in auditList.mapping.logistic.child" v-html="item[key]"></td>
|
|
|
</tr>
|
|
</tr>
|
|
|
</table>
|
|
</table>
|
|
@@ -273,7 +273,7 @@
|
|
|
<td v-if="s.details.length>0">
|
|
<td v-if="s.details.length>0">
|
|
|
<table class="table table-sm">
|
|
<table class="table table-sm">
|
|
|
<tr><th v-for="(val,key) in auditList.mapping.directLogistic.child">@{{ val }}</th></tr>
|
|
<tr><th v-for="(val,key) in auditList.mapping.directLogistic.child">@{{ val }}</th></tr>
|
|
|
- <tr v-for="item in s.details">
|
|
|
|
|
|
|
+ <tr v-for="item in s.details" :class="item.operation=='C' ? 'bg-success' : (item.operation=='D' ? 'bg-danger' : '')">
|
|
|
<td v-for="(val,key) in auditList.mapping.directLogistic.child" v-html="item[key]"></td>
|
|
<td v-for="(val,key) in auditList.mapping.directLogistic.child" v-html="item[key]"></td>
|
|
|
</tr>
|
|
</tr>
|
|
|
</table>
|
|
</table>
|