_three.blade.php 2.9 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455
  1. <div class="row">
  2. <div class="col-6">
  3. <div class="card">
  4. <div class="card-header bg-light-info">
  5. <span class="pull-left font-weight-bold cursor-pointer" @click="show('storage')"><span class="fa fa-cubes"></span>&nbsp;仓储</span>
  6. </div>
  7. <div class="card-body" id="storage">
  8. <table class="table table-sm">
  9. <tr>
  10. <th>计费类型</th>
  11. <th>用仓类型</th>
  12. <th>起租面积</th>
  13. <th>单价</th>
  14. <th>单位</th>
  15. <th>减免类型</th>
  16. <th>减免值</th>
  17. </tr>
  18. <tr v-for="item in selectedModel.storage">
  19. <td>@{{ item.counting_type }}</td>
  20. <td>@{{ item.using_type }}</td>
  21. <td>@{{ item.minimum_area }}</td>
  22. <td>@{{ item.price }}</td>
  23. <td>@{{ item.discount_type }}</td>
  24. <td>@{{ item.discount_value }}</td>
  25. <td>@{{ poolMapping.units[item.unit_id] }}</td>
  26. </tr>
  27. </table>
  28. </div>
  29. </div>
  30. </div>
  31. <div class="col-6">
  32. <div class="card">
  33. <div class="card-header bg-light-info">
  34. <button type="button" class="btn mr-1" :class="type == 'storage' ? 'btn-primary text-white' : 'btn-outline-primary'" @click="switchType('storage')">仓储</button>
  35. <button type="button" class="btn mr-1" :class="type == 'operation' ? 'btn-primary text-white' : 'btn-outline-primary'" @click="switchType('operation')">作业</button>
  36. <button type="button" class="btn mr-1" :class="type == 'express' ? 'btn-primary text-white' : 'btn-outline-primary'" @click="switchType('express')">快递</button>
  37. <button type="button" class="btn mr-1" :class="type == 'logistic' ? 'btn-primary text-white' : 'btn-outline-primary'" @click="switchType('logistic')">物流</button>
  38. <button type="button" class="btn mr-1" :class="type == 'directLogistic' ? 'btn-primary text-white' : 'btn-outline-primary'" @click="switchType('directLogistic')">直发</button>
  39. </div>
  40. <div class="card-body">
  41. <div v-if="type == 'storage'">
  42. @include("customer.project._storage")
  43. </div>
  44. <div v-show="type == 'operation'">
  45. @include("customer.project._operation")
  46. @include("customer.project._addFeature")
  47. </div>
  48. <div class="row mt-3" v-if="base=='three'">
  49. <div class="col-3"></div>
  50. <button type="button" class="btn btn-success ml-1 col-6" @click="saveModel()">保存</button>
  51. </div>
  52. </div>
  53. </div>
  54. </div>
  55. </div>