Browse Source

供应链-采购退库页面及api、常用配置页面及api、车辆管理和全部关联页面及api、request.js文件、路径配置页面

zhanglei
Zhao Qiqi 3 years ago
parent
commit
963401f482
  1. 2
      anrui-scm/.idea/.gitignore
  2. 8
      anrui-scm/.idea/anrui-scm.iml
  3. 6
      anrui-scm/.idea/misc.xml
  4. 8
      anrui-scm/.idea/modules.xml
  5. 6
      anrui-scm/.idea/vcs.xml
  6. 2
      anrui-scm/anrui-scm-ui/.env.development
  7. BIN
      anrui-scm/anrui-scm-ui/System/favicon.ico
  8. BIN
      anrui-scm/anrui-scm-ui/System/image/liuchengtu.jpg
  9. 1
      anrui-scm/anrui-scm-ui/System/index.html
  10. 1
      anrui-scm/anrui-scm-ui/System/static/css/app.c05b0081.css
  11. 1
      anrui-scm/anrui-scm-ui/System/static/css/chunk-0e15d468.1ce4ea08.css
  12. 1
      anrui-scm/anrui-scm-ui/System/static/css/chunk-0ee1ad7f.981043d5.css
  13. 1
      anrui-scm/anrui-scm-ui/System/static/css/chunk-16259164.9c8241cd.css
  14. 1
      anrui-scm/anrui-scm-ui/System/static/css/chunk-1a2275ee.6eac2029.css
  15. 1
      anrui-scm/anrui-scm-ui/System/static/css/chunk-1c3ff968.dacb4e31.css
  16. 1
      anrui-scm/anrui-scm-ui/System/static/css/chunk-1ca81d5f.cd65b9fe.css
  17. 1
      anrui-scm/anrui-scm-ui/System/static/css/chunk-20deed0c.c3866d03.css
  18. 1
      anrui-scm/anrui-scm-ui/System/static/css/chunk-238c903c.3c7f5ad9.css
  19. 1
      anrui-scm/anrui-scm-ui/System/static/css/chunk-246ea643.12cac897.css
  20. 1
      anrui-scm/anrui-scm-ui/System/static/css/chunk-37211206.7fba2bcf.css
  21. 1
      anrui-scm/anrui-scm-ui/System/static/css/chunk-39a8c964.e646ea4d.css
  22. 1
      anrui-scm/anrui-scm-ui/System/static/css/chunk-3fffbf76.847f7fe1.css
  23. 1
      anrui-scm/anrui-scm-ui/System/static/css/chunk-404983aa.18c1a078.css
  24. 1
      anrui-scm/anrui-scm-ui/System/static/css/chunk-492d3169.d6740ce5.css
  25. 1
      anrui-scm/anrui-scm-ui/System/static/css/chunk-537ba9f1.46472584.css
  26. 1
      anrui-scm/anrui-scm-ui/System/static/css/chunk-5833d0a4.1a4a17fa.css
  27. 1
      anrui-scm/anrui-scm-ui/System/static/css/chunk-5bef60f0.80b99e4d.css
  28. 1
      anrui-scm/anrui-scm-ui/System/static/css/chunk-5da95035.cd7caa53.css
  29. 1
      anrui-scm/anrui-scm-ui/System/static/css/chunk-63aaea0e.339ab53e.css
  30. 1
      anrui-scm/anrui-scm-ui/System/static/css/chunk-6ab2f840.92f280c2.css
  31. 1
      anrui-scm/anrui-scm-ui/System/static/css/chunk-6dfcce7a.ef8fd929.css
  32. 1
      anrui-scm/anrui-scm-ui/System/static/css/chunk-73306c38.9b97fbf9.css
  33. 1
      anrui-scm/anrui-scm-ui/System/static/css/chunk-7a1ab9f8.b993d4d1.css
  34. 1
      anrui-scm/anrui-scm-ui/System/static/css/chunk-bfb04a0a.5b7bc4b7.css
  35. 1
      anrui-scm/anrui-scm-ui/System/static/css/chunk-c028bbe0.6e941b97.css
  36. 1
      anrui-scm/anrui-scm-ui/System/static/css/chunk-ee5005d6.b6686d05.css
  37. 1
      anrui-scm/anrui-scm-ui/System/static/css/chunk-elementUI.68c70ad5.css
  38. 1
      anrui-scm/anrui-scm-ui/System/static/css/chunk-fe95b578.887d8ec5.css
  39. 1
      anrui-scm/anrui-scm-ui/System/static/css/chunk-libs.887691f5.css
  40. BIN
      anrui-scm/anrui-scm-ui/System/static/fonts/element-icons.535877f5.woff
  41. BIN
      anrui-scm/anrui-scm-ui/System/static/fonts/element-icons.732389de.ttf
  42. BIN
      anrui-scm/anrui-scm-ui/System/static/img/404.a57b6f31.png
  43. BIN
      anrui-scm/anrui-scm-ui/System/static/img/404_cloud.0f4bc32b.png
  44. BIN
      anrui-scm/anrui-scm-ui/System/static/img/bgImg.9de18398.png
  45. BIN
      anrui-scm/anrui-scm-ui/System/static/img/logo.40e081e3.png
  46. 1
      anrui-scm/anrui-scm-ui/System/static/js/app.237282ea.js
  47. 1
      anrui-scm/anrui-scm-ui/System/static/js/chunk-0e15d468.402a140f.js
  48. 1
      anrui-scm/anrui-scm-ui/System/static/js/chunk-0ee1ad7f.6496c2f3.js
  49. 1
      anrui-scm/anrui-scm-ui/System/static/js/chunk-16259164.1321f892.js
  50. 1
      anrui-scm/anrui-scm-ui/System/static/js/chunk-1a2275ee.e53ccd84.js
  51. 1
      anrui-scm/anrui-scm-ui/System/static/js/chunk-1c3ff968.c9d57021.js
  52. 1
      anrui-scm/anrui-scm-ui/System/static/js/chunk-1ca81d5f.1ba5e020.js
  53. 1
      anrui-scm/anrui-scm-ui/System/static/js/chunk-20deed0c.743c8e45.js
  54. 1
      anrui-scm/anrui-scm-ui/System/static/js/chunk-238c903c.7d6ec77f.js
  55. 1
      anrui-scm/anrui-scm-ui/System/static/js/chunk-246ea643.f71a3ad4.js
  56. 1
      anrui-scm/anrui-scm-ui/System/static/js/chunk-37211206.261abbcc.js
  57. 1
      anrui-scm/anrui-scm-ui/System/static/js/chunk-39a8c964.c86ab1e3.js
  58. 1
      anrui-scm/anrui-scm-ui/System/static/js/chunk-3fffbf76.c60ffc44.js
  59. 1
      anrui-scm/anrui-scm-ui/System/static/js/chunk-404983aa.d7edd3dd.js
  60. 1
      anrui-scm/anrui-scm-ui/System/static/js/chunk-492d3169.7ae231d4.js
  61. 1
      anrui-scm/anrui-scm-ui/System/static/js/chunk-537ba9f1.088a40c2.js
  62. 1
      anrui-scm/anrui-scm-ui/System/static/js/chunk-5833d0a4.0872c149.js
  63. 1
      anrui-scm/anrui-scm-ui/System/static/js/chunk-5bef60f0.ab920377.js
  64. 1
      anrui-scm/anrui-scm-ui/System/static/js/chunk-5da95035.b1b8ae6a.js
  65. 1
      anrui-scm/anrui-scm-ui/System/static/js/chunk-63aaea0e.17bcd236.js
  66. 1
      anrui-scm/anrui-scm-ui/System/static/js/chunk-6ab2f840.e3837544.js
  67. 1
      anrui-scm/anrui-scm-ui/System/static/js/chunk-6dfcce7a.8aed8df4.js
  68. 1
      anrui-scm/anrui-scm-ui/System/static/js/chunk-73306c38.799188f1.js
  69. 1
      anrui-scm/anrui-scm-ui/System/static/js/chunk-7a1ab9f8.5fde091b.js
  70. 1
      anrui-scm/anrui-scm-ui/System/static/js/chunk-bfb04a0a.37a53746.js
  71. 1
      anrui-scm/anrui-scm-ui/System/static/js/chunk-c028bbe0.e24feb70.js
  72. 1
      anrui-scm/anrui-scm-ui/System/static/js/chunk-ee5005d6.eb796771.js
  73. 1
      anrui-scm/anrui-scm-ui/System/static/js/chunk-elementUI.36cbc057.js
  74. 1
      anrui-scm/anrui-scm-ui/System/static/js/chunk-fe95b578.072f93a1.js
  75. 321
      anrui-scm/anrui-scm-ui/System/static/js/chunk-libs.1f4a52d0.js
  76. 33
      anrui-scm/anrui-scm-ui/src/api/cheliang/basemodelconfig.js
  77. 19
      anrui-scm/anrui-scm-ui/src/api/cheliang/basemodelrelationconfigure.js
  78. 66
      anrui-scm/anrui-scm-ui/src/api/cheliang/basevehiclemodel.js
  79. 49
      anrui-scm/anrui-scm-ui/src/api/flow/vehicleReturn.js
  80. 84
      anrui-scm/anrui-scm-ui/src/api/supplychain/purchasereturntowarehouse.js
  81. 393
      anrui-scm/anrui-scm-ui/src/components/uploadFile/upload.vue
  82. 243
      anrui-scm/anrui-scm-ui/src/components/uploadFile/uploadImg.vue
  83. 222
      anrui-scm/anrui-scm-ui/src/router/modules/codemenu.js
  84. 4
      anrui-scm/anrui-scm-ui/src/utils/auth.js
  85. 82
      anrui-scm/anrui-scm-ui/src/utils/request.js
  86. 2
      anrui-scm/anrui-scm-ui/src/views/cheliang/cheliangtaizhang/cheliangtaizhang.vue
  87. 481
      anrui-scm/anrui-scm-ui/src/views/cheliang/chexing/chexing.vue
  88. 1003
      anrui-scm/anrui-scm-ui/src/views/cheliang/chexing/chexingAdd.vue
  89. 438
      anrui-scm/anrui-scm-ui/src/views/cheliang/chexing/chexinglook.vue
  90. 481
      anrui-scm/anrui-scm-ui/src/views/cheliang/chexing/chexingpeizhi.vue
  91. 904
      anrui-scm/anrui-scm-ui/src/views/cheliang/chexing/relation/changyongpeizhi.vue
  92. 1018
      anrui-scm/anrui-scm-ui/src/views/cheliang/chexing/relation/chexingguanlianchangyong.vue
  93. 194
      anrui-scm/anrui-scm-ui/src/views/cheliang/chexing/relation/chexingpeizhijiageweihuAdd.vue
  94. 1067
      anrui-scm/anrui-scm-ui/src/views/cheliang/chexingpeizhi/changyongpeizhi.vue
  95. 235
      anrui-scm/anrui-scm-ui/src/views/cheliang/chexingpeizhi/changyongpeizhiAdd.vue
  96. 20
      anrui-scm/anrui-scm-ui/src/views/cheliang/chexingpeizhi/changyongpeizhiInfo.vue
  97. 464
      anrui-scm/anrui-scm-ui/src/views/cheliang/chexingpeizhi/jianshupeizhi.vue
  98. 371
      anrui-scm/anrui-scm-ui/src/views/cheliang/chexingpeizhi/ohter/changyongpeizhiInfo.vue
  99. 578
      anrui-scm/anrui-scm-ui/src/views/cheliang/chexingpeizhi/ohter/changyongpeizhiRel.vue
  100. 398
      anrui-scm/anrui-scm-ui/src/views/supplychain/caigoutuiku/caigoutuiku.vue

2
anrui-scm/.idea/.gitignore

@ -0,0 +1,2 @@
# Default ignored files
/workspace.xml

8
anrui-scm/.idea/anrui-scm.iml

@ -0,0 +1,8 @@
<?xml version="1.0" encoding="UTF-8"?>
<module type="WEB_MODULE" version="4">
<component name="NewModuleRootManager">
<content url="file://$MODULE_DIR$" />
<orderEntry type="inheritedJdk" />
<orderEntry type="sourceFolder" forTests="false" />
</component>
</module>

6
anrui-scm/.idea/misc.xml

@ -0,0 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="JavaScriptSettings">
<option name="languageLevel" value="ES6" />
</component>
</project>

8
anrui-scm/.idea/modules.xml

@ -0,0 +1,8 @@
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="ProjectModuleManager">
<modules>
<module fileurl="file://$PROJECT_DIR$/.idea/anrui-scm.iml" filepath="$PROJECT_DIR$/.idea/anrui-scm.iml" />
</modules>
</component>
</project>

6
anrui-scm/.idea/vcs.xml

@ -0,0 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="VcsDirectoryMappings">
<mapping directory="$PROJECT_DIR$/.." vcs="Git" />
</component>
</project>

2
anrui-scm/anrui-scm-ui/.env.development

@ -7,5 +7,5 @@ VUE_APP_BASE_API = '/api'
## 配置测试和本地开发时的 接口地址
##VUE_APP_URL = "http://26077a35f5.wicp.vip"
##VUE_APP_URL = "http://120.46.131.15:8111"
VUE_APP_URL = "http://127.0.0.1:8111"
VUE_APP_URL = "http://192.168.1.109:8111"
##VUE_APP_URL = "http://1mn7264414.qicp.vip"

BIN
anrui-scm/anrui-scm-ui/System/favicon.ico

Binary file not shown.

Before

Width:  |  Height:  |  Size: 66 KiB

BIN
anrui-scm/anrui-scm-ui/System/image/liuchengtu.jpg

Binary file not shown.

Before

Width:  |  Height:  |  Size: 30 KiB

1
anrui-scm/anrui-scm-ui/System/index.html

File diff suppressed because one or more lines are too long

1
anrui-scm/anrui-scm-ui/System/static/css/app.c05b0081.css

File diff suppressed because one or more lines are too long

1
anrui-scm/anrui-scm-ui/System/static/css/chunk-0e15d468.1ce4ea08.css

@ -1 +0,0 @@
.pagination-container.pagesize{float:right;padding:0}.pagination-container{background:#fff;padding:16px 16px 0 16px;float:right}.pagination-container.hidden{display:none}.el-pagination.is-background .btn-next,.el-pagination.is-background .btn-prev{padding:0 20px;border:1px solid #ccc;border-radius:2px;background-color:#fff}.e-pagination .el-icon-arrow-left:before,.e-pagination .el-icon-arrow-right:before{content:"下一页";color:#727272}.e-pagination .el-icon-arrow-left:before{content:"上一页"}.poptitle[data-v-3dbcfea2]{width:97%;height:auto;line-height:50px;display:-webkit-box;display:-ms-flexbox;display:flex}.poptitle .conter_title[data-v-3dbcfea2]{height:50px;width:16%;text-align:right;line-height:50px;font-size:18px}.poptitle .conter_content[data-v-3dbcfea2]{margin-left:14px}.poptitle .conter_content .addinputw[data-v-3dbcfea2],.poptitle .conter_content .el-select[data-v-3dbcfea2]{width:50%}[data-v-6bb7dc1e] .el-collapse{border-top:0 solid #e6ebf5;border-bottom:0 solid #e6ebf5}[data-v-6bb7dc1e] .el-collapse-item__content{margin:0;padding:0}[data-v-6bb7dc1e] .el-collapse-item__wrap{border-bottom:0 solid #ebeef5}[data-v-6bb7dc1e] .el-collapse-item__header{border-bottom:0 solid #e6ebf5}.searchli[data-v-6bb7dc1e]{padding:5px 100px}

1
anrui-scm/anrui-scm-ui/System/static/css/chunk-0ee1ad7f.981043d5.css

@ -1 +0,0 @@
.pagination-container.pagesize{float:right;padding:0}.pagination-container{background:#fff;padding:16px 16px 0 16px;float:right}.pagination-container.hidden{display:none}.el-pagination.is-background .btn-next,.el-pagination.is-background .btn-prev{padding:0 20px;border:1px solid #ccc;border-radius:2px;background-color:#fff}.e-pagination .el-icon-arrow-left:before,.e-pagination .el-icon-arrow-right:before{content:"下一页";color:#727272}.e-pagination .el-icon-arrow-left:before{content:"上一页"}.headInfo[data-v-af37b790]{margin-left:-14px;margin-right:-14px}.wlInfo[data-v-af37b790]{width:100%;height:100%;padding:60px 0;font-size:24px;font-weight:700;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center}.formadd[data-v-af37b790]{padding:0}.formadd .el-row[data-v-af37b790]{display:-webkit-box;display:-ms-flexbox;display:flex;-ms-flex-wrap:wrap;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;border-left:0!important}.tleftb[data-v-af37b790]{text-align:right;border-left:1px solid #e0e3eb}.tab-headerg[data-v-af37b790]{height:35px;background-color:#edf1f7;padding:20px 20px}.icon[data-v-af37b790]{color:#e84026;margin-right:4px}.headInfo[data-v-87909d48]{margin-left:-14px;margin-right:-14px}.wlInfo[data-v-87909d48]{width:100%;height:100%;padding:60px 0;font-size:24px;font-weight:700;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center}.formadd[data-v-87909d48]{padding:0}.formadd .el-row[data-v-87909d48]{display:-webkit-box;display:-ms-flexbox;display:flex;-ms-flex-wrap:wrap;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;border-left:0!important}.tleftb[data-v-87909d48]{text-align:right;border-left:1px solid #e0e3eb}.tab-headerg[data-v-87909d48]{height:35px;background-color:#edf1f7;padding:20px 20px}.icon[data-v-87909d48]{color:#e84026;margin-right:4px}[data-v-1dc95008] .el-collapse{border-top:0 solid #e6ebf5;border-bottom:0 solid #e6ebf5}[data-v-1dc95008] .el-collapse-item__content{margin:0;padding:0}[data-v-1dc95008] .el-collapse-item__wrap{border-bottom:0 solid #ebeef5}[data-v-1dc95008] .el-collapse-item__header{border-bottom:0 solid #e6ebf5}.searchbtn[data-v-1dc95008]{border:1px solid #2cab69;color:#2cab69}

1
anrui-scm/anrui-scm-ui/System/static/css/chunk-16259164.9c8241cd.css

@ -1 +0,0 @@
.pagination-container.pagesize{float:right;padding:0}.pagination-container{background:#fff;padding:16px 16px 0 16px;float:right}.pagination-container.hidden{display:none}.el-pagination.is-background .btn-next,.el-pagination.is-background .btn-prev{padding:0 20px;border:1px solid #ccc;border-radius:2px;background-color:#fff}.e-pagination .el-icon-arrow-left:before,.e-pagination .el-icon-arrow-right:before{content:"下一页";color:#727272}.e-pagination .el-icon-arrow-left:before{content:"上一页"}.headInfo[data-v-4801e3da]{margin-left:-14px;margin-right:-14px}.wlInfo[data-v-4801e3da]{width:100%;height:100%;padding:60px 0;font-size:24px;border-width:0 0 1px 0;border-style:solid;border-color:#edf1f7;font-weight:700;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center}.formadd[data-v-4801e3da]{padding:0}.tleftb[data-v-4801e3da]{text-align:right}.tab-headerg[data-v-4801e3da]{height:35px;background-color:#edf1f7;padding:20px 20px}.headInfo[data-v-a01640f6]{margin-left:-14px;margin-right:-14px}.wlInfo[data-v-a01640f6]{width:100%;height:100%;padding:60px 0;font-size:24px;border-width:0 0 1px 0;border-style:solid;border-color:#edf1f7;font-weight:700;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center}.formadd[data-v-a01640f6]{padding:0}.tleftb[data-v-a01640f6]{text-align:left}.tab-headerg[data-v-a01640f6]{height:35px;background-color:#edf1f7;padding:20px 20px}.app-container-Update[data-v-556ac421]{margin:5px -9px;background-color:#fff}.app-container-Update .searchcon[data-v-556ac421]{margin:0 9px}.app-container-Update .searchbtn[data-v-556ac421]{border:1px solid #2cab69;color:#2cab69}.app-container-Update .listcon[data-v-556ac421]{margin:0 9px}.app-container-Update .listtop[data-v-556ac421]{margin:0 9px;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between;-webkit-box-align:center;-ms-flex-align:center;align-items:center;border:1px solid #dfe4ed;height:40px}.app-container-Update .listtop .pagination[data-v-556ac421],.app-container-Update .listtop .tit[data-v-556ac421]{margin-bottom:-10px}

1
anrui-scm/anrui-scm-ui/System/static/css/chunk-1a2275ee.6eac2029.css

@ -1 +0,0 @@
.pagination-container.pagesize{float:right;padding:0}.pagination-container{background:#fff;padding:16px 16px 0 16px;float:right}.pagination-container.hidden{display:none}.el-pagination.is-background .btn-next,.el-pagination.is-background .btn-prev{padding:0 20px;border:1px solid #ccc;border-radius:2px;background-color:#fff}.e-pagination .el-icon-arrow-left:before,.e-pagination .el-icon-arrow-right:before{content:"下一页";color:#727272}.e-pagination .el-icon-arrow-left:before{content:"上一页"}[data-v-3a6effa6] .el-collapse{border-top:0 solid #e6ebf5;border-bottom:0 solid #e6ebf5}[data-v-3a6effa6] .el-collapse-item__content{margin:0;padding:0}[data-v-3a6effa6] .el-collapse-item__wrap{border-bottom:0 solid #ebeef5}[data-v-3a6effa6] .el-collapse-item__header{border-bottom:0 solid #e6ebf5}.searchli[data-v-3a6effa6]{padding:5px 100px}

1
anrui-scm/anrui-scm-ui/System/static/css/chunk-1c3ff968.dacb4e31.css

@ -1 +0,0 @@
.pagination-container.pagesize{float:right;padding:0}.pagination-container{background:#fff;padding:16px 16px 0 16px;float:right}.pagination-container.hidden{display:none}.el-pagination.is-background .btn-next,.el-pagination.is-background .btn-prev{padding:0 20px;border:1px solid #ccc;border-radius:2px;background-color:#fff}.e-pagination .el-icon-arrow-left:before,.e-pagination .el-icon-arrow-right:before{content:"下一页";color:#727272}.e-pagination .el-icon-arrow-left:before{content:"上一页"}[data-v-9cd0ba48] .el-table{overflow-x:auto}[data-v-9cd0ba48] .el-table__body-wrapper,[data-v-9cd0ba48] .el-table__footer-wrapper,[data-v-9cd0ba48] .el-table__header-wrapper{overflow:visible}[data-v-9cd0ba48] .el-table:after{position:relative}.el-table--scrollable-x .el-table__body-wrapper[data-v-9cd0ba48]{overflow:visible}.wlInfo[data-v-9cd0ba48]{text-align:center;font-size:28px;line-height:90px}.lineone[data-v-9cd0ba48]{border-bottom:2px solid #e0e3eb}.lineone .el-form-item[data-v-9cd0ba48]{margin-bottom:2px}.lineone[data-v-9cd0ba48] .el-input__inner{border:0}.formadd-copy[data-v-9cd0ba48] .el-input__inner{border-top:0;border-left:0;border-right:0;border-bottom:1px solid #e0e3eb;height:20px!important}.el-form-item-right[data-v-9cd0ba48]{text-align:right}.linetwo[data-v-9cd0ba48]{margin-top:20px}.tableStyle[data-v-9cd0ba48]{background-color:#018ad2;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between;-webkit-box-align:center;-ms-flex-align:center;align-items:center;border:1px solid #dfe4ed;height:40px}.wlInfo[data-v-0e593ca4]{text-align:center;font-size:28px;line-height:90px}.lineone[data-v-0e593ca4]{border-bottom:2px solid #e0e3eb}.lineone .el-form-item[data-v-0e593ca4]{margin-bottom:2px}.lineone[data-v-0e593ca4] .el-input__inner{border:0}.formadd-copy[data-v-0e593ca4] .el-input__inner{border-top:0;border-left:0;border-right:0;border-bottom:1px solid #e0e3eb;height:20px!important}.el-form-item-right[data-v-0e593ca4]{text-align:right}.linetwo[data-v-0e593ca4]{margin-top:20px}.tableStyle[data-v-0e593ca4]{background-color:#018ad2;-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between;border:1px solid #dfe4ed;height:40px}.HWInfo[data-v-0e593ca4],.tableStyle[data-v-0e593ca4]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center}.HWInfo[data-v-0e593ca4]{width:100%;height:100px;font-size:24px;border-width:0 0 1px 0;border-style:solid;border-color:#edf1f7;font-weight:700;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center}.searchbtn[data-v-6c2db783]{border:1px solid #2cab69;color:#2cab69}.listtop[data-v-6c2db783]{margin:0 9px;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between;-webkit-box-align:center;-ms-flex-align:center;align-items:center;border:1px solid #dfe4ed;height:40px}.searchcon[data-v-6c2db783]{margin:0 9px}.app-container-copy[data-v-6c2db783]{margin:5px -9px}.listcon[data-v-6c2db783]{margin:0 9px}.pagination[data-v-6c2db783],.tit[data-v-6c2db783]{margin-bottom:-10px}

1
anrui-scm/anrui-scm-ui/System/static/css/chunk-1ca81d5f.cd65b9fe.css

@ -1 +0,0 @@
.pagination-container.pagesize{float:right;padding:0}.pagination-container{background:#fff;padding:16px 16px 0 16px;float:right}.pagination-container.hidden{display:none}.el-pagination.is-background .btn-next,.el-pagination.is-background .btn-prev{padding:0 20px;border:1px solid #ccc;border-radius:2px;background-color:#fff}.e-pagination .el-icon-arrow-left:before,.e-pagination .el-icon-arrow-right:before{content:"下一页";color:#727272}.e-pagination .el-icon-arrow-left:before{content:"上一页"}.invoiceadd[data-v-572e508c] .el-input__inner{border:0;border-bottom:1px solid #e0e3eb!important}.invoiceadd[data-v-572e508c] .el-form-item__content{margin-left:0!important}.el-input[data-v-572e508c]{width:230px}.invoiceadd[data-v-2b7fb525] .el-input__inner{border:0;border-bottom:1px solid #e0e3eb!important}.invoiceadd[data-v-2b7fb525] .el-form-item__content{margin-left:0!important}.el-input[data-v-2b7fb525]{width:230px}.el-table{overflow:auto}.el-table .el-table__body-wrapper,.el-table .el-table__footer-wrapper,.el-table .el-table__header-wrapper{overflow:visible}.el-table:after{position:relative!important}[data-v-3d576785] .el-collapse{border-top:0 solid #e6ebf5;border-bottom:0 solid #e6ebf5}[data-v-3d576785] .el-collapse-item__content{margin:0;padding:0}[data-v-3d576785] .el-collapse-item__wrap{border-bottom:0 solid #ebeef5}[data-v-3d576785] .el-collapse-item__header{border-bottom:0 solid #e6ebf5}.searchbtn[data-v-3d576785]{border:1px solid #2cab69;color:#2cab69}

1
anrui-scm/anrui-scm-ui/System/static/css/chunk-20deed0c.c3866d03.css

@ -1 +0,0 @@
.pagination-container.pagesize{float:right;padding:0}.pagination-container{background:#fff;padding:16px 16px 0 16px;float:right}.pagination-container.hidden{display:none}.el-pagination.is-background .btn-next,.el-pagination.is-background .btn-prev{padding:0 20px;border:1px solid #ccc;border-radius:2px;background-color:#fff}.e-pagination .el-icon-arrow-left:before,.e-pagination .el-icon-arrow-right:before{content:"下一页";color:#727272}.e-pagination .el-icon-arrow-left:before{content:"上一页"}[data-v-03e9372a] .el-collapse{border-top:0 solid #e6ebf5;border-bottom:0 solid #e6ebf5}[data-v-03e9372a] .el-collapse-item__content{margin:0;padding:0}[data-v-03e9372a] .el-collapse-item__wrap{border-bottom:0 solid #ebeef5}[data-v-03e9372a] .el-collapse-item__header{border-bottom:0 solid #e6ebf5}.searchli[data-v-03e9372a]{padding:5px 100px}

1
anrui-scm/anrui-scm-ui/System/static/css/chunk-238c903c.3c7f5ad9.css

@ -1 +0,0 @@
.wscn-http404-container[data-v-c095f994]{-webkit-transform:translate(-50%,-50%);transform:translate(-50%,-50%);position:absolute;top:40%;left:50%}.wscn-http404[data-v-c095f994]{position:relative;width:1200px;padding:0 50px;overflow:hidden}.wscn-http404 .pic-404[data-v-c095f994]{position:relative;float:left;width:600px;overflow:hidden}.wscn-http404 .pic-404__parent[data-v-c095f994]{width:100%}.wscn-http404 .pic-404__child[data-v-c095f994]{position:absolute}.wscn-http404 .pic-404__child.left[data-v-c095f994]{width:80px;top:17px;left:220px;opacity:0;-webkit-animation-name:cloudLeft-data-v-c095f994;animation-name:cloudLeft-data-v-c095f994;-webkit-animation-duration:2s;animation-duration:2s;-webkit-animation-timing-function:linear;animation-timing-function:linear;-webkit-animation-fill-mode:forwards;animation-fill-mode:forwards;-webkit-animation-delay:1s;animation-delay:1s}.wscn-http404 .pic-404__child.mid[data-v-c095f994]{width:46px;top:10px;left:420px;opacity:0;-webkit-animation-name:cloudMid-data-v-c095f994;animation-name:cloudMid-data-v-c095f994;-webkit-animation-duration:2s;animation-duration:2s;-webkit-animation-timing-function:linear;animation-timing-function:linear;-webkit-animation-fill-mode:forwards;animation-fill-mode:forwards;-webkit-animation-delay:1.2s;animation-delay:1.2s}.wscn-http404 .pic-404__child.right[data-v-c095f994]{width:62px;top:100px;left:500px;opacity:0;-webkit-animation-name:cloudRight-data-v-c095f994;animation-name:cloudRight-data-v-c095f994;-webkit-animation-duration:2s;animation-duration:2s;-webkit-animation-timing-function:linear;animation-timing-function:linear;-webkit-animation-fill-mode:forwards;animation-fill-mode:forwards;-webkit-animation-delay:1s;animation-delay:1s}@-webkit-keyframes cloudLeft-data-v-c095f994{0%{top:17px;left:220px;opacity:0}20%{top:33px;left:188px;opacity:1}80%{top:81px;left:92px;opacity:1}to{top:97px;left:60px;opacity:0}}@keyframes cloudLeft-data-v-c095f994{0%{top:17px;left:220px;opacity:0}20%{top:33px;left:188px;opacity:1}80%{top:81px;left:92px;opacity:1}to{top:97px;left:60px;opacity:0}}@-webkit-keyframes cloudMid-data-v-c095f994{0%{top:10px;left:420px;opacity:0}20%{top:40px;left:360px;opacity:1}70%{top:130px;left:180px;opacity:1}to{top:160px;left:120px;opacity:0}}@keyframes cloudMid-data-v-c095f994{0%{top:10px;left:420px;opacity:0}20%{top:40px;left:360px;opacity:1}70%{top:130px;left:180px;opacity:1}to{top:160px;left:120px;opacity:0}}@-webkit-keyframes cloudRight-data-v-c095f994{0%{top:100px;left:500px;opacity:0}20%{top:120px;left:460px;opacity:1}80%{top:180px;left:340px;opacity:1}to{top:200px;left:300px;opacity:0}}@keyframes cloudRight-data-v-c095f994{0%{top:100px;left:500px;opacity:0}20%{top:120px;left:460px;opacity:1}80%{top:180px;left:340px;opacity:1}to{top:200px;left:300px;opacity:0}}.wscn-http404 .bullshit[data-v-c095f994]{position:relative;float:left;width:300px;padding:30px 0;overflow:hidden}.wscn-http404 .bullshit__oops[data-v-c095f994]{font-size:32px;line-height:40px;color:#1482f0;margin-bottom:20px;-webkit-animation-fill-mode:forwards;animation-fill-mode:forwards}.wscn-http404 .bullshit__headline[data-v-c095f994],.wscn-http404 .bullshit__oops[data-v-c095f994]{font-weight:700;opacity:0;-webkit-animation-name:slideUp-data-v-c095f994;animation-name:slideUp-data-v-c095f994;-webkit-animation-duration:.5s;animation-duration:.5s}.wscn-http404 .bullshit__headline[data-v-c095f994]{font-size:20px;line-height:24px;color:#222;margin-bottom:10px;-webkit-animation-delay:.1s;animation-delay:.1s;-webkit-animation-fill-mode:forwards;animation-fill-mode:forwards}.wscn-http404 .bullshit__info[data-v-c095f994]{font-size:13px;line-height:21px;color:grey;margin-bottom:30px;-webkit-animation-delay:.2s;animation-delay:.2s;-webkit-animation-fill-mode:forwards;animation-fill-mode:forwards}.wscn-http404 .bullshit__info[data-v-c095f994],.wscn-http404 .bullshit__return-home[data-v-c095f994]{opacity:0;-webkit-animation-name:slideUp-data-v-c095f994;animation-name:slideUp-data-v-c095f994;-webkit-animation-duration:.5s;animation-duration:.5s}.wscn-http404 .bullshit__return-home[data-v-c095f994]{display:block;float:left;width:110px;height:36px;background:#1482f0;border-radius:100px;text-align:center;color:#fff;font-size:14px;line-height:36px;cursor:pointer;-webkit-animation-delay:.3s;animation-delay:.3s;-webkit-animation-fill-mode:forwards;animation-fill-mode:forwards}@-webkit-keyframes slideUp-data-v-c095f994{0%{-webkit-transform:translateY(60px);transform:translateY(60px);opacity:0}to{-webkit-transform:translateY(0);transform:translateY(0);opacity:1}}@keyframes slideUp-data-v-c095f994{0%{-webkit-transform:translateY(60px);transform:translateY(60px);opacity:0}to{-webkit-transform:translateY(0);transform:translateY(0);opacity:1}}

1
anrui-scm/anrui-scm-ui/System/static/css/chunk-246ea643.12cac897.css

@ -1 +0,0 @@
[data-v-684a86af] .lookimg .img{width:100px;margin:10px}

1
anrui-scm/anrui-scm-ui/System/static/css/chunk-37211206.7fba2bcf.css

@ -1 +0,0 @@
.pagination-container.pagesize{float:right;padding:0}.pagination-container{background:#fff;padding:16px 16px 0 16px;float:right}.pagination-container.hidden{display:none}.el-pagination.is-background .btn-next,.el-pagination.is-background .btn-prev{padding:0 20px;border:1px solid #ccc;border-radius:2px;background-color:#fff}.e-pagination .el-icon-arrow-left:before,.e-pagination .el-icon-arrow-right:before{content:"下一页";color:#727272}.e-pagination .el-icon-arrow-left:before{content:"上一页"}.operate[data-v-f7b882d8]{display:-webkit-box;display:-ms-flexbox;display:flex;background-color:#edf1f7;-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between;-webkit-box-align:center;-ms-flex-align:center;align-items:center;border:1px solid #dfe4ed;height:47px;padding:8px 20px}.app-container-Update[data-v-f7b882d8]{margin:5px -9px;background-color:#fff}.app-container-Update .searchcon[data-v-f7b882d8]{margin:0 9px}.app-container-Update .searchbtn[data-v-f7b882d8]{border:1px solid #2cab69;color:#2cab69}.app-container-Update .listcon[data-v-f7b882d8]{margin:0 9px}.app-container-Update .listtop[data-v-f7b882d8]{margin:0 9px;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between;-webkit-box-align:center;-ms-flex-align:center;align-items:center;border:1px solid #dfe4ed;height:40px}.app-container-Update .listtop .pagination[data-v-f7b882d8],.app-container-Update .listtop .tit[data-v-f7b882d8]{margin-bottom:-10px}.app-container-Update .btnColse[data-v-f7b882d8]{background-color:#ccc}

1
anrui-scm/anrui-scm-ui/System/static/css/chunk-39a8c964.e646ea4d.css

@ -1 +0,0 @@
.pagination-container.pagesize{float:right;padding:0}.pagination-container{background:#fff;padding:16px 16px 0 16px;float:right}.pagination-container.hidden{display:none}.el-pagination.is-background .btn-next,.el-pagination.is-background .btn-prev{padding:0 20px;border:1px solid #ccc;border-radius:2px;background-color:#fff}.e-pagination .el-icon-arrow-left:before,.e-pagination .el-icon-arrow-right:before{content:"下一页";color:#727272}.e-pagination .el-icon-arrow-left:before{content:"上一页"}[data-v-6fccb39b] .el-collapse{border-top:0 solid #e6ebf5;border-bottom:0 solid #e6ebf5}[data-v-6fccb39b] .el-collapse-item__content{margin:0;padding:0}[data-v-6fccb39b] .el-collapse-item__wrap{border-bottom:0 solid #ebeef5}[data-v-6fccb39b] .el-collapse-item__header{border-bottom:0 solid #e6ebf5}.searchli[data-v-6fccb39b]{padding:5px 100px}

1
anrui-scm/anrui-scm-ui/System/static/css/chunk-3fffbf76.847f7fe1.css

@ -1 +0,0 @@
.pagination-container.pagesize{float:right;padding:0}.pagination-container{background:#fff;padding:16px 16px 0 16px;float:right}.pagination-container.hidden{display:none}.el-pagination.is-background .btn-next,.el-pagination.is-background .btn-prev{padding:0 20px;border:1px solid #ccc;border-radius:2px;background-color:#fff}.e-pagination .el-icon-arrow-left:before,.e-pagination .el-icon-arrow-right:before{content:"下一页";color:#727272}.e-pagination .el-icon-arrow-left:before{content:"上一页"}[data-v-4dbb566c] .el-collapse{border-top:0 solid #e6ebf5;border-bottom:0 solid #e6ebf5}[data-v-4dbb566c] .el-collapse-item__content{margin:0;padding:0}[data-v-4dbb566c] .el-collapse-item__wrap{border-bottom:0 solid #ebeef5}[data-v-4dbb566c] .el-collapse-item__header{border-bottom:0 solid #e6ebf5}.searchli[data-v-4dbb566c]{padding:5px 100px}

1
anrui-scm/anrui-scm-ui/System/static/css/chunk-404983aa.18c1a078.css

@ -1 +0,0 @@
.pagination-container.pagesize{float:right;padding:0}.pagination-container{background:#fff;padding:16px 16px 0 16px;float:right}.pagination-container.hidden{display:none}.el-pagination.is-background .btn-next,.el-pagination.is-background .btn-prev{padding:0 20px;border:1px solid #ccc;border-radius:2px;background-color:#fff}.e-pagination .el-icon-arrow-left:before,.e-pagination .el-icon-arrow-right:before{content:"下一页";color:#727272}.e-pagination .el-icon-arrow-left:before{content:"上一页"}[data-v-cf39ab12] .el-table{overflow-x:auto}[data-v-cf39ab12] .el-table__body-wrapper,[data-v-cf39ab12] .el-table__footer-wrapper,[data-v-cf39ab12] .el-table__header-wrapper{overflow:visible}[data-v-cf39ab12] .el-table:after{position:relative}[data-v-cf39ab12] .el-table--scrollable-x .el-table__body-wrapper{overflow:visible}.invoiceadd[data-v-cf39ab12] .el-input__inner{border:0;border-bottom:1px solid #e0e3eb!important}.tablelist[data-v-cf39ab12] .el-input__inner{border:0}.invoiceadd[data-v-cf39ab12] .el-form-item__content{margin-left:0!important}.el-input[data-v-cf39ab12]{width:230px}.el-col .el-form-item[data-v-cf39ab12]{margin-bottom:10px}.invoiceadd[data-v-55208bd8] .el-input__inner{border:0;border-bottom:1px solid #e0e3eb!important}.invoiceadd[data-v-55208bd8] .el-form-item__content{margin-left:0!important}.el-input[data-v-55208bd8]{width:230px}.el-col .el-form-item[data-v-55208bd8]{margin-bottom:10px}[data-v-7b0fb1e8] .el-collapse{border-top:0 solid #e6ebf5;border-bottom:0 solid #e6ebf5}[data-v-7b0fb1e8] .el-collapse-item__content{margin:0;padding:0}[data-v-7b0fb1e8] .el-collapse-item__wrap{border-bottom:0 solid #ebeef5}[data-v-7b0fb1e8] .el-collapse-item__header{border-bottom:0 solid #e6ebf5}.searchbtn[data-v-7b0fb1e8]{border:1px solid #2cab69;color:#2cab69}.search_label[data-v-7b0fb1e8] .el-form-item__label{width:68px}[data-v-7b0fb1e8] .el-form-item{margin-bottom:5px}

1
anrui-scm/anrui-scm-ui/System/static/css/chunk-492d3169.d6740ce5.css

File diff suppressed because one or more lines are too long

1
anrui-scm/anrui-scm-ui/System/static/css/chunk-537ba9f1.46472584.css

@ -1 +0,0 @@
.pagination-container.pagesize{float:right;padding:0}.pagination-container{background:#fff;padding:16px 16px 0 16px;float:right}.pagination-container.hidden{display:none}.el-pagination.is-background .btn-next,.el-pagination.is-background .btn-prev{padding:0 20px;border:1px solid #ccc;border-radius:2px;background-color:#fff}.e-pagination .el-icon-arrow-left:before,.e-pagination .el-icon-arrow-right:before{content:"下一页";color:#727272}.e-pagination .el-icon-arrow-left:before{content:"上一页"}.operate[data-v-5c318d76]{display:-webkit-box;display:-ms-flexbox;display:flex;background-color:#edf1f7;-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between;-webkit-box-align:center;-ms-flex-align:center;align-items:center;border:1px solid #dfe4ed;height:47px;padding:8px 20px}.app-container-Update[data-v-5c318d76]{margin:5px -9px;background-color:#fff}.app-container-Update .searchcon[data-v-5c318d76]{margin:0 9px}.app-container-Update .searchbtn[data-v-5c318d76]{border:1px solid #2cab69;color:#2cab69}.app-container-Update .listcon[data-v-5c318d76]{margin:0 9px}.app-container-Update .listtop[data-v-5c318d76]{margin:0 9px;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between;-webkit-box-align:center;-ms-flex-align:center;align-items:center;border:1px solid #dfe4ed;height:40px}.app-container-Update .listtop .pagination[data-v-5c318d76],.app-container-Update .listtop .tit[data-v-5c318d76]{margin-bottom:-10px}.app-container-Update .btnColse[data-v-5c318d76]{background-color:#ccc}

1
anrui-scm/anrui-scm-ui/System/static/css/chunk-5833d0a4.1a4a17fa.css

@ -1 +0,0 @@
.pagination-container.pagesize{float:right;padding:0}.pagination-container{background:#fff;padding:16px 16px 0 16px;float:right}.pagination-container.hidden{display:none}.el-pagination.is-background .btn-next,.el-pagination.is-background .btn-prev{padding:0 20px;border:1px solid #ccc;border-radius:2px;background-color:#fff}.e-pagination .el-icon-arrow-left:before,.e-pagination .el-icon-arrow-right:before{content:"下一页";color:#727272}.e-pagination .el-icon-arrow-left:before{content:"上一页"}.avatar-uploader .el-upload[data-v-57b037f9]{border:1px dashed #d9d9d9;border-radius:6px;cursor:pointer;position:relative;overflow:hidden}.avatar-uploader .el-upload[data-v-57b037f9]:hover{border-color:#409eff}.avatar-uploader-icon[data-v-57b037f9]{font-size:28px;color:#8c939d;width:100px;height:250px;line-height:100px;text-align:center}.avatar[data-v-57b037f9]{width:200px;height:200px;display:block}.addinputwda[data-v-04c196e6],.addinputwda[data-v-785441ca]{width:600px}[data-v-7f05cdbe] .el-collapse{border-top:0 solid #e6ebf5;border-bottom:0 solid #e6ebf5}[data-v-7f05cdbe] .el-collapse-item__content{margin:0;padding:0}[data-v-7f05cdbe] .el-collapse-item__wrap{border-bottom:0 solid #ebeef5}[data-v-7f05cdbe] .el-collapse-item__header{border-bottom:0 solid #e6ebf5}.searchli[data-v-7f05cdbe]{padding:5px 100px}

1
anrui-scm/anrui-scm-ui/System/static/css/chunk-5bef60f0.80b99e4d.css

@ -1 +0,0 @@
.pagination-container.pagesize{float:right;padding:0}.pagination-container{background:#fff;padding:16px 16px 0 16px;float:right}.pagination-container.hidden{display:none}.el-pagination.is-background .btn-next,.el-pagination.is-background .btn-prev{padding:0 20px;border:1px solid #ccc;border-radius:2px;background-color:#fff}.e-pagination .el-icon-arrow-left:before,.e-pagination .el-icon-arrow-right:before{content:"下一页";color:#727272}.e-pagination .el-icon-arrow-left:before{content:"上一页"}[data-v-f4bcae2a] .el-table{overflow-x:auto}[data-v-f4bcae2a] .el-table__body-wrapper,[data-v-f4bcae2a] .el-table__footer-wrapper,[data-v-f4bcae2a] .el-table__header-wrapper{overflow:visible}[data-v-f4bcae2a] .el-table:after{position:relative}[data-v-f4bcae2a] .el-table--scrollable-x .el-table__body-wrapper{overflow:visible}.invoiceadd[data-v-f4bcae2a] .el-input__inner{border:0;border-bottom:1px solid #e0e3eb!important}.invoiceadd[data-v-f4bcae2a] .el-form-item__content{margin-left:0!important}.el-input[data-v-f4bcae2a]{width:230px}.el-col .el-form-item[data-v-f4bcae2a]{margin-bottom:10px}.invoiceadd[data-v-2e4fb84a] .el-input__inner{border:0;border-bottom:1px solid #e0e3eb!important}.invoiceadd[data-v-2e4fb84a] .el-form-item__content{margin-left:0!important}.el-input[data-v-2e4fb84a]{width:230px}.el-col .el-form-item[data-v-2e4fb84a]{margin-bottom:10px}[data-v-065612e6] .el-collapse{border-top:0 solid #e6ebf5;border-bottom:0 solid #e6ebf5}[data-v-065612e6] .el-collapse-item__content{margin:0;padding:0}[data-v-065612e6] .el-collapse-item__wrap{border-bottom:0 solid #ebeef5}[data-v-065612e6] .el-collapse-item__header{border-bottom:0 solid #e6ebf5}.searchbtn[data-v-065612e6]{border:1px solid #2cab69;color:#2cab69}.search_label[data-v-065612e6] .el-form-item__label{width:68px}[data-v-065612e6] .el-form-item{margin-bottom:5px}

1
anrui-scm/anrui-scm-ui/System/static/css/chunk-5da95035.cd7caa53.css

@ -1 +0,0 @@
.avatar-uploader .el-upload[data-v-57b037f9]{border:1px dashed #d9d9d9;border-radius:6px;cursor:pointer;position:relative;overflow:hidden}.avatar-uploader .el-upload[data-v-57b037f9]:hover{border-color:#409eff}.avatar-uploader-icon[data-v-57b037f9]{font-size:28px;color:#8c939d;width:100px;height:250px;line-height:100px;text-align:center}.avatar[data-v-57b037f9]{width:200px;height:200px;display:block}[data-v-684a86af] .lookimg .img{width:100px;margin:10px}[data-v-50e282c0] .el-collapse{border-top:0 solid #e6ebf5;border-bottom:0 solid #e6ebf5}[data-v-50e282c0] .el-collapse-item__content{margin:0;padding:0}[data-v-50e282c0] .el-collapse-item__wrap{border-bottom:0 solid #ebeef5}[data-v-50e282c0] .el-collapse-item__header{border-bottom:0 solid #e6ebf5}.searchli[data-v-50e282c0]{padding:5px 100px}

1
anrui-scm/anrui-scm-ui/System/static/css/chunk-63aaea0e.339ab53e.css

@ -1 +0,0 @@
.pagination-container.pagesize{float:right;padding:0}.pagination-container{background:#fff;padding:16px 16px 0 16px;float:right}.pagination-container.hidden{display:none}.el-pagination.is-background .btn-next,.el-pagination.is-background .btn-prev{padding:0 20px;border:1px solid #ccc;border-radius:2px;background-color:#fff}.e-pagination .el-icon-arrow-left:before,.e-pagination .el-icon-arrow-right:before{content:"下一页";color:#727272}.e-pagination .el-icon-arrow-left:before{content:"上一页"}.headInfo[data-v-789257d7]{margin-left:-14px;margin-right:-14px}.wlInfo[data-v-789257d7]{width:100%;height:100%;padding:60px 0;font-size:24px;border-width:0 0 1px 0;border-style:solid;border-color:#edf1f7;font-weight:700;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center}.formadd[data-v-789257d7]{padding:0}.tleftb[data-v-789257d7]{text-align:right}.tab-headerg[data-v-789257d7]{height:35px;background-color:#edf1f7;padding:20px 20px}.icon[data-v-789257d7]{color:#e84026;margin-right:4px}.headInfo[data-v-15dba4be]{margin-left:-14px;margin-right:-14px}.wlInfo[data-v-15dba4be]{width:100%;height:100%;padding:60px 0;font-size:24px;border-width:0 0 1px 0;border-style:solid;border-color:#edf1f7;font-weight:700;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center}.formadd[data-v-15dba4be]{padding:0}.tleftb[data-v-15dba4be]{text-align:right}.tab-headerg[data-v-15dba4be]{height:35px;background-color:#edf1f7;padding:20px 20px}.icon[data-v-15dba4be]{color:#e84026;margin-right:4px}[data-v-74479b57] .el-collapse{border-top:0 solid #e6ebf5;border-bottom:0 solid #e6ebf5}[data-v-74479b57] .el-collapse-item__content{margin:0;padding:0}[data-v-74479b57] .el-collapse-item__wrap{border-bottom:0 solid #ebeef5}[data-v-74479b57] .el-collapse-item__header{border-bottom:0 solid #e6ebf5}.searchbtn[data-v-74479b57]{border:1px solid #2cab69;color:#2cab69}

1
anrui-scm/anrui-scm-ui/System/static/css/chunk-6ab2f840.92f280c2.css

@ -1 +0,0 @@
.el-input__inner[data-v-58ca24cf]{height:40px}.moreInfo_tit[data-v-58ca24cf]{font-size:20px;padding:10px;color:#000}.separate[data-v-58ca24cf]{background-color:#e0e3eb;line-height:3!important;font-size:20px!important}.forminfo .el-row[data-v-58ca24cf]{display:-webkit-box;display:-ms-flexbox;display:flex;-ms-flex-wrap:wrap;flex-wrap:wrap;border-left:1px solid}.forminfo .el-row .trightb[data-v-58ca24cf]{text-align:right;font-weight:700;color:#606266}.forminfo .el-row .tleft[data-v-58ca24cf]{text-align:left}.forminfo .el-row .el-col[data-v-58ca24cf]{border-right:1px solid;border-bottom:1px solid;padding:0 15px 0 15px!important;min-height:50px;line-height:50px;font-size:14px}.forminfo .footer[data-v-58ca24cf]{margin:20px}

1
anrui-scm/anrui-scm-ui/System/static/css/chunk-6dfcce7a.ef8fd929.css

@ -1 +0,0 @@
.pagination-container.pagesize{float:right;padding:0}.pagination-container{background:#fff;padding:16px 16px 0 16px;float:right}.pagination-container.hidden{display:none}.el-pagination.is-background .btn-next,.el-pagination.is-background .btn-prev{padding:0 20px;border:1px solid #ccc;border-radius:2px;background-color:#fff}.e-pagination .el-icon-arrow-left:before,.e-pagination .el-icon-arrow-right:before{content:"下一页";color:#727272}.e-pagination .el-icon-arrow-left:before{content:"上一页"}.headInfo[data-v-597a589d]{margin-left:-14px;margin-right:-14px}.wlInfo[data-v-597a589d]{width:100%;height:100%;padding:60px 0;font-size:24px;border-width:0 0 1px 0;border-style:solid;border-color:#edf1f7;font-weight:700;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center}.formadd[data-v-597a589d]{padding:0}.tleftb[data-v-597a589d]{text-align:right}.tab-headerg[data-v-597a589d]{height:35px;background-color:#edf1f7;padding:20px 20px}addinputw-copy[data-v-597a589d]{width:100%}.headInfo[data-v-be9f67f4]{margin-left:-14px;margin-right:-14px}.wlInfo[data-v-be9f67f4]{width:100%;height:100%;padding:60px 0;font-size:24px;border-width:0 0 1px 0;border-style:solid;border-color:#edf1f7;font-weight:700;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center}.formadd[data-v-be9f67f4]{padding:0}.tleftb[data-v-be9f67f4]{text-align:left}.tab-headerg[data-v-be9f67f4]{height:35px;background-color:#edf1f7;padding:20px 20px}.headInfo[data-v-40a5700e]{margin-left:-14px;margin-right:-14px}.formadd[data-v-40a5700e]{padding:0}.tleftb[data-v-40a5700e]{text-align:right}.tab-headerg[data-v-40a5700e]{height:35px;background-color:#edf1f7;padding:20px 20px}addinputw-copy[data-v-40a5700e]{width:100%}.headInfo[data-v-36240116]{margin-left:-14px;margin-right:-14px}.formadd[data-v-36240116]{padding:0}.tleftb[data-v-36240116]{text-align:left}.tab-headerg[data-v-36240116]{height:35px;background-color:#edf1f7;padding:20px 20px}.operate[data-v-4678fa04]{display:-webkit-box;display:-ms-flexbox;display:flex;background-color:#edf1f7;-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between;-webkit-box-align:center;-ms-flex-align:center;align-items:center;border:1px solid #dfe4ed;height:47px;padding:8px 20px}.app-container-Update[data-v-4678fa04]{margin:5px -9px;background-color:#fff}.app-container-Update .searchcon[data-v-4678fa04]{margin:0 9px}.app-container-Update .searchbtn[data-v-4678fa04]{border:1px solid #2cab69;color:#2cab69}.app-container-Update .listcon[data-v-4678fa04]{margin:0 9px}.app-container-Update .listtop[data-v-4678fa04]{margin:0 9px;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between;-webkit-box-align:center;-ms-flex-align:center;align-items:center;border:1px solid #dfe4ed;height:40px}.app-container-Update .listtop .pagination[data-v-4678fa04],.app-container-Update .listtop .tit[data-v-4678fa04]{margin-bottom:-10px}.app-container-Update .btnColse[data-v-4678fa04]{background-color:#ccc}.app-container-Update[data-v-0089738e]{margin:5px -9px;background-color:#fff}.app-container-Update .searchcon[data-v-0089738e]{margin:0 9px}.app-container-Update .searchbtn[data-v-0089738e]{border:1px solid #2cab69;color:#2cab69}.app-container-Update .listcon[data-v-0089738e]{margin:0 9px}.app-container-Update .listtop[data-v-0089738e]{margin:0 9px;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between;-webkit-box-align:center;-ms-flex-align:center;align-items:center;border:1px solid #dfe4ed;height:40px}.app-container-Update .listtop .pagination[data-v-0089738e],.app-container-Update .listtop .tit[data-v-0089738e]{margin-bottom:-10px}

1
anrui-scm/anrui-scm-ui/System/static/css/chunk-73306c38.9b97fbf9.css

@ -1 +0,0 @@
.imgDemo[data-v-24fa6bf4]{width:100%;height:100%;background:radial-gradient(#fff,#f5f7f4,#fff)}

1
anrui-scm/anrui-scm-ui/System/static/css/chunk-7a1ab9f8.b993d4d1.css

@ -1 +0,0 @@
.pagination-container.pagesize{float:right;padding:0}.pagination-container{background:#fff;padding:16px 16px 0 16px;float:right}.pagination-container.hidden{display:none}.el-pagination.is-background .btn-next,.el-pagination.is-background .btn-prev{padding:0 20px;border:1px solid #ccc;border-radius:2px;background-color:#fff}.e-pagination .el-icon-arrow-left:before,.e-pagination .el-icon-arrow-right:before{content:"下一页";color:#727272}.e-pagination .el-icon-arrow-left:before{content:"上一页"}.headInfo[data-v-ba642af2]{margin-left:-14px;margin-right:-14px}.wlInfo[data-v-ba642af2]{width:100%;height:100%;padding:60px 0;font-size:24px;border-width:0 0 1px 0;border-style:solid;border-color:#edf1f7;font-weight:700;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center}.formadd[data-v-ba642af2]{padding:0}.tleftb[data-v-ba642af2]{text-align:right}.tab-headerg[data-v-ba642af2]{height:35px;background-color:#edf1f7;padding:20px 20px}.icon[data-v-ba642af2]{color:#e84026;margin-right:4px}.headInfo[data-v-618afcd4]{margin-left:-14px;margin-right:-14px}.wlInfo[data-v-618afcd4]{width:100%;height:100%;padding:60px 0;font-size:24px;border-width:0 0 1px 0;border-style:solid;border-color:#edf1f7;font-weight:700;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center}.formadd[data-v-618afcd4]{padding:0}.tleftb[data-v-618afcd4]{text-align:left}.tab-headerg[data-v-618afcd4]{height:35px;background-color:#edf1f7;padding:20px 20px}.app-container-Update[data-v-2f604466]{margin:5px -9px;background-color:#fff}.app-container-Update .searchcon[data-v-2f604466]{margin:0 9px}.app-container-Update .searchbtn[data-v-2f604466]{border:1px solid #2cab69;color:#2cab69}.app-container-Update .listcon[data-v-2f604466]{margin:0 9px}.app-container-Update .listtop[data-v-2f604466]{margin:0 9px;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between;-webkit-box-align:center;-ms-flex-align:center;align-items:center;border:1px solid #dfe4ed;height:40px}.app-container-Update .listtop .pagination[data-v-2f604466],.app-container-Update .listtop .tit[data-v-2f604466]{margin-bottom:-10px}

1
anrui-scm/anrui-scm-ui/System/static/css/chunk-bfb04a0a.5b7bc4b7.css

@ -1 +0,0 @@
.imgDemo[data-v-30a60778]{width:100%;height:100%;background:radial-gradient(#fff,#f5f7f4,#fff)}

1
anrui-scm/anrui-scm-ui/System/static/css/chunk-c028bbe0.6e941b97.css

@ -1 +0,0 @@
.big-box{position:relative;width:100%;height:200px;background-size:100% 100%}.big-box .codeimg{width:100%;height:100%}.big-box .click-box{width:100%;height:200px;position:absolute;top:0;left:0;z-index:92}.big-box span{position:absolute;width:40px;height:40px;line-height:40px;background:rgba(0,0,0,.4);color:#fff;text-align:center;font-size:20px;border-radius:50%;z-index:1;-webkit-transform:translateX(-50%) translateY(-50%);transform:translateX(-50%) translateY(-50%)}.wordList{font-size:18px;padding-top:5px}.wordList i{padding:0 8px;color:#018ad2}.wordList .restcode{float:right;color:#018ad2;cursor:pointer}.login{position:relative;width:100%;height:100%;background-size:100% 100%;background-image:url(../../static/img/bgImg.9de18398.png);background-position:50%;overflow:hidden}.login .logoTitle{margin:30px}.login .logoTitle img{width:70px}.login .logoTitle span{font-size:40px;color:#191919}.login .logoTitle .title{font-size:25px;font-family:Source Han Sans CN;font-weight:500;color:#191919;margin:0}.login .main{width:30%;background:#fff;-webkit-box-shadow:0 13px 12px 0 rgba(0,0,0,.15);box-shadow:0 13px 12px 0 rgba(0,0,0,.15);opacity:.9;border-radius:20px;position:absolute;right:10%}.login .main .content{position:relative}.login-form{padding:30px 50px}.login-form .title1{margin:0 auto 30px auto;text-align:center;font-size:20px;color:#191919;font-size:23px;font-weight:500}.login-form .el-input{border:none;background-color:transparent}.login-form .code{position:absolute;top:3px;right:5px;width:35%;height:35px;cursor:pointer;z-index:9}.login-form .nopsw{position:absolute;bottom:-30px;right:5px;color:#018ad2;font-size:15px;line-height:30px}.login-form .register{color:#018ad2}.login-form .btn-eye,.login-form .nopsw:hover,.login-form .register:hover{cursor:pointer}.login-form .text-danger{color:#f56c6c}.login-form .login-btn{margin:10px 0 10px 0;width:100%;background-color:#007fff;border:0}.login-form .login-btn:hover{background-color:#007fdd;border:0}.login-form .el-input--prefix .el-input__inner{border:1px solid #018ad2;background:transparent;color:#333!important}.login-form .el-form-item{margin-bottom:40px}.login-form .el-loading-mask{background-color:hsla(0,0%,100%,.6)}

1
anrui-scm/anrui-scm-ui/System/static/css/chunk-ee5005d6.b6686d05.css

@ -1 +0,0 @@
.pagination-container.pagesize{float:right;padding:0}.pagination-container{background:#fff;padding:16px 16px 0 16px;float:right}.pagination-container.hidden{display:none}.el-pagination.is-background .btn-next,.el-pagination.is-background .btn-prev{padding:0 20px;border:1px solid #ccc;border-radius:2px;background-color:#fff}.e-pagination .el-icon-arrow-left:before,.e-pagination .el-icon-arrow-right:before{content:"下一页";color:#727272}.e-pagination .el-icon-arrow-left:before{content:"上一页"}.invoiceadd[data-v-7c9a90c4] .el-input__inner{border:0;border-bottom:1px solid #e0e3eb!important}.invoiceadd[data-v-7c9a90c4] .el-form-item__content{margin-left:0!important}.el-input[data-v-7c9a90c4]{width:230px}.invoiceadd[data-v-4a297e79] .el-input__inner{border:0;border-bottom:1px solid #e0e3eb!important}.invoiceadd[data-v-4a297e79] .el-form-item__content{margin-left:0!important}.el-input[data-v-4a297e79]{width:230px}.el-table{overflow:auto}.el-table .el-table__body-wrapper,.el-table .el-table__footer-wrapper,.el-table .el-table__header-wrapper{overflow:visible}.el-table:after{position:relative!important}[data-v-e619529e] .el-collapse{border-top:0 solid #e6ebf5;border-bottom:0 solid #e6ebf5}[data-v-e619529e] .el-collapse-item__content{margin:0;padding:0}[data-v-e619529e] .el-collapse-item__wrap{border-bottom:0 solid #ebeef5}[data-v-e619529e] .el-collapse-item__header{border-bottom:0 solid #e6ebf5}.searchbtn[data-v-e619529e]{border:1px solid #2cab69;color:#2cab69}

1
anrui-scm/anrui-scm-ui/System/static/css/chunk-elementUI.68c70ad5.css

File diff suppressed because one or more lines are too long

1
anrui-scm/anrui-scm-ui/System/static/css/chunk-fe95b578.887d8ec5.css

@ -1 +0,0 @@
.pagination-container.pagesize{float:right;padding:0}.pagination-container{background:#fff;padding:16px 16px 0 16px;float:right}.pagination-container.hidden{display:none}.el-pagination.is-background .btn-next,.el-pagination.is-background .btn-prev{padding:0 20px;border:1px solid #ccc;border-radius:2px;background-color:#fff}.e-pagination .el-icon-arrow-left:before,.e-pagination .el-icon-arrow-right:before{content:"下一页";color:#727272}.e-pagination .el-icon-arrow-left:before{content:"上一页"}[data-v-424cb79e] .el-collapse{border-top:0 solid #e6ebf5;border-bottom:0 solid #e6ebf5}[data-v-424cb79e] .el-collapse-item__content{margin:0;padding:0}[data-v-424cb79e] .el-collapse-item__wrap{border-bottom:0 solid #ebeef5}[data-v-424cb79e] .el-collapse-item__header{border-bottom:0 solid #e6ebf5}.searchli[data-v-424cb79e]{padding:5px 100px}

1
anrui-scm/anrui-scm-ui/System/static/css/chunk-libs.887691f5.css

@ -1 +0,0 @@
/*! normalize.css v7.0.0 | MIT License | github.com/necolas/normalize.css */html{line-height:1.15;-ms-text-size-adjust:100%;-webkit-text-size-adjust:100%}body{margin:0}article,aside,footer,header,nav,section{display:block}h1{font-size:2em;margin:.67em 0}figcaption,figure,main{display:block}figure{margin:1em 40px}hr{-webkit-box-sizing:content-box;box-sizing:content-box;height:0;overflow:visible}pre{font-family:monospace,monospace;font-size:1em}a{background-color:transparent;-webkit-text-decoration-skip:objects}abbr[title]{border-bottom:none;text-decoration:underline;-webkit-text-decoration:underline dotted;text-decoration:underline dotted}b,strong{font-weight:inherit;font-weight:bolder}code,kbd,samp{font-family:monospace,monospace;font-size:1em}dfn{font-style:italic}mark{background-color:#ff0;color:#000}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}audio,video{display:inline-block}audio:not([controls]){display:none;height:0}img{border-style:none}svg:not(:root){overflow:hidden}button,input,optgroup,select,textarea{font-family:sans-serif;font-size:100%;line-height:1.15;margin:0}button,input{overflow:visible}button,select{text-transform:none}[type=reset],[type=submit],button,html [type=button]{-webkit-appearance:button}[type=button]::-moz-focus-inner,[type=reset]::-moz-focus-inner,[type=submit]::-moz-focus-inner,button::-moz-focus-inner{border-style:none;padding:0}[type=button]:-moz-focusring,[type=reset]:-moz-focusring,[type=submit]:-moz-focusring,button:-moz-focusring{outline:1px dotted ButtonText}fieldset{padding:.35em .75em .625em}legend{-webkit-box-sizing:border-box;box-sizing:border-box;color:inherit;display:table;max-width:100%;padding:0;white-space:normal}progress{display:inline-block;vertical-align:baseline}textarea{overflow:auto}[type=checkbox],[type=radio]{-webkit-box-sizing:border-box;box-sizing:border-box;padding:0}[type=number]::-webkit-inner-spin-button,[type=number]::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}[type=search]::-webkit-search-cancel-button,[type=search]::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}details,menu{display:block}summary{display:list-item}canvas{display:inline-block}[hidden],template{display:none}

BIN
anrui-scm/anrui-scm-ui/System/static/fonts/element-icons.535877f5.woff

Binary file not shown.

BIN
anrui-scm/anrui-scm-ui/System/static/fonts/element-icons.732389de.ttf

Binary file not shown.

BIN
anrui-scm/anrui-scm-ui/System/static/img/404.a57b6f31.png

Binary file not shown.

Before

Width:  |  Height:  |  Size: 96 KiB

BIN
anrui-scm/anrui-scm-ui/System/static/img/404_cloud.0f4bc32b.png

Binary file not shown.

Before

Width:  |  Height:  |  Size: 4.7 KiB

BIN
anrui-scm/anrui-scm-ui/System/static/img/bgImg.9de18398.png

Binary file not shown.

Before

Width:  |  Height:  |  Size: 6.3 MiB

BIN
anrui-scm/anrui-scm-ui/System/static/img/logo.40e081e3.png

Binary file not shown.

Before

Width:  |  Height:  |  Size: 12 KiB

1
anrui-scm/anrui-scm-ui/System/static/js/app.237282ea.js

File diff suppressed because one or more lines are too long

1
anrui-scm/anrui-scm-ui/System/static/js/chunk-0e15d468.402a140f.js

File diff suppressed because one or more lines are too long

1
anrui-scm/anrui-scm-ui/System/static/js/chunk-0ee1ad7f.6496c2f3.js

File diff suppressed because one or more lines are too long

1
anrui-scm/anrui-scm-ui/System/static/js/chunk-16259164.1321f892.js

File diff suppressed because one or more lines are too long

1
anrui-scm/anrui-scm-ui/System/static/js/chunk-1a2275ee.e53ccd84.js

File diff suppressed because one or more lines are too long

1
anrui-scm/anrui-scm-ui/System/static/js/chunk-1c3ff968.c9d57021.js

File diff suppressed because one or more lines are too long

1
anrui-scm/anrui-scm-ui/System/static/js/chunk-1ca81d5f.1ba5e020.js

File diff suppressed because one or more lines are too long

1
anrui-scm/anrui-scm-ui/System/static/js/chunk-20deed0c.743c8e45.js

File diff suppressed because one or more lines are too long

1
anrui-scm/anrui-scm-ui/System/static/js/chunk-238c903c.7d6ec77f.js

@ -1 +0,0 @@
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-238c903c"],{"26fc":function(t,s,e){t.exports=e.p+"static/img/404_cloud.0f4bc32b.png"},"8cdb":function(t,s,e){"use strict";e.r(s);var a=function(){var t=this,s=t.$createElement,e=t._self._c||s;return e("div",{staticClass:"wscn-http404-container"},[e("div",{staticClass:"wscn-http404"},[t._m(0),e("div",{staticClass:"bullshit"},[e("div",{staticClass:"bullshit__oops"},[t._v("OOPS!")]),t._m(1),e("div",{staticClass:"bullshit__headline"},[t._v(t._s(t.message))]),e("div",{staticClass:"bullshit__info"},[t._v("Please check that the URL you entered is correct, or click the button below to return to the homepage.")]),e("a",{staticClass:"bullshit__return-home",attrs:{href:""}},[t._v("Back to home")])])])])},c=[function(){var t=this,s=t.$createElement,a=t._self._c||s;return a("div",{staticClass:"pic-404"},[a("img",{staticClass:"pic-404__parent",attrs:{src:e("a36b"),alt:"404"}}),a("img",{staticClass:"pic-404__child left",attrs:{src:e("26fc"),alt:"404"}}),a("img",{staticClass:"pic-404__child mid",attrs:{src:e("26fc"),alt:"404"}}),a("img",{staticClass:"pic-404__child right",attrs:{src:e("26fc"),alt:"404"}})])},function(){var t=this,s=t.$createElement,e=t._self._c||s;return e("div",{staticClass:"bullshit__info"},[t._v("All rights reserved "),e("a",{staticStyle:{color:"#20a0ff"},attrs:{href:"https://wallstreetcn.com",target:"_blank"}},[t._v("wallstreetcn")])])}],i={name:"Page404",computed:{message:function(){return"The webmaster said that you can not enter this page..."}}},l=i,n=(e("97ef"),e("2877")),r=Object(n["a"])(l,a,c,!1,null,"c095f994",null);s["default"]=r.exports},"97ef":function(t,s,e){"use strict";e("ed94")},a36b:function(t,s,e){t.exports=e.p+"static/img/404.a57b6f31.png"},ed94:function(t,s,e){}}]);

1
anrui-scm/anrui-scm-ui/System/static/js/chunk-246ea643.f71a3ad4.js

File diff suppressed because one or more lines are too long

1
anrui-scm/anrui-scm-ui/System/static/js/chunk-37211206.261abbcc.js

File diff suppressed because one or more lines are too long

1
anrui-scm/anrui-scm-ui/System/static/js/chunk-39a8c964.c86ab1e3.js

File diff suppressed because one or more lines are too long

1
anrui-scm/anrui-scm-ui/System/static/js/chunk-3fffbf76.c60ffc44.js

File diff suppressed because one or more lines are too long

1
anrui-scm/anrui-scm-ui/System/static/js/chunk-404983aa.d7edd3dd.js

File diff suppressed because one or more lines are too long

1
anrui-scm/anrui-scm-ui/System/static/js/chunk-492d3169.7ae231d4.js

File diff suppressed because one or more lines are too long

1
anrui-scm/anrui-scm-ui/System/static/js/chunk-537ba9f1.088a40c2.js

File diff suppressed because one or more lines are too long

1
anrui-scm/anrui-scm-ui/System/static/js/chunk-5833d0a4.0872c149.js

File diff suppressed because one or more lines are too long

1
anrui-scm/anrui-scm-ui/System/static/js/chunk-5bef60f0.ab920377.js

File diff suppressed because one or more lines are too long

1
anrui-scm/anrui-scm-ui/System/static/js/chunk-5da95035.b1b8ae6a.js

File diff suppressed because one or more lines are too long

1
anrui-scm/anrui-scm-ui/System/static/js/chunk-63aaea0e.17bcd236.js

File diff suppressed because one or more lines are too long

1
anrui-scm/anrui-scm-ui/System/static/js/chunk-6ab2f840.e3837544.js

File diff suppressed because one or more lines are too long

1
anrui-scm/anrui-scm-ui/System/static/js/chunk-6dfcce7a.8aed8df4.js

File diff suppressed because one or more lines are too long

1
anrui-scm/anrui-scm-ui/System/static/js/chunk-73306c38.799188f1.js

@ -1 +0,0 @@
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-73306c38"],{"096a":function(t,n,e){"use strict";e("b775"),e("4328")},"1e4b":function(t,n,e){"use strict";e.r(n);var a=function(){var t=this,n=t.$createElement,e=t._self._c||n;return e("div",{staticClass:"imgDemo"})},c=[],s=(e("096a"),{name:"",data:function(){return{token:""}},methods:{}}),u=s,i=(e("a78e2"),e("2877")),o=Object(i["a"])(u,a,c,!1,null,"24fa6bf4",null);n["default"]=o.exports},"2f65":function(t,n,e){},a78e2:function(t,n,e){"use strict";e("2f65")}}]);

1
anrui-scm/anrui-scm-ui/System/static/js/chunk-7a1ab9f8.5fde091b.js

File diff suppressed because one or more lines are too long

1
anrui-scm/anrui-scm-ui/System/static/js/chunk-bfb04a0a.37a53746.js

@ -1 +0,0 @@
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-bfb04a0a"],{"096a":function(t,n,a){"use strict";a("b775"),a("4328")},"1c62":function(t,n,a){"use strict";a.r(n);var e=function(){var t=this,n=t.$createElement,a=t._self._c||n;return a("div",{staticClass:"imgDemo"})},c=[],s=(a("096a"),{name:"",data:function(){return{token:""}},methods:{}}),u=s,i=(a("4e6d"),a("2877")),o=Object(i["a"])(u,e,c,!1,null,"30a60778",null);n["default"]=o.exports},"4e6d":function(t,n,a){"use strict";a("a5a7")},a5a7:function(t,n,a){}}]);

1
anrui-scm/anrui-scm-ui/System/static/js/chunk-c028bbe0.e24feb70.js

File diff suppressed because one or more lines are too long

1
anrui-scm/anrui-scm-ui/System/static/js/chunk-ee5005d6.eb796771.js

File diff suppressed because one or more lines are too long

1
anrui-scm/anrui-scm-ui/System/static/js/chunk-elementUI.36cbc057.js

File diff suppressed because one or more lines are too long

1
anrui-scm/anrui-scm-ui/System/static/js/chunk-fe95b578.072f93a1.js

File diff suppressed because one or more lines are too long

321
anrui-scm/anrui-scm-ui/System/static/js/chunk-libs.1f4a52d0.js

File diff suppressed because one or more lines are too long

33
anrui-scm/anrui-scm-ui/src/api/cheliang/basemodelconfig.js

@ -1,19 +1,40 @@
import request from '@/utils/request'
import qs from 'qs'
// 条件查询
// 车型关联表条件查询 已改
export function pagerList(data) {
return request({
url: '/base/v1/basemodelconfig/pagerList', data,
url: '/base/basevehmodelconfig/listPage', data,
method: 'post',
headers: { 'Content-Type': 'application/json' }
})
}
// PC-车型与常用配置建立关联关系 已改
export function setRel(data) {
return request({
url: '/base/basevehmodelconfig/save', data,
method: 'post',
headers: { 'Content-Type': 'application/json' }
})
}
// PC-车型与常用配置解除关联关系
export function deleteRel(params) {
return request({
url: '/base/basevehmodelconfig/checkRelieve',
method: 'DELETE',
params: {
modelSid:params.modelSid,
configurationItemsSid:params.configurationItemsSid
}
})
}
//添加
export function SaveList(data) {
return request({
url: '/base/v1/basemodelconfig/save', data,
url: '/base/v1/basemodelconfig/save', // data,
method: 'post',
data: data,
headers: { 'Content-Type': 'application/json' }
@ -68,8 +89,8 @@ export function pullDown(data) {
export function brandDown(data) {
return request({
url:'/base/v1/basevehiclebrand/namesDown',
method:'get',
params:data
url: '/base/v1/basevehiclebrand/namesDown',
method: 'get',
params: data
})
}

19
anrui-scm/anrui-scm-ui/src/api/cheliang/basemodelrelationconfigure.js

@ -0,0 +1,19 @@
import request from '@/utils/request'
import qs from 'qs'
// 品牌下拉
export function brandDown(data) {
return request({
url:'/base/v1/basevehiclebrand/namesDown',
method:'get',
params:data
})
}
// 获取下拉列表
export function pullDown(data) {
return request({
url: '/portal/v1/dictcommons/typeValues',
method: 'get',
params: data
})
}

66
anrui-scm/anrui-scm-ui/src/api/cheliang/basevehiclemodel.js

@ -1,7 +1,7 @@
import request from '@/utils/request'
import qs from 'qs'
// 条件查询
// 车型管理条件查询 已改
export function pagerList(data) {
return request({
url: '/base/v1/basevehiclemodel/pagerList', data,
@ -10,36 +10,29 @@ export function pagerList(data) {
})
}
// 添加
// 车型管理新增保存和修改保存 已改
export function SaveList(data) {
return request({
url: '/base/v1/basevehiclemodel/save', data,
url: '/base/v1/basevehiclemodel/saveOrUpdate',
// data,
method: 'post',
data: data,
headers: { 'Content-Type': 'application/json' }
})
}
// 修改保存
export function Update(data) {
// 车行管理批量删除 已改
export function deleteBySids(params) {
return request({
url: `/base/v1/basevehiclemodel/update/${data.sid}`,
method: 'post',
data: data,
headers: { 'Content-Type': 'application/json' }
})
}
// 删除
export function deleteBySids(data) {
return request({
url: '/base/v1/basevehiclemodel/deleteBySids?sids=' + data,
url: '/base/v1/basevehiclemodel/deleteBySids',
method: 'DELETE',
data: qs.stringify(data)
params: {
sids:params
}
})
}
//详情回显
//详情回显 已改
export function details(data) {
return request({
url: '/base/v1/basevehiclemodel/details/' + data,
@ -48,15 +41,6 @@ export function details(data) {
})
}
//修改回显
export function getAll(data) {
return request({
url: '/base/v1/basevehiclemodel/getAll/' + data,
method: 'get',
data: data
})
}
//车型列表导出
export function basefinbankExportExcel(data) {
return request({
@ -67,7 +51,25 @@ export function basefinbankExportExcel(data) {
})
}
// 根据品牌sid查询车型下拉框
// 品牌下拉
export function brandDown(data) {
return request({
url: '/base/v1/basevehiclebrand/namesDown',
method: 'get',
params: data
})
}
// 获取下拉列表
export function pullDown(data) {
return request({
url: '/portal/v1/dictcommons/typeValues',
method: 'get',
params: data
})
}
// 根据品牌sid查询车型下拉框 暂时没有用
export function selectDown(data) {
return request({
url: '/base/v1/basevehiclemodel/selectDown' + data,
@ -76,7 +78,7 @@ export function selectDown(data) {
})
}
// 厂商下拉
// 厂商下拉 暂时没有用
export function selectByOrgSid(data) {
return request({
url: '/base/v1/basemanufacturer/selectByOrgSid',
@ -85,7 +87,7 @@ export function selectByOrgSid(data) {
})
}
// 根据厂商sid查询品牌列表
// 根据厂商sid查询品牌列表 暂时没有用
export function namesDownBySid(data) {
return request({
url: '/base/v1/basevehiclebrand/namesDownBySid',
@ -95,7 +97,7 @@ export function namesDownBySid(data) {
})
}
//根据车型模糊查询下拉框
//根据车型模糊查询下拉框 暂时没有用
export function selectDownPlus(data) {
return request({
url: '/base/v1/basevehiclemodel/selectDownPlus',
@ -104,7 +106,7 @@ export function selectDownPlus(data) {
})
}
// 获取组织(单选组织架构)
// 获取组织(单选组织架构) 暂时没有用
export function getOrg(data) {
return request({
url: '/portal/v1/sysorganization/getListOrg',

49
anrui-scm/anrui-scm-ui/src/api/flow/vehicleReturn.js

@ -0,0 +1,49 @@
import request from '@/utils/request'
export default {
// 同意任务
agreeTask: function(params) {
return request({
url: '/portal/v1/flow/complete',
method: 'post',
data: params,
headers: {
'Content-Type': 'application/json'
}
})
},
// 驳回任务
rejectTask: function(params) {
return request({
url: '/portal/v1/flow/reject/' + params.businessSid,
method: 'post',
data: params,
headers: {
'Content-Type': 'application/json'
}
})
},
// 终止任务
breakTask: function(params) {
return request({
url: '/portal/v1/flow/breakProcess/' + params.businessSid,
method: 'post',
data: params,
headers: {
'Content-Type': 'application/json'
}
})
},
// 撤回任务
revokeTask: function(params) {
return request({
url: '/portal/v1/flow/revokeProcess/' + params.userSid + '/' + params.businessSid,
method: 'post',
data: params,
headers: {
'Content-Type': 'application/json'
}
})
}
}

84
anrui-scm/anrui-scm-ui/src/api/supplychain/purchasereturntowarehouse.js

@ -0,0 +1,84 @@
import request from '@/utils/request'
import qs from 'qs'
export default {
// 选择车辆查询现车库存列表
listPage: function(data) {
return request({
url: '/scm/v1/scmvehiclereturn/listPage',
method: 'post',
data: data,
headers: {
'Content-Type': 'application/json'
}
})
},
// 获取下拉列表
pullDown: function(data) {
return request({
url: '/portal/v1/dictcommons/typeValues',
method: 'get',
params: data
})
},
// 新增、修改保存数据
save: function(data) {
return request({
url: '/scm/v1/scmvehiclereturn/saveOrUpdate',
method: 'post',
data: data,
headers: {
'Content-Type': 'application/json'
}
})
},
// 删除数据
delBySids: function(data) {
return request({
url: '/scm/v1/scmvehiclereturn/delete',
method: 'DELETE',
data: data,
headers: {
'Content-Type': 'application/json'
}
})
},
// 提交
submitVehicleReturn: function(data) {
return request({
url: '/scm/v1/scmvehiclereturn/submitVehicleReturn',
method: 'post',
data: data,
headers: {
'Content-Type': 'application/json'
}
})
},
// 初始化回显 query参数
detailsInfo: function(params) {
return request({
url: '/scm/v1/scmvehiclereturn/details',
method: 'get',
params: params
})
},
// 采购退库选择车辆分页列表
pagerList: function(data) {
return request({
url: '/base/v1/basevehicle/vehicleReturnList',
method: 'post',
data: data,
headers: {
'Content-Type': 'application/json'
}
})
},
// 获取车辆品牌
selectBrand: function(data) {
return request({
url: '/base/v1/basevehiclebrand/selectAppListByManufacturerSid',
method: 'get',
params: data
})
}
}

393
anrui-scm/anrui-scm-ui/src/components/uploadFile/upload.vue

@ -1,193 +1,252 @@
<template>
<div>
<el-upload class="upload-demo" :data="datas" :accept="accept" :on-success="uploadImgSuccess" :on-change="handleChange" :on-remove="handleRemove" :file-list="fileList_FuJian" :http-request="uploadSectionFile">
<!-- <el-upload class="upload-demo" :data="datas" :accept="accept" :on-success="uploadImgSuccess"-->
<!-- :on-change="handleChange" :on-remove="handleRemove" :file-list="fileList_FuJian"-->
<!-- :http-request="uploadSectionFile">-->
<!-- <el-button size="small" type="primary">点击上传</el-button>-->
<!-- <div slot="tip" class="el-upload__tip">单个文件大小不允许超过100M,支持上传文件类型{{ accept }}</div>-->
<!-- </el-upload>-->
<!-- <el-upload list-type="picture-card" :on-preview="handlePictureCardPreview" :on-remove="handleRemove">-->
<!-- <i class="el-icon-plus"></i>-->
<!-- </el-upload>-->
<el-dialog :visible.sync="dialogVisible">
<img width="100%" :src="dialogImageUrl" alt="">
</el-dialog>
<el-upload class="upload-demo" :headers="accessToken" :action="uploadFile" :accept="accept" :data="uploadData"
:on-success="uploadImgSuccess_FuJian" :on-remove="handleRemove" :file-list="fileList_FuJian"
:on-preview="handlePictureCardPreview">
<el-button size="small" type="primary">点击上传</el-button>
<div slot="tip" class="el-upload__tip">单个文件大小不允许超过100M,支持上传文件类型{{ accept }}</div>
<!-- <el-button v-show="isview" size="small" type="primary" @click="view()">查看</el-button> -->
<!-- <div slot="tip" class="el-upload__tip">单个文件大小不允许超过100M,支持上传文件类型{{ accept }}</div> -->
</el-upload>
</div>
</template>
<script>
import { imgUploadz } from '@/api/jichuxinxi/baseaffiliatcompany'
import { mapGetters } from 'vuex'
export default {
props: {
placeholder: {
type: String,
default: '',
},
//
width: {
type: String,
default: '270px',
},
accept: {
type: String,
default:
'.jpg,.jpeg,.png,.bmp,.pdf,.JPG,.JPEG,.BMP,.PDF,.xls,.docx,.xlsx,.ppt,.pptx',
},
//
files: {
type: String,
required: true,
},
//
name: {
type: String,
required: true,
},
types:{
type:String,
required: true,
},
linkChange: {
type: String,
default: '',
import { uploadFile } from '@/api/portal/Upload.js'
import { getStorage } from '@/utils/auth.js' //token
import { mapGetters } from 'vuex'
export default {
model: {
prop: 'name',
event: 'change'
},
},
data() {
return {
datas: null,
types:types,
accessToken: {},
fileList_FuJian: [],
enclosure: '',
file_add: '',
idsz: '',
file_catch: '',
files_list: [],
}
},
computed: {
...mapGetters([
'id',
'departmentCode',
'departmentLevel',
'departmentType',
'token',
]),
},
watch: {
files: {
deep: true,
handler(val) {
this.pageLoad(val, '')
props: {
placeholder: {
type: String,
default: ''
},
bucket: {
type: String,
default: 'abc'
},
//
width: {
type: String,
default: '270px'
},
limit: {
type: Number,
default: 1
},
accept: {
type: String,
default:
'.jpg,.jpeg,.png,.bmp,.pdf,.JPG,.JPEG,.BMP,.PDF,.xls,.docx,.xlsx,.ppt,.pptx'
},
//
name: {
type: Array,
required: true
},
uploadData: {
type: Object,
default: {}
}
},
},
creatd() {
this.datas = { types:'0004'}
console.log(this.datas,7777777)
console.log(this.types, 11111111)
},
mounted() {
this.$nextTick(() => {
// this.Init()
})
},
methods: {
//
Init() {
// 1. token
// this.accessToken = {
// token: this.token,
// }
this.pageLoad(this.files)
data() {
return {
dialogImageUrl: '',
dialogVisible: false,
accessToken: null,
uploadFile: uploadFile,
fileList_FuJian: [],
enclosure: '',
file_add: '',
file_catch: '',
files: [],
files_list: [],
filedUrl: '',
// fileUrl: fileUrl,
// showpicture:false,
isview: false,
nameArr: '',
loadding: false,
stateName: ''
}
},
handleChange(file, fileList) {
computed: {
...mapGetters([
'id',
'departmentCode',
'departmentLevel',
'departmentType',
'token'
])
},
//
pageLoad(files) {
// console.log('' + files)
if (files !== null && files !== '') {
this.files_list = JSON.parse(files)
var ids = ''
this.fileList_FuJian = []
// 1.
for (var i = 0; i < this.files_list.length; i++) {
var body = {
name: this.files_list[i].name,
url: '',
status: 'finished',
watch: {
name: {
deep: true,
immediate: true,
handler(newVal, oldVal) {
console.log('aaaa1', newVal)
this.files = newVal
if (this.stateName = 'xunidingjinAdd') {
if (this.files.length > 1) {
this.files.splice(0, 1)
}
}
this.fileList_FuJian.push(body)
ids = ids + this.files_list[i].id + ','
}
// 2. id
if (ids !== '') {
ids = ids.substring(0, ids.length - 1)
console.log('aaaa2', this.files)
}
this.enclosure = ids
this.file_catch = ids
} else {
this.file_add = ''
this.file_catch = ''
this.enclosure = ''
this.files_list = []
this.fileList_FuJian = []
}
},
// --
uploadImgSuccess(response, file, fileList) {
// console.log('fileList:' + JSON.stringify(fileList))
// this.enclosure = ''
// 1. id(this.file_add)
// this.getNewFileId(fileList)
// 2. id
// this.getFileId()
// console.log('4. ' + this.enclosure)
// 3. id
this.$emit('change', this.enclosure)
mounted() {
this.$nextTick(() => {
this.Init()
})
},
handleRemove(file, fileList) {
// console.log('file:' + JSON.stringify(file))
// console.log('fileList:' + JSON.stringify(fileList))
// this.enclosure = ''
// 1. id(this.file_add)
// this.getNewFileId(fileList)
// 2. id(this.file_catch)
// this.getCatchFileId(file)
// 3. id
// this.getFileId()
// 4. id
if (this.idsz != '') {
this.$emit('handleRemove', this.idsz)
created() {
this.uploadFile = uploadFile //
this.accessToken = {
token: getStorage()
}
},
// FrontPhoto
uploadSectionFile(params) {
const file = params.file
//
const form = new FormData()
// console.log('77777777777777',form)
//
form.append('file', file)
//
imgUploadz(form).then((res) => {
//
if (res.code === '200') {
// res.data.attachType = this.types
let a = ''
a = res.data.filePath
this.idsz = a
this.$emit('handleSuccess', res)
}
// this.FrontPhoto = res.fullUrl
if (res.msg == '操作成功') {
this.$message({
message: '上传成功!',
type: 'success',
methods: {
showImg(imgList) {
this.stateName = 'xunidingjinAdd'
this.files = imgList
console.log('回显图片', this.files)
},
view() {
// window.open(this.filedUrl)
},
//
Init() {
if (this.name !== undefined) {
this.files = []
for (var i = 0; i < this.name.length; i++) {
this.files.push({
name: this.name[i],
url: this.name[i]
})
}
}
},
// --
uploadImgSuccess_FuJian(response, file, fileList) {
console.log('您选择的file:', file)
if (file.response.code === '200') {
this.loadding = false
//
this.filedUrl = this.fileUrl + file.response.data
// var uid = file.response.data
this.files.push({
name: file.response.data.sourceFileName,
url: file.response.data.fullUrl,
size: file.response.data.size
})
this.$emit('change', this.files)
this.$emit('eett', this.files)
}
},
removeImage(file, ImageFileList) {
this.files.splice(this.files.indexOf(file), 1)
const imgFiles = []
this.files.forEach((o) => {
imgFiles.push(o.url)
})
.catch((err) => {
console.log(err)
// ,
})
},
},
}
this.$emit('fileChange', this.files)
},
handleRemove(file, fileList) {
console.log('file:' + JSON.stringify(file))
console.log('fileList:' + JSON.stringify(fileList))
this.enclosure = ''
// 1. id(this.file_add)
this.getNewFileId(fileList)
// 2. id(this.file_catch)
this.getCatchFileId(file)
// 3. id
this.getFileId()
// 4. id
this.$emit('change', this.enclosure)
},
// this.file_add(id)
getNewFileId(fileList) {
// debugger
this.file_add = ''
for (var i = 0; i < fileList.length; i++) {
if (fileList[i].response && fileList[i].response.code === '200') {
this.file_add = this.file_add + fileList[i].response.data + ','
}
}
if (this.file_add !== '') {
this.file_add = this.file_add.substring(0, this.file_add.length - 1)
}
// console.log('1. this.file_add: ' + this.file_add)
},
// this.file_catchid
getCatchFileId(file) {
for (var i = 0; i < this.files_list.length; i++) {
if (this.file_catch !== '') {
// 1. id
if (this.files_list[i].name === file.name) {
// 2. file_catchfils_arry
var fils_arry = this.file_catch.split(',')
// 3. fils_arry this.files_list[i].id
var arry = []
fils_arry.forEach((element) => {
//
if (element !== this.files_list[i].id) {
arry.push(element)
}
})
// 4. file_catch
this.file_catch = arry.join(',')
}
}
}
// console.log('2. this.file_catch:' + this.file_catch)
},
// id
getFileId() {
// console.log('3. this.file_catch:' + this.file_catch + ',this.file_add:' + this.file_add)
if (this.file_catch !== '') {
if (this.file_add !== '') {
this.enclosure = this.file_catch + ',' + this.file_add
} else {
this.enclosure = this.file_catch
}
} else {
this.enclosure = this.file_add
}
},
handlePictureCardPreview(file) {
this.dialogImageUrl = file.url
},
//
uploadError() {
this.loadding = false
},
uploadProgrees(event, file, fileList) {
if (Number(event.percent) > 0) {
this.loadding = true
}
}
}
}
</script>
<style lang="scss" scoped></style>

243
anrui-scm/anrui-scm-ui/src/components/uploadFile/uploadImg.vue

@ -0,0 +1,243 @@
<template>
<div>
<el-upload ref="imgUpload" v-loading="loadding" class="avatar-uploader" :headers="accessToken"
:action="uploadFile" accept=".jpg,.jpeg,.png,.bmp,.pdf,.JPG,.JPEG,.BMP" list-type="picture-card"
:file-list="files" :on-remove="removeImage" :on-preview="handlePictureCardPreview"
:on-progress="uploadProgrees"
:on-error="uploadError" :on-success="uploadImgSuccess_FuJian">
<i class="el-icon-plus avatar-uploader-icon"/>
</el-upload>
<el-dialog :visible.sync="dialogVisible" :append-to-body="true" title="查看图片">
<img width="100%" :src="dialogImageUrl" alt="">
</el-dialog>
</div>
</template>
<script>
import { uploadFile } from '@/api/portal/Upload.js'
import { getStorage } from '@/utils/auth.js' //token
import { mapGetters } from 'vuex'
export default {
model: {
prop: 'name',
event: 'change'
},
props: {
placeholder: {
type: String,
default: ''
},
bucket: {
type: String,
default: 'abc'
},
//
width: {
type: String,
default: '270px'
},
limit: {
type: Number,
default: 1
},
accept: {
type: String,
default:
'.jpg,.jpeg,.png,.bmp,.pdf,.JPG,.JPEG,.BMP,.PDF,.xls,.docx,.xlsx,.ppt,.pptx'
},
//
name: {
type: Array,
required: true
},
uploadData: {
type: Object,
default: {}
}
},
data() {
return {
dialogImageUrl: '',
dialogVisible: false,
accessToken: null,
uploadFile: uploadFile,
fileList_FuJian: [],
enclosure: '',
file_add: '',
file_catch: '',
files: [],
files_list: [],
filedUrl: '',
// fileUrl: fileUrl,
// showpicture:false,
isview: false,
nameArr: '',
loadding: false,
stateName: ''
}
},
computed: {
...mapGetters([
'id',
'departmentCode',
'departmentLevel',
'departmentType',
'token'
])
},
watch: {
name: {
deep: true,
immediate: true,
handler(newVal, oldVal) {
console.log('aaaa1', newVal)
this.files = newVal
if (this.stateName = 'xunidingjinAdd') {
if (this.files.length > 1) {
this.files.splice(0, 1)
}
}
console.log('aaaa2', this.files)
}
}
},
mounted() {
this.$nextTick(() => {
this.Init()
})
},
created() {
this.uploadFile = uploadFile //
this.accessToken = {
token: getStorage()
}
},
methods: {
showImg(imgList) {
this.stateName = 'xunidingjinAdd'
this.files = imgList
console.log('回显图片', this.files)
},
view() {
// window.open(this.filedUrl)
},
//
Init() {
if (this.name !== undefined) {
this.files = []
for (var i = 0; i < this.name.length; i++) {
this.files.push({
name: this.name[i],
url: this.name[i]
})
}
}
},
// --
uploadImgSuccess_FuJian(response, file, fileList) {
console.log('您选择的file:', file)
if (file.response.code === '200') {
this.loadding = false
//
this.filedUrl = this.fileUrl + file.response.data
// var uid = file.response.data
this.files.push({
name: file.response.data.sourceFileName,
url: file.response.data.fullUrl,
size: file.response.data.size
})
this.$emit('change', this.files)
this.$emit('eett', this.files)
}
},
removeImage(file, ImageFileList) {
this.files.splice(this.files.indexOf(file), 1)
const imgFiles = []
this.files.forEach((o) => {
imgFiles.push(o.url)
})
this.$emit('fileChange', this.files)
},
handleRemove(file, fileList) {
console.log('file:' + JSON.stringify(file))
console.log('fileList:' + JSON.stringify(fileList))
this.enclosure = ''
// 1. id(this.file_add)
this.getNewFileId(fileList)
// 2. id(this.file_catch)
this.getCatchFileId(file)
// 3. id
this.getFileId()
// 4. id
this.$emit('change', this.enclosure)
},
// this.file_add(id)
getNewFileId(fileList) {
// debugger
this.file_add = ''
for (var i = 0; i < fileList.length; i++) {
if (fileList[i].response && fileList[i].response.code === '200') {
this.file_add = this.file_add + fileList[i].response.data + ','
}
}
if (this.file_add !== '') {
this.file_add = this.file_add.substring(0, this.file_add.length - 1)
}
// console.log('1. this.file_add: ' + this.file_add)
},
// this.file_catchid
getCatchFileId(file) {
for (var i = 0; i < this.files_list.length; i++) {
if (this.file_catch !== '') {
// 1. id
if (this.files_list[i].name === file.name) {
// 2. file_catchfils_arry
var fils_arry = this.file_catch.split(',')
// 3. fils_arry this.files_list[i].id
var arry = []
fils_arry.forEach((element) => {
//
if (element !== this.files_list[i].id) {
arry.push(element)
}
})
// 4. file_catch
this.file_catch = arry.join(',')
}
}
}
// console.log('2. this.file_catch:' + this.file_catch)
},
// id
getFileId() {
// console.log('3. this.file_catch:' + this.file_catch + ',this.file_add:' + this.file_add)
if (this.file_catch !== '') {
if (this.file_add !== '') {
this.enclosure = this.file_catch + ',' + this.file_add
} else {
this.enclosure = this.file_catch
}
} else {
this.enclosure = this.file_add
}
},
handlePictureCardPreview(file) {
this.dialogImageUrl = file.url
},
//
uploadError() {
this.loadding = false
},
uploadProgrees(event, file, fileList) {
if (Number(event.percent) > 0) {
this.loadding = true
}
}
}
}
</script>
<style lang="scss" scoped></style>

222
anrui-scm/anrui-scm-ui/src/router/modules/codemenu.js

@ -15,64 +15,6 @@ const codemenu = [
meta: { title: '销售入库单' }
}]
},
{
path: '/scmmaterial',
component: Layout,
redirect: '/scmmaterial/index',
meta: {
title: '物料信息'
},
children: [{
path: '/scmmaterial/index',
component: () => import('@/views/anruiscm/scmmaterial/scmmaterial.vue'),
name: 'ScmMaterialIndex',
meta: { title: '物料信息' }
}]
},
{
path: '/shangzhuang',
component: Layout,
redirect: '/shangzhuang',
meta: {
title: '上装信息管理'
},
children: [{
path: '/shangzhuang/shangzhuangguanli',
component: () => import('@/views/shangzhuang/shangzhuangguanli/shangzhuangguanli.vue'),
name: 'ShangZhuangGuanLi',
meta: { title: '上装管理' }
},
{
path: '/shangzhuang/shangzhuangjiansuo',
component: () => import('@/views/shangzhuang/shangzhuangjiansuo/shangzhuangjiansuoguanli.vue'),
name: 'ShangZhuangJianSuoGuanLi',
meta: { title: '上装管理' }
}]
},
{
path: '/guache',
component: Layout,
redirect: '/guache',
meta: {
title: '挂车信息管理'
},
children: [{
path: '/guache/guacheguanli',
component: () => import('@/views/guache/guacheguanli/guacheguanli.vue'),
name: 'ShangZhuangGuanLi',
meta: { title: '挂车管理' }
},
{
path: '/guache/guachejiansuo',
component: () => import('@/views/guache/guachejiansuo/guachejiansuoguanli.vue'),
name: 'GuaCheJianSuoGuanLi',
meta: { title: '挂车管理' }
}
]
},
{
path: '/scmotherinbound',
component: Layout,
@ -157,6 +99,95 @@ const codemenu = [
meta: { title: '销售退货单' }
}]
},
{
path: '/scmmaterial',
component: Layout,
redirect: '/scmmaterial/index',
meta: {
title: '物料信息'
},
children: [{
path: '/scmmaterial/index',
component: () => import('@/views/anruiscm/scmmaterial/scmmaterial.vue'),
name: 'ScmMaterialIndex',
meta: { title: '物料信息' }
}]
},
// 仓库
{
path: '/scmwarehouse',
component: Layout,
redirect: '/scmwarehouse/index',
meta: {
title: '仓库'
},
children: [{
path: '/scmwarehouse/index',
component: () => import('@/views/anruiscm/scmwarehouse/scmwarehouse.vue'),
name: 'ScmWarehouseIndex',
meta: { title: '仓库' }
}]
},
{
path: '/shangzhuang',
component: Layout,
redirect: '/shangzhuang',
meta: {
title: '上装信息管理'
},
children: [{
path: '/shangzhuang/shangzhuangguanli',
component: () => import('@/views/shangzhuang/shangzhuangguanli/shangzhuangguanli.vue'),
name: 'ShangZhuangGuanLi',
meta: { title: '上装管理' }
},
{
path: '/shangzhuang/shangzhuangjiansuo',
component: () => import('@/views/shangzhuang/shangzhuangjiansuo/shangzhuangjiansuoguanli.vue'),
name: 'ShangZhuangJianSuoGuanLi',
meta: { title: '上装管理' }
}]
},
// 采购订单管理
{
path: '/caigoudingdan',
component: Layout,
redirect: '/caigoudingdan/index',
meta: {
title: '采购订单管理'
},
children: [{
path: '/caigoudingdan/index',
component: () => import('@/views/cheliang/cheliangcaigou/cheliangcaigou.vue'),
name: 'cheliangcaigou',
meta: { title: '采购订单管理' }
}]
},
{
path: '/guache',
component: Layout,
redirect: '/guache',
meta: {
title: '挂车信息管理'
},
children: [{
path: '/guache/guacheguanli',
component: () => import('@/views/guache/guacheguanli/guacheguanli.vue'),
name: 'ShangZhuangGuanLi',
meta: { title: '挂车管理' }
},
{
path: '/guache/guachejiansuo',
component: () => import('@/views/guache/guachejiansuo/guachejiansuoguanli.vue'),
name: 'GuaCheJianSuoGuanLi',
meta: { title: '挂车管理' }
}
]
},
// 车辆管理
{
path: '/cheliang',
@ -176,12 +207,12 @@ const codemenu = [
}
},
{
path: '/cheliang/jianshupeizhi',
path: '/cheliang/changyongpeizhi',
component: () =>
import('@/views/cheliang/chexingpeizhi/jianshupeizhi.vue'),
import('@/views/cheliang/chexingpeizhi/changyongpeizhi.vue'),
name: 'chexingpeizhi',
meta: {
title: '简述配置管理'
title: '常用配置管理'
}
},
// 车辆台账
@ -215,19 +246,19 @@ const codemenu = [
}
]
},
//
// 采购退
{
path: '/scmwarehouse',
path: '/caigoutuiku',
component: Layout,
redirect: '/scmwarehouse/index',
redirect: '/caigoutuiku/index',
meta: {
title: '库'
title: '采购退库'
},
children: [{
path: '/scmwarehouse/index',
component: () => import('@/views/anruiscm/scmwarehouse/scmwarehouse.vue'),
name: 'ScmWarehouseIndex',
meta: { title: '库' }
path: '/caigoutuiku/index',
component: () => import('@/views/supplychain/caigoutuiku/caigoutuiku.vue'),
name: 'caigoutuiku',
meta: { title: '采购退库' }
}]
},
@ -243,56 +274,33 @@ const codemenu = [
path: '/vehicle/cheliangpaichan',
component: () => import('@/views/supplychain/vehicle/cheliangpaichan/cheliangpaichan.vue'),
name: 'cheliangpaichan',
meta: { title: '排产管理' }
meta: { title: '车辆排产管理' }
}
]
},
// 流程审批
// 采购退库驳回到发起人办理编辑页面
{
path: '/ruzhang',
component: Layout,
redirect: '/ruzhang',
meta: {
title: '入账管理'
},
children: [{
path: '/ruzhang/ruzhangguanli',
component: () => import('@/views/ruzhang/ruzhangguanli/ruzhangguanli.vue'),
name: 'ruzhangguanli',
meta: { title: '入账单管理' }
}]
},
// 排产管理
// 排产管理申请详情
{
path: '/paichanguanliFlow/paichanguanli/cheliangpaichanInfo',
path: '/caigoutuikuFlow/caigoutuikuEdit',
component: () =>
import('@/views/workFlow/paichanguanliFlow/paichanguanli/cheliangpaichanInfo.vue'),
name: 'cheliangpaichanInfo'
import('@/views/workFlow/caigoutuikuFlow/caigoutuikuEdit'),
name: 'caigoutuikuEdit'
},
// 排产管理申请编辑
// 采购退库详情页面
{
path: '/paichanguanliFlow/paichanguanli/cheliangpaichanEdit',
path: '/caigoutuikuFlow/caigoutuikuInfo',
component: () =>
import('@/views/workFlow/paichanguanliFlow/paichanguanli/cheliangpaichanEdit.vue'),
name: 'cheliangpaichanEdit'
import('@/views/workFlow/caigoutuikuFlow/caigoutuikuInfo'),
name: 'caigoutuikuInfo'
},
// 入账管理
// 入账管理申请详情
// 采购退库审批环节办理页面
{
path: '/ruzhangguanliFlow/ruzhangguanli/ruzhangInfo',
path: '/caigoutuikuFlow/caigoutuiku',
component: () =>
import('@/views/workFlow/ruzhangguanliFlow/ruzhangguanli/ruzhangInfo.vue'),
name: 'ruzhangInfo'
},
// 入账管理申请编辑
{
path: '/ruzhangguanliFlow/ruzhangguanli/ruzhangEdit',
component: () =>
import('@/views/workFlow/ruzhangguanliFlow/ruzhangguanli/ruzhangEdit.vue'),
name: 'ruzhangEdit'
import('@/views/workFlow/caigoutuikuFlow/caigoutuiku'),
name: 'caigoutuikuMain'
}
]
export default codemenu

4
anrui-scm/anrui-scm-ui/src/utils/auth.js

@ -8,7 +8,7 @@ export function getToken() {
}
export function setToken(token) {
return Cookies.set(TokenKey, token, { expires: 7, path: '/' })
return Cookies.set(TokenKey, token, {expires: 7, path: '/'})
}
export function removeToken() {
@ -17,7 +17,7 @@ export function removeToken() {
export function getStorage() {
//return sessionStorage.getItem('token')
return 'eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyTm8iOiIwZDhkODExOS1kNDc2LTQ3Y2UtODljMi0wNzVjZDgwOWRkYTYiLCJpc3MiOiJXQksiLCJleHAiOjE2NDY3MjA0ODB9.DZN7p-7mdFEhjvglzoipfQCXPePHvAa0Izvf8nCuyNE'
return 'eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyTm8iOiI0MjdhMmZiMC02MGM1LTQwOWYtYmVhNC00ZWI0NDEwNDFhZTYiLCJpc3MiOiJXQksiLCJleHAiOjE2NTA1MDUyNzB9.vkA5nfMxjlvU683jUiOFeC9_rQbfCrcwDqROdsE_6GU'
}
export function setStorage(session) {

82
anrui-scm/anrui-scm-ui/src/utils/request.js

@ -1,67 +1,99 @@
import axios from 'axios'
import {
// MessageBox,
Message
} from 'element-ui'
// import store from '@/store'
import {
// getToken,
getStorage,
setStorage
} from '@/utils/auth'
import { MessageBox, Message } from 'element-ui'
import store from '@/store'
import { getToken, getStorage } from '@/utils/auth'
// create an axios instance
const service = axios.create({
baseURL: process.env.VUE_APP_BASE_API, // url = base url + request url
// timeout: 5000 // request timeout
headers: {
'Content-Type': 'application/x-www-form-urlencoded;'
}
// withCredentials: true, // send cookies when cross-domain requests
timeout: 5000 // request timeout
})
// request interceptor
service.interceptors.request.use(
config => {
config.params = {
...config.params,
_t: Date.parse(new Date()) / 1000
}
// setStorage('eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyTm8iOiI0MjdhMmZiMC02MGM1LTQwOWYtYmVhNC00ZWI0NDEwNDFhZTYiLCJpc3MiOiJXQksiLCJleHAiOjE2MzgyNTI5NTZ9.DOtLtC-_G8BCeBj57H8hE6O6aKEzaytj0rVzpTstJgo');
// do something before request is sent
// if (store.getters.token) {
// // let each request carry token
// // ['X-Token'] is a custom headers key
// // please modify it according to the actual situation
// config.headers['X-Token'] = getToken()
// }
if (getStorage()) {
// let each request carry token
// ['X-Token'] is a custom headers key
// please modify it according to the actual situation
config.headers['token'] = getStorage()
}
return config
},
error => {
// do something with request error
console.log(error) // for debug
return Promise.reject(error)
}
)
// response interceptor
service.interceptors.response.use(
/**
* If you want to get http information such as headers or status
* Please return response => response
*/
/**
* Determine the request status by custom code
* Here is just an example
* You can also judge the status by HTTP Status Code
*/
response => {
const res = response.data
const statusCode = response.status
// if the custom code is not 20000, it is judged as an error.
if (res.code !== '200') {
if (res.msg === '请重新登录') {
// window.location.href = 'http://39.104.100.138:8082/'
} else {
if (statusCode !== 200) {
Message({
message: res.msg || response.message || 'Error',
type: 'error',
showClose: true,
duration: 5 * 1000
})
// 50008: Illegal token; 50012: Other clients logged in; 50014: Token expired;
if (statusCode === 401 || res.code === '5000' || res.code === 5000 || res.code === 50012 || res.code === 50014) {
// to re-login
MessageBox.confirm('登录状态已过期,您可以继续留在该页面,或者重新登录', '系统提示', {
confirmButtonText: '重新登录',
cancelButtonText: '取消',
type: 'warning'
}).then(() => {
store.dispatch('logout').then(() => {
location.href = 'http://120.46.131.15/#/login'
// location.reload()
})
})
}
return Promise.reject(new Error(res.message || 'Error'))
} else {
if (!res.success) {
Message({
message: res.msg || 'Error',
type: 'error',
showClose: true,
duration: 5 * 1000
})
}
return Promise.reject(new Error(res.message || 'Error'))
} else {
return res
}
},
error => {
console.log('err' + error) // for debug
Message({
message: error.message,
type: 'error',
showClose: true,
duration: 5 * 1000
})
return Promise.reject(error)

2
anrui-scm/anrui-scm-ui/src/views/cheliang/cheliangtaizhang/cheliangtaizhang.vue

@ -121,7 +121,7 @@
import { deleteBySids, pagerList, basefinbankExportExcel } from '@/api/cheliang/basevehicle'
import { typeValues } from '@/api/cheliang/dictcommons'
import cheliangtaizhangAdd from './cheliangtaizhangAdd'
import chexingpeizhiInfo from '../chexingpeizhi/jianshupeizhi'
import chexingpeizhiInfo from '../chexingpeizhi/changyongpeizhi'
// import { getFileType, parseDate, parseTime, ConvertMenuState } from "@/utils";
// import { findButtonByUserId } from '@/api/sys/permission'
import Pagination from '@/components/pagination'

481
anrui-scm/anrui-scm-ui/src/views/cheliang/chexing/chexing.vue

@ -8,7 +8,6 @@
<el-button type="primary" size="small" @click="handleCreate()">新增</el-button>
<el-button type="primary" size="small" @click="handleUpdate()">修改</el-button>
<el-button type="danger" size="small" @click="handleDelete()">删除</el-button>
<!-- <el-button type="primary" size="small" @click="handleDaoRu()">导入</el-button> -->
<el-button type="success" size="small" @click="handleDaoChu()">导出</el-button>
</div>
</div>
@ -16,17 +15,188 @@
<el-button size="small" class="searchbtn" @click="clicksearchShow">{{ searchxianshitit }}</el-button>
<div v-show="isSearchShow" class="search">
<el-form ref="listQueryform" :inline="true" :model="listQuery" label-width="100px" class="tab-header">
<el-form-item label="车型名称">
<el-input v-model="listQuery.modelName" placeholder="请输入车型名称" clearable class="filter-item"/>
<el-form-item label="品牌">
<el-select
v-model="listQuery.params.carBrand"
placeholder="请选择"
filterable
clearable
class="addinputw"
>
<el-option
v-for="item in carBrand_list"
:key="item.sid"
:label="item.brandName"
:value="item.brandName"
/>
</el-select>
</el-form-item>
<el-form-item label="车型型号">
<el-input v-model="listQuery.carModel" placeholder="请输入车型型号" clearable class="filter-item"/>
<el-form-item label="功能">
<el-select
v-model="listQuery.params.vehicleFunctionKey"
placeholder="请选择"
clearable
class="addinputw"
>
<el-option
v-for="item in vehicleFunction_list"
:key="item.dictKey"
:label="item.dictValue"
:value="item.dictKey"
/>
</el-select>
</el-form-item>
<el-form-item label="品牌">
<el-input v-model="listQuery.brandName" placeholder="请输入品牌" clearable class="filter-item"/>
<el-form-item label="系列">
<el-select v-model="listQuery.params.productLineValue" placeholder="请选择" clearable class="addinputw">
<el-option v-for="item in productLine_list" :key="item.dictKey" :label="item.dictValue"
:value="item.dictKey"/>
</el-select>
<!-- <el-select-->
<!-- v-model="listQuery.params.vehicleFunctionKey"-->
<!-- placeholder="请选择"-->
<!-- clearable-->
<!-- class="addinputw"-->
<!-- >-->
<!-- <el-option-->
<!-- v-for="item in vehicleFunction_list"-->
<!-- :key="item.dictKey"-->
<!-- :label="item.dictValue"-->
<!-- :value="item.dictKey"-->
<!-- />-->
<!-- </el-select>-->
</el-form-item>
<el-form-item label="驱动">
<el-select
v-model="listQuery.params.driveFormKey"
placeholder="请选择"
clearable
class="addinputw"
>
<el-option
v-for="item in driveForm_list"
:key="item.dictKey"
:label="item.dictValue"
:value="item.dictKey"
/>
</el-select>
</el-form-item>
<el-form-item label="马力">
<el-select
v-model="listQuery.params.powerKey"
placeholder="请选择"
clearable
class="addinputw"
>
<el-option
v-for="item in power_list"
:key="item.dictKey"
:label="item.dictValue"
:value="item.dictKey"
/>
</el-select>
</el-form-item>
<el-form-item label="版本">
<el-select
v-model="listQuery.params.vehicleVersionKey"
placeholder="请选择"
clearable
class="addinputw"
>
<el-option
v-for="item in vehicleVersion_list"
:key="item.dictKey"
:label="item.dictValue"
:value="item.dictKey"
/>
</el-select>
</el-form-item>
<el-form-item label="燃料">
<el-select
v-model="listQuery.params.fuelTypeKey"
placeholder="请选择"
clearable
class="addinputw"
>
<el-option
v-for="item in fuelType_list"
:key="item.dictKey"
:label="item.dictValue"
:value="item.dictKey"
/>
</el-select>
</el-form-item>
<el-form-item label="变速箱">
<el-select
v-model="listQuery.params.gearboxTypeKey"
placeholder="请选择"
clearable
class="addinputw"
>
<el-option
v-for="item in gearboxType_list"
:key="item.dictKey"
:label="item.dictValue"
:value="item.dictKey"
/>
</el-select>
</el-form-item>
<el-form-item label="排放标准">
<el-select
v-model="listQuery.params.emissionStandardKey"
placeholder="请选择"
clearable
class="addinputw"
>
<el-option
v-for="item in emissionStandard_list"
:key="item.dictKey"
:label="item.dictValue"
:value="item.dictKey"
/>
</el-select>
</el-form-item>
<el-button type="primary" @click="handleFilter">查询</el-button>
<el-form-item label="发动机型号">
<el-select
v-model="listQuery.params.engineTypeKey"
placeholder="请选择"
clearable
class="addinputw"
>
<el-option
v-for="item in engineType_list"
:key="item.dictKey"
:label="item.dictValue"
:value="item.dictKey"
/>
</el-select>
</el-form-item>
<el-form-item label="细分市场">
<el-select
v-model="listQuery.params.marketSegmentsKey"
placeholder="请选择"
clearable
class="addinputw"
>
<el-option
v-for="item in marketSegments_list"
:key="item.dictKey"
:label="item.dictValue"
:value="item.dictKey"
/>
</el-select>
</el-form-item>
<el-form-item label="车型编码">
<el-input v-model="listQuery.params.otherConfig" maxlength="125" placeholder="请输入车型编码" class="addinputw"
clearable/>
</el-form-item>
<el-form-item label="规格型号">
<el-input v-model="listQuery.params.specifications" maxlength="125" placeholder="请输入规格型号"
class="addinputw" clearable/>
</el-form-item>
<div class="btn" style="text-align: center;">
<el-button type="primary" @click="handleFilter">查询</el-button>
</div>
</el-form>
</div>
</div>
@ -40,47 +210,69 @@
@selection-change="handleSelectionChange">
<el-table-column width="50px" type="selection" align="center"/>
<el-table-column width="80px" label="序号" type="index" :index="indexMethod" align="center"/>
<el-table-column label="操作" align="center" width="110px" class-name="small-padding fixed-width">
<template slot-scope="{row}">
<el-button size="mini" type="primary" @click="handlePeizhi(row)">车型配置</el-button>
</template>
</el-table-column>
<el-table-column label="品牌" align="center">
<template slot-scope="scope">
<span>{{ scope.row.brandName }}</span>
</template>
</el-table-column>
<el-table-column label="车辆类型" align="center">
<el-table-column label="车型" align="center">
<template slot-scope="scope">
<span>{{ scope.row.vehicleTypeValue }}</span>
<span class="bluezi" @click="handleCheck(scope.row)">{{ scope.row.modelName }}</span>
</template>
</el-table-column>
<el-table-column label="车型名称" align="center">
<el-table-column label="版本" align="center">
<template slot-scope="scope">
<span>{{ scope.row.modelName }}</span>
<span>{{ scope.row.vehicleVersion }}</span>
</template>
</el-table-column>
<el-table-column label="车型型号" align="center">
<el-table-column label="发动机型号" align="center">
<template slot-scope="scope">
<span>{{ scope.row.carModel }}</span>
<span>{{ scope.row.engineType }}</span>
</template>
</el-table-column>
<el-table-column label="操作" align="center" width="280px" class-name="small-padding fixed-width">
<template slot-scope="{row}">
<el-button size="mini" type="primary" @click="handleCheck(row)">查看</el-button>
<el-button size="mini" type="primary" @click="cheLiangXiangXiPeiZhi(row)">简述配置管理</el-button>
<el-table-column label="车型编码" align="center">
<template slot-scope="scope">
<span>{{ scope.row.otherConfig }}</span>
</template>
</el-table-column>
<el-table-column label="车型照片" align="center" width="280px" class-name="small-padding fixed-width">
<template slot-scope="scope">
<el-button size="mini" type="primary" @click="handleGetCheck(scope.row)">查看</el-button>
<div class="upload_img">
<upload ref="uploadImg" v-model="imgList" :limit="1" bucket="map" :upload-data="{type:'0001'}"></upload>
</div>
</template>
</el-table-column>
</el-table>
</div>
<div class="pages">
<!-- 翻页 -->
<pagination v-show="total>0"
:total="total"
:page.sync="listQuery.current"
:limit.sync="listQuery.size"
class="pagination"
@pagination="getList"/>
<pagination
v-show="total>0"
:total="total"
:page.sync="listQuery.current"
:limit.sync="listQuery.size"
class="pagination"
@pagination="getList"/> <!--vehicleModelUrls-->
</div>
</div>
<!-- End 列表页面 -->
<!-- 照片弹窗 -->
<el-dialog title="查看" :visible.sync="dialogImgVisible">
<el-image
v-for="item in srcList"
style="width: 100px; height: 100px"
:src="item"
:preview-src-list="srcList">
</el-image>
</el-dialog>
<!-- Start 车型配置页面 -->
<chexingpeizhi v-show="viewState == 0" ref="divpeizhi" @doback="resetState"></chexingpeizhi>
<chexingpeizhi v-show="viewState == 5" ref="divGuanLianPeiZhi" @doback="resetState"></chexingpeizhi>
<!-- End 车型配置页面 -->
<!-- Start 新增以及修改部分 -->
<chexing-add v-show="viewState == 2 || viewState == 3" ref="divadd" @doback="resetState"
@ -98,17 +290,16 @@
pagerList,
deleteBySids,
basefinbankExportExcel,
SaveList,
Update,
details,
selectDown
brandDown,
pullDown
} from '@/api/cheliang/basevehiclemodel'
import { setMIng, getMIng, getCHeap, setCHeap } from '@/utils/baocun'
import Pagination from '@/components/pagination'
import pageye from '@/components/pagination/pageye'
import chexingAdd from './chexingAdd'
import chexinglook from './chexinglook'
import chexingpeizhi from './chexingpeizhi'
import chexingpeizhi from './relation/chexingguanlianchangyong'
import upload from '../../../components/uploadFile/upload'
export default {
name: 'Pinpaiguanli',
@ -117,28 +308,30 @@
pageye,
chexingAdd,
chexinglook,
chexingpeizhi
chexingpeizhi,
upload
},
data() {
return {
isSearchShow: false,
viewState: 1,
searchxianshitit: '显示查询条件',
// ---------
menuState: {
add: false, //
edit: false, //
delete: false, //
view: false, //
audit: false, //
input: false, //
output: false, //
upload: false, //
release: false //
},
// -----------
dialogImgVisible: false,
// -----------
tableKey: 0,
list: [],
srcList: [],
carBrand_list: [], //
vehicleFunction_list: [], //
productLine_list: [],//
driveForm_list: [], //
power_list: [], //
vehicleVersion_list: [], //
fuelType_list: [], //
gearboxType_list: [], //
emissionStandard_list: [], //
engineType_list: [], //
marketSegments_list: [], //
total: 1,
FormLoading: false,
listLoading: false,
@ -146,23 +339,14 @@
params: {
modelName: '',
carModel: '',
brandName: ''
carBrand: ''
},
current: 1,
size: 20
},
selectDate: undefined,
temp: {}, //
templook: {}, //
textMap: {
update: '编辑',
create: '创建'
},
sids: [],
dialogFormVisible: false, //
dialogFormShowVisible: false, //
dialogStatus: '', //
typeOptions: [],
imgList: [],
tureArrys: [
{
value: 1,
@ -203,16 +387,112 @@
}
},
init() {
// .
// findButtonByUserId(this.$route.path).then(response => {
// if (
// response.code === 20000 &&
// response.data &&
// response.data.length > 0
// ) {
// this.menuState = ConvertMenuState(response.data) //
// -
brandDown(this.listQuery.params.carBrand).then((res) => {
if (res.code === '200') {
this.carBrand_list = res.data
console.log('下拉框请求品牌', res.data)
}
})
// -
pullDown({
type: 'vehicleFunction'
}).then((res) => {
if (res.code === '200') {
this.vehicleFunction_list = res.data
console.log('下拉框请求功能', res.data)
}
})
// -
// pullDown({
// type: 'vehicleFunction'
// }).then((res) => {
// if (res.code === '200') {
// this.vehicleFunction_list = res.data
// console.log('111', res.data)
// }
// })
// -
pullDown({
type: 'driver'
}).then((res) => {
if (res.code === '200') {
this.driveForm_list = res.data
console.log('下拉框请求驱动', res.data)
}
})
// -
pullDown({
type: 'productLine'
}).then((res) => {
if (res.code === '200') {
this.productLine_list = res.data
console.log('下拉框请求系列', res.data)
}
})
// -
pullDown({
type: 'horsepower'
}).then((res) => {
if (res.code === '200') {
this.power_list = res.data
console.log('下拉框请求马力', res.data)
}
})
// -
pullDown({
type: 'vehicleVersion'
}).then((res) => {
if (res.code === '200') {
this.vehicleVersion_list = res.data
console.log('下拉框请求版本', res.data)
}
})
// -
pullDown({
type: 'fuelType'
}).then((res) => {
if (res.code === '200') {
this.fuelType_list = res.data
console.log('下拉框请求燃料', res.data)
}
})
// -
pullDown({
type: 'gearbox'
}).then((res) => {
if (res.code === '200') {
this.gearboxType_list = res.data
console.log('下拉框请求变速箱', res.data)
}
})
// -
pullDown({
type: 'emissionStandard'
}).then((res) => {
if (res.code === '200') {
this.emissionStandard_list = res.data
console.log('下拉框请求排放标准', res.data)
}
})
// -
pullDown({
type: 'engineType'
}).then((res) => {
if (res.code === '200') {
this.engineType_list = res.data
console.log('下拉框请求发动机型号', res.data)
}
})
// -
pullDown({
type: 'marketSegments'
}).then((res) => {
if (res.code === '200') {
this.marketSegments_list = res.data
console.log('下拉框请求细分市场', res.data)
}
})
},
//
indexMethod(index) {
@ -232,7 +512,7 @@
params: {
modelName: this.listQuery.modelName,
carModel: this.listQuery.carModel,
brandName: this.listQuery.brandName
carBrand: this.listQuery.carBrand
}
}).then((response) => {
console.log('列表查询结果:', response)
@ -255,55 +535,53 @@
this.listQuery.current = 1
this.getList()
},
getUrl() {
console.log('已有图片', this.imgList)
for (var i = 0; i < this.imgList.length; i++) {
console.log(this.temp)
this.temp.baseVehicleModelAppendixDtos.push({
attachType: '0001',
modelSid: this.temp.sid,
filePath: this.imgList[i].url
})
console.log('保存的图片', this.temp.baseVehicleModelAppendixDtos)
}
},
// ------------------------------------------------------
//
resetTemp() {
this.temp = {}
},
handlePeizhi(row) {
this.viewState = 5
this.$refs['divGuanLianPeiZhi'].showGuanlian(row.sid, row.modelName)
},
handleSelectionChange(row) {
const aa = []
row.forEach((element) => {
aa.push(element.sid)
})
this.sids = aa
console.log('sids', this.sids)
},
//
handleCreate() {
this.viewState = 2
// this.dialogStatus = 'add'
this.$refs['divadd'].showAdd()
// this.$router.push({
// path: '/cheliang/chexingAdd/0'
// })
},
//
cheLiangXiangXiPeiZhi(row) {
this.viewState = 0
const modelSid = row.sid
this.$refs['divpeizhi'].showPei(modelSid)
// this.$store.state.modelName = row.modelName
// console.log('7777', row)
// this.$router.push({
// path: '/cheliang/jianshupeizhi',
// query: {
// sid: row.sid,
// names: row.modelName
// }
// })
// setMIng(row.sid)
},
//
handleUpdate() {
if (this.sids.length === 1) {
// this.dialogStatus = 'update'
this.viewState = 3
const sid = this.sids[0]
const row = this.row
this.$refs['divadd'].showEdit(sid, row)
// this.$router.push({
// path: `/cheliang/chexingAdd/${this.sids[0]}`
// })
} else if (this.sids.length > 1) {
this.$notify({
title: '提示',
@ -320,37 +598,29 @@
})
return
}
},
handleGetCheck(row) {
this.dialogImgVisible = true
console.log('图片列表', row.vehicleModelUrls)
this.srcList = row.vehicleModelUrls
},
handleUpload() {
},
//
handleCheck(row) {
this.viewState = 4
const sid = row.sid
this.$refs['divinfo'].showInfo(sid, row)
// this.$router.push({
// path: '/cheliang/chexinglook',
// query: {
// sid: row.sid
// }
// })
},
// ID
handleDelete() {
if (this.sids.length > 0) {
deleteBySids(this.sids).then((response) => {
if (response.code === '200') {
this.$notify({
title: '提示',
message: '删除成功',
type: 'success',
duration: 2000
})
var sids = this.sids.join(',')
console.log('删除的数据', sids)
deleteBySids(sids).then((response) => {
if (response.success) {
this.getList()
} else {
this.$notify({
title: '失败',
message: response.msg,
type: 'error'
})
}
})
} else {
@ -404,4 +674,9 @@
.searchli {
padding: 5px 100px;
}
.upload_img {
display: inline-block;
padding-left: 10px;
}
</style>

1003
anrui-scm/anrui-scm-ui/src/views/cheliang/chexing/chexingAdd.vue

File diff suppressed because it is too large

438
anrui-scm/anrui-scm-ui/src/views/cheliang/chexing/chexinglook.vue

@ -1,96 +1,280 @@
<template>
<div class="app-container">
<div class="tab-header webtop">
<div>车型详细信息</div>
<div>车型详</div>
<div>
<el-button type="info" size="small" @click="handleReturn()">返回</el-button>
</div>
</div>
<div class="listconadd">
<el-form ref="dataForm" :model="temp" label-position="right" label-width="190px" class="forminfo" :rules="rules">
<div class="title">车型详细信息</div>
<div class="listadd">
<el-form ref="dataForm" :model="temp" label-position="right" class="formadd">
<div class="title">车型详</div>
<el-row>
<el-col :span="4" class="trightb">厂商</el-col>
<el-col :span="8"> {{ temp.manufacturerName }}</el-col>
<el-col :span="4" class="trightb">品牌</el-col>
<el-col :span="8" class="tleft"> {{ temp.brandName }}</el-col>
<el-col :span="4">
<span>品牌</span>
</el-col>
<el-col :span="8">
<el-form-item prop="carBrand">
<span>{{temp.carBrand}}</span>
</el-form-item>
</el-col>
<el-col :span="4">
<span>车型编码</span>
</el-col>
<el-col :span="8">
<el-form-item prop="otherConfig">
<span>{{temp.otherConfig}}</span>
</el-form-item>
</el-col>
</el-row>
<el-row>
<el-col :span="4" class="trightb">车辆类型</el-col>
<el-col :span="8"> {{ temp.vehicleTypeValue }}</el-col>
<el-col :span="4" class="trightb">车型型号</el-col>
<el-col :span="8" class="tleft"> {{ temp.carModel }}</el-col>
<el-col :span="4">
<span>功能</span>
</el-col>
<el-col :span="8">
<el-form-item prop="vehicleFunction">
<span>{{temp.vehicleFunction}}</span>
</el-form-item>
</el-col>
<el-col :span="4">
<span>系列</span>
</el-col>
<el-col :span="8">
<el-form-item prop="series">
<span>{{temp.series}}</span>
</el-form-item>
</el-col>
</el-row>
<el-row>
<el-col :span="4" class="trightb">内部编码</el-col>
<el-col :span="8"> {{ temp.insideCode }}</el-col>
<el-col :span="4" class="trightb">细分市场</el-col>
<el-col :span="8" class="tleft"> {{ temp.marketSegments }}</el-col>
<el-col :span="4">
<span>驱动</span>
</el-col>
<el-col :span="8">
<el-form-item prop="driveForm">
<span>{{temp.driveForm}}</span>
</el-form-item>
</el-col>
<el-col :span="4">
<span>马力</span>
</el-col>
<el-col :span="8">
<el-form-item prop="power">
<span>{{temp.power}}</span>
</el-form-item>
</el-col>
</el-row>
<el-row>
<el-col :span="4" class="trightb">系列</el-col>
<el-col :span="8"> {{ temp.department }}</el-col>
<el-col :span="4" class="trightb">规格型号</el-col>
<el-col :span="8" class="tleft"> {{ temp.specifications }}</el-col>
<el-col :span="4">
<span>版本</span>
</el-col>
<el-col :span="8">
<el-form-item prop="vehicleVersion">
<span>{{temp.vehicleVersion}}</span>
</el-form-item>
</el-col>
<el-col :span="4">
<span>燃料</span>
</el-col>
<el-col :span="8">
<el-form-item prop="fuelType">
<span>{{temp.fuelType}}</span>
</el-form-item>
</el-col>
</el-row>
<el-row>
<el-col :span="4" class="trightb">排放标准</el-col>
<el-col :span="8"> {{ temp.emissionStandardValue }}</el-col>
<el-col :span="4" class="trightb">产品线</el-col>
<el-col :span="8" class="tleft"> {{ temp.productLineValue }}</el-col>
<el-col :span="4">
<span>变速箱</span>
</el-col>
<el-col :span="8">
<el-form-item prop="gearboxType">
<span>{{temp.gearboxType}}</span>
</el-form-item>
</el-col>
<el-col :span="4">
<span>排放标准</span>
</el-col>
<el-col :span="8">
<el-form-item prop="emissionStandard">
<span>{{temp.emissionStandard}}</span>
</el-form-item>
</el-col>
</el-row>
<el-row>
<el-col :span="4" class="trightb">驱动</el-col>
<el-col :span="8"> {{ temp.driveFormValue }}</el-col>
<el-col :span="4" class="trightb">马力</el-col>
<el-col :span="8" class="tleft"> {{ temp.powerValue }}</el-col>
<el-col :span="4">
<span>发动机型号</span>
</el-col>
<el-col :span="8">
<el-form-item prop="engineType">
<span>{{temp.engineType}}</span>
</el-form-item>
</el-col>
<el-col :span="4">
<span>细分市场</span>
</el-col>
<el-col :span="8">
<el-form-item prop="marketSegments">
<span>{{temp.marketSegments}}</span>
</el-form-item>
</el-col>
</el-row>
<el-row>
<el-col :span="4" class="trightb">变速箱</el-col>
<el-col :span="8"> {{ temp.gearboxTypeValue }}</el-col>
<el-col :span="4" class="trightb">燃料</el-col>
<el-col :span="8" class="tleft"> {{ temp.fuelTypeValue }}</el-col>
<el-col :span="4">
<span>规格型号</span>
</el-col>
<el-col :span="8">
<el-form-item prop="specifications">
<span>{{temp.specifications}}</span>
</el-form-item>
</el-col>
<el-col :span="4">
<span>系别</span> <!--???-->
</el-col>
<el-col :span="8">
<el-form-item prop="series">
<span>{{temp.series}}</span>
</el-form-item>
</el-col>
</el-row>
<el-row>
<el-col :span="4" class="trightb">版本</el-col>
<el-col :span="8"> {{ temp.vehicleVersionValue }}</el-col>
<el-col :span="4" class="trightb">车型名称</el-col>
<el-col :span="8" class="tleft"> {{ temp.modelName }}</el-col>
</el-row>
<el-row>
<el-col :span="4" class="trightb">发动机型号</el-col>
<el-col :span="8"> {{ temp.engineTypeValue }}</el-col>
<el-col :span="4" class="trightb">系别</el-col>
<el-col :span="8" class="tleft"> {{ temp.seriesValue }}</el-col>
</el-row>
<el-row>
<el-col :span="4" class="trightb">悬架</el-col>
<el-col :span="8"> {{ temp.suspensionValue }}</el-col>
<el-col :span="4" class="trightb">后桥</el-col>
<el-col :span="8" class="tleft"> {{ temp.rearAxleValue }}</el-col>
</el-row>
<el-row>
<el-col :span="4" class="trightb">速比</el-col>
<el-col :span="8"> {{ temp.speedRatioValue }}</el-col>
<el-col :span="4" class="trightb">轴距</el-col>
<el-col :span="8" class="tleft"> {{ temp.wheelbase }}</el-col>
</el-row>
<el-row>
<el-col :span="4" class="trightb">轮胎规格</el-col>
<el-col :span="8"> {{ temp.tyreSpecification }}</el-col>
<el-col :span="4" class="trightb">是否有效</el-col>
<el-col :span="8" class="tleft"> {{ temp.isValidity === '1' ? '是' : '否'}}</el-col>
</el-row>
<el-row>
<el-col :span="4" class="trightb">使用组织</el-col>
<el-col :span="8"> {{ temp.useOrgName }}</el-col>
<el-col :span="4" class="trightb">创建组织</el-col>
<el-col :span="8"> {{ temp.createOrg }}</el-col>
</el-row>
<el-row>
<el-col :span="4" class="trightb">是否可以删除</el-col>
<el-col :span="8"> {{ templook.isDel==1?'是':'否' }}</el-col>
<el-col :span="4">
<span>内部编码</span> <!--???-->
</el-col>
<el-col :span="8">
<el-form-item prop="carColor">
<span>{{temp.carColor}}</span>
</el-form-item>
</el-col>
<el-col :span="4">
<span>货箱</span> <!--???-->
</el-col>
<el-col :span="8">
<el-form-item prop="slowMachine">
<span>{{temp.slowMachine}}</span>
</el-form-item>
</el-col>
</el-row>
<div class="addtable">
<div class="tabletitle">
<div class="titlename">
常用配置列表
</div>
</div>
<template class="tablelist">
<el-table
:data="temp.list"
:index="index"
border
style="width: 100%"
>
<el-table-column
align="center"
label="序号"
type="index"
width="50"
/>
<el-table-column prop="mNum" width="150" label="指导价" align="center">
<template slot-scope="props">
<span>{{props.row.price}}</span>
</template>
</el-table-column>
<el-table-column prop="mName" width="150" label="颜色" align="center">
<template slot-scope="props">
<span>{{props.row.carColor}}</span>
</template>
</el-table-column>
<el-table-column prop="model" width="150" label="缓速器" align="center">
<template slot-scope="props">
<span>{{props.row.slowMachine}}</span>
</template>
</el-table-column>
<el-table-column prop="year" width="95" label="后视镜" align="center">
<template slot-scope="props">
<span>{{props.row.rearViewMirror}}</span>
</template>
</el-table-column>
<el-table-column prop="logisticsCustomer" width="95" label="轮胎" align="center">
<template slot-scope="props">
<span>{{props.row.tireSize}}</span>
</template>
</el-table-column>
<el-table-column prop="company" width="150" label="驾驶室" align="center">
<template slot-scope="props">
<span>{{props.row.specification}}</span>
</template>
</el-table-column>
<el-table-column prop="netReceiptsNum" width="150" label="后桥速比" align="center">
<template slot-scope="props">
<span>{{props.row.rearAxleRatio}}</span>
</template>
</el-table-column>
<el-table-column prop="receivingWarehouse" width="150" label="空调" align="center">
<template slot-scope="props">
<span>{{props.row.airConditioner}}</span>
</template>
</el-table-column>
<el-table-column prop="position" width="150" label="轮毂材质" align="center">
<template slot-scope="props">
<span>{{props.row.hubMaterial}}</span>
</template>
</el-table-column>
<el-table-column prop="batchNum" width="150" label="导流罩" align="center">
<template slot-scope="props">
<span>{{props.row.baffleModel}}</span>
</template>
</el-table-column>
<el-table-column prop="cargoOwner" width="120" label="悬架" align="center">
<template slot-scope="props">
<span>{{props.row.suspension}}</span>
</template>
</el-table-column>
<el-table-column prop="remarks" width="150" label="座椅" align="center">
<template slot-scope="props">
<span>{{props.row.seat}}</span>
</template>
</el-table-column>
<el-table-column prop="remarks" width="150" label="护轮罩" align="center">
<template slot-scope="props">
<span>{{props.row.tireCover}}</span>
</template>
</el-table-column>
<el-table-column prop="remarks" width="150" label="鞍座" align="center">
<template slot-scope="props">
<span>{{props.row.saddle}}</span>
</template>
</el-table-column>
<el-table-column prop="remarks" width="150" label="轴距" align="center">
<template slot-scope="props">
<span>{{props.row.wheelbase}}</span>
</template>
</el-table-column>
<el-table-column prop="remarks" width="150" label="保险杠" align="center">
<template slot-scope="props">
<span>{{props.row.bumper}}</span>
</template>
</el-table-column>
<el-table-column prop="remarks" width="150" label="配置包" align="center">
<template slot-scope="props">
<span>{{props.row.configuringBao}}</span>
</template>
</el-table-column>
<el-table-column prop="remarks" width="150" label="独立热源" align="center">
<template slot-scope="props">
<span>{{props.row.independentSources}}</span>
</template>
</el-table-column>
<el-table-column prop="remarks" width="150" label="燃料箱" align="center">
<template slot-scope="props">
<span>{{props.row.fuelTank}}</span>
</template>
</el-table-column>
<el-table-column prop="remarks" width="150" label="多媒体" align="center">
<template slot-scope="props">
<span>{{props.row.multimedia}}</span>
</template>
</el-table-column>
</el-table>
</template>
</div>
</el-form>
</div>
</div>
@ -99,59 +283,25 @@
<script>
import { mapGetters } from 'vuex'
import { details } from '@/api/cheliang/basevehiclemodel'
import { typeValues } from '@/api/cheliang/dictcommons'
// import { getFileType, parseDate, parseTime, ConvertMenuState } from "@/utils";
// import { findButtonByUserId } from '@/api/sys/permission'
export default {
name: 'PinpaiAdd',
name: 'chexinglook',
// components: { },
data() {
return {
// ---------
menuState: {
add: false, //
edit: false, //
delete: false, //
view: false, //
audit: false, //
input: false, //
output: false, //
upload: false, //
release: false //
},
FormLoading: false,
index: 0,
listLoading: false,
temp: {}, //
templook: {}, //
templook: { titlea: '00000112' }, //
textMap: {
update: '修改',
create: '创建'
},
facturer: [],
Brand: [],
vehicleType: 'vehicleType',
cleType: [],
emissionStandard: 'emissionStandard',
Standard: [],
productLine: 'productLine',
ctLine: [],
suspension: 'suspension',
pension: [],
rearAxle: 'rearAxle',
Axle: [],
speedRatio: 'speedRatio',
Ratio: [],
series: 'series',
opseries: [],
tempDate: {},
dialogFormVisible: false, //
dialogFormShowVisible: false, //
dialogStatus: '', //
fenzuOptions: [],
rules: {
title: [{ required: true, message: '请填写', trigger: 'blur' }],
qc: [{ required: true, message: '请填写', trigger: 'blur' }]
}
fenzuOptions: []
// ------------------------------------
}
},
@ -165,65 +315,47 @@
])
},
created() {
// this.tempDate.sid = this.$route.query.sid
// console.log('8899988', this.tempDate.sid)
//
// this.init()
//
// this.getList()
//
// this.handleUpdate()
},
methods: {
showInfo(sid, row) {
console.log('详情页面', sid, row)
details(sid).then(resp => {
const data = resp.data
this.temp = data
}).catch(e => {
this.temp = row
})
init() {
},
formatstate(row, column, cellValue, index) {
var state = ''
switch (row.state) {
case 1:
state = '是'
break
case 2:
state = '否'
break
}
return state
},
// init() {
// console.log(777777777, this.tempDate.sid)
// details(this.tempDate.sid).then((response) => {
// console.log('0000000000000')
// if (response.code === '200') {
// this.temp = response.data
// console.log(this.temp, 555555555555)
// }
// })
// },
// ------------------------------------------------------
// --------------------------------------------------------------------
//
handleReturn() {
this.temp = {}
this.$emit('doback')
// this.$router.go(-1)
},
//
resetTemp() {
this.temp = {
jc: '', // false string
organizationId: '', // false string
qc: '', // false string
remark: '', // false
string: '', //
state: '' //
}
this.temp = {}
},
//
showInfo(sid, row) {
details(sid).then((response) => {
this.FormLoading = false
if (response.success) {
this.temp = response.data
}
}).catch(() => {
})
}
}
}
</script>
<style scoped>
/deep/ .el-col-4 {
text-align: right;
float: left;
font-size: 14px;
color: #606266;
line-height: 40px !important;
font-weight: 600;
}
</style>

481
anrui-scm/anrui-scm-ui/src/views/cheliang/chexing/chexingpeizhi.vue

@ -1,481 +0,0 @@
<template>
<div class="app-container">
<!-- Start 简述配置页面 -->
<div class="tab-header webtop">
<div>车型简述配置</div>
<div>
<el-button type="primary" size="medium" @click="handleChange()">选择简述配置</el-button>
<el-button type="primary" size="small" @click="handleUpdate()">修改</el-button>
<el-button type="danger" size="small" @click="handleDelete()">删除</el-button>
<el-button type="info" size="small" @click="handleReturn()">返回</el-button>
<!-- <el-button type="primary" size="small" @click="handleDaoRu()">导入</el-button> -->
<!-- <el-button type="success" size="small" @click="handleDaoChu()">导出</el-button>-->
</div>
<!-- Start 选择简述配置-->
<el-dialog :title="dialogTitle" :visible.sync="dialogFormVisible">
<div class="poptitle">
<div class="conter_title">车型简述配置</div>
<div class="conter_content" style="flex: 7"> <!--Vehicle configuration-->
<el-select v-model="vehicleLst.vehicleCode" multiple placeholder="请选择" clearable>
<el-option
v-for="item in vehicle_list"
:key="item.sid"
:label="item.vehicleCode"
:value="item.sid">
</el-option>
</el-select>
</div>
</div>
<div class="poptitle">
<div class="conter_title">厂家结算价</div>
<div class="conter_content" style="flex: 7">
<el-input v-model="list.manufactorSettlementPrice" maxlength="11" placeholder="" class="addinputw"
clearable/>
</div>
</div>
<div class="poptitle">
<div class="conter_title">销售参考价</div>
<div class="conter_content" style="flex: 7">
<el-input v-model="list.salesReferencePrice" maxlength="11" placeholder="" class="addinputw" clearable/>
</div>
</div>
<div class="poptitle">
<div class="conter_title">价格有效期</div>
<div class="conter_content" style="flex: 7">
<el-input v-model="list.priceValidity" maxlength="11" placeholder="" class="addinputw" clearable/>
</div>
</div>
<div slot="footer" class="dialog-footer">
<el-button @click="dialogFormVisible = false"> </el-button>
<el-button type="primary" @click="dialogFormVisible = false"> </el-button>
</div>
</el-dialog>
<!-- End 选择简述配置-->
<!-- Start 修改简述配置-->
<!-- <div>-->
<!-- &lt;!&ndash; <el-dialog title="修改简述配置" :visible.sync="dialogFormUpdate">&ndash;&gt;-->
<!-- &lt;!&ndash; <div class="poptitle">&ndash;&gt;-->
<!-- &lt;!&ndash; <div class="conter_title">车型简述配置</div>&ndash;&gt;-->
<!-- &lt;!&ndash; <div class="conter_content" style="flex: 7"> &lt;!&ndash;Vehicle configuration&ndash;&gt;&ndash;&gt;-->
<!-- &lt;!&ndash; <el-select v-model="vehicleLst.vehicleCode" multiple placeholder="请选择" clearable>&ndash;&gt;-->
<!-- &lt;!&ndash; <el-option&ndash;&gt;-->
<!-- &lt;!&ndash; v-for="item in vehicle_list"&ndash;&gt;-->
<!-- &lt;!&ndash; :key="item.sid"&ndash;&gt;-->
<!-- &lt;!&ndash; :label="item.vehicleCode"&ndash;&gt;-->
<!-- &lt;!&ndash; :value="item.sid">&ndash;&gt;-->
<!-- &lt;!&ndash; </el-option>&ndash;&gt;-->
<!-- &lt;!&ndash; </el-select>&ndash;&gt;-->
<!-- &lt;!&ndash; </div>&ndash;&gt;-->
<!-- &lt;!&ndash; </div>&ndash;&gt;-->
<!-- &lt;!&ndash; <div class="poptitle">&ndash;&gt;-->
<!-- &lt;!&ndash; <div class="conter_title">厂家结算价</div>&ndash;&gt;-->
<!-- &lt;!&ndash; <div class="conter_content" style="flex: 7">&ndash;&gt;-->
<!-- &lt;!&ndash; <el-input v-model="list.manufactorSettlementPrice" maxlength="11" placeholder="" class="addinputw"&ndash;&gt;-->
<!-- &lt;!&ndash; clearable/>&ndash;&gt;-->
<!-- &lt;!&ndash; </div>&ndash;&gt;-->
<!-- &lt;!&ndash; </div>&ndash;&gt;-->
<!-- &lt;!&ndash; <div class="poptitle">&ndash;&gt;-->
<!-- &lt;!&ndash; <div class="conter_title">销售参考价</div>&ndash;&gt;-->
<!-- &lt;!&ndash; <div class="conter_content" style="flex: 7">&ndash;&gt;-->
<!-- &lt;!&ndash; <el-input v-model="list.salesReferencePrice" maxlength="11" placeholder="" class="addinputw" clearable/>&ndash;&gt;-->
<!-- &lt;!&ndash; </div>&ndash;&gt;-->
<!-- &lt;!&ndash; </div>&ndash;&gt;-->
<!-- &lt;!&ndash; <div class="poptitle">&ndash;&gt;-->
<!-- &lt;!&ndash; <div class="conter_title">价格有效期</div>&ndash;&gt;-->
<!-- &lt;!&ndash; <div class="conter_content" style="flex: 7">&ndash;&gt;-->
<!-- &lt;!&ndash; <el-input v-model="list.priceValidity" maxlength="11" placeholder="" class="addinputw" clearable/>&ndash;&gt;-->
<!-- &lt;!&ndash; </div>&ndash;&gt;-->
<!-- &lt;!&ndash; </div>&ndash;&gt;-->
<!-- &lt;!&ndash; <div slot="footer" class="dialog-footer">&ndash;&gt;-->
<!-- &lt;!&ndash; <el-button @click="dialogFormUpdate = false"> </el-button>&ndash;&gt;-->
<!-- &lt;!&ndash; <el-button type="primary" @click="dialogFormUpdate = false"> </el-button>&ndash;&gt;-->
<!-- &lt;!&ndash; </div>&ndash;&gt;-->
<!-- &lt;!&ndash; </el-dialog>&ndash;&gt;-->
<!-- </div>-->
<!-- &lt;!&ndash; End 修改简述配置&ndash;&gt;-->
</div>
<div class="searchcon">
<el-button size="small" class="searchbtn" @click="clicksearchShow">{{ searchxianshitit }}</el-button>
<div v-show="isSearchShow" class="search">
<el-form ref="listQueryform" :inline="true" :model="listQuery" label-width="100px" class="tab-header">
<el-form-item label="整车编码">
<el-input v-model="listQuery.params.vehicleCode" placeholder="请输入整车编码" clearable class="filter-item"/>
</el-form-item>
<el-form-item label="驾驶室">
<el-input v-model="listQuery.params.specification" placeholder="请输入驾驶室" clearable class="filter-item"/>
</el-form-item>
<el-form-item label="鞍座">
<el-input v-model="listQuery.params.saddle" placeholder="请输入鞍座" clearable class="filter-item"/>
</el-form-item>
<el-button type="primary" @click="handleFilter">查询</el-button>
</el-form>
</div>
</div>
<div class="listtop">
<div class="tit">车型信息列表</div>
<pageye v-show="total>0" :total="total" :page.sync="listQuery.current" :limit.sync="listQuery.size"
class="pagination" @pagination="getList"/>
</div>
<div class="">
<el-table :key="tableKey" v-loading="listLoading" :data="list" border style="width: 100%;"
@selection-change="handleSelectionChange">
<el-table-column width="50px" type="selection" align="center"/>
<el-table-column width="80px" label="序号" type="index" :index="indexMethod" align="center"/>
<el-table-column label="整车编码" align="center">
<template slot-scope="scope">
<span>{{ scope.row.vehicleCode }}</span>
</template>
</el-table-column>
<el-table-column label="油箱/气罐" align="center">
<template slot-scope="scope">
<span>{{ scope.row.fuelTank }}</span>
</template>
</el-table-column>
<el-table-column label="车身颜色" align="center">
<template slot-scope="scope">
<span>{{ scope.row.carColor }}</span>
</template>
</el-table-column>
<el-table-column label="驾驶室" align="center">
<template slot-scope="scope">
<span>{{ scope.row.specification }}</span>
</template>
</el-table-column>
<el-table-column label="导流罩" align="center">
<template slot-scope="scope">
<span>{{ scope.row.baffleModel }}</span>
</template>
</el-table-column>
<el-table-column label="独立热源" align="center">
<template slot-scope="scope">
<span>{{ scope.row.independentSources }}</span>
</template>
</el-table-column>
<el-table-column label="护轮罩" align="center">
<template slot-scope="scope">
<span>{{ scope.row.tireCover }}</span>
</template>
</el-table-column>
<el-table-column label="鞍座" align="center">
<template slot-scope="scope">
<span>{{ scope.row.saddle }}</span>
</template>
</el-table-column>
<el-table-column label="空调" align="center">
<template slot-scope="scope">
<span>{{ scope.row.airConditioner }}</span>
</template>
</el-table-column>
<el-table-column label="备注" align="center">
<template slot-scope="scope">
<span>{{ scope.row.otherConfig }}</span>
</template>
</el-table-column>
<el-table-column label="其他配置" align="center">
<template slot-scope="scope">
<span>{{ scope.row.otherConfig }}</span>
</template>
</el-table-column>
<el-table-column label="操作" align="center" width="80px" class-name="small-padding fixed-width">
<template slot-scope="{row}">
<el-button size="mini" type="primary" @click="handleCheck(row)">查看</el-button>
</template>
</el-table-column>
</el-table>
</div>
<div class="pages">
<!-- 翻页 -->
<pagination v-show="total>0"
:total="total"
:page.sync="listQuery.current"
:limit.sync="listQuery.size"
class="pagination"
@pagination="getList"/>
</div>
</div>
<!-- End 简述配置页面 -->
</template>
<script>
import { mapGetters } from 'vuex'
import {
getCheXing,
pagerList
} from '@/api/cheliang/basevehiclecol'
import { setMIng, getMIng, getCHeap, setCHeap } from '@/utils/baocun'
import Pagination from '@/components/pagination'
import pageye from '@/components/pagination/pageye'
export default {
name: 'chexingpeizhi',
components: {
Pagination,
pageye
},
data() {
return {
viewState: 1,
isSearchShow: false,
dialogFormVisible: false, //
// dialogFormUpdate: false, //
dialogTitle: '',
searchxianshitit: '显示查询条件',
// ---------
// menuState: {
// add: false, //
// edit: false, //
// delete: false, //
// view: false, //
// audit: false, //
// input: false, //
// output: false, //
// upload: false, //
// release: false //
// },
// -----------
tableKey: 0,
// list: null,
vehicle_list: [], //
list: [],
vehicleLst: [], //
namesArr: '',
vehicleSid: '',
total: 1,
FormLoading: false,
listLoading: false,
listQuery: {
params: {
modelSid: '',
vehicleCode: '',
specification: '',
saddle: '',
vehicleSid: ''
},
current: 1,
size: 20
},
selectDate: undefined,
temp: {}, //
templook: {}, //
textMap: {
update: '编辑',
create: '创建'
},
sids: [],
names: '', // [ {{names}} ]
chesid: '',
// dialogFormChange: false, //
dialogFormShowVisible: false, //
dialogStatus: '', //
typeOptions: []
// ------------------------------------
}
},
computed: {
...mapGetters([
'id',
'roles',
'rolesIds',
'departmentId',
'departmentCode'
])
},
created() {
this.getList() //
this.getCheXing()
},
methods: {
//
clicksearchShow() {
this.isSearchShow = !this.isSearchShow
if (this.isSearchShow) {
this.searchxianshitit = '隐藏查询条件'
} else {
this.searchxianshitit = '显示查询条件'
}
},
//
showPei(modelSid) {
this.listQuery.params.modelSid = modelSid
console.log('这里是获取到的车型sid', modelSid)
},
//
getCheXing() {
getCheXing({}).then((res) => {
if (res.code === '200') {
this.vehicle_list = res.data
}
})
},
//
indexMethod(index) {
var pagestart = (this.listQuery.current - 1) * this.listQuery.size
var pageindex = index + 1 + pagestart
return pageindex
},
//
handleSelectionChange(row) {
const aa = []
row.forEach((element) => {
aa.push(element.sid)
})
this.sids = aa
},
//
handleReturn() {
this.$emit('doback')
// this.temp = {}
// this.$router.go(-1)
},
// --------------------------------------------------------
//
resetTemp() {
this.temp = {}
},
//
getList() {
this.listLoading = true
pagerList(this.listQuery).then((response) => {
this.listLoading = false
console.log('列表查询', response)
// if (
// response.code === '200' &&
// response.data &&
// response.data.total > 0
// ) {
// this.list = response.data.records
// this.total = response.data.total
// } else {
// this.list = []
// this.total = 0
// }
})
},
//
handleFilter() {
this.listQuery.current = 1
this.getList()
},
//
handleChange() {
this.dialogFormVisible = true
this.dialogTitle = '选择车型简述配置'
},
//
handleUpdate() {
if (this.sids.length === 1) {
// const sid = this.sids[0]
this.dialogFormVisible = true
this.dialogTitle = '修改车型简述配置'
// this.$router.push({
// path: `/cheliang/chexingpeizhiAdd/${this.sids[0]}`
// })
} else if (this.sids.length > 1) {
this.$notify({
title: '提示',
message: '不能选中多个车型配置修改!!',
type: 'info',
duration: 2000
})
} else {
this.$notify({
title: '提示',
message: '没有选择车型配置!!',
type: 'error',
duration: 2000
})
return
}
},
//
handleCheck(row) {
console.log('111', row)
this.viewState = 4
const sid = row.sid
this.$refs['divinfo'].showInfo(sid, row)
// this.$router.push({
// path: '/cheliang/chexingpeizhiInfo',
// query: {
// sid: row.sid
// }
// })
},
// ID
handleDelete() {
if (this.sids.length > 0) {
// deleteBySids(this.sids).then((response) => {
// if (response.code === '200') {
// this.$notify({
// title: '',
// message: '',
// type: 'success',
// duration: 2000
// })
// this.getList()
// } else {
// this.$notify({
// title: '',
// message: response.msg,
// type: 'error'
// })
// }
// })
} else {
this.$notify({
title: '提示',
message: '没有选择车型配置!!',
type: 'error',
duration: 2000
})
return
}
},
//
handleDaoChu() {
this.$confirm('确定要导出数据, 是否继续?', '提示', {
confirmButtonText: '确定',
cancelButtonText: '取消',
type: 'warning'
})
}
}
}
</script>
<style scoped lang="scss">
.poptitle {
width: 97%;
height: auto;
/*height: 50px;*/
line-height: 50px;
display: flex;
.conter_title {
/*flex: 1;*/
height: 50px;
width: 16%;
text-align: right;
line-height: 50px;
font-size: 18px;
}
.conter_content {
margin-left: 14px;
/*flex: 8;*/
.el-select {
/*height: auto;*/
width: 50%;
}
.addinputw {
width: 50%;
}
}
}
</style>

904
anrui-scm/anrui-scm-ui/src/views/cheliang/chexing/relation/changyongpeizhi.vue

@ -0,0 +1,904 @@
<template>
<div class="app-container">
<!--Start 列表页面-->
<div v-show="pageState === 3">
<div class="tab-header webtop">
<div>常用配置管理</div>
<div>
<el-button type="primary" size="small" @click="handleCreate()">新增</el-button>
<el-button type="primary" size="small" @click="handleConfirm()">确认</el-button>
<el-button type="info" size="small" @click="handleReturn()">返回</el-button>
</div>
</div>
<div class="searchcon">
<el-button size="small" class="searchbtn" @click="clicksearchShow">{{ searchxianshitit }}</el-button>
<div v-show="isSearchShow" class="search">
<el-form ref="listQueryform" :inline="true" :model="listQuery" label-width="100px" class="tab-header">
<el-form-item label="车身颜色">
<el-select
v-model="listQuery.params.carColorKey"
placeholder="请选择"
clearable
class="addinputw"
>
<el-option
v-for="item in carColor_list"
:key="item.dictKey"
:label="item.dictValue"
:value="item.dictKey"
/>
</el-select>
</el-form-item>
<el-form-item label="缓速器">
<el-select
v-model="listQuery.params.slowMachineKey"
placeholder="请选择"
clearable
class="addinputw"
>
<el-option
v-for="item in slowMachine_list"
:key="item.dictKey"
:label="item.dictValue"
:value="item.dictKey"
/>
</el-select>
</el-form-item>
<el-form-item label="后视镜">
<el-select
v-model="listQuery.params.rearViewMirrorKey"
placeholder="请选择"
clearable
class="addinputw"
>
<el-option
v-for="item in rearViewMirror_list"
:key="item.dictKey"
:label="item.dictValue"
:value="item.dictKey"
/>
</el-select>
</el-form-item>
<el-form-item label="轮胎规格">
<el-select
v-model="listQuery.params.tireSizeKey"
placeholder="请选择"
clearable
class="addinputw"
>
<el-option
v-for="item in tireSize_list"
:key="item.dictKey"
:label="item.dictValue"
:value="item.dictKey"
/>
</el-select>
</el-form-item>
<el-form-item label="驾驶室">
<el-select
v-model="listQuery.params.specificationKey"
placeholder="请选择"
clearable
class="addinputw"
>
<el-option
v-for="item in specification_list"
:key="item.dictKey"
:label="item.dictValue"
:value="item.dictKey"
/>
</el-select>
</el-form-item>
<el-form-item label="后桥速比">
<el-select
v-model="listQuery.params.rearAxleRatioKey"
placeholder="请选择"
clearable
class="addinputw"
>
<el-option
v-for="item in rearAxleRatio_list"
:key="item.dictKey"
:label="item.dictValue"
:value="item.dictKey"
/>
</el-select>
</el-form-item>
<el-form-item label="空调">
<el-select
v-model="listQuery.params.airConditionerKey"
placeholder="请选择"
clearable
class="addinputw"
>
<el-option
v-for="item in airConditioner_list"
:key="item.dictKey"
:label="item.dictValue"
:value="item.dictKey"
/>
</el-select>
</el-form-item>
<el-form-item label="轮毂材质">
<el-select
v-model="listQuery.params.hubMaterialKey"
placeholder="请选择"
clearable
class="addinputw"
>
<el-option
v-for="item in hubMaterial_list"
:key="item.dictKey"
:label="item.dictValue"
:value="item.dictKey"
/>
</el-select>
</el-form-item>
<el-form-item label="导流罩">
<el-select
v-model="listQuery.params.baffleModelKey"
placeholder="请选择"
clearable
class="addinputw"
>
<el-option
v-for="item in baffleModel_list"
:key="item.dictKey"
:label="item.dictValue"
:value="item.dictKey"
/>
</el-select>
</el-form-item>
<el-form-item label="悬架">
<el-select
v-model="listQuery.params.suspensionKey"
placeholder="请选择"
clearable
class="addinputw"
>
<el-option
v-for="item in suspension_list"
:key="item.dictKey"
:label="item.dictValue"
:value="item.dictKey"
/>
</el-select>
</el-form-item>
<el-form-item label="座椅">
<el-select
v-model="listQuery.params.seatKey"
placeholder="请选择"
clearable
class="addinputw"
>
<el-option
v-for="item in seat_list"
:key="item.dictKey"
:label="item.dictValue"
:value="item.dictKey"
/>
</el-select>
</el-form-item>
<el-form-item label="护轮罩">
<el-select
v-model="listQuery.params.tireCoverKey"
placeholder="请选择"
clearable
class="addinputw"
>
<el-option
v-for="item in tireCover_list"
:key="item.dictKey"
:label="item.dictValue"
:value="item.dictKey"
/>
</el-select>
</el-form-item>
<el-form-item label="鞍座">
<el-select
v-model="listQuery.params.saddleKey"
placeholder="请选择"
clearable
class="addinputw"
>
<el-option
v-for="item in saddle_list"
:key="item.dictKey"
:label="item.dictValue"
:value="item.dictKey"
/>
</el-select>
</el-form-item>
<el-form-item label="轴距">
<el-select
v-model="listQuery.params.wheelbaseKey"
placeholder="请选择"
clearable
class="addinputw"
>
<el-option
v-for="item in wheelbase_list"
:key="item.dictKey"
:label="item.dictValue"
:value="item.dictKey"
/>
</el-select>
</el-form-item>
<el-form-item label="保险杠">
<el-select
v-model="listQuery.params.bumperKey"
placeholder="请选择"
clearable
class="addinputw"
>
<el-option
v-for="item in bumper_list"
:key="item.dictKey"
:label="item.dictValue"
:value="item.dictKey"
/>
</el-select>
</el-form-item>
<el-form-item label="配置包">
<el-select
v-model="listQuery.params.configuringBaoKey"
placeholder="请选择"
clearable
class="addinputw"
>
<el-option
v-for="item in configuringBao_list"
:key="item.dictKey"
:label="item.dictValue"
:value="item.dictKey"
/>
</el-select>
</el-form-item>
<el-form-item label="独立热源">
<el-select
v-model="listQuery.params.independentSourcesKey"
placeholder="请选择"
clearable
class="addinputw"
>
<el-option
v-for="item in independentSources_list"
:key="item.dictKey"
:label="item.dictValue"
:value="item.dictKey"
/>
</el-select>
</el-form-item>
<el-form-item label="油箱/气罐">
<el-select
v-model="listQuery.params.fuelTankKey"
placeholder="请选择"
clearable
class="addinputw"
>
<el-option
v-for="item in fuelTank_list"
:key="item.dictKey"
:label="item.dictValue"
:value="item.dictKey"
/>
</el-select>
</el-form-item>
<el-form-item label="多媒体">
<el-select
v-model="listQuery.params.multimediaKey"
placeholder="请选择"
clearable
class="addinputw"
>
<el-option
v-for="item in multimedia_list"
:key="item.dictKey"
:label="item.dictValue"
:value="item.dictKey"
/>
</el-select>
</el-form-item>
<el-form-item label="常用配置名称">
<el-input v-model="listQuery.params.otherConfig" maxlength="125" placeholder="请输入常用配置名称" class="addinputw"
clearable/>
</el-form-item>
<el-divider/>
<div class="btn" style="text-align: center;">
<el-button type="primary" @click="handleFilter">查询</el-button>
<el-button type="primary" @click="resetQuery">重置</el-button>
</div>
</el-form>
</div>
</div>
<div class="listtop">
<div class="tit">常用配置列表</div>
<pageye v-show="total>0" :total="total" :page.sync="listQuery.current" :limit.sync="listQuery.size"
class="pagination" @pagination="getList"/>
</div>
<div class="">
<el-table :key="tableKey" v-loading="listLoading" :data="list" border style="width: 100%;"
@selection-change="handleSelectionChange">
<el-table-column width="50px" type="selection" align="center"/>
<el-table-column width="80px" label="序号" type="index" :index="indexMethod" align="center"/>
<el-table-column label="颜色" align="center">
<template slot-scope="scope">
<span>{{ scope.row.carColor }}</span>
</template>
</el-table-column>
<el-table-column label="缓速器" align="center">
<template slot-scope="scope">
<span>{{ scope.row.slowMachine }}</span>
</template>
</el-table-column>
<el-table-column label="后视镜" align="center">
<template slot-scope="scope">
<span>{{ scope.row.rearViewMirror }}</span>
</template>
</el-table-column>
<el-table-column label="轮胎" align="center">
<template slot-scope="scope">
<span>{{ scope.row.tireSize }}</span>
</template>
</el-table-column>
<el-table-column label="驾驶室" align="center">
<template slot-scope="scope">
<span>{{ scope.row.specification }}</span>
</template>
</el-table-column>
<el-table-column label="后桥速比" align="center">
<template slot-scope="scope">
<span>{{ scope.row.rearAxleRatio }}</span>
</template>
</el-table-column>
<el-table-column label="空调" align="center">
<template slot-scope="scope">
<span>{{ scope.row.airConditioner }}</span>
</template>
</el-table-column>
<el-table-column label="轮毂材质" align="center">
<template slot-scope="scope">
<span>{{ scope.row.hubMaterial }}</span>
</template>
</el-table-column>
<el-table-column label="导流罩" align="center">
<template slot-scope="scope">
<span>{{ scope.row.baffleModel }}</span>
</template>
</el-table-column>
<el-table-column label="悬架" align="center">
<template slot-scope="scope">
<span>{{ scope.row.suspension }}</span>
</template>
</el-table-column>
<el-table-column label="座椅" align="center">
<template slot-scope="scope">
<span>{{ scope.row.seat }}</span>
</template>
</el-table-column>
<el-table-column label="护轮罩" align="center">
<template slot-scope="scope">
<span>{{ scope.row.tireCover }}</span>
</template>
</el-table-column>
<el-table-column label="鞍座" align="center">
<template slot-scope="scope">
<span>{{ scope.row.saddle }}</span>
</template>
</el-table-column>
<el-table-column label="轴距" align="center">
<template slot-scope="scope">
<span>{{ scope.row.wheelbase }}</span>
</template>
</el-table-column>
<el-table-column label="保险杠" align="center">
<template slot-scope="scope">
<span>{{ scope.row.bumper }}</span>
</template>
</el-table-column>
<el-table-column label="配置包" align="center">
<template slot-scope="scope">
<span>{{ scope.row.configuringBao }}</span>
</template>
</el-table-column>
<el-table-column label="独立热源" align="center">
<template slot-scope="scope">
<span>{{ scope.row.independentSources }}</span>
</template>
</el-table-column>
<el-table-column label="燃料箱" align="center">
<template slot-scope="scope">
<span>{{ scope.row.fuelTank }}</span>
</template>
</el-table-column>
<el-table-column label="多媒体" align="center">
<template slot-scope="scope">
<span>{{ scope.row.multimedia }}</span>
</template>
</el-table-column>
</el-table>
</div>
<div class="pages">
<!-- 翻页 -->
<pagination v-show="total>0" :total="total" :page.sync="listQuery.current" :limit.sync="listQuery.size"
class="pagination" @pagination="getList"/>
</div>
</div>
<!--End 列表页面-->
<changyongpeizhi-add v-show="pageState == 4" ref="divadd" @doback="resetState" @reloadlist="getList"/>
</div>
</template>
<script>
import { mapGetters } from 'vuex'
import { pagerList, deleteBySids, pullDown } from '@/api/cheliang/basemodelconfig'
import Pagination from '@/components/pagination'
import pageye from '@/components/pagination/pageye'
import changyongpeizhiAdd from '../../chexingpeizhi/changyongpeizhiAdd'
export default {
name: 'changyongpeizhiguanlian',
components: {
Pagination,
pageye,
changyongpeizhiAdd
},
data() {
return {
pageState: 3,
isSearchShow: false,
searchxianshitit: '显示查询条件',
// ---------
menuState: {
add: false, //
edit: false, //
delete: false, //
view: false, //
audit: false, //
input: false, //
output: false, //
upload: false, //
release: false //
},
// -----------
tableKey: 0,
// list: null,
list: [],
namesArr: '',
vehicleSid: '',
total: 1,
FormLoading: false,
listLoading: false,
listQuery: {
params: {
airConditioner: '', //
airConditionerKey: '', // key
baffleModel: '', //
bumper: '', //
bumperKey: '', // key
carColor: '', //
carColorKey: '', // key
configuringBao: '', //
configuringBaoKey: '', // key
fuelTank: '', // /
fuelTankKey: '', // /key
hubMaterial: '', //
hubMaterialKey: '', // key
independentSources: '', //
independentSourcesKey: '', // key(10)
multimedia: '', //
otherConfig: '', //
rearAxleRatio: '', //
rearAxleRatioKey: '', // key
rearViewMirror: '', //
rearViewMirrorKey: '', // key
saddle: '', //
saddleKey: '', // key
seat: '', //
seatKey: '', // key
slowMachine: '', //
slowMachineKey: '', // key
specification: '', //
specificationKey: '', // key
suspension: '', //
suspensionKey: '', // key
tireCover: '', //
tireCoverKey: '', // key
tireSize: '', //
tireSizeKey: '', // key
wheelbase: '', //
wheelbaseKey: '' // key
},
current: 1,
size: 20
},
selectDate: undefined,
temp: {}, //
templook: {}, //
textMap: {
update: '编辑',
create: '创建'
},
sids: [],
names: '', // [ {{names}} ]
chesid: '',
dialogFormVisible: false, //
dialogFormShowVisible: false, //
dialogStatus: '', //
typeOptions: [],
carColor_list: [], //
slowMachine_list: [], //
rearViewMirror_list: [], //
tireSize_list: [], //
specification_list: [], //
rearAxleRatio_list: [], //
airConditioner_list: [], //
hubMaterial_list: [], //
baffleModel_list: [], //
suspension_list: [], //
seat_list: [], //
tireCover_list: [], //
saddle_list: [], //
wheelbase_list: [], //
bumper_list: [], //
configuringBao_list: [], //
independentSources_list: [], //
fuelTank_list: [], //
multimedia_list: [], //
tureArrys: [{
value: 1,
label: '是'
},
{
value: 0,
label: '否'
}
],
fenzuOptions: [{
value: '1',
label: '单位'
},
{
value: '2',
label: '个人'
}
],
rules: {
// title: [{ required: true, message: '', trigger: 'blur' }],
// qc: [{ required: true, message: '', trigger: 'blur' }],
}
// ------------------------------------
}
},
computed: {
...mapGetters([
'id',
'roles',
'rolesIds',
'departmentId',
'departmentCode'
])
},
created() {
this.getList() //
this.getType()
},
methods: {
//
clicksearchShow() {
this.isSearchShow = !this.isSearchShow
if (this.isSearchShow) {
this.searchxianshitit = '隐藏查询条件'
} else {
this.searchxianshitit = '显示查询条件'
}
},
init() {
var name = this.$store.state.modelName
console.log('789988888', name)
this.names = name
console.log('9639636', this.names)
},
showSetRel(setRelList){
},
getType() {
// -
pullDown({
type: 'bodyColor'
}).then((res) => {
if (res.code === '200') {
this.carColor_list = res.data
console.log('下拉框请求111', res.data)
}
})
//
pullDown({
type: 'slowMachine '
}).then((res) => {
if (res.code === '200') {
this.slowMachine_list = res.data
console.log('下拉框请求缓速器', res.data)
}
})
//
pullDown({
type: 'rearviewMirror '
}).then((res) => {
if (res.code === '200') {
this.rearViewMirror_list = res.data
console.log('下拉框请求后视镜', res.data)
}
})
//
pullDown({
type: 'tiresize '
}).then((res) => {
if (res.code === '200') {
this.tireSize_list = res.data
console.log('下拉框请求轮胎规格', res.data)
}
})
//
pullDown({
type: 'specification '
}).then((res) => {
if (res.code === '200') {
this.specification_list = res.data
console.log('下拉框请求驾驶室', res.data)
}
})
//
pullDown({
type: 'rearAxleRatio'
}).then((res) => {
if (res.code === '200') {
this.rearAxleRatio_list = res.data
console.log('下拉框请求后桥速比', res.data)
}
})
//
pullDown({
type: 'whether'
}).then((res) => {
if (res.code === '200') {
this.airConditioner_list = res.data
console.log('下拉框请求空调', res.data)
}
})
//
pullDown({
type: 'hubMaterial'
}).then((res) => {
if (res.code === '200') {
this.hubMaterial_list = res.data
console.log('下拉框请求轮毂材质', res.data)
}
})
//
pullDown({
type: 'whether'
}).then((res) => {
if (res.code === '200') {
this.baffleModel_list = res.data
console.log('下拉框请求导流罩', res.data)
}
})
//
pullDown({
type: 'suspension'
}).then((res) => {
if (res.code === '200') {
this.suspension_list = res.data
console.log('下拉框请求悬架', res.data)
}
})
//
pullDown({
type: 'seat'
}).then((res) => {
if (res.code === '200') {
this.seat_list = res.data
console.log('下拉框请求座椅', res.data)
}
})
//
pullDown({
type: 'whether'
}).then((res) => {
if (res.code === '200') {
this.tireCover_list = res.data
console.log('下拉框请求护轮罩', res.data)
}
})
//
pullDown({
type: 'saddle'
}).then((res) => {
if (res.code === '200') {
this.saddle_list = res.data
console.log('下拉框请求护鞍座', res.data)
}
})
//
pullDown({
type: 'wheelbase'
}).then((res) => {
if (res.code === '200') {
this.wheelbase_list = res.data
console.log('下拉框请求护轴距', res.data)
}
})
//
pullDown({
type: 'bumper'
}).then((res) => {
if (res.code === '200') {
this.bumper_list = res.data
console.log('下拉框请求护保险杠', res.data)
}
})
//
pullDown({
type: 'configuringBao'
}).then((res) => {
if (res.code === '200') {
this.configuringBao_list = res.data
console.log('下拉框请求护配置包', res.data)
}
})
//
pullDown({
type: 'whether'
}).then((res) => {
if (res.code === '200') {
this.independentSources_list = res.data
console.log('下拉框请求护独立热源', res.data)
}
})
// -
pullDown({
type: 'fuelTank'
}).then((res) => {
if (res.code === '200') {
this.fuelTank_list = res.data
console.log('下拉框请求111', res.data)
}
})
//
pullDown({
type: 'whether'
}).then((res) => {
if (res.code === '200') {
this.multimedia_list = res.data
console.log('下拉框请求多媒体', res.data)
}
})
},
//
handleReturn() {
this.$emit('doback')
},
//
indexMethod(index) {
var pagestart = (this.listQuery.current - 1) * this.listQuery.size
var pageindex = index + 1 + pagestart
return pageindex
},
resetState() {
this.pageState = 3
},
handleSelectionChange(row) {
const aa = []
row.forEach((element) => {
aa.push(element.sid)
})
this.sids = aa
console.log('选择的数据', this.sids)
},
//
getList() {
this.listLoading = true
pagerList(this.listQuery).then((response) => {
this.listLoading = false
if (
response.code === '200' &&
response.data &&
response.data.total > 0
) {
this.list = response.data.records
this.total = response.data.total
} else {
this.list = []
this.total = 0
}
})
},
//
handleFilter() {
this.listQuery.current = 1
this.getList()
},
//
resetQuery() {
this.listQuery.params = {
airConditioner: '', //
airConditionerKey: '', // key
baffleModel: '', //
bumper: '', //
bumperKey: '', // key
carColor: '', //
carColorKey: '', // key
configuringBao: '', //
configuringBaoKey: '', // key
fuelTank: '', // /
fuelTankKey: '', // /key
hubMaterial: '', //
hubMaterialKey: '', // key
independentSources: '', //
independentSourcesKey: '', // key(10)
multimedia: '', //
otherConfig: '', //
rearAxleRatio: '', //
rearAxleRatioKey: '', // key
rearViewMirror: '', //
rearViewMirrorKey: '', // key
saddle: '', //
saddleKey: '', // key
seat: '', //
seatKey: '', // key
slowMachine: '', //
slowMachineKey: '', // key
specification: '', //
specificationKey: '', // key
suspension: '', //
suspensionKey: '', // key
tireCover: '', //
tireCoverKey: '', // key
tireSize: '', //
tireSizeKey: '', // key
wheelbase: '', //
wheelbaseKey: '' // key
}
},
// ------------------------------------------------------
//
resetTemp() {
this.temp = {}
},
//
handleCreate() {
this.pageState = 4
this.$refs['divadd'].showAdd()
},
handleConfirm() {
}
}
}
</script>
<style scoped>
/deep/ .el-collapse {
border-top: 0px solid #e6ebf5;
border-bottom: 0px solid #e6ebf5;
}
/deep/ .el-collapse-item__content {
margin: 0;
padding: 0;
}
/deep/ .el-collapse-item__wrap {
border-bottom: 0px solid #ebeef5;
}
/deep/ .el-collapse-item__header {
border-bottom: 0px solid #e6ebf5;
}
.searchli {
padding: 5px 100px;
}
</style>

1018
anrui-scm/anrui-scm-ui/src/views/cheliang/chexing/relation/chexingguanlianchangyong.vue

File diff suppressed because it is too large

194
anrui-scm/anrui-scm-ui/src/views/cheliang/chexing/relation/chexingpeizhijiageweihuAdd.vue

@ -0,0 +1,194 @@
<template>
<div class="app-container">
<div class="tab-header webtop">
<div>价格维护</div>
</div>
<div class="listconadd">
<el-form ref="dataForm" :model="temp" label-position="right" class="formadd" :rules="rules">
<el-row class="tleftb_one">
<el-col :span="6" class="tleftb">
<span><span class="icon">*</span>车型名称</span> <!--modelName-->
</el-col>
<el-col :span="18">
<el-form-item prop="modelName">
<el-select v-model="temp.modelName" placeholder="请选择" filterable clearable class="addinputw"
@change="getPinpai()">
<el-option v-for="item in carBrand_list" :key="item.sid" :label="item.brandName"
:value="item.brandName"/>
</el-select>
</el-form-item>
</el-col>
</el-row>
<el-row>
<el-col :span="6" class="tleftb">
<span><span class="icon">*</span>常用配置</span>
</el-col>
<el-col :span="18">
<el-form-item prop="brandName">
<el-input v-model="temp.otherConfig" maxlength="125" placeholder="请输入" clearable class="addinputw"
clearable/>
</el-form-item>
</el-col>
</el-row>
<el-row>
<el-col :span="6" class="tleftb">
<span><span class="icon">*</span>更多配置</span>
</el-col>
<el-col :span="18">
<el-form-item>
<el-input v-model="temp.specifications" type="textarea" maxlength="125" placeholder="请输入"
class="addinputw" clearable/>
</el-form-item>
</el-col>
</el-row>
<el-row>
<el-col :span="6" class="tleftb">
<span><span class="icon">*</span>厂家结算价</span>
</el-col>
<el-col :span="6">
<el-form-item prop="carModel">
<el-input v-model="temp.specifications" type="textarea" maxlength="125" placeholder="请输入"
class="addinputw" clearable/>
</el-form-item>
</el-col>
<el-col :span="6" class="tleftb">
<span><span class="icon">*</span>销售指导价</span>
</el-col>
<el-col :span="6">
<el-form-item>
<el-input v-model="temp.specifications" maxlength="125" placeholder="请输入" class="addinputw" clearable/>
</el-form-item>
</el-col>
</el-row>
</el-form>
<div class="form_btn">
<el-button type="primary" size="small" @click="handleCreate()">确认</el-button>
<el-button type="info" size="small" @click="handleReturn()">返回</el-button>
</div>
</div>
</div>
</template>
<script>
import {
mapGetters
} from 'vuex'
export default {
name: 'chexingpeizhijiageweihu',
data() {
return {
viewTitle: '',
// ---------
fieldShow: 0, // 0. 1. 2.
// ---------
imgList: [],
menuState: {
add: false, //
edit: false, //
delete: false, //
view: false, //
audit: false, //
input: false, //
output: false, //
upload: false, //
release: false //
},
FormLoading: false,
listLoading: false,
useOrgArry: [], // 使
createOrgArry: [], //
temp: {
sid: '', // sid
modelName: '' // ( 1)
}, //
templook: {}, //
textMap: {
update: '修改',
create: '创建'
},
carBrand_list: [],
stateId: 0,
dataArr: [],
pdateChe: null,
pdateChang: null,
side: [],
options: [],
useOrg: [],
props: {
value: 'sid',
label: 'name',
children: 'children',
checkStrictly: true
},
dialogFormVisible: false, //
dialogFormShowVisible: false, //
dialogStatus: '', //
fenzuOptions: [],
rules: {}
}
},
computed: {
...mapGetters(['id', 'roles', 'rolesIds', 'departmentId', 'departmentCode'])
},
created() {
},
methods: {
showWeiHu(modelName) {
this.$nextTick(() => {
this.$refs['dataForm'].clearValidate()
})
this.temp.modelName = modelName
},
// showEdit(sid, row) {
// console.log(sid)
// this.$nextTick(() => {
// this.$refs['dataForm'].clearValidate()
// })
// this.viewTitle = ''
// this.dialogStatus = 'update'
// this.temp.sid = sid
// console.log('', sid)
// details(sid).then(resp => {
// const data = resp.data
// this.temp = data
// this.useOrgArry = data.useOrg
// })
// },
// ------------------------------------------------------
//
handleReturn(isreload) {
if (isreload === 'true') this.$emit('reloadlist')
this.temp = {}
this.$emit('doback')
console.log('价格维护返回', 112233)
// this.$router.go(-1)
},
//
resetTemp() {
this.temp = {}
},
//
handleCreate() {
this.$refs['dataForm'].validate(valid => {
if (valid) {
}
})
}
}
}
</script>
<style scoped>
.tleftb_one {
border-top: 1px solid #e0e3eb;
}
.form_btn {
display: flex;
justify-content: center;
}
</style>

1067
anrui-scm/anrui-scm-ui/src/views/cheliang/chexingpeizhi/changyongpeizhi.vue

File diff suppressed because it is too large

235
anrui-scm/anrui-scm-ui/src/views/cheliang/chexingpeizhi/jianshupeizhiAdd.vue → anrui-scm/anrui-scm-ui/src/views/cheliang/chexingpeizhi/changyongpeizhiAdd.vue

@ -1,4 +1,4 @@
<template>
<template xmlns="" xmlns="">
<div class="app-container">
<div class="tab-header webtop">
<!-- <div v-if="stateId==='0'">车型详细配置</div>-->
@ -12,7 +12,7 @@
</div>
<div class="listconadd"> <!-- label-width="190px" -->
<el-form ref="dataForm" :model="temp" label-position="right" class="formadd" :rules="rules">
<div class="title">车型详细配置</div>
<div class="title">常用配置信息</div>
<el-row>
<el-col :span="2">
<span>车身颜色</span>
@ -22,15 +22,15 @@
<el-select
v-model="temp.carColor"
placeholder="请选择"
@change="changeCarColor"
clearable
class="addinputw"
@change="changeCarColor"
>
<el-option
v-for="item in carColor_list"
:key="item.dictKey"
:label="item.dictValue"
:value="item.dictKey"
:value="item.dictValue"
/>
</el-select>
</el-form-item>
@ -43,15 +43,15 @@
<el-select
v-model="temp.slowMachine"
placeholder="请选择"
@change="changeSlowMachine"
clearable
class="addinputw"
@change="changeSlowMachine"
>
<el-option
v-for="item in slowMachine_list"
:key="item.dictKey"
:label="item.dictValue"
:value="item.dictKey"
:value="item.dictValue"
/>
</el-select>
</el-form-item>
@ -64,15 +64,15 @@
<el-select
v-model="temp.rearViewMirror"
placeholder="请选择"
@change="changeRearViewMirror"
clearable
class="addinputw"
@change="changeRearViewMirror"
>
<el-option
v-for="item in rearViewMirror_list"
:key="item.dictKey"
:label="item.dictValue"
:value="item.dictKey"
:value="item.dictValue"
/>
</el-select>
</el-form-item>
@ -85,15 +85,15 @@
<el-select
v-model="temp.tireSize"
placeholder="请选择"
@change="changeTireSize"
clearable
class="addinputw"
@change="changeTireSize"
>
<el-option
v-for="item in tireSize_list"
:key="item.dictKey"
:label="item.dictValue"
:value="item.dictKey"
:value="item.dictValue"
/>
</el-select>
</el-form-item>
@ -106,15 +106,15 @@
<el-select
v-model="temp.specification"
placeholder="请选择"
@change="changeSpecification"
clearable
class="addinputw"
@change="changeSpecification"
>
<el-option
v-for="item in specification_list"
:key="item.dictKey"
:label="item.dictValue"
:value="item.dictKey"
:value="item.dictValue"
/>
</el-select>
</el-form-item>
@ -129,15 +129,15 @@
<el-select
v-model="temp.rearAxleRatio"
placeholder="请选择"
@change="changeRearAxleRatio"
clearable
class="addinputw"
@change="changeRearAxleRatio"
>
<el-option
v-for="item in rearAxleRatio_list"
:key="item.dictKey"
:label="item.dictValue"
:value="item.dictKey"
:value="item.dictValue"
/>
</el-select>
</el-form-item>
@ -150,15 +150,15 @@
<el-select
v-model="temp.airConditioner"
placeholder="请选择"
@change="changeAirConditioner"
clearable
class="addinputw"
@change="changeAirConditioner"
>
<el-option
v-for="item in airConditioner_list"
:key="item.dictKey"
:label="item.dictValue"
:value="item.dictKey"
:value="item.dictValue"
/>
</el-select>
</el-form-item>
@ -171,15 +171,15 @@
<el-select
v-model="temp.hubMaterial"
placeholder="请选择"
@change="changeHubMaterial"
clearable
class="addinputw"
@change="changeHubMaterial"
>
<el-option
v-for="item in hubMaterial_list"
:key="item.dictKey"
:label="item.dictValue"
:value="item.dictKey"
:value="item.dictValue"
/>
</el-select>
</el-form-item>
@ -192,15 +192,15 @@
<el-select
v-model="temp.baffleModel"
placeholder="请选择"
@change="changeBaffleModel"
clearable
class="addinputw"
@change="changeBaffleModel"
>
<el-option
v-for="item in baffleModel_list"
:key="item.dictKey"
:label="item.dictValue"
:value="item.dictKey"
:value="item.dictValue"
/>
</el-select>
</el-form-item>
@ -213,15 +213,15 @@
<el-select
v-model="temp.suspension"
placeholder="请选择"
@change="changeSuspension"
clearable
class="addinputw"
@change="changeSuspension"
>
<el-option
v-for="item in suspension_list"
:key="item.dictKey"
:label="item.dictValue"
:value="item.dictKey"
:value="item.dictValue"
/>
</el-select>
</el-form-item>
@ -236,15 +236,15 @@
<el-select
v-model="temp.seat"
placeholder="请选择"
@change="changeSeat"
clearable
class="addinputw"
@change="changeSeat"
>
<el-option
v-for="item in seat_list"
:key="item.dictKey"
:label="item.dictValue"
:value="item.dictKey"
:value="item.dictValue"
/>
</el-select>
</el-form-item>
@ -257,15 +257,15 @@
<el-select
v-model="temp.tireCover"
placeholder="请选择"
@change="changeTireCover"
clearable
class="addinputw"
@change="changeTireCover"
>
<el-option
v-for="item in tireCover_list"
:key="item.dictKey"
:label="item.dictValue"
:value="item.dictKey"
:value="item.dictValue"
/>
</el-select>
</el-form-item>
@ -278,15 +278,15 @@
<el-select
v-model="temp.saddle"
placeholder="请选择"
@change="changeSaddle"
clearable
class="addinputw"
@change="changeSaddle"
>
<el-option
v-for="item in saddle_list"
:key="item.dictKey"
:label="item.dictValue"
:value="item.dictKey"
:value="item.dictValue"
/>
</el-select>
</el-form-item>
@ -299,15 +299,15 @@
<el-select
v-model="temp.wheelbase"
placeholder="请选择"
@change="changeWheelbase"
clearable
class="addinputw"
@change="changeWheelbase"
>
<el-option
v-for="item in wheelbase_list"
:key="item.dictKey"
:label="item.dictValue"
:value="item.dictKey"
:value="item.dictValue"
/>
</el-select>
</el-form-item>
@ -320,15 +320,15 @@
<el-select
v-model="temp.bumper"
placeholder="请选择"
@change="changeBumper"
clearable
class="addinputw"
@change="changeBumper"
>
<el-option
v-for="item in bumper_list"
:key="item.dictKey"
:label="item.dictValue"
:value="item.dictKey"
:value="item.dictValue"
/>
</el-select>
</el-form-item>
@ -343,15 +343,15 @@
<el-select
v-model="temp.configuringBao"
placeholder="请选择"
@change="changeConfiguringBao"
clearable
class="addinputw"
@change="changeConfiguringBao"
>
<el-option
v-for="item in configuringBao_list"
:key="item.dictKey"
:label="item.dictValue"
:value="item.dictKey"
:value="item.dictValue"
/>
</el-select>
</el-form-item>
@ -364,15 +364,15 @@
<el-select
v-model="temp.independentSources"
placeholder="请选择"
@change="changeIndependentSources"
clearable
class="addinputw"
@change="changeIndependentSources"
>
<el-option
v-for="item in independentSources_list"
:key="item.dictKey"
:label="item.dictValue"
:value="item.dictKey"
:value="item.dictValue"
/>
</el-select>
</el-form-item>
@ -385,15 +385,15 @@
<el-select
v-model="temp.fuelTank"
placeholder="请选择"
@change="changefuelTank"
clearable
class="addinputw"
@change="changefuelTank"
>
<el-option
v-for="item in fuelTank_list"
:key="item.dictKey"
:label="item.dictValue"
:value="item.dictKey"
:value="item.dictValue"
/>
</el-select>
</el-form-item>
@ -406,15 +406,15 @@
<el-select
v-model="temp.multimedia"
placeholder="请选择"
@change="changeMultimedia"
clearable
class="addinputw"
@change="changeMultimedia"
>
<el-option
v-for="item in multimedia_list"
:key="item.dictKey"
:label="item.dictValue"
:value="item.dictKey"
:value="item.dictValue"
/>
</el-select>
</el-form-item>
@ -428,7 +428,13 @@
</el-col>
<el-col :span="22">
<el-form-item prop="otherConfig">
<el-input v-model="temp.otherConfig" maxlength="125" placeholder="" class="addinputw" clearable/>
<el-input
type="textarea"
:rows="3"
placeholder="请输入内容"
v-model="temp.otherConfig">
</el-input>
<!-- <el-input v-model="temp.otherConfig" maxlength="125" placeholder="" class="addinputw" clearable/>-->
</el-form-item>
</el-col>
</el-row>
@ -444,7 +450,7 @@
// import { findButtonByUserId } from '@/api/sys/permission'
export default {
name: 'jianshupeizhiAdd',
name: 'changyongpeizhiAdd',
// components: { },
data() {
return {
@ -469,13 +475,13 @@
carColor_list: [], //
slowMachine_list: [], //
rearViewMirror_list: [], //
tireSize_list: [],//
specification_list: [],//
tireSize_list: [], //
specification_list: [], //
rearAxleRatio_list: [], //
airConditioner_list: [], //
hubMaterial_list: [], //
baffleModel_list: [], //
suspension_list: [],//
suspension_list: [], //
seat_list: [], //
tireCover_list: [], //
saddle_list: [], //
@ -485,51 +491,50 @@
independentSources_list: [], //
fuelTank_list: [], //
multimedia_list: [], //
sid: '',
temp: {
airConditioner: '', //
airConditionerKey: '', //key
baffleModel: '', //()
brandName: '', //
bumper: '', //
bumperKey: '', //key
carColor: '', //()
carColorKey: '', //key
configName: '', //
configuringBao: '', //
configuringBaoKey: '', //key
fuelTank: '', ///()
fuelTankKey: '', ///key
hubMaterial: '', //
hubMaterialKey: '', //key
independentSources: '', //
independentSourcesKey: '', //key(10)
isDel: '', //10
multimedia: '', //
otherConfig: '', //
packingCase: '', //
rearAxleRatio: '', //
rearAxleRatioKey: '', //key
rearViewMirror: '', //
rearViewMirrorKey: '', //key
saddle: '', //
saddleKey: '', //key
seat: '', //
seatKey: '', //key
slowMachine: '', //
slowMachineKey: '', //key
specification: '', //()
specificationKey: '', //key
suspension: '', //
suspensionKey: '', //key
tireCover: '', //
tireCoverKey: '', //key
tireSize: '', //
tireSizeKey: '', //key
vehicleCode: '', //()
vehicleSid: '', //sid
wheelbase: '', //
wheelbaseKey: '' //key
airConditioner: '', //
airConditionerKey: '', // key
baffleModel: '', // ()
brandName: '', //
bumper: '', //
bumperKey: '', // key
carColor: '', // ()
carColorKey: '', // key
configName: '', //
configuringBao: '', //
configuringBaoKey: '', // key
fuelTank: '', // /()
fuelTankKey: '', // /key
hubMaterial: '', //
hubMaterialKey: '', // key
independentSources: '', //
independentSourcesKey: '', // key(10)
isDel: '', // 10
multimedia: '', //
otherConfig: '', //
packingCase: '', //
rearAxleRatio: '', //
rearAxleRatioKey: '', // key
rearViewMirror: '', //
rearViewMirrorKey: '', // key
saddle: '', //
saddleKey: '', // key
seat: '', //
seatKey: '', // key
slowMachine: '', //
slowMachineKey: '', // key
specification: '', // ()
specificationKey: '', // key
suspension: '', //
suspensionKey: '', // key
tireCover: '', //
tireCoverKey: '', // key
tireSize: '', //
tireSizeKey: '', // key
vehicleCode: '', // ()
vehicleSid: '', // sid
wheelbase: '', //
wheelbaseKey: '' // key
}, //
textMap: {
update: '修改',
@ -599,7 +604,7 @@
this.$nextTick(() => {
this.$refs['dataForm'].clearValidate()
})
this.viewTitle = '车型详细配置'
this.viewTitle = '【新增】常用配置信息'
},
showEdit(sid) {
@ -607,12 +612,11 @@
this.$nextTick(() => {
this.$refs['dataForm'].clearValidate()
})
this.viewTitle = '修改车型详细配置'
this.viewTitle = '【修改】常用配置信息'
this.stateId = 1
this.sid = sid
details(sid).then(resp => {
const data = resp.data
this.temp = data
this.temp = resp.data
})
},
getType() {
@ -787,7 +791,6 @@
console.log('下拉框请求多媒体', res.data)
}
})
},
changeCarColor(value) {
@ -795,7 +798,7 @@
let bb = {}
this.carColor_list.forEach((e) => {
// eslint-disable-next-line eqeqeq
if (e.dictKey == value) {
if (e.dictValue == value) {
bb = {
type: e.dictType,
name: e.dictValue,
@ -805,15 +808,15 @@
}
})
this.temp.carColor = bb.name
this.temp.carcarColorKeyColor = bb.key
this.temp.carColorKey = bb.key
console.log('name', this.temp.carColor)
},
changeSlowMachine(value) {
changefuelTank(value) {
console.log('触发油箱下拉框按钮')
let bb = {}
this.fuelTank_list.forEach((e) => {
// eslint-disable-next-line eqeqeq
if (e.dictKey == value) {
if (e.dictValue == value) {
bb = {
type: e.dictType,
name: e.dictValue,
@ -827,12 +830,12 @@
console.log('name', this.temp.fuelTank)
},
changefuelTank(value) {
changeSlowMachine(value) {
console.log('触发下拉框按钮')
let bb = {}
this.slowMachine_list.forEach((e) => {
// eslint-disable-next-line eqeqeq
if (e.dictKey == value) {
if (e.dictValue == value) {
bb = {
type: e.dictType,
name: e.dictValue,
@ -850,7 +853,7 @@
let bb = {}
this.rearViewMirror_list.forEach((e) => {
// eslint-disable-next-line eqeqeq
if (e.dictKey == value) {
if (e.dictValue == value) {
bb = {
type: e.dictType,
name: e.dictValue,
@ -868,7 +871,7 @@
let bb = {}
this.tireSize_list.forEach((e) => {
// eslint-disable-next-line eqeqeq
if (e.dictKey == value) {
if (e.dictValue == value) {
bb = {
type: e.dictType,
name: e.dictValue,
@ -886,7 +889,7 @@
let bb = {}
this.specification_list.forEach((e) => {
// eslint-disable-next-line eqeqeq
if (e.dictKey == value) {
if (e.dictValue == value) {
bb = {
type: e.dictType,
name: e.dictValue,
@ -904,7 +907,7 @@
let bb = {}
this.rearAxleRatio_list.forEach((e) => {
// eslint-disable-next-line eqeqeq
if (e.dictKey == value) {
if (e.dictValue == value) {
bb = {
type: e.dictType,
name: e.dictValue,
@ -922,7 +925,7 @@
let bb = {}
this.airConditioner_list.forEach((e) => {
// eslint-disable-next-line eqeqeq
if (e.dictKey == value) {
if (e.dictValue == value) {
bb = {
type: e.dictType,
name: e.dictValue,
@ -940,7 +943,7 @@
let bb = {}
this.hubMaterial_list.forEach((e) => {
// eslint-disable-next-line eqeqeq
if (e.dictKey == value) {
if (e.dictValue == value) {
bb = {
type: e.dictType,
name: e.dictValue,
@ -958,7 +961,7 @@
let bb = {}
this.baffleModel_list.forEach((e) => {
// eslint-disable-next-line eqeqeq
if (e.dictKey == value) {
if (e.dictValue == value) {
bb = {
type: e.dictType,
name: e.dictValue,
@ -976,7 +979,7 @@
let bb = {}
this.suspension_list.forEach((e) => {
// eslint-disable-next-line eqeqeq
if (e.dictKey == value) {
if (e.dictValue == value) {
bb = {
type: e.dictType,
name: e.dictValue,
@ -994,7 +997,7 @@
let bb = {}
this.seat_list.forEach((e) => {
// eslint-disable-next-line eqeqeq
if (e.dictKey == value) {
if (e.dictValue == value) {
bb = {
type: e.dictType,
name: e.dictValue,
@ -1012,7 +1015,7 @@
let bb = {}
this.tireCover_list.forEach((e) => {
// eslint-disable-next-line eqeqeq
if (e.dictKey == value) {
if (e.dictValue == value) {
bb = {
type: e.dictType,
name: e.dictValue,
@ -1030,7 +1033,7 @@
let bb = {}
this.saddle_list.forEach((e) => {
// eslint-disable-next-line eqeqeq
if (e.dictKey == value) {
if (e.dictValue == value) {
bb = {
type: e.dictType,
name: e.dictValue,
@ -1048,7 +1051,7 @@
let bb = {}
this.wheelbase_list.forEach((e) => {
// eslint-disable-next-line eqeqeq
if (e.dictKey == value) {
if (e.dictValue == value) {
bb = {
type: e.dictType,
name: e.dictValue,
@ -1066,7 +1069,7 @@
let bb = {}
this.bumper_list.forEach((e) => {
// eslint-disable-next-line eqeqeq
if (e.dictKey == value) {
if (e.dictValue == value) {
bb = {
type: e.dictType,
name: e.dictValue,
@ -1084,7 +1087,7 @@
let bb = {}
this.configuringBao_list.forEach((e) => {
// eslint-disable-next-line eqeqeq
if (e.dictKey == value) {
if (e.dictValue == value) {
bb = {
type: e.dictType,
name: e.dictValue,
@ -1102,7 +1105,7 @@
let bb = {}
this.independentSources_list.forEach((e) => {
// eslint-disable-next-line eqeqeq
if (e.dictKey == value) {
if (e.dictValue == value) {
bb = {
type: e.dictType,
name: e.dictValue,
@ -1120,7 +1123,7 @@
let bb = {}
this.multimedia_list.forEach((e) => {
// eslint-disable-next-line eqeqeq
if (e.dictKey == value) {
if (e.dictValue == value) {
bb = {
type: e.dictType,
name: e.dictValue,

20
anrui-scm/anrui-scm-ui/src/views/cheliang/chexingpeizhi/jianshupeizhiInfo.vue → anrui-scm/anrui-scm-ui/src/views/cheliang/chexingpeizhi/changyongpeizhiInfo.vue

@ -1,7 +1,7 @@
<template>
<div class="app-container">
<div class="tab-header webtop">
<div>车型详细配置</div>
<div>常用配置详情</div>
<div>
<!-- <el-button type="primary" size="small" @click="handleCreate()">保存</el-button> -->
<el-button type="primary" size="small">下载</el-button>
@ -10,7 +10,7 @@
</div>
<div class="listadd">
<el-form ref="dataForm" :model="temp" label-position="right" class="formadd" :rules="rules">
<div class="title">车型详细配置</div>
<div class="title">常用配置详情</div>
<el-row>
<el-col :span="2">
<span>车身颜色</span>
@ -194,7 +194,7 @@
// import { getFileType, parseDate, parseTime, ConvertMenuState } from "@/utils";
// import { findButtonByUserId } from '@/api/sys/permission'
export default {
name: 'jianshupeizhiInfo',
name: 'changyongpeizhiInfo',
// components: { },
data() {
return {
@ -284,7 +284,7 @@
details(sid).then((response) => {
this.FormLoading = false
if (response.code === '200') {
this.templook = response.data
this.temp = response.data
} else {
this.$notify({
title: '失败',
@ -298,4 +298,16 @@
}
</script>
<style scoped>
/deep/ .el-col-2,.el-col-1 {
text-align: right;
float: left;
font-size: 14px;
color: #606266;
line-height: 40px !important;
font-weight: 600;
}
.addinputw {
width: 100% !important;
}
</style>

464
anrui-scm/anrui-scm-ui/src/views/cheliang/chexingpeizhi/jianshupeizhi.vue

@ -1,464 +0,0 @@
<template>
<div class="app-container">
<!--Start 列表页面-->
<div v-show="viewState === 1">
<div class="tab-header webtop">
<div>简述配置管理</div>
<div>
<el-button type="primary" size="small" @click="handleCreate()">新增</el-button>
<el-button type="primary" size="small" @click="handleUpdate()">修改</el-button>
<el-button type="danger" size="small" @click="handleDelete()">删除</el-button>
<!-- <el-button type="primary" size="small" @click="handleDaoRu()">导入</el-button> -->
<!-- <el-button type="success" size="small" @click="handleDaoChu()">导出</el-button> -->
<el-button type="info" size="small" @click="handleReturn()">返回</el-button>
</div>
</div>
<div class="searchcon">
<el-button size="small" class="searchbtn" @click="clicksearchShow">{{ searchxianshitit }}</el-button>
<div v-show="isSearchShow" class="search">
<el-form ref="listQueryform" :inline="true" :model="listQuery" label-width="100px" class="tab-header">
<el-form-item label="整车编码">
<el-input v-model="listQuery.params.vehicleCode" placeholder="请输入整车编码" clearable class="filter-item"/>
</el-form-item>
<el-form-item label="驾驶室">
<el-input v-model="listQuery.params.specification" placeholder="请输入驾驶室" clearable class="filter-item"/>
</el-form-item>
<el-form-item label="鞍座">
<el-input v-model="listQuery.params.saddle" placeholder="请输入鞍座" clearable class="filter-item"/>
</el-form-item>
<el-button type="primary" @click="handleFilter">查询</el-button>
</el-form>
</div>
</div>
<div class="listtop">
<div class="tit">简述配置信息列表</div>
<pageye v-show="total>0" :total="total" :page.sync="listQuery.current" :limit.sync="listQuery.size"
class="pagination" @pagination="getList"/>
</div>
<div class="">
<el-table :key="tableKey" v-loading="listLoading" :data="list" border style="width: 100%;"
@selection-change="handleSelectionChange">
<el-table-column width="50px" type="selection" align="center"/>
<el-table-column width="80px" label="序号" type="index" :index="indexMethod" align="center"/>
<el-table-column label="整车编码" align="center">
<template slot-scope="scope">
<span>{{ scope.row.vehicleCode }}</span>
</template>
</el-table-column>
<el-table-column label="油箱/气罐" align="center">
<template slot-scope="scope">
<span>{{ scope.row.fuelTank }}</span>
</template>
</el-table-column>
<el-table-column label="车身颜色" align="center">
<template slot-scope="scope">
<span>{{ scope.row.carColor }}</span>
</template>
</el-table-column>
<el-table-column label="驾驶室" align="center">
<template slot-scope="scope">
<span>{{ scope.row.specification }}</span>
</template>
</el-table-column>
<el-table-column label="导流罩" align="center">
<template slot-scope="scope">
<span>{{ scope.row.baffleModel }}</span>
</template>
</el-table-column>
<el-table-column label="独立热源" align="center">
<template slot-scope="scope">
<span>{{ scope.row.independentSources }}</span>
</template>
</el-table-column>
<el-table-column label="护轮罩" align="center">
<template slot-scope="scope">
<span>{{ scope.row.tireCover }}</span>
</template>
</el-table-column>
<el-table-column label="鞍座" align="center">
<template slot-scope="scope">
<span>{{ scope.row.saddle }}</span>
</template>
</el-table-column>
<el-table-column label="空调" align="center">
<template slot-scope="scope">
<span>{{ scope.row.airConditioner }}</span>
</template>
</el-table-column>
<el-table-column label="备注" align="center">
<template slot-scope="scope">
<span>{{ scope.row.otherConfig }}</span>
</template>
</el-table-column>
<el-table-column label="其他配置" align="center">
<template slot-scope="scope">
<span>{{ scope.row.otherConfig }}</span>
</template>
</el-table-column>
<el-table-column label="操作" align="center" width="80px" class-name="small-padding fixed-width">
<template slot-scope="{row}">
<el-button size="mini" type="primary" @click="handleCheck(row)">查看</el-button>
</template>
</el-table-column>
</el-table>
</div>
<div class="pages">
<!-- 翻页 -->
<pagination v-show="total>0" :total="total" :page.sync="listQuery.current" :limit.sync="listQuery.size"
class="pagination" @pagination="getList"/>
</div>
</div>
<!--End 列表页面-->
<!--Start 新增以及修改页面-->
<jianshupeizhi-add v-show="viewState == 2 || viewState == 3" ref="divadd" @doback="resetState"
@reloadlist="getList"></jianshupeizhi-add>
<!--End 新增以及修改页面-->
<!--Start 详情部分-->
<jianshupeizhi-info v-show="viewState == 4" ref="divinfo" @doback="resetState"></jianshupeizhi-info>
<!--End 详情部分-->
</div>
</template>
<script>
import {
mapGetters
} from 'vuex'
import {
pagerList,
SaveList,
Update,
deleteBySids,
details
} from '@/api/cheliang/basemodelconfig'
import {
setMIng,
getMIng,
getCHeap,
setCHeap
} from '@/utils/baocun'
import Pagination from '@/components/pagination'
import pageye from '@/components/pagination/pageye'
import jianshupeizhiAdd from './jianshupeizhiAdd'
import jianshupeizhiInfo from './jianshupeizhiInfo'
export default {
name: 'Pinpaiguanli',
components: {
Pagination,
pageye,
jianshupeizhiAdd,
jianshupeizhiInfo
},
// directives: {
// drag: {
// //
// bind: function(el) {
// const odiv = el //
// el.onmousedown = (e) => {
// //
// const disX = e.clientX - odiv.offsetLeft
// const disY = e.clientY - odiv.offsetTop
// let left = ''
// let top = ''
// document.onmousemove = (e) => {
// //
// left = e.clientX - disX
// top = e.clientY - disY
// // positionXpositionY
// //
// odiv.style.left = left + 'px'
// odiv.style.top = top + 'px'
// }
// document.onmouseup = (e) => {
// document.onmousemove = null
// document.onmouseup = null
// }
// }
// }
// },
// // v-focus
// focus: {
// //
// inserted: function(el) {
// //
// el.querySelector('input').focus()
// }
// }
// },
data() {
return {
viewState: 1,
isSearchShow: false,
searchxianshitit: '显示查询条件',
// ---------
menuState: {
add: false, //
edit: false, //
delete: false, //
view: false, //
audit: false, //
input: false, //
output: false, //
upload: false, //
release: false //
},
// -----------
tableKey: 0,
// list: null,
list: [],
namesArr: '',
vehicleSid: '',
total: 1,
FormLoading: false,
listLoading: false,
listQuery: {
params: {
vehicleCode: '',
specification: '',
saddle: '',
vehicleSid: ''
},
current: 1,
size: 20
},
selectDate: undefined,
temp: {}, //
templook: {}, //
textMap: {
update: '编辑',
create: '创建'
},
sids: [],
names: '', // [ {{names}} ]
chesid: '',
dialogFormVisible: false, //
dialogFormShowVisible: false, //
dialogStatus: '', //
typeOptions: [],
tureArrys: [{
value: 1,
label: '是'
},
{
value: 0,
label: '否'
}
],
fenzuOptions: [{
value: '1',
label: '单位'
},
{
value: '2',
label: '个人'
}
],
rules: {
// title: [{ required: true, message: '', trigger: 'blur' }],
// qc: [{ required: true, message: '', trigger: 'blur' }],
}
// ------------------------------------
}
},
computed: {
...mapGetters([
'id',
'roles',
'rolesIds',
'departmentId',
'departmentCode'
])
},
created() {
// this.chesid = this.$route.query.sid
//
// this.init()
// var ChexinSid = getMIng()
// console.log('9638888', ChexinSid)
// this.vehicleSid = ChexinSid
// this.listQuery.params.vehicleSid = this.vehicleSid
// console.log('7822222222', this.listQuery.params.vehicleSid)
this.getList() //
},
methods: {
//
clicksearchShow() {
this.isSearchShow = !this.isSearchShow
if (this.isSearchShow) {
this.searchxianshitit = '隐藏查询条件'
} else {
this.searchxianshitit = '显示查询条件'
}
},
init() {
var name = this.$store.state.modelName
console.log('789988888', name)
this.names = name
console.log('9639636', this.names)
},
//
handleReturn() {
this.$router.go(-1)
},
//
indexMethod(index) {
var pagestart = (this.listQuery.current - 1) * this.listQuery.size
var pageindex = index + 1 + pagestart
return pageindex
},
resetState() {
this.viewState = 1
},
handleSelectionChange(row) {
const aa = []
row.forEach((element) => {
aa.push(element.sid)
})
this.sids = aa
},
//
getList() {
this.listLoading = true
pagerList(this.listQuery).then((response) => {
this.listLoading = false
if (
response.code === '200' &&
response.data &&
response.data.total > 0
) {
this.list = response.data.records
this.total = response.data.total
} else {
this.list = []
this.total = 0
}
})
},
//
handleFilter() {
this.listQuery.current = 1
this.getList()
},
// ------------------------------------------------------
//
resetTemp() {
this.temp = {}
},
//
handleCreate() {
this.viewState = 2
this.$refs['divadd'].showAdd()
// this.$router.push({
// path: '/cheliang/chexingpeizhiAdd/0',
// query: {
// sid: this.chesid
// }
// })
},
//
handleUpdate() {
if (this.sids.length === 1) {
this.dialogStatus = 'update'
this.viewState = 3
const sid = this.sids[0]
this.$refs['divadd'].showEdit(sid)
// this.$router.push({
// path: `/cheliang/chexingpeizhiAdd/${this.sids[0]}`
// })
} else if (this.sids.length > 1) {
this.$notify({
title: '提示',
message: '不能选中多个车型配置修改!!',
type: 'info',
duration: 2000
})
} else {
this.$notify({
title: '提示',
message: '没有选择车型配置!!',
type: 'error',
duration: 2000
})
return
}
},
//
handleCheck(row) {
console.log('111', row)
this.viewState = 4
const sid = row.sid
this.$refs['divinfo'].showInfo(sid, row)
// this.$router.push({
// path: '/cheliang/chexingpeizhiInfo',
// query: {
// sid: row.sid
// }
// })
},
// ID
handleDelete() {
if (this.sids.length > 0) {
deleteBySids(this.sids).then((response) => {
if (response.code === '200') {
this.$notify({
title: '提示',
message: '删除成功',
type: 'success',
duration: 2000
})
this.getList()
} else {
this.$notify({
title: '失败',
message: response.msg,
type: 'error'
})
}
})
} else {
this.$notify({
title: '提示',
message: '没有选择车型配置!!',
type: 'error',
duration: 2000
})
return
}
},
//
handleDaoChu() {
this.$confirm('确定要导出数据, 是否继续?', '提示', {
confirmButtonText: '确定',
cancelButtonText: '取消',
type: 'warning'
})
}
}
}
</script>
<style scoped>
/deep/ .el-collapse {
border-top: 0px solid #e6ebf5;
border-bottom: 0px solid #e6ebf5;
}
/deep/ .el-collapse-item__content {
margin: 0;
padding: 0;
}
/deep/ .el-collapse-item__wrap {
border-bottom: 0px solid #ebeef5;
}
/deep/ .el-collapse-item__header {
border-bottom: 0px solid #e6ebf5;
}
.searchli {
padding: 5px 100px;
}
</style>

371
anrui-scm/anrui-scm-ui/src/views/cheliang/chexingpeizhi/ohter/changyongpeizhiInfo.vue

@ -0,0 +1,371 @@
<template>
<div class="app-container">
<div class="tab-header webtop">
<div>车型详情</div>
<div>
<el-button type="info" size="small" @click="handleReturn()">返回</el-button>
</div>
</div>
<div class="listadd">
<el-form ref="dataForm" :model="temp" label-position="right" class="formadd">
<div class="title">车型详情</div>
<el-row>
<el-col :span="4">
<span>品牌</span>
</el-col>
<el-col :span="8">
<el-form-item prop="carBrand">
<span>{{temp.carBrand}}</span>
</el-form-item>
</el-col>
<el-col :span="4">
<span>车型编码</span>
</el-col>
<el-col :span="8">
<el-form-item prop="otherConfig">
<span>{{temp.otherConfig}}</span>
</el-form-item>
</el-col>
</el-row>
<el-row>
<el-col :span="4">
<span>功能</span>
</el-col>
<el-col :span="8">
<el-form-item prop="vehicleFunction">
<span>{{temp.vehicleFunction}}</span>
</el-form-item>
</el-col>
<el-col :span="4">
<span>系列</span>
</el-col>
<el-col :span="8">
<el-form-item prop="series">
<span>{{temp.series}}</span>
</el-form-item>
</el-col>
</el-row>
<el-row>
<el-col :span="4">
<span>驱动</span>
</el-col>
<el-col :span="8">
<el-form-item prop="driveForm">
<span>{{temp.driveForm}}</span>
</el-form-item>
</el-col>
<el-col :span="4">
<span>马力</span>
</el-col>
<el-col :span="8">
<el-form-item prop="power">
<span>{{temp.power}}</span>
</el-form-item>
</el-col>
</el-row>
<el-row>
<el-col :span="4">
<span>版本</span>
</el-col>
<el-col :span="8">
<el-form-item prop="vehicleVersion">
<span>{{temp.vehicleVersion}}</span>
</el-form-item>
</el-col>
<el-col :span="4">
<span>燃料</span>
</el-col>
<el-col :span="8">
<el-form-item prop="fuelType">
<span>{{temp.fuelType}}</span>
</el-form-item>
</el-col>
</el-row>
<el-row>
<el-col :span="4">
<span>变速箱</span>
</el-col>
<el-col :span="8">
<el-form-item prop="gearboxType">
<span>{{temp.gearboxType}}</span>
</el-form-item>
</el-col>
<el-col :span="4">
<span>排放标准</span>
</el-col>
<el-col :span="8">
<el-form-item prop="emissionStandard">
<span>{{temp.emissionStandard}}</span>
</el-form-item>
</el-col>
</el-row>
<el-row>
<el-col :span="4">
<span>发动机型号</span>
</el-col>
<el-col :span="8">
<el-form-item prop="engineType">
<span>{{temp.engineType}}</span>
</el-form-item>
</el-col>
<el-col :span="4">
<span>细分市场</span>
</el-col>
<el-col :span="8">
<el-form-item prop="marketSegments">
<span>{{temp.marketSegments}}</span>
</el-form-item>
</el-col>
</el-row>
<el-row>
<el-col :span="4">
<span>规格型号</span>
</el-col>
<el-col :span="8">
<el-form-item prop="specifications">
<span>{{temp.specifications}}</span>
</el-form-item>
</el-col>
<el-col :span="4">
<span>系别</span> <!--???-->
</el-col>
<el-col :span="8">
<el-form-item prop="series">
<span>{{temp.series}}</span>
</el-form-item>
</el-col>
</el-row>
<el-row>
<el-col :span="4">
<span>内部编码</span> <!--???-->
</el-col>
<el-col :span="8">
<el-form-item prop="carColor">
<span>{{temp.carColor}}</span>
</el-form-item>
</el-col>
<el-col :span="4">
<span>货箱</span> <!--???-->
</el-col>
<el-col :span="8">
<el-form-item prop="slowMachine">
<span>{{temp.slowMachine}}</span>
</el-form-item>
</el-col>
</el-row>
<div class="addtable">
<div class="tabletitle">
<div class="titlename">
常用配置列表
</div>
</div>
<template class="tablelist">
<el-table
:data="temp.list"
:index="index"
border
style="width: 100%"
>
<el-table-column
align="center"
label="序号"
type="index"
width="50"
/>
<el-table-column prop="mNum" width="150" label="指导价" align="center">
<template slot-scope="props">
<span>{{props.row.price}}</span>
</template>
</el-table-column>
<el-table-column prop="mName" width="150" label="颜色" align="center">
<template slot-scope="props">
<span>{{props.row.carColor}}</span>
</template>
</el-table-column>
<el-table-column prop="model" width="150" label="缓速器" align="center">
<template slot-scope="props">
<span>{{props.row.slowMachine}}</span>
</template>
</el-table-column>
<el-table-column prop="year" width="95" label="后视镜" align="center">
<template slot-scope="props">
<span>{{props.row.rearViewMirror}}</span>
</template>
</el-table-column>
<el-table-column prop="logisticsCustomer" width="95" label="轮胎" align="center">
<template slot-scope="props">
<span>{{props.row.tireSize}}</span>
</template>
</el-table-column>
<el-table-column prop="company" width="150" label="驾驶室" align="center">
<template slot-scope="props">
<span>{{props.row.specification}}</span>
</template>
</el-table-column>
<el-table-column prop="netReceiptsNum" width="150" label="后桥速比" align="center">
<template slot-scope="props">
<span>{{props.row.rearAxleRatio}}</span>
</template>
</el-table-column>
<el-table-column prop="receivingWarehouse" width="150" label="空调" align="center">
<template slot-scope="props">
<span>{{props.row.airConditioner}}</span>
</template>
</el-table-column>
<el-table-column prop="position" width="150" label="轮毂材质" align="center">
<template slot-scope="props">
<span>{{props.row.hubMaterial}}</span>
</template>
</el-table-column>
<el-table-column prop="batchNum" width="150" label="导流罩" align="center">
<template slot-scope="props">
<span>{{props.row.baffleModel}}</span>
</template>
</el-table-column>
<el-table-column prop="cargoOwner" width="120" label="悬架" align="center">
<template slot-scope="props">
<span>{{props.row.suspension}}</span>
</template>
</el-table-column>
<el-table-column prop="remarks" width="150" label="座椅" align="center">
<template slot-scope="props">
<span>{{props.row.seat}}</span>
</template>
</el-table-column>
<el-table-column prop="remarks" width="150" label="护轮罩" align="center">
<template slot-scope="props">
<span>{{props.row.tireCover}}</span>
</template>
</el-table-column>
<el-table-column prop="remarks" width="150" label="鞍座" align="center">
<template slot-scope="props">
<span>{{props.row.saddle}}</span>
</template>
</el-table-column>
<el-table-column prop="remarks" width="150" label="轴距" align="center">
<template slot-scope="props">
<span>{{props.row.wheelbase}}</span>
</template>
</el-table-column>
<el-table-column prop="remarks" width="150" label="保险杠" align="center">
<template slot-scope="props">
<span>{{props.row.bumper}}</span>
</template>
</el-table-column>
<el-table-column prop="remarks" width="150" label="配置包" align="center">
<template slot-scope="props">
<span>{{props.row.configuringBao}}</span>
</template>
</el-table-column>
<el-table-column prop="remarks" width="150" label="独立热源" align="center">
<template slot-scope="props">
<span>{{props.row.independentSources}}</span>
</template>
</el-table-column>
<el-table-column prop="remarks" width="150" label="燃料箱" align="center">
<template slot-scope="props">
<span>{{props.row.fuelTank}}</span>
</template>
</el-table-column>
<el-table-column prop="remarks" width="150" label="多媒体" align="center">
<template slot-scope="props">
<span>{{props.row.multimedia}}</span>
</template>
</el-table-column>
</el-table>
</template>
</div>
</el-form>
</div>
</div>
</template>
<script>
import { mapGetters } from 'vuex'
import {} from '@/api/cheliang/basemodelrelationconfigure'
export default {
name: 'changyongpeizhiInfo',
data() {
return {
// ---------
index: 0,
FormLoading: false,
listLoading: false,
temp: {}, //
templook: { titlea: '00000112' }, //
textMap: {
update: '修改',
create: '创建'
},
dialogFormVisible: false, //
dialogFormShowVisible: false, //
dialogStatus: '', //
fenzuOptions: []
// ------------------------------------
}
},
computed: {
...mapGetters([
'id',
'roles',
'rolesIds',
'departmentId',
'departmentCode'
])
},
created() {
//
// this.init()
//
// this.handleUpdate()
},
methods: {
init() {
},
// ------------------------------------------------------
//
handleReturn() {
this.temp = {}
this.$emit('doback')
},
//
resetTemp() {
this.temp = {}
},
//
showInfo(sid, row) {
this.FormLoading = true
// details(sid).then((response) => {
// this.FormLoading = false
// if (response.code === '200') {
// this.temp = response.data
// } else {
// this.$notify({
// title: '',
// message: '',
// type: 'error'
// })
// }
// })
}
}
}
</script>
<style scoped>
/deep/ .el-col-4 {
text-align: right;
float: left;
font-size: 14px;
color: #606266;
line-height: 40px !important;
font-weight: 600;
}
.addinputw {
width: 100% !important;
}
</style>

578
anrui-scm/anrui-scm-ui/src/views/cheliang/chexingpeizhi/ohter/changyongpeizhiRel.vue

@ -0,0 +1,578 @@
<template>
<div class="app-container">
<!--Start 列表页面-->
<div v-show="viewState == 5">
<div class="tab-header webtop">
<div>常用配置管理</div>
<div>
<el-button type="danger" size="small" @click="handleDelete()">解除关系</el-button>
<el-button type="danger" size="small" @click="handleOpen()">进入车型详情</el-button>
<el-button type="info" size="small" @click="handleReturn()">返回</el-button>
</div>
</div>
<div class="searchcon">
<el-button size="small" class="searchbtn" @click="clicksearchShow">{{ searchxianshitit }}</el-button>
<div v-show="isSearchShow" class="search">
<el-form ref="listQueryform" :inline="true" :model="listQuery" label-width="100px" class="tab-header">
<el-form-item label="品牌">
<el-select
v-model="listQuery.params.carBrand"
placeholder="请选择"
filterable
clearable
class="addinputw"
>
<el-option
v-for="item in carBrand_list"
:key="item.sid"
:label="item.brandName"
:value="item.brandName"
/>
</el-select>
</el-form-item>
<el-form-item label="功能">
<el-select
v-model="listQuery.params.vehicleFunctionKey"
placeholder="请选择"
clearable
class="addinputw"
>
<el-option
v-for="item in vehicleFunction_list"
:key="item.dictKey"
:label="item.dictValue"
:value="item.dictKey"
/>
</el-select>
</el-form-item>
<el-form-item label="系列">
<el-select
v-model="listQuery.params.seriesKey"
placeholder="请选择"
clearable
class="addinputw"
>
<el-option
v-for="item in series_list"
:key="item.dictKey"
:label="item.dictValue"
:value="item.dictKey"
/>
</el-select>
</el-form-item>
<el-form-item label="驱动">
<el-select
v-model="listQuery.params.driveFormKey"
placeholder="请选择"
clearable
class="addinputw"
>
<el-option
v-for="item in driveForm_list"
:key="item.dictKey"
:label="item.dictValue"
:value="item.dictKey"
/>
</el-select>
</el-form-item>
<el-form-item label="马力">
<el-select
v-model="listQuery.params.powerKey"
placeholder="请选择"
clearable
class="addinputw"
>
<el-option
v-for="item in power_list"
:key="item.dictKey"
:label="item.dictValue"
:value="item.dictKey"
/>
</el-select>
</el-form-item>
<el-form-item label="版本">
<el-select
v-model="listQuery.params.vehicleVersionKey"
placeholder="请选择"
clearable
class="addinputw"
>
<el-option
v-for="item in vehicleVersion_list"
:key="item.dictKey"
:label="item.dictValue"
:value="item.dictKey"
/>
</el-select>
</el-form-item>
<el-form-item label="燃料">
<el-select
v-model="listQuery.params.fuelTypeKey"
placeholder="请选择"
clearable
class="addinputw"
>
<el-option
v-for="item in fuelType_list"
:key="item.dictKey"
:label="item.dictValue"
:value="item.dictKey"
/>
</el-select>
</el-form-item>
<el-form-item label="变速箱">
<el-select
v-model="listQuery.params.gearboxTypeKey"
placeholder="请选择"
clearable
class="addinputw"
>
<el-option
v-for="item in gearboxType_list"
:key="item.dictKey"
:label="item.dictValue"
:value="item.dictKey"
/>
</el-select>
</el-form-item>
<el-form-item label="排放标准">
<el-select
v-model="listQuery.params.emissionStandardKey"
placeholder="请选择"
clearable
class="addinputw"
>
<el-option
v-for="item in emissionStandard_list"
:key="item.dictKey"
:label="item.dictValue"
:value="item.dictKey"
/>
</el-select>
</el-form-item>
<el-form-item label="发动机型号">
<el-select
v-model="listQuery.params.engineTypeKey"
placeholder="请选择"
clearable
class="addinputw"
>
<el-option
v-for="item in engineType_list"
:key="item.dictKey"
:label="item.dictValue"
:value="item.dictKey"
/>
</el-select>
</el-form-item>
<el-form-item label="细分市场">
<el-select
v-model="listQuery.params.marketSegmentsKey"
placeholder="请选择"
clearable
class="addinputw"
>
<el-option
v-for="item in marketSegments_list"
:key="item.dictKey"
:label="item.dictValue"
:value="item.dictKey"
/>
</el-select>
</el-form-item>
<el-form-item label="车型编码">
<el-input v-model="listQuery.params.otherConfig" maxlength="125" placeholder="请输入车型编码" class="addinputw"
clearable/>
</el-form-item>
<el-form-item label="规格型号">
<el-input v-model="listQuery.params.specifications" maxlength="125" placeholder="请输入规格型号"
class="addinputw"
clearable/>
</el-form-item>
<el-divider/>
<div class="btn" style="text-align: center;">
<el-button type="primary" @click="handleFilter">查询</el-button>
<el-button type="primary" @click="resetQuery">重置</el-button>
</div>
</el-form>
</div>
</div>
<div class="listtop">
<div class="tit">常用配置列表</div>
<pageye v-show="total>0" :total="total" :page.sync="listQuery.current" :limit.sync="listQuery.size"
class="pagination" @pagination="getList"/>
</div>
<div class="">
<el-table :key="tableKey" v-loading="listLoading" :data="list" border style="width: 100%;"
@selection-change="handleSelectionChange">
<el-table-column width="50px" type="selection" align="center"/>
<el-table-column width="80px" label="序号" type="index" :index="indexMethod" align="center"/>
<el-table-column label="品牌" align="center">
<template slot-scope="scope">
<span>{{ scope.row.state }}</span>
</template>
</el-table-column>
<el-table-column label="车型" align="center">
<template slot-scope="scope">
<span class="bluezi" @click="handleCheck(scope.row)">{{ scope.row.state }}</span>
</template>
</el-table-column>
<el-table-column label="版本" align="center">
<template slot-scope="scope">
<span>{{ scope.row.carColor }}</span>
</template>
</el-table-column>
<el-table-column label="发动机型号" align="center">
<template slot-scope="scope">
<span>{{ scope.row.slowMachine }}</span>
</template>
</el-table-column>
<el-table-column label="车型编码" align="center">
<template slot-scope="scope">
<span>{{ scope.row.rearViewMirror }}</span>
</template>
</el-table-column>
</el-table>
</div>
<div class="pages">
<!-- 翻页 -->
<pagination v-show="total>0" :total="total" :page.sync="listQuery.current" :limit.sync="listQuery.size"
class="pagination" @pagination="getList"/>
</div>
</div>
<!--End 列表页面-->
<changyongpeizhiInfo v-show="viewState == 6" ref="divinfo" @doback="resetState"></changyongpeizhiInfo>
</div>
</template>
<script>
import { mapGetters } from 'vuex'
import { pullDown, brandDown } from '@/api/cheliang/basemodelrelationconfigure'
import changyongpeizhiInfo from './changyongpeizhiInfo'
import Pagination from '@/components/pagination'
import pageye from '@/components/pagination/pageye'
import { namesDown } from '../../../../api/cheliang/basevehicle'
export default {
name: 'changyongpeizhiRel',
components: {
changyongpeizhiInfo,
Pagination,
pageye
},
data() {
return {
viewState: 5,
isSearchShow: false,
searchxianshitit: '显示查询条件',
index: 0,
// -----------
tableKey: 0,
list: [],
namesArr: '',
vehicleSid: '',
total: 1,
// list ------
carBrand_list: [], //
vehicleFunction_list: [], // vehicleFunction
series_list: [], // series
driveForm_list: [], // driver
power_list: [], // horsepower
vehicleVersion_list: [], // vehicleVersion
fuelType_list: [], // fuelType
gearboxType_list: [], // gearbox
emissionStandard_list: [],// emissionStandard
engineType_list: [], // engineType
marketSegments_list: [], // marketSegments
FormLoading: false,
listLoading: false,
listQuery: {
params: {},
current: 1,
size: 20
},
temp: {}, //
textMap: {
update: '编辑',
create: '创建'
},
sids: [],
names: '', // [ {{names}} ]
chesid: '',
dialogFormVisible: false, //
dialogFormShowVisible: false, //
dialogStatus: '', //
tureArrys: [{
value: 1,
label: '是'
},
{
value: 0,
label: '否'
}
],
fenzuOptions: [{
value: '1',
label: '单位'
},
{
value: '2',
label: '个人'
}
]
// ------------------------------------
}
},
computed: {
...mapGetters([
'id',
'roles',
'rolesIds',
'departmentId',
'departmentCode'
])
},
created() {
this.getList() //
this.getType()
},
methods: {
//
clicksearchShow() {
this.isSearchShow = !this.isSearchShow
if (this.isSearchShow) {
this.searchxianshitit = '隐藏查询条件'
} else {
this.searchxianshitit = '显示查询条件'
}
},
init() {
var name = this.$store.state.modelName
console.log('789988888', name)
this.names = name
console.log('9639636', this.names)
},
getType() {
// -
brandDown(this.listQuery.params.carBrand).then((res) => {
if (res.code === '200') {
this.carBrand_list = res.data
console.log('下拉框请求品牌', res.data)
}
})
// -
pullDown({
type: 'vehicleFunction'
}).then((res) => {
if (res.code === '200') {
this.vehicleFunction_list = res.data
console.log('下拉框请求功能', res.data)
}
})
// -
pullDown({
type: 'series'
}).then((res) => {
if (res.code === '200') {
this.series_list = res.data
console.log('下拉框请求系列', res.data)
}
})
// -
pullDown({
type: 'driver'
}).then((res) => {
if (res.code === '200') {
this.driveForm_list = res.data
console.log('下拉框请求驱动', res.data)
}
})
// -
pullDown({
type: 'horsepower'
}).then((res) => {
if (res.code === '200') {
this.power_list = res.data
console.log('下拉框请求驱动', res.data)
}
})
// -
pullDown({
type: 'vehicleVersion'
}).then((res) => {
if (res.code === '200') {
this.vehicleVersion_list = res.data
console.log('下拉框请求驱动', res.data)
}
})
// -
pullDown({
type: 'fuelType'
}).then((res) => {
if (res.code === '200') {
this.fuelType_list = res.data
console.log('下拉框请求驱动', res.data)
}
})
// -
pullDown({
type: 'gearbox'
}).then((res) => {
if (res.code === '200') {
this.gearboxType_list = res.data
console.log('下拉框请求驱动', res.data)
}
})
// -
pullDown({
type: 'emissionStandard'
}).then((res) => {
if (res.code === '200') {
this.emissionStandard_list = res.data
console.log('下拉框请求驱动', res.data)
}
})
// -
pullDown({
type: 'engineType'
}).then((res) => {
if (res.code === '200') {
this.engineType_list = res.data
console.log('下拉框请求发动机型号', res.data)
}
})
// -
pullDown({
type: 'marketSegments'
}).then((res) => {
if (res.code === '200') {
this.marketSegments_list = res.data
console.log('下拉框请求发动机型号', res.data)
}
})
},
//
handleReturn() {
this.$emit('doback')
},
//
indexMethod(index) {
var pagestart = (this.listQuery.current - 1) * this.listQuery.size
var pageindex = index + 1 + pagestart
return pageindex
},
resetState() {
this.viewState = 5
},
handleSelectionChange(row) {
const aa = []
row.forEach((element) => {
aa.push(element.sid)
})
this.sids = aa
console.log('选择的数据', this.sids)
},
//
getList() {
this.listLoading = true
// pagerList(this.listQuery).then((response) => {
// this.listLoading = false
// if (
// response.code === '200' &&
// response.data &&
// response.data.total > 0
// ) {
// this.list = response.data.records
// this.total = response.data.total
// } else {
// this.list = []
// this.total = 0
// }
// })
},
//
handleFilter() {
this.listQuery.current = 1
this.getList()
},
//
resetQuery() {
this.listQuery.params = {}
},
// ------------------------------------------------------
//
resetTemp() {
this.temp = {}
},
//
handleCheck(row) {
console.log('111', row)
this.viewState = 6
const sid = row.sid
this.$refs['divinfo'].showInfo(sid, row)
},
//
handleOpen() {
this.viewState = 6
},
// ID
handleDelete() {
console.log('删除', this.sids)
if (this.sids.length > 0) {
// deleteBySids(this.sids).then((response) => {
// if (response.code === '200') {
// this.$notify({
// title: '',
// message: '',
// type: 'success',
// duration: 2000
// })
// this.getList()
// } else {
// this.$notify({
// title: '',
// message: response.msg,
// type: 'error'
// })
// }
// })
} else {
this.$notify({
title: '提示',
message: '没有选择车型配置!!',
type: 'error',
duration: 2000
})
return
}
}
}
}
</script>
<style scoped>
/deep/ .el-collapse {
border-top: 0px solid #e6ebf5;
border-bottom: 0px solid #e6ebf5;
}
/deep/ .el-collapse-item__content {
margin: 0;
padding: 0;
}
/deep/ .el-collapse-item__wrap {
border-bottom: 0px solid #ebeef5;
}
/deep/ .el-collapse-item__header {
border-bottom: 0px solid #e6ebf5;
}
.searchli {
padding: 5px 100px;
}
</style>

398
anrui-scm/anrui-scm-ui/src/views/supplychain/caigoutuiku/caigoutuiku.vue

@ -0,0 +1,398 @@
<template>
<div class="app-container">
<div v-show="viewState === 1">
<button-bar view-title="采购退库管理" :btndisabled="btndisabled" @btnhandle="btnHandle"/>
<div class="searchcon">
<el-button size="small" class="searchbtn" @click="isSearchShow = !isSearchShow">{{ isSearchShow ? '隐藏查询条件' :
'显示查询条件' }}
</el-button>
<div v-show="isSearchShow" class="search">
<el-form :inline="true" class="tab-header">
<el-form-item class="formItem" label="申请日期">
<el-date-picker
value-format="yyyy-MM-dd"
v-model="queryParams.params.applicationDateStart"
clearable
style="width: 160px;"
type="date"
placeholder="开始日期"/>
<div class="line"></div>
<el-date-picker
value-format="yyyy-MM-dd"
v-model="queryParams.params.applicationDateEnd"
clearable
style="width: 160px;"
type="date"
placeholder="结束日期"/>
</el-form-item>
<el-form-item label="状态">
<!-- <el-select v-model="queryParams.params.billType" @change="changeBillType" style="width:200px"-->
<!-- filterable placeholder="请选择" clearable>-->
<!-- <el-option v-for="item in billType_list" :key="item.dictKey" :label="item.dictValue"-->
<!-- :value="item.dictKey"></el-option>-->
<!-- </el-select>-->
<el-input v-model="queryParams.params.vehicleName" placeholder="请输入状态" clearable/>
<el-date-picker
value-format="yyyy-MM-dd"
v-model="queryParams.params.applyDateStart"
clearable
style="width: 160px;"
type="date"
placeholder="开始日期"/>
<div class="line"></div>
<el-date-picker
value-format="yyyy-MM-dd"
v-model="queryParams.params.applyDateEnd"
clearable
style="width: 160px;"
type="date"
placeholder="结束日期"/>
</el-form-item>
<el-form-item label="状态">
<el-input v-model="queryParams.params.nodeState" placeholder="请输入状态" clearable/>
</el-form-item>
<el-divider/>
<div class="btn" style="text-align: center;">
<el-button type="primary" @click="dosearch">查询</el-button>
<el-button type="primary" @click="resetQuery">重置</el-button>
</div>
</el-form>
</div>
</div>
<!--Start 项目列表头部-->
<div class="listtop">
<div class="tit">车辆采购退库列表</div>
<pageye
v-show="dataList.length > 0"
:total="queryParams.total"
:page.sync="queryParams.current"
:limit.sync="queryParams.size"
class="pagination"
@pagination="loadList"/>
</div>
<!--End 项目列表头部-->
<!--Start 项目列表-->
<div class="listcon">
<el-table
v-loading="tableLoading"
:data="dataList"
border
style="width: 100%"
@selection-change="handleSelectionChange">
<el-table-column width="50" type="selection" align="center"/>
<el-table-column width="80" label="序号" type="index" :index="indexMethod" align="center"/>
<el-table-column width="150" label="操作" align="center">
<template slot-scope="scope">
<el-button
type="primary"
size="small"
:disabled="scope.row.nodeState=='' ? false : scope.row.nodeState=='排产申请'?false:true"
@click="toEdit(scope.row)">办理
</el-button>
<el-button type="primary" size="small" @click="toInfo(scope.row)">查看</el-button>
</template>
</el-table-column>
<el-table-column width="150" prop="nodeState" label="状态" align="center"/>
<el-table-column width="150" prop="schedulingType" label="排产类型" align="center"/>
<el-table-column width="200" prop="applicationCode" label="申请编号" align="center"/>
<el-table-column width="150" prop="applicationDate" label="申请日期" align="center"/>
<el-table-column width="150" prop="createByName" label="申请人" align="center"/>
<el-table-column prop="remarks" fit label="备注" align="left" header-align="center"/>
<el-table
v-loading="tableLoading"
:data="dataList"
border
style="width: 100%"
@selection-change="handleSelectionChange">
<el-table-column width="50px" type="selection" align="center"/>
<el-table-column width="80px" label="序号" type="index" :index="indexMethod" align="center"/>
<el-table-column width="150px" label="操作" align="center">
<template slot-scope="scope">
<div class="searchbtns">
<el-button
size="small"
type="primary"
:disabled="scope.row. nodeState== '' ? false:scope.row.nodeState == '发起订单'?false : true"
@click="changeNodeState(scope.row)">办理
</el-button>
<el-button size="small" type="primary" @click="toInfo(scope.row)">查看</el-button>
</div>
</template>
</el-table-column>
<el-table-column prop="nodeState" label="状态" align="center"/>
<el-table-column prop="applicationCode" label="申请编号" align="center"/>
<el-table-column prop="applicationName" label="申请人" align="center"/>
<el-table-column prop="createTime" label="申请日期" align="center"/>
<el-table-column prop="reason" label="退库原因" align="center"/>
<el-table-column prop="num" label="台数" align="center"/>
</el-table>
</el-table>
</div>
<!--End 项目列表-->
<div class="pages">
<!-- 翻页 -->
<pagination
v-show="dataList.length > 0"
:total="queryParams.total"
:page.sync="queryParams.current"
:limit.sync="queryParams.size"
class="pagination"
@pagination="loadList"/>
</div>
</div>
<!--End 查询和其列表部分-->
<!--新增修改部分组件-->
<div-add v-show="viewState == 2 || viewState == 3" ref="divadd" @doback="resetState" @reloadlist="loadList"/>
<!--详情部分组件-->
<div-info v-show="viewState == 4" ref="divinfo" @doback="resetState"/>
</div>
</template>
<script>
import req from '@/api/supplychain/busvehicleapply'
import ButtonBar from '@/components/ButtonBar'
import Pagination from '@/components/pagination'
import pageye from '@/components/pagination/pageye'
import divAdd from './caigoutuikuAdd'
import divInfo from './caigoutuikuInfo'
export default {
name: 'Caigoutuiku',
components: {
ButtonBar,
Pagination,
pageye,
divAdd,
divInfo
},
data() {
return {
btndisabled: false,
viewState: 1, // 1 2 3 4
isSearchShow: false, //
tableLoading: false,
//
dataList: [],
// sid
sids: [], // SID
sides: '', // sid
queryParams: {
current: 1,
size: 10,
total: 0,
params: {
applicationDateStart: '',
applicationDateEnd: '',
vehicleName: '' //
}
},
row: {}
}
},
created() {
this.loadList()
},
methods: {
btnHandle(btnKey) {
console.log('XXXXXXXXXXXXXXX' + btnKey)
switch (btnKey) {
case 'toAdd':
this.toAdd()
break
case 'toEdit':
this.toEdit()
break
case 'doSubmit':
this.doSubmit()
break
case 'doDel':
this.doDel()
break
case 'doImport':
this.doImport()
break
case 'doExport':
this.doExport()
break
default:
break
}
},
// sid
handleSelectionChange(row) {
const aa = []
row.forEach(element => {
aa.push(element.sid)
})
this.sids = aa
this.row = row
this.sides = this.sids.join() // sid
console.log('获取sids数组', this.sids)
},
toAdd(row) {
this.viewState = 2
this.$refs['divadd'].showAdd()
},
toEdit() {
if (this.sids.length === 0) {
this.$message({ showClose: true, type: 'error', message: '请选择一条记录进行编辑' })
return
}
if (this.sids.length > 1) {
this.$message({ showClose: true, type: 'error', message: '只能选择一条记录进行编辑' })
return
}
this.viewState = 3
const sid = this.sids[0]
const row = this.row
this.$refs['divadd'].showEdit(sid, row)
},
toInfo(row) {
this.viewState = 4
console.log('这是打开详情接口', row)
const sid = row.sid
this.$refs['divinfo'].showInfo(sid, row)
},
//
dosearch() {
this.queryParams.current = 1
this.loadList()
},
//
resetQuery() {
this.queryParams = {
current: 1,
size: 10,
total: 0,
params: {
applicationDateStart: '',
applicationDateEnd: '',
vehicleName: '' //
}
}
},
loadList() {
const _this = this
this.tableLoading = true
req.listPage(this.queryParams).then(resp => {
console.log('查询列表', resp)
_this.tableLoading = false
const data = resp.data
_this.queryParams.total = data.total
_this.dataList = data.records
}).catch(() => {
_this.tableLoading = false
})
},
//
indexMethod(index) {
var pagestart = (this.queryParams.current - 1) * this.queryParams.size
var pageindex = index + 1 + pagestart
return pageindex
},
//
doDel(row) {
if (this.sids.length === 0) {
this.$message({ showClose: true, type: 'error', message: '请选择至少一条记录进行删除操作' })
return
}
const tip = '请确认是否删除所选 ' + this.sids.length + ' 条记录?'
this.$confirm(tip, '提示', {
confirmButtonText: '确定',
cancelButtonText: '取消',
type: 'warning'
}).then(() => {
const loading = this.$loading({
lock: true,
text: 'Loading',
spinner: 'el-icon-loading',
background: 'rgba(0, 0, 0, 0.7)'
})
const _this = this
req.delBySids(this.sids).then(resp => {
loading.close()
_this.$message({ type: 'success', message: resp.msg, showClose: true })
_this.loadList()
}).catch(e => {
loading.close()
})
}).catch(() => {
})
},
//
resetState() {
this.viewState = 1
this.loadList()
},
doSubmit(row) {
//
this.btndisabled = true
req.doSubmit(this.queryParams.params, this.sids).then(resp => {
console.log(resp)
this.btndisabled = false
}).catch(() => {
this.btndisabled = false
})
},
doImport(row) {
//
req.importExcel(this.queryParams.params, this.sids).then(resp => {
console.log(resp)
}).catch(() => {
})
},
doExport(sids) {
//
req.exportExcel(this.queryParams.params, this.sids).then(resp => {
var map = resp.data
const fileName = map.filename //
// // <a> Firefox Chrome download
// // IE10blobdownload
const link = document.createElement('a') // a
link.download = fileName // a
link.style.display = 'none'
link.href = map.downurl
document.body.appendChild(link)
link.click() //
URL.revokeObjectURL(link.href) // url
document.body.removeChild(link) //
}).catch(() => {
})
}
}
}
</script>
<style scoped>
.line {
display: inline-block;
margin: 0px 15px;
}
.listtop {
display: flex;
justify-content: space-between;
align-items: center;
border: 1px solid #dfe4ed;
height: 40px;
}
.tit {
margin-bottom: -10px;
}
.pagination {
margin-bottom: -10px;
}
.formItem {
margin-right: 28px;
}
.line {
display: inline-block;
margin: 0 10px;
}
</style>

Some files were not shown because too many files changed in this diff

Loading…
Cancel
Save