|
|
@@ -104,22 +104,20 @@
|
|
|
<tbody v-for="(express,i) in selectedModel.express">
|
|
|
<tr>
|
|
|
<td>
|
|
|
- <div class="text-overflow-warp-100">
|
|
|
- <label v-for="(logistic,j) in express.logistics">
|
|
|
- @{{ poolMapping.provinces[logistic] }}<label v-if="express.logistics && j<(express.logistics.length-1)">,</label>
|
|
|
- </label>
|
|
|
+ <div class="text-overflow-warp-100 small">
|
|
|
+ <label v-for="(logistic,j) in express.logistics" class="m-0">@{{ poolMapping.logistics[logistic] }}</label>
|
|
|
</div>
|
|
|
</td>
|
|
|
<td>@{{ express.name }}</td>
|
|
|
<td>@{{ express.initial_weight }}</td>
|
|
|
<td>@{{ express.additional_weight }}</td>
|
|
|
- <td @click="show('express-item-'+i)">
|
|
|
+ <td @click="show('express-item-'+i)" class="cursor-pointer">
|
|
|
<span class="fa" :class="upList['express-item-'+i] ? 'fa-angle-double-right' : 'fa-angle-double-down'"></span>
|
|
|
@{{ express.items.length }} 省份</td>
|
|
|
</tr>
|
|
|
<tr>
|
|
|
<td colspan="5">
|
|
|
- <div :id="'express-item-'+i">
|
|
|
+ <div :id="'express-item-'+i" class="offset-3">
|
|
|
<table class="table table-sm col-10">
|
|
|
<tr>
|
|
|
<th>省份</th>
|
|
|
@@ -137,26 +135,6 @@
|
|
|
</tr>
|
|
|
</tbody>
|
|
|
</table>
|
|
|
- {{-- <div class="row">
|
|
|
- <label class="col-4">名称:<b>@{{ selectedModel.express.name }}</b></label>
|
|
|
- <label class="col-4">首重值(KG):<b>@{{ selectedModel.express.initial_weight }}</b></label>
|
|
|
- <label class="col-4">续重值(KG):<b>@{{ selectedModel.express.additional_weight }}</b></label>
|
|
|
- </div>--}}
|
|
|
- {{--<div class="row">
|
|
|
- <label class="text-primary col-2">详情</label>
|
|
|
- <table class="table table-sm col-10">
|
|
|
- <tr>
|
|
|
- <th>省份</th>
|
|
|
- <th>首重价格</th>
|
|
|
- <th>续重价格</th>
|
|
|
- </tr>
|
|
|
- <tr v-for="(item,i) in selectedModel.express.items">
|
|
|
- <td>@{{ poolMapping.provinces[item.province_id] }}</td>
|
|
|
- <td>@{{ item.initial_weight_price }}</td>
|
|
|
- <td>@{{ item.additional_weight_price }}</td>
|
|
|
- </tr>
|
|
|
- </table>
|
|
|
- </div>--}}
|
|
|
</div>
|
|
|
</div>
|
|
|
<div class="card" id="logistic-card">
|
|
|
@@ -164,26 +142,71 @@
|
|
|
<span class="pull-left font-weight-bold cursor-pointer" @click="show('logistic')"><span class="fa fa-truck"></span> 物流</span>
|
|
|
</div>
|
|
|
<div class="card-body" id="logistic">
|
|
|
- <div class="row">
|
|
|
- <label class="col-4">名称:<b>@{{ selectedModel.express.name }}</b></label>
|
|
|
- <label class="col-4">首重值(KG):<b>@{{ selectedModel.express.initial_weight }}</b></label>
|
|
|
- <label class="col-4">续重值(KG):<b>@{{ selectedModel.express.additional_weight }}</b></label>
|
|
|
- </div>
|
|
|
- <div class="row">
|
|
|
- <label class="text-primary col-2">详情</label>
|
|
|
- <table class="table table-sm col-10">
|
|
|
+ <table class="table table-sm">
|
|
|
+ <tr>
|
|
|
+ <th>承运商</th>
|
|
|
+ <th>名称</th>
|
|
|
+ <th>单位一</th>
|
|
|
+ <th>一区间值</th>
|
|
|
+ <th>单位二</th>
|
|
|
+ <th>二区间值</th>
|
|
|
+ <th>提货费</th>
|
|
|
+ <th>燃油附加费</th>
|
|
|
+ <th>信息服务费</th>
|
|
|
+ <th>详情</th>
|
|
|
+ </tr>
|
|
|
+ <tbody v-for="(logistic,i) in selectedModel.logistic">
|
|
|
<tr>
|
|
|
- <th>省份</th>
|
|
|
- <th>首重价格</th>
|
|
|
- <th>续重价格</th>
|
|
|
+ <td>
|
|
|
+ <div class="text-overflow-warp-100 small">
|
|
|
+ <label v-for="(logistic,j) in logistic.logistics" class="m-0">@{{ poolMapping.logistics[logistic] }}</label>
|
|
|
+ </div>
|
|
|
+ </td>
|
|
|
+ <td>@{{ logistic.name }}</td>
|
|
|
+ <td>@{{ poolMapping.units[logistic.unit_id] }}</td>
|
|
|
+ <td>@{{ logistic.unit_range }}</td>
|
|
|
+ <td>@{{ poolMapping.units[logistic.other_unit_id] }}</td>
|
|
|
+ <td>@{{ logistic.other_unit_range }}</td>
|
|
|
+ <td>@{{ logistic.pick_up_price }}</td>
|
|
|
+ <td>@{{ logistic.fuel_price }}</td>
|
|
|
+ <td>@{{ logistic.service_price }}</td>
|
|
|
+ <td @click="show('logistic-item-'+i)" class="cursor-pointer">
|
|
|
+ <span class="fa" :class="upList['logistic-item-'+i] ? 'fa-angle-double-right' : 'fa-angle-double-down'"></span>
|
|
|
+ @{{ logistic.items.length }} 地区
|
|
|
+ </td>
|
|
|
</tr>
|
|
|
- <tr v-for="(item,i) in selectedModel.express.items">
|
|
|
- <td>@{{ poolMapping.provinces[item.province_id] }}</td>
|
|
|
- <td>@{{ item.initial_weight_price }}</td>
|
|
|
- <td>@{{ item.additional_weight_price }}</td>
|
|
|
+ <tr>
|
|
|
+ <td colspan="9">
|
|
|
+ <div :id="'logistic-item-'+i" class="offset-1">
|
|
|
+ <table class="table table-sm">
|
|
|
+ <tr>
|
|
|
+ <th>省份</th>
|
|
|
+ <th>市区</th>
|
|
|
+ <th>单位</th>
|
|
|
+ <th>区间</th>
|
|
|
+ <th>单价</th>
|
|
|
+ <th>送货费</th>
|
|
|
+ <th>起始计费</th>
|
|
|
+ <th>起始计数</th>
|
|
|
+ <th>费率(%)</th>
|
|
|
+ </tr>
|
|
|
+ <tr v-for="item in logistic.items">
|
|
|
+ <td class="font-weight-bold">@{{ poolMapping.provinces[item.province_id] }}</td>
|
|
|
+ <td class="font-weight-bold">@{{ poolMapping.cities[item.city_id] }}</td>
|
|
|
+ <td>@{{ poolMapping.units[item.unit_id] }}</td>
|
|
|
+ <td>@{{ item.range }}</td>
|
|
|
+ <td>@{{ item.unit_price }}</td>
|
|
|
+ <td>@{{ item.delivery_fee }}</td>
|
|
|
+ <td>@{{ item.initial_fee }}</td>
|
|
|
+ <td>@{{ item.initial_amount }}</td>
|
|
|
+ <td>@{{ item.rate }}<span v-if="item.rate" class="font-weight-bold"> %</span></td>
|
|
|
+ </tr>
|
|
|
+ </table>
|
|
|
+ </div>
|
|
|
+ </td>
|
|
|
</tr>
|
|
|
- </table>
|
|
|
- </div>
|
|
|
+ </tbody>
|
|
|
+ </table>
|
|
|
</div>
|
|
|
</div>
|
|
|
<div class="card" id="directLogistic-card">
|