| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179 |
- <div class="row">
- <div class="col-6" id="parent">
- <div class="card">
- <div class="card-header bg-light-info">
- <span class="pull-left font-weight-bold cursor-pointer" @click="show('storage')"><span class="fa fa-cubes"></span> 仓储</span>
- </div>
- <div class="card-body" id="storage">
- <table class="table table-sm">
- <tr>
- <th>计费类型</th>
- <th>用仓类型</th>
- <th>起租面积</th>
- <th>单价</th>
- <th>单位</th>
- <th>减免类型</th>
- <th>减免值</th>
- </tr>
- <tr v-for="item in selectedModel.storage">
- <td>@{{ item.counting_type }}</td>
- <td>@{{ item.using_type }}</td>
- <td>@{{ item.minimum_area }}</td>
- <td>@{{ item.price }}</td>
- <td>@{{ item.discount_type }}</td>
- <td>@{{ item.discount_value }}</td>
- <td>@{{ poolMapping.units[item.unit_id] }}</td>
- </tr>
- </table>
- </div>
- </div>
- <div class="card" id="operation-card">
- <div class="card-header bg-light-info">
- <span class="pull-left font-weight-bold cursor-pointer" @click="show('operation')"><span class="fa fa-suitcase"></span> 作业</span>
- </div>
- <div class="card-body" id="operation">
- <div class="container-fluid">
- <div class="row">
- <div>入库</div>
- </div>
- <div class="row">
- <div>入库</div>
- </div>
- </div>
- <table class="table table-sm">
- <tr>
- <th>操作类型</th>
- <th>计费策略</th>
- <th>名称</th>
- <th>子策略</th>
- <th>特征</th>
- <th>备注</th>
- </tr>
- <tr v-for="(operation,i) in selectedModel.operation" :id="'operation-'+i">
- <td>@{{ operation.operation_type }}</td>
- <td>@{{ operation.strategy }}</td>
- <td>@{{ operation.name }}</td>
- <td class="cursor-pointer" @click="showOperationItem(i)"><span class="fa" :class="operationItems['_'+i] === true ? 'fa-angle-double-down' : 'fa-angle-double-right'"></span>@{{ operation.items.length }}条策略</td>
- <td @mouseenter="textClass($event,true)" @mouseleave="textClass($event,false)"><div class="cursor-pointer text-overflow-replace-100">@{{ operation.featureFormat }}</div></td>
- <td @mouseenter="textClass($event,true)" @mouseleave="textClass($event,false)"><div class="cursor-pointer text-overflow-replace-100">@{{ operation.remark }}</div></td>
- </tr>
- </table>
- </div>
- </div>
- <div class="card" id="express-card">
- <div class="card-header bg-light-info">
- <span class="pull-left font-weight-bold cursor-pointer" @click="show('express')"><span class="fa fa-cube"></span> 快递</span>
- </div>
- <div class="card-body" id="express">
- <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">
- <div class="card-header bg-light-info">
- <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">
- <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="directLogistic-card">
- <div class="card-header bg-light-info">
- <span class="pull-left font-weight-bold cursor-pointer" @click="show('directLogistic')"><span class="fa fa-rocket"></span> 直发</span>
- </div>
- <div class="card-body" id="directLogistic">
- <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>
- <div class="col-6">
- <div class="card">
- <div class="card-header bg-light-info">
- <button type="button" class="btn mr-1" :class="type == 'storage' ? 'btn-primary text-white' : 'btn-outline-primary'" @click="switchType('storage')">仓储</button>
- <button type="button" class="btn mr-1" :class="type == 'operation' ? 'btn-primary text-white' : 'btn-outline-primary'" @click="switchType('operation')">作业</button>
- <button type="button" class="btn mr-1" :class="type == 'express' ? 'btn-primary text-white' : 'btn-outline-primary'" @click="switchType('express')">快递</button>
- <button type="button" class="btn mr-1" :class="type == 'logistic' ? 'btn-primary text-white' : 'btn-outline-primary'" @click="switchType('logistic')">物流</button>
- <button type="button" class="btn mr-1" :class="type == 'directLogistic' ? 'btn-primary text-white' : 'btn-outline-primary'" @click="switchType('directLogistic')">直发</button>
- </div>
- <div class="card-body">
- <div v-if="type == 'storage'">
- @include("customer.project.part._storage")
- </div>
- <div v-show="type == 'operation'">
- @include("customer.project.part._operation")
- @include("customer.project.part._addFeature")
- </div>
- <div v-show="type == 'express'">
- @include("customer.project.part._express")
- </div>
- <div v-show="type == 'logistic'">
- @include("customer.project.part._logistic")
- @include("customer.project.part._logisticDetail")
- </div>
- <div v-show="type == 'directLogistic'">
- @include("customer.project.part._directLogistic")
- </div>
- <div class="row mt-3" v-if="base=='three'">
- <div class="col-3"></div>
- <button type="button" class="btn btn-success ml-1 col-6" @click="saveModel()">保存</button>
- </div>
- </div>
- </div>
- </div>
- </div>
|