| 12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455 |
- <div class="row">
- <div class="col-6">
- <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>
- <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._storage")
- </div>
- <div v-show="type == 'operation'">
- @include("customer.project._operation")
- @include("customer.project._addFeature")
- </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>
|