소스 검색

排队以及合同管理

HUJIANGUO 3 년 전
부모
커밋
8d57306c4b
100개의 변경된 파일324개의 추가작업 그리고 6603개의 파일을 삭제
  1. 3 3
      config/index.js
  2. BIN
      src/assets/401_images/401.gif
  3. BIN
      src/assets/404_images/404.png
  4. BIN
      src/assets/404_images/404_cloud.png
  5. BIN
      src/assets/PDF/PDFbackgroundImg.jpg
  6. BIN
      src/assets/PDF/PDFscan.jpg
  7. BIN
      src/assets/PDF/printButton.png
  8. BIN
      src/assets/PDF/printCount.png
  9. BIN
      src/assets/PDF/printEnter1.png
  10. BIN
      src/assets/PDF/printEnter2.png
  11. BIN
      src/assets/PDF/printEnter3.png
  12. 0 0
      src/assets/WarrantyPDF/测试.txt
  13. 179 0
      src/assets/excel/Blob.js
  14. 142 0
      src/assets/excel/Export2Excel.js
  15. BIN
      src/assets/homepageimg/RMS.png
  16. BIN
      src/assets/homepageimg/TMS.png
  17. BIN
      src/assets/homepageimg/WMS.png
  18. BIN
      src/assets/homepageimg/beiji.jpg
  19. BIN
      src/assets/homepageimg/contract.png
  20. BIN
      src/assets/homepageimg/inward.png
  21. BIN
      src/assets/homepageimg/money.png
  22. BIN
      src/assets/homepageimg/queue.png
  23. BIN
      src/assets/homepageimg/sale.png
  24. BIN
      src/assets/homepageimg/statisticalReport.png
  25. BIN
      src/assets/homepageimg/微信图片_20211128192004.jpg
  26. BIN
      src/assets/img/car.png
  27. BIN
      src/assets/img/car1.png
  28. BIN
      src/assets/img/down.png
  29. BIN
      src/assets/img/empty.jpg
  30. BIN
      src/assets/img/end.png
  31. BIN
      src/assets/img/image.png
  32. BIN
      src/assets/img/min.png
  33. BIN
      src/assets/img/start.png
  34. BIN
      src/assets/img/vip.png
  35. BIN
      src/assets/login/login.jpg
  36. BIN
      src/assets/saleSelfMachine/Warranty.png
  37. BIN
      src/assets/saleSelfMachine/backgroundImg.jpg
  38. BIN
      src/assets/saleSelfMachine/billOfLading.png
  39. BIN
      src/assets/saleSelfMachine/scanCode.jpg
  40. BIN
      src/assets/saleSelfMachine/ticketChangeDeliveryNote.png
  41. 0 21
      src/views/TMS/app.html
  42. 0 28
      src/views/TMS/app.js
  43. 0 91
      src/views/TMS/bmsport/components/addHandlingFee.vue
  44. 0 97
      src/views/TMS/bmsport/components/handlingFee.vue
  45. 0 95
      src/views/TMS/bmsport/components/updateHandlingFee.vue
  46. 0 46
      src/views/TMS/bmsship/components/detailsOrder.vue
  47. 0 68
      src/views/TMS/bmsship/components/detailsStatement.vue
  48. 0 84
      src/views/TMS/bmsship/components/lossDetailsStatement.vue
  49. 0 132
      src/views/TMS/bmsship/components/shipBillingFormula.vue
  50. 0 84
      src/views/TMS/bmsship/components/shipResult.vue
  51. 0 69
      src/views/TMS/bmsship/components/statementDetailsOrder.vue
  52. 0 98
      src/views/TMS/bmsship/components/toBeStatement.vue
  53. 0 91
      src/views/TMS/bmsship/components/uncomplateDetails.vue
  54. 0 91
      src/views/TMS/bmsship/components/uncomplateWater.vue
  55. 0 95
      src/views/TMS/bmstrain/components/addTrainDetails.vue
  56. 0 51
      src/views/TMS/bmstrain/components/detailsTrainOrder.vue
  57. 0 88
      src/views/TMS/bmstrain/components/detailsTrainStatement.vue
  58. 0 69
      src/views/TMS/bmstrain/components/statementDetailsOrder.vue
  59. 0 48
      src/views/TMS/bmstrain/components/trainResult.vue
  60. 0 91
      src/views/TMS/bmstrain/components/uncomplateTrainDetails.vue
  61. 0 60
      src/views/TMS/bmstruck/components/detailsTruckOrder.vue
  62. 0 48
      src/views/TMS/bmstruck/components/truckResult.vue
  63. 0 62
      src/views/TMS/domesticMine/components/approveWagonPlease.vue
  64. 0 118
      src/views/TMS/domesticMine/components/approveWagonPleaseAdd.vue
  65. 0 99
      src/views/TMS/domesticMine/components/approveWagonPleaseEdit.vue
  66. 0 77
      src/views/TMS/domesticMine/components/entrust.vue
  67. 0 100
      src/views/TMS/domesticMine/components/wagonLoad.vue
  68. 0 435
      src/views/TMS/domesticMine/components/wagonLoadAdd.vue
  69. 0 103
      src/views/TMS/domesticMine/components/wagonLoadEdit.vue
  70. 0 290
      src/views/TMS/domesticMine/components/wagonLoadbu.vue
  71. 0 151
      src/views/TMS/domesticMine/components/wagonPlease.vue
  72. 0 94
      src/views/TMS/domesticMine/components/wagonPleaseAdd.vue
  73. 0 100
      src/views/TMS/domesticMine/components/wagonPleaseEdit.vue
  74. 0 92
      src/views/TMS/domesticMine/components/wagonUnLoad.vue
  75. 0 100
      src/views/TMS/domesticMine/components/wagonUnLoadAdd.vue
  76. 0 99
      src/views/TMS/domesticMine/components/wagonUnLoadEdit.vue
  77. 0 75
      src/views/TMS/download/index.vue
  78. 0 466
      src/views/TMS/importedEmergency/addWagonLoad.vue
  79. 0 105
      src/views/TMS/importedEmergency/addWagonUnLoad.vue
  80. 0 102
      src/views/TMS/importedEmergency/editWagonLoad.vue
  81. 0 100
      src/views/TMS/importedEmergency/editWagonUnLoad.vue
  82. 0 63
      src/views/TMS/importedEmergency/entrust.vue
  83. 0 93
      src/views/TMS/importedEmergency/trainDetails.vue
  84. 0 89
      src/views/TMS/importedEmergency/wagonLoad.vue
  85. 0 96
      src/views/TMS/importedEmergency/wagonUnLoad.vue
  86. 0 375
      src/views/TMS/importedFuel/transportReserveFuAdd.vue
  87. 0 178
      src/views/TMS/importedFuel/transportReserveRan.vue
  88. 0 581
      src/views/TMS/importedFuel/transportReserveRanAdd.vue
  89. 0 83
      src/views/TMS/importedFuel/transportReserveRanEdit.vue
  90. 0 60
      src/views/TMS/importedFuel/truckDriverReceiveRan.vue
  91. 0 78
      src/views/TMS/importedFuel/truckEnfactoryRanLaoResult.vue
  92. 0 78
      src/views/TMS/importedFuel/truckEnfactoryRanXingResult.vue
  93. 0 43
      src/views/TMS/importedFuel/truckJiMaoRanLaoResult.vue
  94. 0 43
      src/views/TMS/importedFuel/truckJiMaoRanXingResult.vue
  95. 0 44
      src/views/TMS/importedFuel/truckJiPiRanLaoResult.vue
  96. 0 44
      src/views/TMS/importedFuel/truckJiPiRanXingResult.vue
  97. 0 44
      src/views/TMS/importedFuel/truckLeaveFactoryRanLaoResult.vue
  98. 0 43
      src/views/TMS/importedFuel/truckLeaveFactoryRanXingResult.vue
  99. 0 56
      src/views/TMS/importedFuel/truckQualityRanLaoResult.vue
  100. 0 96
      src/views/TMS/importedFuel/truckQualityRanLaoResultEdit.vue

+ 3 - 3
config/index.js

@@ -56,9 +56,9 @@ let proxyTable = {
   "/api/v1": {
     target: "http://172.16.33.166:8080",
     ws: true,
-    // pathRewrite: {
-    //   "^/api/v1": "/"
-    // }
+    pathRewrite: {
+      "^/api/v1": "/api/v1"
+    }
   },
   '/icore.icp.web/pass/logout': {
     target: 'http://172.16.33.161:9001/logout',

BIN
src/assets/401_images/401.gif


BIN
src/assets/404_images/404.png


BIN
src/assets/404_images/404_cloud.png


BIN
src/assets/PDF/PDFbackgroundImg.jpg


BIN
src/assets/PDF/PDFscan.jpg


BIN
src/assets/PDF/printButton.png


BIN
src/assets/PDF/printCount.png


BIN
src/assets/PDF/printEnter1.png


BIN
src/assets/PDF/printEnter2.png


BIN
src/assets/PDF/printEnter3.png


+ 0 - 0
src/assets/WarrantyPDF/测试.txt


+ 179 - 0
src/assets/excel/Blob.js

@@ -0,0 +1,179 @@
+/* eslint-disable */
+/* Blob.js
+ * A Blob implementation.
+ * 2014-05-27
+ *
+ * By Eli Grey, http://eligrey.com
+ * By Devin Samarin, https://github.com/eboyjr
+ * License: X11/MIT
+ *   See LICENSE.md
+ */
+ 
+/*global self, unescape */
+/*jslint bitwise: true, regexp: true, confusion: true, es5: true, vars: true, white: true,
+ plusplus: true */
+ 
+/*! @source http://purl.eligrey.com/github/Blob.js/blob/master/Blob.js */
+ 
+(function (view) {
+    "use strict";
+ 
+    view.URL = view.URL || view.webkitURL;
+ 
+    if (view.Blob && view.URL) {
+        try {
+            new Blob;
+            return;
+        } catch (e) {}
+    }
+ 
+    // Internally we use a BlobBuilder implementation to base Blob off of
+    // in order to support older browsers that only have BlobBuilder
+    var BlobBuilder = view.BlobBuilder || view.WebKitBlobBuilder || view.MozBlobBuilder || (function(view) {
+            var
+                get_class = function(object) {
+                    return Object.prototype.toString.call(object).match(/^\[object\s(.*)\]$/)[1];
+                }
+                , FakeBlobBuilder = function BlobBuilder() {
+                    this.data = [];
+                }
+                , FakeBlob = function Blob(data, type, encoding) {
+                    this.data = data;
+                    this.size = data.length;
+                    this.type = type;
+                    this.encoding = encoding;
+                }
+                , FBB_proto = FakeBlobBuilder.prototype
+                , FB_proto = FakeBlob.prototype
+                , FileReaderSync = view.FileReaderSync
+                , FileException = function(type) {
+                    this.code = this[this.name = type];
+                }
+                , file_ex_codes = (
+                    "NOT_FOUND_ERR SECURITY_ERR ABORT_ERR NOT_READABLE_ERR ENCODING_ERR "
+                    + "NO_MODIFICATION_ALLOWED_ERR INVALID_STATE_ERR SYNTAX_ERR"
+                ).split(" ")
+                , file_ex_code = file_ex_codes.length
+                , real_URL = view.URL || view.webkitURL || view
+                , real_create_object_URL = real_URL.createObjectURL
+                , real_revoke_object_URL = real_URL.revokeObjectURL
+                , URL = real_URL
+                , btoa = view.btoa
+                , atob = view.atob
+ 
+                , ArrayBuffer = view.ArrayBuffer
+                , Uint8Array = view.Uint8Array
+                ;
+            FakeBlob.fake = FB_proto.fake = true;
+            while (file_ex_code--) {
+                FileException.prototype[file_ex_codes[file_ex_code]] = file_ex_code + 1;
+            }
+            if (!real_URL.createObjectURL) {
+                URL = view.URL = {};
+            }
+            URL.createObjectURL = function(blob) {
+                var
+                    type = blob.type
+                    , data_URI_header
+                    ;
+                if (type === null) {
+                    type = "application/octet-stream";
+                }
+                if (blob instanceof FakeBlob) {
+                    data_URI_header = "data:" + type;
+                    if (blob.encoding === "base64") {
+                        return data_URI_header + ";base64," + blob.data;
+                    } else if (blob.encoding === "URI") {
+                        return data_URI_header + "," + decodeURIComponent(blob.data);
+                    } if (btoa) {
+                        return data_URI_header + ";base64," + btoa(blob.data);
+                    } else {
+                        return data_URI_header + "," + encodeURIComponent(blob.data);
+                    }
+                } else if (real_create_object_URL) {
+                    return real_create_object_URL.call(real_URL, blob);
+                }
+            };
+            URL.revokeObjectURL = function(object_URL) {
+                if (object_URL.substring(0, 5) !== "data:" && real_revoke_object_URL) {
+                    real_revoke_object_URL.call(real_URL, object_URL);
+                }
+            };
+            FBB_proto.append = function(data/*, endings*/) {
+                var bb = this.data;
+                // decode data to a binary string
+                if (Uint8Array && (data instanceof ArrayBuffer || data instanceof Uint8Array)) {
+                    var
+                        str = ""
+                        , buf = new Uint8Array(data)
+                        , i = 0
+                        , buf_len = buf.length
+                        ;
+                    for (; i < buf_len; i++) {
+                        str += String.fromCharCode(buf[i]);
+                    }
+                    bb.push(str);
+                } else if (get_class(data) === "Blob" || get_class(data) === "File") {
+                    if (FileReaderSync) {
+                        var fr = new FileReaderSync;
+                        bb.push(fr.readAsBinaryString(data));
+                    } else {
+                        // async FileReader won't work as BlobBuilder is sync
+                        throw new FileException("NOT_READABLE_ERR");
+                    }
+                } else if (data instanceof FakeBlob) {
+                    if (data.encoding === "base64" && atob) {
+                        bb.push(atob(data.data));
+                    } else if (data.encoding === "URI") {
+                        bb.push(decodeURIComponent(data.data));
+                    } else if (data.encoding === "raw") {
+                        bb.push(data.data);
+                    }
+                } else {
+                    if (typeof data !== "string") {
+                        data += ""; // convert unsupported types to strings
+                    }
+                    // decode UTF-16 to binary string
+                    bb.push(unescape(encodeURIComponent(data)));
+                }
+            };
+            FBB_proto.getBlob = function(type) {
+                if (!arguments.length) {
+                    type = null;
+                }
+                return new FakeBlob(this.data.join(""), type, "raw");
+            };
+            FBB_proto.toString = function() {
+                return "[object BlobBuilder]";
+            };
+            FB_proto.slice = function(start, end, type) {
+                var args = arguments.length;
+                if (args < 3) {
+                    type = null;
+                }
+                return new FakeBlob(
+                    this.data.slice(start, args > 1 ? end : this.data.length)
+                    , type
+                    , this.encoding
+                );
+            };
+            FB_proto.toString = function() {
+                return "[object Blob]";
+            };
+            FB_proto.close = function() {
+                this.size = this.data.length = 0;
+            };
+            return FakeBlobBuilder;
+        }(view));
+ 
+    view.Blob = function Blob(blobParts, options) {
+        var type = options ? (options.type || "") : "";
+        var builder = new BlobBuilder();
+        if (blobParts) {
+            for (var i = 0, len = blobParts.length; i < len; i++) {
+                builder.append(blobParts[i]);
+            }
+        }
+        return builder.getBlob(type);
+    };
+}(typeof self !== "undefined" && self || typeof window !== "undefined" && window || this.content || this));

+ 142 - 0
src/assets/excel/Export2Excel.js

@@ -0,0 +1,142 @@
+
+/* eslint-disable */
+require('script-loader!file-saver');
+require('./Blob');
+require('script-loader!xlsx/dist/xlsx.core.min');
+function generateArray(table) {
+    var out = [];
+    var rows = table.querySelectorAll('tr');
+    var ranges = [];
+    for (var R = 0; R < rows.length; ++R) {
+        var outRow = [];
+        var row = rows[R];
+        var columns = row.querySelectorAll('td');
+        for (var C = 0; C < columns.length; ++C) {
+            var cell = columns[C];
+            var colspan = cell.getAttribute('colspan');
+            var rowspan = cell.getAttribute('rowspan');
+            var cellValue = cell.innerText;
+            if (cellValue !== "" && cellValue == +cellValue) cellValue = +cellValue;
+ 
+            //Skip ranges
+            ranges.forEach(function (range) {
+                if (R >= range.s.r && R <= range.e.r && outRow.length >= range.s.c && outRow.length <= range.e.c) {
+                    for (var i = 0; i <= range.e.c - range.s.c; ++i) outRow.push(null);
+                }
+            });
+ 
+            //Handle Row Span
+            if (rowspan || colspan) {
+                rowspan = rowspan || 1;
+                colspan = colspan || 1;
+                ranges.push({s: {r: R, c: outRow.length}, e: {r: R + rowspan - 1, c: outRow.length + colspan - 1}});
+            }
+            ;
+ 
+            //Handle Value
+            outRow.push(cellValue !== "" ? cellValue : null);
+ 
+            //Handle Colspan
+            if (colspan) for (var k = 0; k < colspan - 1; ++k) outRow.push(null);
+        }
+        out.push(outRow);
+    }
+    return [out, ranges];
+};
+ 
+function datenum(v, date1904) {
+    if (date1904) v += 1462;
+    var epoch = Date.parse(v);
+    return (epoch - new Date(Date.UTC(1899, 11, 30))) / (24 * 60 * 60 * 1000);
+}
+ 
+function sheet_from_array_of_arrays(data, opts) {
+    var ws = {};
+    var range = {s: {c: 10000000, r: 10000000}, e: {c: 0, r: 0}};
+    for (var R = 0; R != data.length; ++R) {
+        for (var C = 0; C != data[R].length; ++C) {
+            if (range.s.r > R) range.s.r = R;
+            if (range.s.c > C) range.s.c = C;
+            if (range.e.r < R) range.e.r = R;
+            if (range.e.c < C) range.e.c = C;
+            var cell = {v: data[R][C]};
+            if (cell.v == null) continue;
+            var cell_ref = XLSX.utils.encode_cell({c: C, r: R});
+ 
+            if (typeof cell.v === 'number') cell.t = 'n';
+            else if (typeof cell.v === 'boolean') cell.t = 'b';
+            else if (cell.v instanceof Date) {
+                cell.t = 'n';
+                cell.z = XLSX.SSF._table[14];
+                cell.v = datenum(cell.v);
+            }
+            else cell.t = 's';
+ 
+            ws[cell_ref] = cell;
+        }
+    }
+    if (range.s.c < 10000000) ws['!ref'] = XLSX.utils.encode_range(range);
+    return ws;
+}
+ 
+function Workbook() {
+    if (!(this instanceof Workbook)) return new Workbook();
+    this.SheetNames = [];
+    this.Sheets = {};
+}
+ 
+function s2ab(s) {
+    var buf = new ArrayBuffer(s.length);
+    var view = new Uint8Array(buf);
+    for (var i = 0; i != s.length; ++i) view[i] = s.charCodeAt(i) & 0xFF;
+    return buf;
+}
+ 
+export function export_table_to_excel(id) {
+    var theTable = document.getElementById(id);
+    console.log('a')
+    var oo = generateArray(theTable);
+    var ranges = oo[1];
+ 
+    /* original data */
+    var data = oo[0];
+    var ws_name = "SheetJS";
+    console.log(data);
+ 
+    var wb = new Workbook(), ws = sheet_from_array_of_arrays(data);
+ 
+    /* add ranges to worksheet */
+    // ws['!cols'] = ['apple', 'banan'];
+    ws['!merges'] = ranges;
+ 
+    /* add worksheet to workbook */
+    wb.SheetNames.push(ws_name);
+    wb.Sheets[ws_name] = ws;
+ 
+    var wbout = XLSX.write(wb, {bookType: 'xlsx', bookSST: false, type: 'binary'});
+ 
+    saveAs(new Blob([s2ab(wbout)], {type: "application/octet-stream"}), "test.xlsx")
+}
+ 
+function formatJson(jsonData) {
+    console.log(jsonData)
+}
+export function export_json_to_excel(th, jsonData, defaultTitle) {
+ 
+    /* original data */
+ 
+    var data = jsonData;
+    data.unshift(th);
+    var ws_name = "SheetJS";
+ 
+    var wb = new Workbook(), ws = sheet_from_array_of_arrays(data);
+ 
+ 
+    /* add worksheet to workbook */
+    wb.SheetNames.push(ws_name);
+    wb.Sheets[ws_name] = ws;
+ 
+    var wbout = XLSX.write(wb, {bookType: 'xlsx', bookSST: false, type: 'binary'});
+    var title = defaultTitle || '列表'
+    saveAs(new Blob([s2ab(wbout)], {type: "application/octet-stream"}), title + ".xlsx")
+}

BIN
src/assets/homepageimg/RMS.png


BIN
src/assets/homepageimg/TMS.png


BIN
src/assets/homepageimg/WMS.png


BIN
src/assets/homepageimg/beiji.jpg


BIN
src/assets/homepageimg/contract.png


BIN
src/assets/homepageimg/inward.png


BIN
src/assets/homepageimg/money.png


BIN
src/assets/homepageimg/queue.png


BIN
src/assets/homepageimg/sale.png


BIN
src/assets/homepageimg/statisticalReport.png


BIN
src/assets/homepageimg/微信图片_20211128192004.jpg


BIN
src/assets/img/car.png


BIN
src/assets/img/car1.png


BIN
src/assets/img/down.png


BIN
src/assets/img/empty.jpg


BIN
src/assets/img/end.png


BIN
src/assets/img/image.png


BIN
src/assets/img/min.png


BIN
src/assets/img/start.png


BIN
src/assets/img/vip.png


BIN
src/assets/login/login.jpg


BIN
src/assets/saleSelfMachine/Warranty.png


BIN
src/assets/saleSelfMachine/backgroundImg.jpg


BIN
src/assets/saleSelfMachine/billOfLading.png


BIN
src/assets/saleSelfMachine/scanCode.jpg


BIN
src/assets/saleSelfMachine/ticketChangeDeliveryNote.png


+ 0 - 21
src/views/TMS/app.html

@@ -1,21 +0,0 @@
-<!DOCTYPE html>
-<html>
-  <head>
-    <meta charset="utf-8">
-    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
-    <meta name="renderer" content="webkit">
-    <meta content="工业互联网平台 iCore-ICP" name="keywords">
-    <meta content="工业互联网平台 iCore-ICP" name="description">
-    <title>加载中... - 工业互联网平台 iCore-ICP</title>
-    <link href="../static/css/common.css" rel="stylesheet"/>
-    <link href="../static/img/favicon.ico" rel="shortcut icon"/>
-    <script src="../static/lib/jquery/jquery.min.js" type="text/javascript"></script>
-    <script src="../static/lib/jquery/jquery.PrintArea.js" type="text/javascript"></script>
-    <script src="../static/lib/qrcode.min.js" type="text/javascript"></script>
-    <script src='../static/lib/XLSX/xlsx.core.min.js' type='text/javascript'></script>
-    <script src="../static/js/common.js" type="text/javascript"></script>
-  </head>
-  <body>
-    <div id="app"></div>
-  </body>
-</html>

+ 0 - 28
src/views/TMS/app.js

@@ -1,28 +0,0 @@
-// The Vue build version to load with the `import` command
-// (runtime-only or standalone) has been set in webpack.base.conf with an alias.
-import Vue from 'vue';
-import App from '@/components/App.vue';
-// include
-import '@/config/include.js';
-// 通用store
-import store from '@/store/index.js';
-
-// router
-// import router from '../router/index.js';
-
-
-// 注册表格的全局组件
-import DilCommonUI from "@/components/DilCommonUI";
-Vue.use(DilCommonUI);
-
-// 关闭生产模式下给出的提示
-Vue.config.productionTip = false;
-
-/* eslint-disable no-new */
-new Vue({
-  el: '#app',
-  router,
-  store,
-  components: { App },
-  template: '<App/>'
-});

+ 0 - 91
src/views/TMS/bmsport/components/addHandlingFee.vue

@@ -1,91 +0,0 @@
-<template>
-  <!-- 船只信息页面 -->
-  <div class="homeworkPath">
-    <page-title>港口装卸费</page-title>
-    <div class="main">
-      <span class="text">港口装卸费新增</span>
-      <span class="a"></span>
-    </div>
-    <div>
-      <div class="form-box" style="margin-left: 5rem">
-        <el-form ><dil-form :formId="222" v-model="form"></dil-form></el-form>
-      </div>
-    </div>
-    <div class="button-ins">
-      <el-button type="primary" @click="makeSure">新增港口装卸费</el-button>
-    </div>
-    <dilTable v-bind.sync="option" @radio-change="currentRadioChange">
-    </dilTable>
-  </div>
-</template>
-
-<script>
-import PageTitle from "@/components/Page/Title";
-import { sjTime } from "@/js/sharedJsFile";
-export default {
-  components: { PageTitle },
-  data() {
-    return {
-      restaurants: [],
-      state: "",
-      form: {},
-      option: {
-        // 表格请求数据的地址
-        requestUrl: "/api/v1/bms/getBatch?apiId=115",
-        // 控制显示当选列
-        selectionType: "radio",
-        rowMap:{},
-      },
-    };
-  },
-  mounted() {
-  },
-  methods: {
-    currentRadioChange(row) {
-      this.rowMap=row
-      console.log(this.rowMap);
-    },
-    // 新增
-    makeSure() {
-      let mapVal = {
-        feeMaterialTonnage: this.form.feeMaterialTonnage,
-      };
-      console.log(mapVal);
-      if (
-      mapVal.feeMaterialTonnage==null
-      ) this.$message.error("存在空值!");
-      else
-      this.$axios
-        .post(
-          "/api/v1/bms/addPortHandlingFee",
-          {
-           mapVal:mapVal,
-           rowMap:this.rowMap
-          }
-        )
-        .then((res) => {
-          if (res.data.code == 200) {
-            this.$message({
-              type: "success",
-              message: "新增成功!",
-            });
-            // this.$refs.table.refreshData();
-            this.$router.go(-1);
-          } else {
-            this.$message.error("新增失败!");
-          }
-          this.$refs['table'].resetField();
-        });
-    },
-    handleSelect(item) {
-      console.log(item);
-    },
-    onclick() {
-      console.log(1);
-    },
-  },
-};
-</script>
-<style lang='scss' scoped>
-@import "@/styles/appoint/contract/ContractInsert.scss";
-</style>

+ 0 - 97
src/views/TMS/bmsport/components/handlingFee.vue

@@ -1,97 +0,0 @@
-<template>
-  <!-- 港口装卸费页面 -->
-  <div class="homeworkPath">
-    <div class="top">
-      <el-input placeholder="请输入内容" v-model="input" clearable> </el-input>
-      <el-button type="primary" class="btn" @click="onclick">
-        <i class="el-icon-search"></i>查询
-      </el-button>
-      <el-button type="primary" class="btn" @click="addclick">
-        新增
-      </el-button>
-    </div>
-    <dilTable v-bind.sync="option">
-      <el-table-column fixed="right" label="操作" align="center" width="100">
-        <template slot-scope="scope">
-          <el-button @click="click(scope.row.feeId)" type="text" size="small"
-            >编辑</el-button
-          >
-          <el-button
-            type="text"
-            size="small"
-            @click="deleteclick(scope.row.feeId)"
-            >删除</el-button
-          >
-        </template>
-      </el-table-column>
-    </dilTable>
-  </div>
-</template>
-
-<script>
-export default {
-  name: "homeworkPath",
-  data() {
-    return {
-      input:"",
-      restaurants: [],
-      state: "",
-      option: {
-        // 表格请求数据的地址
-        requestUrl: "/api/v1/bms/getPortHandlingFeeList?apiId=151"
-      },
-    };
-  },
-  mounted() {
-  },
-  methods: {
-    handleSelect(item) {
-      console.log(item);
-    },
-    onclick() {
-      this.option.requestUrl = "/api/v1/bms/getPortHandlingFeeList?apiId=151&con="+this.input;
-    },
-    click(feeId) {
-      this.$router.push("/updateHandlingFee/" + feeId);
-    },
-    addclick() {
-      this.$router.push("/addHandlingFee");
-    },
-    deleteclick(scope) {
-      let feeId = scope;
-      this.$confirm("是否删除", "提示", {
-        confirmButtonText: "确定",
-        cancelButtonText: "取消",
-        type: "warning",
-        center: true,
-      })
-        .then(() => {
-          this.$axios
-            .post(
-              "/api/v1/bms/deletePortHandlingFee/" + feeId
-            )
-            .then(() => {
-                        this.$message({
-            type: "success",
-            message: "删除成功!",
-          });
-              this.$router.go(0);
-            });
-        })
-        .catch(() => {
-          this.$message({
-            type: "info",
-            message: "取消删除!",
-          });
-        });
-    },
-  },
-};
-</script>
-<style lang='scss' scoped>
-.homeworkPath {
-  .top {
-    padding: 1.25rem 1.875rem;
-  }
-}
-</style>

+ 0 - 95
src/views/TMS/bmsport/components/updateHandlingFee.vue

@@ -1,95 +0,0 @@
-<template>
-  <!-- 修改港口装卸费 -->
-  <div id="contractDetails">
-    <page-title>编辑</page-title>
-    <div class="main">
-      <span class="text">港口装卸费</span>
-      <span class="a"></span>
-    </div>
-    <div class="contractTitle">
-      <div class="form-box">
-        <div class="form-one">
-          <dil-form :formId="223" v-model="form1"></dil-form>
-        </div>
-      </div>
-    </div>
-
-    <div class="button-box">
-      <el-button type="primary" @click="onClickConfirm">确认</el-button>
-      <el-button @click="onClickCancel">返回</el-button>
-    </div>
-  </div>
-</template>
-
-<script>
-import PageTitle from "@/components/Page/Title";
-export default {
-  components: { PageTitle },
- data(){
-     return {
-      form1: {},
-  }
- },
-  mounted() {
-    this.information();
-  },
-  methods: {
-    information() {
-      //编辑位置作业
-      this.$axios
-        .post("/api/v1/bms/getFeeToUpdate/" + this.$route.params.feeId)
-        .then((res) => {
-          res.data.data.forEach((e) => {
-            this.form1 = e;
-            // console.log(e);
-            // console.log(this.form1);
-            // console.log(this.$route.params.loadingId);
-          });
-        });
-    },
-    handleCheckedCitiesChange(value) {
-      console.log(value);
-    },
-    // 返回
-    onClickCancel() {
-      this.$router.go(-1);
-    },
-    currentRadioChange(row) {
-      this.aaaa = row;
-    },
-    // 确认
-    onClickConfirm() {
-      let mapVal = {
-        feeId: this.$route.params.feeId,
-        materialId: this.form1.materialId,
-        feeForeignShipName: this.form1.feeForeignShipName,
-        feeMaterialTonnage: this.form1.feeMaterialTonnage,
-        priceId: this.form1.priceId,
-        feeValue: this.form1.feeValue,
-      };
-      console.log(mapVal);
-      this.$axios
-        .post(
-          "/api/v1/bms/updatePortHandlingFee",
-          mapVal
-        )
-        .then((res) => {
-          if (res.data.code == 200) {
-            this.$message({
-              type: "success",
-              message: "修改成功!",
-            });
-            // this.$refs.table.refreshData();
-            this.$router.go(-1);
-          } else {
-            this.$message.error("修改失败!");
-          }
-          this.$refs['table'].resetField();
-        });
-    },
-  },
-};
-</script>
-<style lang="scss" scoped>
-@import "@/styles/appoint/contract/ContractInsert.scss";
-</style>

+ 0 - 46
src/views/TMS/bmsship/components/detailsOrder.vue

@@ -1,46 +0,0 @@
-<template>
-  <!-- 船运计费账单页面 -->
-  <div class="purchaseOrder">
-    <div class="top">
-      <el-input placeholder="请输入内容" v-model="input" clearable> </el-input>
-      <el-button type="primary" class="btn" @click="onclick">
-        <i class="el-icon-search"></i>查询
-      </el-button>
-
-    </div>
-    <dilTable v-bind.sync="option" class="table">
-      
-    </dilTable>
-  </div>
-</template>
-
-<script>
-export default {
-  name: "purchaseOrder",
-  data() {
-    return {
-      input:"",
-      restaurants: [],
-      state: "",
-      option: {
-        // 表格请求数据的地址
-        requestUrl: "/api/v1/bms/getDetailsOrderList?apiId=93",
-      },
-    };
-  },
-  mounted() {
-  },
-  methods: {
-    onclick() {
-      this.option.requestUrl = "/api/v1/bms/getDetailsOrderList?apiId=93&con="+this.input;
-    },
-  },
-};
-</script>
-<style lang='scss' scoped>
-.purchaseOrder {
-  .top {
-    padding: 1.25rem 1.875rem;
-  }
-}
-</style>

+ 0 - 68
src/views/TMS/bmsship/components/detailsStatement.vue

@@ -1,68 +0,0 @@
-<template>
-  <!-- 船运计费详单页面 -->
-  <div class="purchaseOrder">
-    <div class="top">
-      <el-input placeholder="请输入内容" v-model="input" clearable> </el-input>
-      <el-button type="primary" class="btn" @click="onclick">
-        <i class="el-icon-search"></i>查询
-      </el-button>
-      <el-button type="primary" @click="shipclick">
-        生成水运费账单
-      </el-button>
-      <el-button type="primary" @click="waterclick">
-        生成水分检测费账单
-      </el-button>
-      <el-button type="primary" @click="click()">
-        生成途损费账单
-      </el-button>
-    </div>
-    <dilTable v-bind.sync="option" >
-      <el-table-column fixed="right" label="操作" width="100">
-        <template slot-scope="scope">
-          <el-button @click="btnclick(scope.row)" type="text" size="small"
-            >详情</el-button
-          >
-        </template>
-      </el-table-column>
-    </dilTable>
-  </div>
-</template>
-
-<script>
-export default {
-  name: "purchaseOrder",
-  data() {
-    return {
-      input:"",
-      option: {
-        // 表格请求数据的地址
-        requestUrl: "/api/v1/bms/getStatementList?apiId=113",
-      },
-    };
-  },
-  methods: {
-    onclick() {
-      this.option.requestUrl = "/api/v1/bms/getStatementList?apiId=113&con="+this.input;
-    },
-    btnclick(row) {
-      this.$router.push("/bmsship/statementDetailsOrder/" + row.batchId + "?statementId=" + row.statementId);
-    },
-    shipclick() {
-      this.$router.push("/bmsship/uncomplateDetails");
-    },
-    waterclick() {
-      this.$router.push("/bmsship/uncomplateWater");
-    },
-    click() {
-      this.$router.push("/bmsship/toBeStatement");
-    }
-  },
-};
-</script>
-<style lang='scss' scoped>
-.purchaseOrder {
-  .top {
-    padding: 1.25rem 1.875rem;
-  }
-}
-</style>

+ 0 - 84
src/views/TMS/bmsship/components/lossDetailsStatement.vue

@@ -1,84 +0,0 @@
-<template>
-  <!-- 船运计费详单页面 -->
-  <div class="purchaseOrder">
-    <div class="top">
-      <el-input placeholder="请输入内容" v-model="input" clearable> </el-input>
-      <el-button type="primary" class="btn" @click="onclick">
-        <i class="el-icon-search"></i>查询
-      </el-button>
-      <!-- <el-button type="primary" @click="click()">
-        生成途损费账单
-      </el-button> -->
-    </div>
-    <dilTable v-bind.sync="option">
-      <!-- <el-table-column fixed="right" label="操作" width="100">
-        <template slot-scope="scope">
-          <el-button @click="btnclick(scope.row)" type="text" size="small"
-            >详情</el-button
-          >
-        </template>
-      </el-table-column> -->
-    </dilTable>
-  </div>
-</template>
-
-<script>
-export default {
-  name: "purchaseOrder",
-  data() {
-    return {
-      input:"",
-      option: {
-        // 表格请求数据的地址
-        requestUrl: "/api/v1/bms/getLossStatementList?apiId=113",
-        // // 控制显示多选列
-        // selectionType: "select",
-        // mapList:[],
-      },
-    };
-  },
-  methods: {
-    // selectionChange(selection) { 
-    //   this.mapList=selection
-    // },
-    onclick() {
-      this.option.requestUrl = "/api/v1/bms/getLossStatementList?apiId=113&con="+this.input;
-    },
-    // btnclick(row) {
-    //   this.$router.push("/bmsship/statementDetailsOrder/" + row.batchId + "?statementId=" + row.statementId);
-    // },
-    // click() {
-    //   this.$confirm("是否生成", "提示", {
-    //     confirmButtonText: "确定",
-    //     cancelButtonText: "取消",
-    //     type: "warning",
-    //     center: true,
-    //   })
-    //     .then(() => {
-    //       this.$message({
-    //         type: "success",
-    //         message: "生成途损账单成功!",
-    //       });
-    //   this.$axios.post("/api/v1/bmsship/bmsshipstatement/addLossStatement",this.mapList)
-    //               .then(() => {
-    //           this.$router.go(0);
-    //         });
-    //     })
-    //     .catch(() => {
-    //       this.$message({
-    //         type: "info",
-    //         message: "取消生成!",
-    //       });
-    //     });
-      // this.$router.push("/path/addHomeworkPath/");
-    // },
-  },
-};
-</script>
-<style lang='scss' scoped>
-.purchaseOrder {
-  .top {
-    padding: 1.25rem 1.875rem;
-  }
-}
-</style>

+ 0 - 132
src/views/TMS/bmsship/components/shipBillingFormula.vue

@@ -1,132 +0,0 @@
-<template>
-  <!-- 计费公式页面 -->
-  <div id="expression">
-    <!-- 计算公式 -->
-    <div>
-      <img src="@/assets/img/min.png" alt="" />
-      <span>水运费计算公式</span>
-    </div>
-    <hr />
-    <table>
-      <!-- <tr v-for="(item, i) in shipFeesFormula" :key="i"> -->
-        <td class="left">{{ shipFeesFormula.formula_name }} :</td>
-        <td>
-          <span>{{ shipFeesFormula.formula_string }}</span>
-        </td>
-      <!-- </tr> -->
-    </table>
-        <!-- 计算公式 -->
-    <div>
-      <img src="@/assets/img/min.png" alt="" />
-      <span>水分检测费计算公式</span>
-    </div>
-    <hr />
-    <table>
-      <!-- <tr v-for="(item, i) in waterFeesFormula" :key="i"> -->
-        <td class="left">{{ waterFeesFormula.formula_name }} :</td>
-        <td>
-          <span>{{ waterFeesFormula.formula_string }}</span>
-        </td>
-      <!-- </tr> -->
-    </table>
-        <!-- 计算公式 -->
-    <div>
-      <img src="@/assets/img/min.png" alt="" />
-      <span>途损费计算公式</span>
-    </div>
-    <hr />
-    <table>
-      <!-- <tr v-for="(item, i) in lossFeesFormula" :key="i"> -->
-        <td class="left">{{ lossFeesFormula.formula_name }} :</td>
-        <td>
-          <span>{{ lossFeesFormula.formula_string }}</span>
-        </td>
-      <!-- </tr> -->
-    </table>
-  </div>
-</template>
-
-<script>
-export default {
-  data() {
-    return {
-      shipFeesFormula: {},
-      lossFeesFormula: {},
-      waterFeesFormula: {},
-    };
-  },
-  created() {
-    // 获取水运费计算公式
-    this.$axios
-      .post("/api/v1/bms/getShipFeesFormula")
-      .then((res) => {
-        this.shipFeesFormula = res.data.data;
-        console.log(this.shipFeesFormula);
-      });
-    // 获取油价
-    this.$axios
-      .post("/api/v1/bms/getLossFeesFormula")
-      .then((res) => {
-        this.lossFeesFormula = res.data.data;
-        console.log(this.lossFeesFormula);
-      });
-      // 获取油价
-    this.$axios
-      .post("/api/v1/bms/getWaterFeesFormula")
-      .then((res) => {
-        this.waterFeesFormula = res.data.data;
-        console.log(this.waterFeesFormula);
-      });
-  },
-};
-</script>
-
-<style scoped>
-#expression {
-  margin-top: 4.375rem;
-  margin-left: 1.875rem;
-}
-#oilPrice {
-  margin-top: 4.375rem;
-}
-img {
-  width: 1rem;
-}
-span {
-  margin-left: 0.625rem;
-}
-hr {
-  margin: -0.5rem 1.875rem 0 7.5rem;
-  background-color: rgb(220, 223, 231);
-  height: 0.0625rem;
-  border: none;
-}
-table {
-  margin-top: 3.125rem;
-  margin-left: 3.125rem;
-  width: 93.75rem;
-  border: 0.0625rem solid rgb(220, 223, 231);
-  border-collapse: collapse;
-}
-.left {
-  width: 10.25rem;
-  background: #f0f7ff;
-  text-align: center;
-}
-.right {
-  text-align: left;
-}
-tr {
-  height: 2.875rem;
-}
-td {
-  height: 6.25rem ; text-align:initial; border: 0.0625rem solid rgb(220, 223, 231);
-}
-.el-input {
-  width: 6.25rem;
-  text-align: center;
-}
-.oil {
-  margin-left: 0.625rem;
-}
-</style>

+ 0 - 84
src/views/TMS/bmsship/components/shipResult.vue

@@ -1,84 +0,0 @@
-<template>
-  <!-- 船运实绩页面 -->
-  <div class="purchaseOrder">
-    <div class="top">
-      <el-input
-        placeholder="请输入内容"
-        v-model="input"
-        clearable>
-      </el-input>
-      <el-button type="primary" class="btn" @click="onclick">
-        <i class="el-icon-search" ></i>查询
-      </el-button>
-      <!-- <el-button type="primary" @click="click">
-        生成水分检测账单
-      </el-button> -->
-    </div>
-    <dilTable v-bind.sync="option">
-    </dilTable>
-  </div>
-</template>
-
-<script>
-export default {
-  name: "purchaseOrder",
-  data() {
-    return {
-      input:"",
-      restaurants: [],
-      state: "",
-      option: {
-        // 表格请求数据的地址
-        requestUrl: "/api/v1/bms/getShipResult?apiId=112&batchId="
-        + this.$route.params.batchId,
-        //         // 控制显示多选列
-        // selectionType: "select",
-        // mapList:[],
-      },
-    };
-  },
-  mounted() {
-  },
-  methods: {
-  //  selectionChange(selection) { 
-  //     this.mapList=selection
-  //   }, 
-    onclick() {
-      console.log(1);
-    },
-    // click() {
-    //   console.log(this.mapList);
-    //   this.$confirm("是否生成", "提示", {
-    //     confirmButtonText: "确定",
-    //     cancelButtonText: "取消",
-    //     type: "warning",
-    //     center: true,
-    //   })
-    //     .then(() => {
-    //       this.$message({
-    //         type: "success",
-    //         message: "生成水分检测账单成功!",
-    //       });
-    //   this.$axios.post("/api/v1/bmsship/bmsshipstatement/addWaterStatement",this.mapList)
-    //               .then(() => {
-    //           console.log(this.mapList);
-    //           this.$router.go(0);
-    //         });
-    //     })
-    //     .catch(() => {
-    //       this.$message({
-    //         type: "info",
-    //         message: "取消生成!",
-    //       });
-    //     });
-    // }
-  },
-};
-</script>
-<style lang='scss' scoped>
-.purchaseOrder {
-  .top {
-    padding: 1.25rem 1.875rem;
-  }
-}
-</style>

+ 0 - 69
src/views/TMS/bmsship/components/statementDetailsOrder.vue

@@ -1,69 +0,0 @@
-<template>
-  <!-- 船运计费账单所属详单页面 -->
-  <div class="purchaseOrder">
-    <div class="top">
-    </div>
-     <el-divider content-position="left">计费详单</el-divider>
-    <dilTable v-bind.sync="option">
-      <el-table-column fixed="right" label="操作" align="center" width="100">
-        <template slot-scope="scope">
-          <el-button @click="btnclick(scope.row.batchId)" type="text" size="small"
-            >船运实绩</el-button
-          >
-          <!-- <el-button @click="onclick(scope.row.batchId)" type="text" size="small"
-            >汽运实绩</el-button
-          > -->
-        </template>
-      </el-table-column>
-    </dilTable>
-  </div>
-</template>
-
-<script>
-export default {
-  name: "purchaseOrder",
-  data() {
-    return {
-      input:"",
-      option: {
-        // 表格请求数据的地址
-        requestUrl: "/api/v1/bms/getStatementDetailsOrderList?apiId=93&batchId="
-          + this.$route.params.batchId + "&statementId=" + this.$route.query.statementId,
-      },
-      tableData: [{
-            shipperName: '',
-            shipCost: '',
-            lossCost: '',
-            waterFees: '',
-            statementTotalAmount: ''
-          }]
-    };
-  },
-  mounted(){
-    // this.initialization();
-  },
-  methods: {
-    // initialization(){
-    //   this.$axios.post('/api/v1/bmsship/bmsshipstatement/getAllCost?batchId='+this.$route.params.batchId).then((res)=>{
-    //     this.tableData = res.data.data
-    //   })
-    // },
-    // onclick(batchId) {
-    //   this.$route.push("/bmsship/shipResult/" + batchId)
-    // },
-    btnclick(batchId) {
-      this.$router.push("/bmsship/shipResult/" + batchId);
-    },
-    // click(batchId) {
-    //   this.$route.push("/bmsship/shipResult/" + batchId)
-    // },
-  },
-};
-</script>
-<style lang='scss' scoped>
-.purchaseOrder {
-  .top {
-    padding: 1.25rem 1.875rem;
-  }
-}
-</style>

+ 0 - 98
src/views/TMS/bmsship/components/toBeStatement.vue

@@ -1,98 +0,0 @@
-<template>
-  <!-- 船运计费详单页面 -->
-  <div class="purchaseOrder">
-    <div class="top">
-      <el-input placeholder="请输入内容" v-model="input" clearable> </el-input>
-      <el-button type="primary" class="btn" @click="onclick">
-        <i class="el-icon-search"></i>查询
-      </el-button>
-      <el-button type="primary" @click="btnclick">
-        生成途损费账单
-      </el-button>
-    </div>
-    <dilTable v-bind.sync="option"  @radio-change="currentRadioChange">
-      <!-- <el-table-column fixed="right" label="操作" width="100"> -->
-        <!-- <template slot-scope="scope">
-          <el-button @click="click(scope.row.pathId)" type="text" size="small"
-            >编辑</el-button
-          >
-          <el-button
-            type="text"
-            size="small"
-            @click="deleteclick(scope.row.pathId)"
-            >删除</el-button
-          >
-        </template> -->
-      <!-- </el-table-column> -->
-    </dilTable>
-  </div>
-</template>
-
-<script>
-export default {
-  name: "purchaseOrder",
-  data() {
-    return {
-      input:"",
-      option: {
-        // 表格请求数据的地址
-        requestUrl: "/api/v1/bms/getBatch?apiId=115",
-        // 控制显示当选列
-        selectionType: "radio",
-        map:{},
-      },
-    };
-  },
-  methods: {
-    currentRadioChange(row) {
-      this.map=row
-      console.log(row);
-    },
-    onclick() {
-      this.option.requestUrl = "/api/v1/bms/getBatch?apiId=115&con="+this.input;
-    },
-    btnclick() {
-      this.$confirm("是否生成", "提示", {
-        confirmButtonText: "确定",
-        cancelButtonText: "取消",
-        type: "warning",
-        center: true,
-      })
-        .then(() => {
-         
-      this.$axios.post("/api/v1/bms/addLossStatement",this.map)
-                  .then((res) => {
-                    var  num = res.data.data;
-                    console.log(num,"num");
-                    if( num > 0){
-                       this.$message({
-                          type: "success",
-                          message: "生成账单成功!",
-                        });
-                    }else{
-                       this.$message({
-                          type: "warning",
-                          message: "未产生途损费用!",
-                        });
-                    }
-              this.$router.go(-1);
-            });
-        })
-        .catch(() => {
-          this.$message({
-            type: "info",
-            message: "取消生成!",
-          });
-        });
-      // this.$router.push("/path/addHomeworkPath/");
-    },
-  },
-};
-</script>
-<style lang='scss' scoped>
-.purchaseOrder {
-  .top {
-    padding: 1.25rem 1.875rem;
-  }
-}
-</style>

+ 0 - 91
src/views/TMS/bmsship/components/uncomplateDetails.vue

@@ -1,91 +0,0 @@
-<template>
-  <!-- 船运计费详单页面 -->
-  <div class="purchaseOrder">
-    <div class="top">
-      <el-input
-        placeholder="请输入内容"
-        v-model="input"
-        clearable>
-      </el-input>
-      <el-button type="primary" class="btn" @click="onclick">
-        <i class="el-icon-search"></i>查询
-      </el-button>
-      <el-button type="primary" @click="btnclick">
-        生成水运费账单
-      </el-button>
-    </div>
-    <dilTable v-bind.sync="option" @selection-change="selectionChange">
-      <!-- <el-table-column fixed="right" label="操作" width="100"> -->
-        <!-- <template slot-scope="scope">
-          <el-button @click="click(scope.row.pathId)" type="text" size="small"
-            >编辑</el-button
-          >
-          <el-button
-            type="text"
-            size="small"
-            @click="deleteclick(scope.row.pathId)"
-            >删除</el-button
-          >
-        </template> -->
-      <!-- </el-table-column> -->
-    </dilTable>
-  </div>
-</template>
-
-<script>
-export default {
-  name: "purchaseOrder",
-  data() {
-    return {
-      input:"",
-      option: {
-        // 表格请求数据的地址
-        requestUrl: "/api/v1/bms/getUncomplateDetailsOrderList?apiId=93",
-        // 控制显示多选列
-        selectionType: "select",
-        mapList:[],
-      },
-    };
-  },
-  methods: {
-    selectionChange(selection) { 
-      this.mapList=selection
-    },
-    onclick() {
-      console.log(1);
-    },
-    btnclick() {
-      this.$confirm("是否生成", "提示", {
-        confirmButtonText: "确定",
-        cancelButtonText: "取消",
-        type: "warning",
-        center: true,
-      })
-        .then(() => {
-          this.$message({
-            type: "success",
-            message: "生成账单成功!",
-          });
-      this.$axios.post("/api/v1/bms/addStatement",this.mapList)
-                  .then(() => {
-              this.$router.go(0);
-            });
-        })
-        .catch(() => {
-          this.$message({
-            type: "info",
-            message: "取消生成!",
-          });
-        });
-      // this.$router.push("/path/addHomeworkPath/");
-    },
-  },
-};
-</script>
-<style lang='scss' scoped>
-.purchaseOrder {
-  .top {
-    padding: 1.25rem 1.875rem;
-  }
-}
-</style>

+ 0 - 91
src/views/TMS/bmsship/components/uncomplateWater.vue

@@ -1,91 +0,0 @@
-<template>
-  <!-- 船运计费详单页面 -->
-  <div class="purchaseOrder">
-    <div class="top">
-      <el-input
-        placeholder="请输入内容"
-        v-model="input"
-        clearable>
-      </el-input>
-      <el-button type="primary" class="btn" @click="onclick">
-        <i class="el-icon-search"></i>查询
-      </el-button>
-      <el-button type="primary" @click="btnclick">
-        生成水分检测费账单
-      </el-button>
-    </div>
-    <dilTable v-bind.sync="option" @selection-change="selectionChange">
-      <!-- <el-table-column fixed="right" label="操作" width="100"> -->
-        <!-- <template slot-scope="scope">
-          <el-button @click="click(scope.row.pathId)" type="text" size="small"
-            >编辑</el-button
-          >
-          <el-button
-            type="text"
-            size="small"
-            @click="deleteclick(scope.row.pathId)"
-            >删除</el-button
-          >
-        </template> -->
-      <!-- </el-table-column> -->
-    </dilTable>
-  </div>
-</template>
-
-<script>
-export default {
-  name: "purchaseOrder",
-  data() {
-    return {
-      input:"",
-      option: {
-        // 表格请求数据的地址
-        requestUrl: "/api/v1/bms/getWaterResult?apiId=114",
-        // 控制显示多选列
-        selectionType: "select",
-        mapList:[],
-      },
-    };
-  },
-  methods: {
-    selectionChange(selection) { 
-      this.mapList=selection
-    },
-    onclick() {
-      console.log(1);
-    },
-    btnclick() {
-      this.$confirm("是否生成", "提示", {
-        confirmButtonText: "确定",
-        cancelButtonText: "取消",
-        type: "warning",
-        center: true,
-      })
-        .then(() => {
-          this.$message({
-            type: "success",
-            message: "生成账单成功!",
-          });
-      this.$axios.post("/api/v1/bms/addWaterStatement",this.mapList)
-                  .then(() => {
-              this.$router.go(-1);
-            });
-        })
-        .catch(() => {
-          this.$message({
-            type: "info",
-            message: "取消生成!",
-          });
-        });
-      // this.$router.push("/path/addHomeworkPath/");
-    },
-  },
-};
-</script>
-<style lang='scss' scoped>
-.purchaseOrder {
-  .top {
-    padding: 1.25rem 1.875rem;
-  }
-}
-</style>

+ 0 - 95
src/views/TMS/bmstrain/components/addTrainDetails.vue

@@ -1,95 +0,0 @@
-<template>
-  <!-- 火运计费详单页面 -->
-  <div class="purchaseOrder">
-    <div class="top">
-      <el-input
-        placeholder="请输入内容"
-        v-model="input"
-        clearable>
-      </el-input>
-      <el-button type="primary" class="btn" @click="onclick">
-        <i class="el-icon-search"></i>查询
-      </el-button>
-      <el-button type="primary" @click="btnclick">
-        生成火运详单
-      </el-button>
-    </div>
-    <dilTable v-bind.sync="option" @radio-change="currentRadioChange">
-      <!-- <el-table-column fixed="right" label="操作" width="100"> -->
-        <!-- <template slot-scope="scope">
-          <el-button @click="click(scope.row.pathId)" type="text" size="small"
-            >编辑</el-button
-          >
-          <el-button
-            type="text"
-            size="small"
-            @click="deleteclick(scope.row.pathId)"
-            >删除</el-button
-          >
-        </template> -->
-      <!-- </el-table-column> -->
-    </dilTable>
-  </div>
-</template>
-
-<script>
-export default {
-  name: "purchaseOrder",
-  data() {
-    return {
-      input:"",
-      option: {
-        // 表格请求数据的地址
-        requestUrl: "/api/v1/bms/getTrainResultList?apiId=122",
-        // 控制显示当选列
-        selectionType: "radio",
-        map:{},
-      },
-    };
-  },
-  methods: {
-    // selectionChange(selection) { 
-    //   this.mapList=selection
-    // },
-    currentRadioChange(row) {
-      this.map=row
-      console.log(row);
-    },
-    onclick() {
-      console.log(1);
-    },
-    btnclick() {
-      this.$confirm("是否生成", "提示", {
-        confirmButtonText: "确定",
-        cancelButtonText: "取消",
-        type: "warning",
-        center: true,
-      })
-        .then(() => {
-          this.$message({
-            type: "success",
-            message: "生成详单成功!",
-          });
-      this.$axios.post("/api/v1/bms/addTrainDetails",this.map)
-                  .then(() => {
-              this.$router.go(-1);
-            });
-        })
-        .catch(() => {
-          this.$message({
-            type: "info",
-            message: "取消生成!",
-          });
-        });
-      // this.$router.push("/path/addHomeworkPath/");
-    },
-  },
-};
-</script>
-<style lang='scss' scoped>
-.purchaseOrder {
-  .top {
-    padding: 1.25rem 1.875rem;
-  }
-}
-</style>

+ 0 - 51
src/views/TMS/bmstrain/components/detailsTrainOrder.vue

@@ -1,51 +0,0 @@
-<template>
-  <!-- 火运计费详单页面 -->
-  <div class="purchaseOrder">
-    <div class="top">
-      <el-input placeholder="请输入内容" v-model="input" clearable> </el-input>
-      <el-button type="primary" class="btn" @click="onclick">
-        <i class="el-icon-search"></i>查询
-      </el-button>
-      <el-button type="primary" @click="detailsclick">
-        生成详单
-      </el-button>
-    </div>
-    <dilTable v-bind.sync="option">
-      
-    </dilTable>
-  </div>
-</template>
-
-<script>
-export default {
-  name: "purchaseOrder",
-  data() {
-    return {
-      input:"",
-      restaurants: [],
-      state: "",
-      option: {
-        // 表格请求数据的地址
-        requestUrl: "/api/v1/bms/getTrainDetailsOrderList?apiId=118",
-      },
-    };
-  },
-  mounted() {
-  },
-  methods: {
-    onclick() {
-      this.option.requestUrl = "/api/v1/bms/getTrainDetailsOrderList?apiId=118&con="+this.input;
-    },
-    detailsclick() {
-        this.$router.push("/bmstrain/addTrainDetails");
-    }
-  },
-};
-</script>
-<style lang='scss' scoped>
-.purchaseOrder {
-  .top {
-    padding: 1.25rem 1.875rem;
-  }
-}
-</style>

+ 0 - 88
src/views/TMS/bmstrain/components/detailsTrainStatement.vue

@@ -1,88 +0,0 @@
-<template>
-  <!-- 火运费账单页面 -->
-  <div class="purchaseOrder">
-    <div class="top">
-      <el-input placeholder="请输入内容" v-model="input" clearable> </el-input>
-      <el-button type="primary" class="btn" @click="onclick">
-        <i class="el-icon-search"></i>查询
-      </el-button>
-      <el-button type="primary" @click="trainclick">
-        生成火运费账单
-      </el-button>
-    </div>
-    <dilTable v-bind.sync="option">
-      <el-table-column fixed="right" label="操作" width="100">
-        <template slot-scope="scope">
-          <el-button @click="btnclick(scope.row)" type="text" size="small"
-            >详情</el-button
-          >
-        </template>
-      </el-table-column>
-    </dilTable>
-  </div>
-</template>
-
-<script>
-export default {
-  name: "purchaseOrder",
-  data() {
-    return {
-      input:"",
-      option: {
-        // 表格请求数据的地址
-        requestUrl: "/api/v1/bms/getTrainStatementList?apiId=121",
-
-      },
-    };
-  },
-  methods: {
-    onclick() {
-      this.option.requestUrl = "/api/v1/bms/getTrainStatementList?apiId=121&con="+this.input;
-    },
-    btnclick(row) {
-      this.$router.push("/bmstrain/statementDetailsOrder/" + row.batchId + "?statementId=" + row.statementId);
-    },
-    trainclick() {
-      this.$router.push("/bmstrain/uncomplateTrainDetails");
-    },
-    // waterclick() {
-    //   this.$router.push("/bmsship/uncomplateWater");
-    // },
-    // click() {
-    //   this.$confirm("是否生成", "提示", {
-    //     confirmButtonText: "确定",
-    //     cancelButtonText: "取消",
-    //     type: "warning",
-    //     center: true,
-    //   })
-    //     .then(() => {
-    //       this.$message({
-    //         type: "success",
-    //         message: "生成途损账单成功!",
-    //       });
-    //   this.$axios.post("/api/v1/bmsship/bmsshipstatement/addLossStatement",this.mapList)
-    //               .then(() => {
-    //           this.$router.go(-1);
-    //         });
-    //     })
-    //     .catch(() => {
-    //       this.$message({
-    //         type: "info",
-    //         message: "取消生成!",
-    //       });
-    //     });
-    //   // this.$router.push("/path/addHomeworkPath/");
-    // },
-    // click() {
-    //   this.$router.push("/bmsship/toBeStatement");
-    // }
-  },
-};
-</script>
-<style lang='scss' scoped>
-.purchaseOrder {
-  .top {
-    padding: 1.25rem 1.875rem;
-  }
-}
-</style>

+ 0 - 69
src/views/TMS/bmstrain/components/statementDetailsOrder.vue

@@ -1,69 +0,0 @@
-<template>
-  <!-- 火运计费账单所属详单页面 -->
-  <div class="purchaseOrder">
-    <div class="top">
-    </div>
-     <el-divider content-position="left">计费详单</el-divider>
-    <dilTable v-bind.sync="option">
-      <el-table-column fixed="right" label="操作" align="center" width="100">
-        <template slot-scope="scope">
-          <el-button @click="btnclick(scope.row.detailsId)" type="text" size="small"
-            >火运实绩</el-button
-          >
-          <!-- <el-button @click="onclick(scope.row.batchId)" type="text" size="small"
-            >汽运实绩</el-button
-          > -->
-        </template>
-      </el-table-column>
-    </dilTable>
-  </div>
-</template>
-
-<script>
-export default {
-  name: "purchaseOrder",
-  data() {
-    return {
-      input:"",
-      option: {
-        // 表格请求数据的地址
-        requestUrl: "/api/v1/bms/getComplateTrainDetailsList?apiId=118&batchId="
-          + this.$route.params.batchId + "&statementId=" + this.$route.query.statementId,
-      },
-      tableData: [{
-            shipperName: '',
-            shipCost: '',
-            lossCost: '',
-            waterFees: '',
-            statementTotalAmount: ''
-          }]
-    };
-  },
-  mounted(){
-    // this.initialization();
-  },
-  methods: {
-    // initialization(){
-    //   this.$axios.post('/api/v1/bmsship/bmsshipstatement/getAllCost?batchId='+this.$route.params.batchId).then((res)=>{
-    //     this.tableData = res.data.data
-    //   })
-    // },
-    // onclick(batchId) {
-    //   this.$route.push("/bmsship/shipResult/" + batchId)
-    // },
-    btnclick(detailsId) {
-      this.$router.push("/bmstrain/trainResult/" + detailsId);
-    },
-    // click(batchId) {
-    //   this.$route.push("/bmsship/shipResult/" + batchId)
-    // },
-  },
-};
-</script>
-<style lang='scss' scoped>
-.purchaseOrder {
-  .top {
-    padding: 1.25rem 1.875rem;
-  }
-}
-</style>

+ 0 - 48
src/views/TMS/bmstrain/components/trainResult.vue

@@ -1,48 +0,0 @@
-<template>
-  <!-- 火运实绩页面 -->
-  <div class="purchaseOrder">
-    <div class="top">
-      <el-input
-        placeholder="请输入内容"
-        v-model="input"
-        clearable>
-      </el-input>
-      <el-button type="primary" class="btn" @click="onclick">
-        <i class="el-icon-search" ></i>查询
-      </el-button>
-    </div>
-    <dilTable v-bind.sync="option">
-    </dilTable>
-  </div>
-</template>
-
-<script>
-export default {
-  name: "purchaseOrder",
-  data() {
-    return {
-      restaurants: [],
-      state: "",
-      option: {
-        // 表格请求数据的地址
-        requestUrl: "/api/v1/bms/getStatementTrainResultList?apiId=122&detailsId="
-        + this.$route.params.detailsId
-      },
-    };
-  },
-  mounted() {
-  },
-  methods: {
-    onclick() {
-      console.log(1);
-    },
-  },
-};
-</script>
-<style lang='scss' scoped>
-.purchaseOrder {
-  .top {
-    padding: 1.25rem 1.875rem;
-  }
-}
-</style>

+ 0 - 91
src/views/TMS/bmstrain/components/uncomplateTrainDetails.vue

@@ -1,91 +0,0 @@
-<template>
-  <!-- 火运计费详单页面 -->
-  <div class="purchaseOrder">
-    <div class="top">
-      <el-input
-        placeholder="请输入内容"
-        v-model="input"
-        clearable>
-      </el-input>
-      <el-button type="primary" class="btn" @click="onclick">
-        <i class="el-icon-search"></i>查询
-      </el-button>
-      <el-button type="primary" @click="btnclick">
-        生成火运费账单
-      </el-button>
-    </div>
-    <dilTable v-bind.sync="option" @selection-change="selectionChange">
-      <!-- <el-table-column fixed="right" label="操作" width="100"> -->
-        <!-- <template slot-scope="scope">
-          <el-button @click="click(scope.row.pathId)" type="text" size="small"
-            >编辑</el-button
-          >
-          <el-button
-            type="text"
-            size="small"
-            @click="deleteclick(scope.row.pathId)"
-            >删除</el-button
-          >
-        </template> -->
-      <!-- </el-table-column> -->
-    </dilTable>
-  </div>
-</template>
-
-<script>
-export default {
-  name: "purchaseOrder",
-  data() {
-    return {
-      input:"",
-      option: {
-        // 表格请求数据的地址
-        requestUrl: "/api/v1/bms/getUncomplateTrainDetailsList?apiId=118",
-        // 控制显示多选列
-        selectionType: "select",
-        mapList:[],
-      },
-    };
-  },
-  methods: {
-    selectionChange(selection) { 
-      this.mapList=selection
-    },
-    onclick() {
-      console.log(1);
-    },
-    btnclick() {
-      this.$confirm("是否生成", "提示", {
-        confirmButtonText: "确定",
-        cancelButtonText: "取消",
-        type: "warning",
-        center: true,
-      })
-        .then(() => {
-          this.$message({
-            type: "success",
-            message: "生成账单成功!",
-          });
-      this.$axios.post("/api/v1/bms/addTrainStatement",this.mapList)
-                  .then(() => {
-              this.$router.go(-1);
-            });
-        })
-        .catch(() => {
-          this.$message({
-            type: "info",
-            message: "取消生成!",
-          });
-        });
-      // this.$router.push("/path/addHomeworkPath/");
-    },
-  },
-};
-</script>
-<style lang='scss' scoped>
-.purchaseOrder {
-  .top {
-    padding: 1.25rem 1.875rem;
-  }
-}
-</style>

+ 0 - 60
src/views/TMS/bmstruck/components/detailsTruckOrder.vue

@@ -1,60 +0,0 @@
-<template>
-  <!-- 汽运计费详单页面 -->
-  <div class="purchaseOrder">
-    <div class="top">
-      <el-input placeholder="请输入内容" v-model="input" clearable> </el-input>
-      <el-button type="primary" class="btn" @click="onclick">
-        <i class="el-icon-search"></i>查询
-      </el-button>
-
-    </div>
-    <dilTable v-bind.sync="options">
-      <el-table-column fixed="right" label="操作" align="center" width="100">
-        <template slot-scope="scope">
-          <el-button @click="btnclick(scope.row.orderId)" type="text" size="small"
-            >汽运实绩</el-button
-          >
-        </template>
-      </el-table-column>
-    </dilTable>
-  </div>
-</template>
-
-<script>
-export default {
-  name: "purchaseOrder",
-  data() {
-    return {
-      input:"",
-      restaurants: [],
-      state: "",
-      options: {
-        // 表格请求数据的地址
-        requestUrl: "/api/v1/bms/getTruckDetailsOrderList?apiId=140&orderType=3",
-      },
-    };
-  },
-  mounted() {
-  },
-  watch:{
-        // value1(){
-        //   this.option.requestUrl="/api/v1/bmsship/bmsshipdetailsorder/getDetailsOrderList/93?con="+this.value1
-        // }
-      },
-  methods: {
-    onclick() {
-        this.options.requestUrl = "/api/v1/bms/getTruckDetailsOrderList?apiId=140&orderType=3&con="+this.input;
-    },
-    btnclick(orderId) {
-      this.$router.push("/bmstruck/truckResult/" + orderId);
-    },
-  },
-};
-</script>
-<style lang='scss' scoped>
-.purchaseOrder {
-  .top {
-    padding: 1.25rem 1.875rem;
-  }
-}
-</style>

+ 0 - 48
src/views/TMS/bmstruck/components/truckResult.vue

@@ -1,48 +0,0 @@
-<template>
-  <!-- 汽运实绩页面 -->
-  <div class="purchaseOrder">
-    <div class="top">
-      <el-input
-        placeholder="请输入内容"
-        v-model="input"
-        clearable>
-      </el-input>
-      <el-button type="primary" class="btn" @click="onclick">
-        <i class="el-icon-search" ></i>查询
-      </el-button>
-    </div>
-    <dilTable v-bind.sync="option">
-    </dilTable>
-  </div>
-</template>
-
-<script>
-export default {
-  name: "purchaseOrder",
-  data() {
-    return {
-      restaurants: [],
-      state: "",
-      option: {
-        // 表格请求数据的地址
-        requestUrl: "/api/v1/bms/getTruckResultList?apiId=142&orderId="
-        + this.$route.params.orderId
-      },
-    };
-  },
-  mounted() {
-  },
-  methods: {
-    onclick() {
-      console.log(1);
-    },
-  },
-};
-</script>
-<style lang='scss' scoped>
-.purchaseOrder {
-  .top {
-    padding: 1.25rem 1.875rem;
-  }
-}
-</style>

+ 0 - 62
src/views/TMS/domesticMine/components/approveWagonPlease.vue

@@ -1,62 +0,0 @@
-<template>
-  <!-- 批车作业页面 -->
-  <div class="homeworkPath">
-    <div class="top">
-      <el-input placeholder="请输入内容" v-model="input" clearable> </el-input>
-      <el-button type="primary" class="btn" @click="onclick">
-        <i class="el-icon-search"></i>查询
-      </el-button>
-      <el-button type="primary" @click="btnclick">
-        <i class="el-icon-plus"></i>新增
-      </el-button>
-    </div>
-
-    <dilTable v-bind.sync="option">
-      <el-table-column fixed="right" label="操作" width="50">
-        <template slot-scope="scope">
-          <el-button
-            @click="updateClick(scope.row.resultId)"
-            type="text"
-            size="small"
-          >
-            修改
-          </el-button>
-        </template>
-      </el-table-column>
-    </dilTable>
-  </div>
-</template>
-
-
-<script>
-export default {
-  name: "wagonPlease",
-  data() {
-    return {
-      input: "",
-      option: {
-        // 表格请求数据的地址
-        requestUrl: "api/v1/tms/getApproveAllWagonPlease?apiId=70&resultType=3",
-      },
-    };
-  },
-  methods: {
-    onclick() {
-      this.option.requestUrl = "api/v1/tms/getApproveAllWagonPlease?apiId=70&resultType=3&con="+this.input;
-    },
-    btnclick() {
-      this.$router.push("/domesticMine/approveWagonPleaseAdd");
-    },
-    updateClick(resultId) {
-      this.$router.push("/domesticMine/approveWagonPleaseEdit/" + resultId);
-    },
-  },
-};
-</script>
-<style lang='scss' scoped>
-.homeworkPath {
-  .top {
-    padding: 1.25rem 1.875rem;
-  }
-}
-</style>

+ 0 - 118
src/views/TMS/domesticMine/components/approveWagonPleaseAdd.vue

@@ -1,118 +0,0 @@
-<template>
-  <!-- 新增批车作业页面 -->
-  <div id="contractDetails">
-    <page-title>批车作业</page-title>
-
-    <div class="main">
-      <span class="text">选择已下发请车作业</span>
-      <span class="a"></span>
-    </div>
- 
-  <div>
-      <dilTable
-        v-bind.sync="option"
-        v-model="table1"
-        @change="handleCheckedCitiesChange"
-        ref="table"
-        @radio-change="currentRadioChange"
-      >
-    
-      </dilTable>
-    </div>
-    <div class="main">
-      <span class="text">新增批车作业</span>
-      <span class="a"></span>
-    </div>
-    <div class="contractTitle">
-      <div class="form-box">
-        <div class="form-one">
-          <dil-form :formId="105" v-model="form1"></dil-form>
-        </div>
-      </div>
-    </div>
-    <div class="button-box">
-      <el-button @click="onClickCancel">返回</el-button>
-      <el-button type="primary" @click="onClickConfirm">确认</el-button>
-      
-    </div>
-  </div>
-</template>
-
-<script>
-import PageTitle from "@/components/Page/Title";
-import { sjTime } from "@/js/sharedJsFile";
-export default {
-  components: { PageTitle },
-  data() {
-    return {
-      option: {
-        // 表格请求数据的地址
-        requestUrl:
-          "/api/v1/tms/getAllWagonPlease?apiId=57&status=1&resultType=3",
-        // 控制显示当选列
-        selectionType: "radio",
-      },
-      // 表单
-      form1: {},
-      // 表格
-      table1: {},
-      contractId: "",
-      inf: {},
-    };
-  },
-  mounted() {
-    // this.unit();
-  },
-  methods: {
-    handleCheckedCitiesChange(value) {
-      console.log(value);
-    },
-    // 返回
-    onClickCancel() {
-      this.$router.go(-1);
-    },
-    currentRadioChange(row) {
-      this.inf = row;
-    },
-    // 确认
-    onClickConfirm() {
-      let approveWagonPlease = {
-        resultId: this.inf.resultId,
-        resultApproveDate: sjTime(this.form1.resultApproveDate),
-        resultApproveNumber: this.form1.resultApproveNumber
-      };
-      function isNumber() {
-        var value = approveWagonPlease.resultApproveNumber;
-        //验证是否为数字
-        var patrn = /^(-)?\d+(\.\d+)?$/;
-        if (patrn.exec(value) == null || value == "") {
-          return false;
-        } else {
-          return true;
-        }
-      }
-      var val = this.value;
-      if (
-        approveWagonPlease.resultId==null||
-        approveWagonPlease.resultApproveDate==null||
-        approveWagonPlease.resultApproveNumber==null
-      ) this.$message.error("存在空值!");
-      else
-      if (!isNumber(val)) this.$message.error("请车数量必须是数字!");
-      else
-      this.$axios
-        .post("/api/v1/tms/addApproveWagonPlease", approveWagonPlease)
-        .then(() => {
-          this.$message({
-            type: "success",  
-            message: "新增成功!",
-          });
-          this.$router.go(-1);
-        });
-    },
-  },
-};
-</script>
-<style lang="scss" scoped>
-@import "@/styles/appoint/contract/ContractInsert.scss";
-</style>

+ 0 - 99
src/views/TMS/domesticMine/components/approveWagonPleaseEdit.vue

@@ -1,99 +0,0 @@
-<template>
-  <!-- 修改批车作业页面 -->
-  <div id="contractDetails">
-    <page-title>批车作业</page-title>
-    <div class="main">
-      <span class="text">修改批车车作业</span>
-      <span class="a"></span>
-    </div>
-    <div class="contractTitle">
-      <div class="form-box">
-        <div class="form-one">
-          <dil-form :formId="140" v-model="form1"></dil-form>
-        </div>
-      </div>
-    </div>  
- 
-    <div class="button-box">
-      <el-button @click="onClickCancel">返回</el-button>
-      <el-button type="primary" @click="onClickConfirm">确认</el-button>
-    </div>
-  </div>
-</template>
-
-<script>
-import PageTitle from "@/components/Page/Title";
-export default {
-  components: { PageTitle },
-    data(){
-          return {
-          form1: {},
-        }
-    },
-  mounted() {
-    this.information();
-  },
-  methods: {
-    information() {
-      //编辑批车作业 渲染数据
-      this.$axios
-        .post("/api/v1/tms/getApproveWagonPleaseById/" + this.$route.params.resultId)
-        .then((res) => {
-          res.data.data.forEach((e) => {
-            this.form1 = e;
-          });
-        });
-    },
-     // 返回
-    onClickCancel() {
-      this.$router.go(-1);
-    },
-    // 确认
-    onClickConfirm() {
-      let approveWagonPlease = {
-        resultId: this.$route.params.resultId,
-        resultApproveDate: this.form1.resultApproveDate,
-        resultApproveNumber: this.form1.resultApproveNumber,
-        shipperId: this.form1.shipperId,
-        resultCategory: this.form1.resultCategory,
-        sendStationId: this.form1.sendStationId,
-        toTheStationId: this.form1.toTheStationId
-      };
-      function isNumber() {
-        var value = approveWagonPlease.resultApproveNumber;
-        //验证是否为数字
-        var patrn = /^(-)?\d+(\.\d+)?$/;
-        if (patrn.exec(value) == null || value == "") {
-          return false;
-        } else {
-          return true;
-        }
-      }
-      var val = this.value;
-      if (
-        approveWagonPlease.resultApproveDate==null||
-        approveWagonPlease.resultApproveNumber==null||
-        approveWagonPlease.shipperId==null||
-        approveWagonPlease.resultCategory==null||
-        approveWagonPlease.sendStationId==null||
-        approveWagonPlease.toTheStationId==null
-      ) this.$message.error("存在空值!");
-      else
-      if (!isNumber(val)) this.$message.error("请车数必须是数字!");
-      else
-      this.$axios
-        .post("/api/v1/tms/updateApproveWagonPlease", approveWagonPlease)
-        .then(() => {
-          this.$message({
-            type: "success",  
-            message: "修改成功!",
-          });
-          this.$router.go(-1);
-        });
-    },
-  },
-};
-</script>
-<style lang="scss" scoped>
-@import "@/styles/appoint/contract/ContractInsert.scss";
-</style>

+ 0 - 77
src/views/TMS/domesticMine/components/entrust.vue

@@ -1,77 +0,0 @@
-<template>
-  <!-- 计量委托 -->
-  <div class="homeworkPath">
-    <div class="top">
-      <el-input placeholder="请输入内容" v-model="input" clearable> </el-input>
-      <el-button type="primary" class="btn" @click="onclick">
-        <i class="el-icon-search"></i>查询
-      </el-button>
-      <el-button type="primary" @click="btnclick(0)">
-        <i class="el-icon-s-promotion"></i>发送
-      </el-button>
-    </div>
-    <dilTable v-bind.sync="option" @selection-change="selectionChange">
-    </dilTable>
-  </div>
-</template>
-
-
-<script>
-export default {
-  data() {
-    return {
-      input: "",
-      option: {
-        // 表格请求数据的地址
-        requestUrl: "/api/v1/tms/getLoadResultToSendMC?apiId=58&resultType=3",
-        // 控制显示多选列
-        selectionType: "select",
-      },
-      selectionListMap: [],
-    };
-  },
-  methods: {
-    onclick() {
-      this.option.requestUrl =
-        "/api/v1/tms/getLoadResultToSendMC?apiId=209&resultType=1&con=" +
-        this.input;
-    },
-    btnclick() {
-      if (this.selectionListMap.length == 0) {
-        this.$message({
-          message: "请勾选要发送计量委托的实绩!",
-          type: "warning",
-        });
-      } else {
-        this.$axios
-          .post("/api/v1/tms/batchSendMeasureCommission", {
-            resultIdList: this.selectionListMap,
-          })
-          .then((res) => {
-            if (res.data.code == "200") {
-              this.$message({
-                type: "success",
-                message: "发送成功",
-              });
-              this.option.requestUrl =
-                "/api/v1/tms/getLoadResultToSendMC?apiId=209&resultType=3";
-            }
-          });
-      }
-    },
-    selectionChange(selection) {
-      this.selectionListMap = [];
-      selection.forEach((element) => {
-        this.selectionListMap.push(element.resultId);
-      });
-    },
-  },
-};
-</script>
-<style lang='scss'>
-.homeworkPath {
-  .top {
-    padding: 1.25rem 1.875rem;
-  }
-}
-</style>

+ 0 - 100
src/views/TMS/domesticMine/components/wagonLoad.vue

@@ -1,100 +0,0 @@
-<template>
-  <!-- 装车作业页面 -->
-  <div class="homeworkPath">
-    <div class="top">
-      <el-input placeholder="请输入内容" v-model="input" clearable> </el-input>
-      <el-button type="primary" class="btn" @click="onclick">
-        <i class="el-icon-search"></i>查询
-      </el-button>
-      <el-button type="primary" @click="btnclick(0)">
-        <i class="el-icon-plus"></i>新增
-      </el-button>
-      <el-button type="primary" @click="btnclick(1)">
-        <i class="el-icon-edit-outline"></i>补录
-      </el-button>
-    </div>
-
-    <dilTable v-bind.sync="option">
-      <el-table-column fixed="right" label="操作" width="100">
-        <template slot-scope="scope">
-          <el-button @click="click(scope.row.resultId)" type="text" size="small"
-            >修改</el-button
-          >
-          <el-button
-            type="text"
-            size="small"
-            @click="deleteclick(scope.row.resultId)"
-            >删除</el-button
-          >
-        </template>
-      </el-table-column>
-    </dilTable>
-  </div>
-</template>
-<script>
-export default {
-  name: "wagonload",
-  data() {
-    return {
-      input: "",
-      option: {
-        // 表格请求数据的地址
-        requestUrl: "/api/v1/tms/getTmstrainWagonLoad?apiId=209&resultType=3",
-      },
-    };
-  },
-  methods: {
-    onclick() {
-      this.option.requestUrl =
-        "/api/v1/tms/getTmstrainWagonLoad?apiId=209&resultType=3&con=" +
-        this.input;
-    },
-    btnclick(index) {
-      if(index == 0){
-        this.$router.push("/domesticMine/wagonLoadAdd");
-      }else if(index == 1){
-        this.$router.push("/domesticMine/wagonLoadbu");
-      }
-    },
-    click(resultId) {
-      this.$router.push("/domesticMine/wagonLoadEdit/" + resultId);
-    },
-    deleteclick(scope) {
-      let resultId = scope;
-      this.$confirm("是否删除", "提示", {
-        confirmButtonText: "确定",
-        cancelButtonText: "取消",
-        type: "warning",
-        center: true,
-      })
-        .then(() => {
-          this.$message({
-            type: "success",
-            message: "删除成功!",
-          });
-          this.$axios
-            .post(
-              "/api/v1/tms/deleteTmstrainLoadingResultByResultId?resultId=" +
-                resultId
-            )
-            .then(() => {
-              this.$router.go(0);
-            });
-        })
-        .catch(() => {
-          this.$message({
-            type: "info",
-            message: "取消删除!",
-          });
-        });
-    },
-  },
-};
-</script>
-<style lang='scss' scoped>
-.homeworkPath {
-  .top {
-    padding: 1.25rem 1.875rem;
-  }
-}
-</style>

+ 0 - 435
src/views/TMS/domesticMine/components/wagonLoadAdd.vue

@@ -1,435 +0,0 @@
-<template>
-  <!-- 添加车皮装车实绩 -->
-  <div class="addWagonLoad">
-    <page-title>新增</page-title>
-    <el-divider content-position="left">车皮装车实绩</el-divider>
-    <div class="cp">
-      <span>车皮号:</span>
-      <el-input
-        placeholder="请输入内容"
-        v-model="input"
-        @change="onchang"
-        clearable
-      >
-      </el-input>
-    </div>
-    <div class="cpList">
-      <div class="list">
-        <span class="cpList1" v-for="(item, i) in list" :key="i">
-          {{ item }}
-          <i class="el-icon-close itu" @click="onclick(i)"></i>
-        </span>
-      </div>
-    </div>
-
-    <div class="material from">
-      <span class="text">物资:</span>
-      <el-input v-model="materialName" disabled> </el-input>
-      <el-button type="primary" @click="ondrawer(1)">浏览</el-button>
-    </div>
-
-    <div class="forwardingUnit from">
-      <span class="text">发货单位:</span>
-      <el-input v-model="supplierName" disabled> </el-input>
-      <el-button type="primary" @click="ondrawer(2)">浏览</el-button>
-    </div>
-    <div class="remark from">
-      <span class="text">船名:</span>
-      <el-input v-model="remark" @blur="onBlur"> </el-input>
-      <span class="span"></span>
-    </div>
-    <div class="forwardingUnit from">
-      <span class="text">卸货点:</span>
-      <el-input v-model="unloadPointName" disabled> </el-input>
-      <el-button type="primary" @click="ondrawer(4)">浏览</el-button>
-    </div>
-    <div class="form">
-      <div class="form-box" style="margin-right: 10rem">
-        <dil-form :formId="254" v-model="form1" ref="from1"></dil-form>
-      </div>
-    </div>
-    <div class="button-box">
-      <el-button @click="cancel">取消</el-button>
-      <el-button type="primary" @click="makeSure">确定</el-button>
-    </div>
-    <!-- 模态窗口 -->
-    <el-drawer :visible.sync="drawer" :direction="direction" size="30%">
-      <el-input
-        placeholder="请输入内容"
-        v-model="inputText"
-        style="margin-top: 0.625rem; margin-left: 1.25rem"
-        clearable
-      ></el-input>
-      <el-button
-        type="primary"
-        class="btn"
-        @click="onClick(a)"
-        style="margin-bottom: 0.9375rem"
-      >
-        <i class="el-icon-search"></i>查询
-      </el-button>
-      <div v-show="a == 1">
-        <dilTable
-          v-bind.sync="frist"
-          @radio-change="currentRadioChange1"
-        ></dilTable>
-      </div>
-      <div v-show="a == 2">
-        <dilTable
-          v-bind.sync="secend"
-          @radio-change="currentRadioChange2"
-        ></dilTable>
-      </div>
-      <div v-show="a == 4">
-        <dilTable
-          v-bind.sync="unloadPoint"
-          @radio-change="currentRadioChange4"
-        ></dilTable>
-      </div>
-    </el-drawer>
-  </div>
-</template>
-
-<script>
-import PageTitle from "@/components/Page/Title";
-import { sjTime } from "@/js/sharedJsFile";
-export default {
-  components: { PageTitle },
-  data() {
-    return {
-      list: [],
-      form1: {},
-      input: "",
-      value: undefined,
-      //船名
-      remark: null,
-      //采购订单id
-      purchaseOrderId: null,
-      //物资名称
-      materialName: null,
-      //发货单位名称
-      supplierName: null,
-      //发货单位id
-      supplierId: null,
-      //物资id
-      materialId: null,
-      //是否需要打开模态窗口
-      drawer: false,
-      //卸货点id
-      unloadPointId: null,
-      //卸货点名称
-      unloadPointName: null,
-      a: 1,
-      direction: "rtl",
-      inputText: "",
-      frist: {
-        requestUrl: "/api/v1/uc/queryAPOMaterialByLike?apiId=244&startNum=050",
-        selectionType: "radio",
-        mapList1: [],
-      },
-      secend: {
-        requestUrl:
-          "/api/v1/uc/getSupplierMesByMaterialId?apiId=247&materialId=",
-        selectionType: "radio",
-        mapList2: [],
-      },
-      unloadPoint: {
-        requestUrl: "/api/v1/uc/getUnloadingMesByLike?apiId=374",
-        selectionType: "radio",
-      },
-    };
-  },
-  created() {
-    this.form1 = {
-      arrivalStationId: 2,
-    };
-  },
-  methods: {
-    currentRadioChange1(selection) {
-      this.input = null;
-      this.materialName = selection.materialName;
-      this.materialId = selection.materialId;
-      this.getPurchaseOrderNo();
-    },
-    currentRadioChange2(selection) {
-      this.supplierName = selection.supplierName;
-      this.supplierId = selection.supplierId;
-      this.getPurchaseOrderNo();
-    },
-    currentRadioChange4(selection) {
-      this.unloadPointId = selection.warehouseId;
-      this.unloadPointName = selection.warehouseName;
-    },
-    ondrawer(num) {
-      this.drawer = true;
-      this.a = num;
-      if (num == 2) {
-        this.secend.requestUrl =
-          "/api/v1/uc/getSupplierMesByMaterialId?apiId=247&materialId=" +
-          this.materialId;
-      }
-    },
-    onBlur() {
-      this.getPurchaseOrderNo();
-    },
-    getPurchaseOrderNo() {
-      let map = {
-        materialId: this.materialId,
-        supplierId: this.supplierId,
-      };
-      if (this.remark) {
-        map.remark = this.remark;
-      }
-      console.log(this.map);
-      if (this.materialId && this.supplierId) {
-        this.$axios.post("/api/v1/oms/selectNewOrderId", map).then((res) => {
-          console.log(res);
-          if (res.data.code == "200") {
-            if (res.data.data == null) {
-              this.$message({
-                message: "没有匹配的采购订单号!",
-                type: "warning",
-              });
-              this.form1 = [];
-            } else {
-              this.remark = res.data.data.remark;
-              this.purchaseOrderId = res.data.data.purchaseOrderId;
-              this.form1 = { purchaseOrderNo: res.data.data.purchaseOrderNo };
-            }
-          } else {
-            this.$message.error("请求失败");
-          }
-        });
-      }
-    },
-    onClick(a) {
-      if (a == 1) {
-        this.frist.requestUrl =
-          "/api/v1/uc/queryAPOMaterialByLike?apiId=244&startNum=050&index=" +
-          this.inputText;
-      } else if (a == 2) {
-        this.secend.requestUrl =
-          "/api/v1/uc/getSupplierMesByMaterialId?apiId=247&materialId=" +
-          this.materialId +
-          "&index=" +
-          this.inputText;
-      } else if (a == 4) {
-        this.unloadPoint.requestUrl =
-          "/api/v1/uc/getUnloadingMesByLike?apiId=374&index=" + this.inputText;
-      }
-    },
-    onchang() {
-      var state = false;
-      var cptop = this.input.substring(0, 2);
-      var cptop1 = this.input.substring(0, 3);
-      if (
-        cptop == "45" ||
-        cptop == "46" ||
-        cptop == "42" ||
-        cptop == "47" ||
-        cptop == "15" ||
-        cptop == "16" ||
-        cptop == "17" ||
-        cptop == "18"
-      ) {
-        state = true;
-      } else if (
-        cptop1 == "140" ||
-        cptop1 == "141" ||
-        cptop1 == "142" ||
-        cptop1 == "143" ||
-        cptop1 == "145"
-      ) {
-        state = true;
-      } else {
-        this.$message({
-          type: "warning",
-          message: "车皮号格式不对,请重新输入!",
-        });
-      }
-      if (state) {
-        if (this.input.length == 7) {
-          this.list.push(this.input);
-          this.input = "";
-        } else {
-          this.$message({
-            type: "warning",
-            message: "车皮号长度不足7位数,请重新输入!",
-          });
-        }
-      }
-    },
-    onclick(index) {
-      this.list.splice(index, 1);
-    },
-    // 确定
-    makeSure() {
-      let state = 0;
-      if (
-        this.list.length > 0 &&
-        this.form1.resultClass &&
-        this.form1.sendStationId &&
-        this.form1.arrivalStationId &&
-        this.form1.resultLoadingDate
-      ) {
-        state = 1;
-      } else {
-        console.log(this.list.length);
-        if (this.list.length == 0) {
-          this.$message({
-            type: "warning",
-            message: "请输入车皮号!",
-          });
-        } else {
-          if (this.form1.resultClass) {
-            if (this.form1.sendStationId) {
-              if (this.form1.arrivalStationId) {
-                if (this.form1.resultLoadingDate) {
-                } else {
-                  this.$message({
-                    type: "warning",
-                    message: "请选择装车时间!",
-                  });
-                }
-              } else {
-                this.$message({
-                  type: "warning",
-                  message: "请选择到站!",
-                });
-              }
-            } else {
-              this.$message({
-                type: "warning",
-                message: "请选择发站!",
-              });
-            }
-          } else {
-            this.$message({
-              type: "warning",
-              message: "请选择班别!",
-            });
-          }
-        }
-      }
-      if (state == 1) {
-        let map = {
-          wagonNoList: this.list,
-          unloadPointId: this.unloadPointId,
-          purchaseOrderRailPlanId: this.purchaseOrderId,
-          resultClass: this.form1.resultClass,
-          sendStationId: this.form1.sendStationId,
-          arrivalStationId: this.form1.arrivalStationId,
-          resultLoadingDate: sjTime(this.form1.resultLoadingDate),
-          resultRemarks: this.form1.resultRemarks,
-          resultType: 3,
-        };
-        this.$axios
-          .post("/api/v1/tms/addDomesticLoadResult", map)
-          .then((res) => {
-            console.log(res);
-            if (res.data.code == "200") {
-              this.$message({
-                type: "success",
-                message: "新增成功",
-              });
-              this.$router.push("/domesticMine/wagonLoad");
-            }
-          });
-      }
-    },
-    // 取消
-    cancel() {
-      this.$router.go(-1);
-    },
-  },
-};
-</script>
-<style lang='scss'>
-.addWagonLoad {
-  .cp {
-    width: 100%;
-    display: flex;
-    justify-content: center;
-    align-items: center;
-    padding-top: 0.625rem;
-    padding-bottom: 0.625rem;
-    .cp_title {
-      .cp_top {
-        width: 3.125rem;
-        padding-right: 1.25rem;
-      }
-    }
-  }
-  .cpList {
-    display: flex;
-    justify-content: center;
-    width: 100%;
-    height: 10rem;
-    .list {
-      width: 45%;
-      border: #000 0.0625rem solid;
-      padding: 0.625rem;
-      display: flex;
-      flex-wrap: wrap;
-      .cpList1 {
-        background-color: #c9c7c7;
-        height: 1.875rem;
-        margin-right: 0.5rem;
-        padding: 0.625rem;
-        display: flex;
-        align-items: center;
-        justify-content: center;
-        position: relative;
-        .itu {
-          position: absolute;
-          top: -0.125rem;
-          right: 0.0625rem;
-          width: 0.625rem;
-          height: 0.625rem;
-        }
-      }
-    }
-  }
-  .material {
-    display: flex;
-    justify-content: center;
-    align-items: center;
-    height: 3.75rem;
-    .text {
-      text-align: right;
-      width: 8.125rem;
-    }
-  }
-  .forwardingUnit {
-    display: flex;
-    justify-content: center;
-    align-items: center;
-    height: 3.75rem;
-    .text {
-      text-align: right;
-      width: 8.125rem;
-    }
-  }
-  .remark {
-    display: flex;
-    justify-content: center;
-    align-items: center;
-    height: 3.75rem;
-    .text {
-      text-align: right;
-      width: 60px;
-    }
-  }
-  .form {
-    margin-top: 1.25rem;
-    display: flex;
-    justify-content: center;
-    padding-left: 9.375rem;
-  }
-  .button-box {
-    display: flex;
-    justify-content: center;
-  }
-}
-</style>
-

+ 0 - 103
src/views/TMS/domesticMine/components/wagonLoadEdit.vue

@@ -1,103 +0,0 @@
-<template>
-  <!-- 修改车皮装车实绩 -->
-  <div id="contractDetails">
-    <page-title>编辑</page-title>
-    <div class="main">
-      <span class="text">车皮装车实绩</span>
-      <span class="a"></span>
-    </div>
-    <div class="contractTitle">
-      <div class="form-box">
-        <div class="form-one">
-          <dil-form :formId="254" v-model="form1"></dil-form>
-        </div>
-      </div>
-    </div>
-
-    <div class="button-box">
-      <el-button type="primary" @click="onClickConfirm">确认</el-button>
-      <el-button @click="onClickCancel">返回</el-button>
-    </div>
-  </div>
-</template>
-
-<script>
-import PageTitle from "@/components/Page/Title";
-import { sjTime } from "@/js/sharedJsFile";
-export default {
-  components: { PageTitle },
- data(){
-     return {
-      form1: {},
-  }
- },
-  mounted() {
-    this.information();
-  },
-  methods: {
-    information() {
-      //编辑车皮装车作业
-      this.$axios
-        .post("/api/v1/tms/getTmstrainLoadingResultByResultId/" + this.$route.params.resultId)
-        .then((res) => {
-          res.data.data.forEach((e) => {
-            this.form1 = e;
-            console.log(e);
-            console.log(this.form1);
-            console.log(this.$route.params.resultId);
-          });
-        });
-    },
-    handleCheckedCitiesChange(value) {
-      console.log(value);
-    },
-    // 返回
-    onClickCancel() {
-      this.$router.go(-1);
-    },
-    currentRadioChange(row) {
-      this.aaaa = row;
-    },
-    // 确认
-    onClickConfirm() {
-      let tmstrainLoadingResult = {
-        resultId: this.$route.params.resultId,
-        resultWagonNo: this.form1.resultWagonNo,
-        resultBillableTonnage: this.form1.resultBillableTonnage,
-        resultClass: this.form1.resultClass,
-        sendStationId: this.form1.sendStationId,
-        arrivalStationId: this.form1.arrivalStationId,
-        resultLoadingDate: sjTime(this.form1.resultLoadingDate),
-        batchId: this.form1.batchId,
-        capacityId: this.form1.capacityId,
-        resultMaterialNumber: this.form1.resultMaterialNumber,
-        resultMaterialTheoryweight: this.form1.resultMaterialTheoryweight,
-        resultRemarks: this.form1.resultRemarks
-      };
-      if (
-      tmstrainLoadingResult.resultWagonNo==null||
-      tmstrainLoadingResult.resultBillableTonnage==null||
-      tmstrainLoadingResult.resultClass==null||
-      tmstrainLoadingResult.sendStationId==null||
-      tmstrainLoadingResult.arrivalStationId==null||
-      tmstrainLoadingResult.resultLoadingDate==null||
-      tmstrainLoadingResult.batchId==null
-      ) this.$message.error("必填项存在空值!");
-      else
-      this.$axios
-        .post("/api/v1/tms/upadteTmstrainLoadingResultByResultId",
-          tmstrainLoadingResult)
-         .then(() => {
-          this.$message({
-            type: "success",  
-            message: "修改成功!",
-          });
-          this.$router.go(-1);
-        });
-    },
-  },
-};
-</script>
-<style lang="scss" scoped>
-@import "@/styles/TMS/addwagonload.scss";
-</style>

+ 0 - 290
src/views/TMS/domesticMine/components/wagonLoadbu.vue

@@ -1,290 +0,0 @@
-<template>
-  <div class="wagonLoadbu">
-    <el-divider content-position="left">选择需要补录的装车信息</el-divider>
-    <div class="wagonLoadbu_table">
-      <dilTable
-        v-bind.sync="option"
-        @selection-change="selectionChange"
-      ></dilTable>
-    </div>
-
-    <div class="material from">
-      <span class="text">物资:</span>
-      <el-input v-model="materialName" disabled> </el-input>
-      <el-button type="primary" @click="ondrawer(1)">浏览</el-button>
-    </div>
-
-    <div class="forwardingUnit from">
-      <span class="text">发货单位:</span>
-      <el-input v-model="supplierName" disabled> </el-input>
-      <el-button type="primary" @click="ondrawer(2)">浏览</el-button>
-    </div>
-    <div class="remark from">
-      <span class="text">船名:</span>
-      <el-input v-model="remark" @blur="onBlur"> </el-input>
-      <span class="span"></span>
-    </div>
-    <div class="forwardingUnit from">
-      <span class="text">卸货点:</span>
-      <el-input v-model="unloadPointName" disabled> </el-input>
-      <el-button type="primary" @click="ondrawer(4)">浏览</el-button>
-    </div>
-    <div class="form">
-      <dil-form :formId="361" v-model="form1" ref="from1"></dil-form>
-    </div>
-    <div class="button_box">
-      <el-button @click="cancel">取消</el-button>
-      <el-button type="primary" @click="makeSure">确定</el-button>
-    </div>
-    <!-- 模态窗口 -->
-    <el-drawer :visible.sync="drawer" :direction="direction" size="30%">
-      <el-input
-        placeholder="请输入内容"
-        v-model="inputText"
-        style="margin-top: 10px; margin-left: 20px"
-        clearable
-      ></el-input>
-      <el-button
-        type="primary"
-        class="btn"
-        @click="onClick(a)"
-        style="margin-bottom: 15px"
-      >
-        <i class="el-icon-search"></i>查询
-      </el-button>
-      <div v-show="a == 1">
-        <dilTable
-          v-bind.sync="frist"
-          @radio-change="currentRadioChange1"
-        ></dilTable>
-      </div>
-      <div v-show="a == 2">
-        <dilTable
-          v-bind.sync="secend"
-          @radio-change="currentRadioChange2"
-        ></dilTable>
-      </div>
-      <div v-show="a == 4">
-        <dilTable
-          v-bind.sync="unloadPoint"
-          @radio-change="currentRadioChange4"
-        ></dilTable>
-      </div>
-    </el-drawer>
-  </div>
-</template>
-
-<script>
-export default {
-  data() {
-    return {
-      form1: {},
-      option: {
-        // 表格请求数据的地址
-        requestUrl: "/api/v1/tms/getTmstrainWagonLoad?apiId=209&resultType=10",
-        // 控制显示多选列
-        selectionType: "select",
-      },
-      //多选选中的数据
-      selecTionListMap: [],
-      //船名
-      remark: null,
-      //采购订单id
-      purchaseOrderId: null,
-      //物资名称
-      materialName: null,
-      //发货单位名称
-      supplierName: null,
-      //发货单位id
-      supplierId: null,
-      //物资id
-      materialId: null,
-      //是否需要打开模态窗口
-      drawer: false,
-      //卸货点id
-      unloadPointId: null,
-      //卸货点名称
-      unloadPointName: null,
-      a: 1,
-      direction: "rtl",
-      inputText: "",
-      frist: {
-        requestUrl: "/api/v1/uc/queryAPOMaterialByLike?apiId=244&startNum=050",
-        selectionType: "radio",
-        mapList1: [],
-      },
-      secend: {
-        requestUrl:
-          "/api/v1/uc/getSupplierMesByMaterialId?apiId=247&materialId=",
-        selectionType: "radio",
-        mapList2: [],
-      },
-      unloadPoint: {
-        requestUrl: "/api/v1/uc/getUnloadingMesByLike?apiId=374",
-        selectionType: "radio",
-      },
-    };
-  },
-  methods: {
-    //确定
-    makeSure() {
-      if(this.selecTionListMap.length <= 0){
-        this.$message({
-          message: "请选择需要补录的装车信息!",
-          type: "warning",
-        });
-      }else{
-        let map = {
-          resultIdList:this.selecTionListMap,
-          unloadPointId:this.unloadPointId,
-          purchaseOrderId:this.purchaseOrderId,
-          insertUpdateRemark: this.form1.insertUpdateRemark
-        }
-        this.$axios.post('/api/v1/tms/updateDomesticLoadResult',map).then((res)=>{
-          console.log(res.data.data)
-          if(res.data.code == "200"){
-            this.$message({
-              message: "补录成功!",
-              type: "success",
-            });
-            this.cancel();
-          }
-        })
-      }
-      
-    },
-    //取消
-    cancel() {
-      this.$router.push("/domesticMine/wagonLoad");
-    },
-    //表格选中
-    selectionChange(selection) {
-      this.selecTionListMap = [];
-      selection.forEach(element => {
-          this.selecTionListMap.push(element.resultId)
-      });
-      console.log( this.selecTionListMap)
-    },
-    currentRadioChange1(selection) {
-      this.input = null;
-      this.materialName = selection.materialName;
-      this.materialId = selection.materialId;
-      this.getPurchaseOrderNo();
-    },
-    currentRadioChange2(selection) {
-      this.supplierName = selection.supplierName;
-      this.supplierId = selection.supplierId;
-      this.getPurchaseOrderNo();
-    },
-    currentRadioChange4(selection) {
-      this.unloadPointId = selection.warehouseId;
-      this.unloadPointName = selection.warehouseName;
-    },
-    ondrawer(num) {
-      this.drawer = true;
-      this.a = num;
-      if (num == 2) {
-        this.secend.requestUrl =
-          "/api/v1/uc/getSupplierMesByMaterialId?apiId=247&materialId=" +
-          this.materialId;
-      }
-    },
-    onBlur() {
-      this.getPurchaseOrderNo();
-    },
-    getPurchaseOrderNo() {
-      let map = {
-        materialId: this.materialId,
-        supplierId: this.supplierId,
-      };
-      if (this.remark) {
-        map.remark = this.remark;
-      }
-      console.log(this.map);
-      if (this.materialId && this.supplierId) {
-        this.$axios.post("/api/v1/oms/selectNewOrderId", map).then((res) => {
-          console.log(res);
-          if (res.data.code == "200") {
-            if (res.data.data == null) {
-              this.$message({
-                message: "没有匹配的采购订单号!",
-                type: "warning",
-              });
-              this.form1 = [];
-            } else {
-              this.remark = res.data.data.remark;
-              this.purchaseOrderId = res.data.data.purchaseOrderId;
-              this.form1 = { purchaseOrderNo: res.data.data.purchaseOrderNo };
-            }
-          } else {
-            this.$message.error("请求失败");
-          }
-        });
-      }
-    },
-    onClick(a) {
-      if (a == 1) {
-        this.frist.requestUrl =
-          "/api/v1/uc/queryAPOMaterialByLike?apiId=244&startNum=050&index=" +
-          this.inputText;
-      } else if (a == 2) {
-        this.secend.requestUrl =
-          "/api/v1/uc/getSupplierMesByMaterialId?apiId=247&materialId=" +
-          this.materialId +
-          "&index=" +
-          this.inputText;
-      } else if (a == 4) {
-        this.third.requestUrl =
-          "/api/v1/uc/getUnloadingMesByLike?apiId=347&index=" + this.inputText;
-      }
-    },
-  },
-};
-</script>
-
-<style lang="scss">
-.wagonLoadbu {
-  .material {
-    display: flex;
-    justify-content: center;
-    align-items: center;
-    height: 3.75rem;
-    .text {
-      text-align: right;
-      width: 150px;
-    }
-  }
-  .forwardingUnit {
-    display: flex;
-    justify-content: center;
-    align-items: center;
-    height: 3.75rem;
-    .text {
-      text-align: right;
-      width: 9.375rem;
-    }
-  }
-  .remark {
-    display: flex;
-    justify-content: center;
-    align-items: center;
-    height: 3.75rem;
-    .text {
-      text-align: right;
-      width: 80px;
-    }
-  }
-  .form {
-    margin-top: 1.25rem;
-    display: flex;
-    justify-content: center;
-  }
-  .button_box {
-    width: 100%;
-    height: 6.25rem;
-    display: flex;
-    justify-content: center;
-    align-items: center;
-  }
-}
-</style>

+ 0 - 151
src/views/TMS/domesticMine/components/wagonPlease.vue

@@ -1,151 +0,0 @@
-<template>
-  <!-- 请车作业页面 -->
-  <div class="homeworkPath">
-    <div class="top">
-      <el-input placeholder="请输入内容" v-model="input" clearable> </el-input>
-      <el-button type="primary" class="btn" @click="onclick">
-        <i class="el-icon-search"></i>查询
-      </el-button>
-      <el-button type="primary" @click="insertClick">
-        <i class="el-icon-plus"></i>新增
-      </el-button>
-    </div>
-    <el-tabs v-model="activeName">
-      <!-- 未下发 -->
-      <el-tab-pane label="未下发" name="first">
-        <dilTable v-bind.sync="option1" ref="table">
-          <el-table-column fixed="right" label="操作" width="120">
-            <template slot-scope="scope">
-              <el-button
-                @click="updateClick(scope.row.resultId)"
-                type="text"
-                size="small"
-              >
-                修改
-              </el-button>
-              <el-button
-                @click="deleteClick(scope.row.resultId)"
-                type="text"
-                size="small"
-              >
-                删除
-              </el-button>
-              <el-button
-                @click="sendClick(scope.row.resultId)"
-                type="text"
-                size="small"
-              >
-                下发
-              </el-button>
-            </template>
-          </el-table-column>
-        </dilTable>
-      </el-tab-pane>
-      <!-- 已下发 -->
-      <el-tab-pane label="已下发" name="second">
-        <dilTable v-bind.sync="option2"> </dilTable>
-      </el-tab-pane>
-    </el-tabs>
-  </div>
-</template>
-
-<script>
-export default {
-  name: "inplantTMS",
-  data() {
-    return {
-      input: "",
-      activeName: "first",
-      option1: {
-        // 表格请求数据的地址
-        requestUrl:
-          "/api/v1/tms/getAllWagonPlease?apiId=57&status=0&resultType=3",
-      },
-      option2: {
-        // 表格请求数据的地址
-        requestUrl:
-          "/api/v1/tms/getAllWagonPlease?apiId=57&status=1&resultType=3",
-      },
-    };
-  },
-  methods: {
-    onclick() {
-      if(this.activeName == "first"){
-        this.option1.requestUrl = "/api/v1/tms/getAllWagonPlease?apiId=57&status=0&resultType=3&con=" +this.input;
-      }else{
-        this.option2.requestUrl = "/api/v1/tms/getAllWagonPlease?apiId=57&status=1&resultType=3&con=" +this.input;
-      }
-    },
-    // 删除
-    deleteClick(resultId) {
-      this.$confirm("是否删除", "提示", {
-        confirmButtonText: "确定",
-        cancelButtonText: "取消",
-        type: "warning",
-        center: true,
-      })
-        .then(() => {
-          this.$message({
-            type: "success",
-            message: "删除成功!",
-          });
-          // console.log(this.arr[0].text_prop);
-          this.$axios
-            .post("/api/v1/tms/deleteApproveWagonPlease/" + resultId)
-            .then(() => {
-              this.$router.go(0);
-            });
-        })
-        .catch(() => {
-          this.$message({
-            type: "info",
-            message: "取消删除!",
-          });
-        });
-    },
-    // 下发
-    sendClick(resultId) {
-      this.$confirm("是否下发", "提示", {
-        confirmButtonText: "确定",
-        cancelButtonText: "取消",
-        type: "warning",
-        center: true,
-      })
-        .then(() => {
-          this.$message({
-            type: "success",
-            message: "下发成功!",
-          });
-          // console.log(this.arr[0].text_prop);
-          this.$axios
-            .post("/api/v1/tms/sendWagonPlease/" + resultId)
-            .then(() => {
-              this.$router.go(0);
-            });
-        })
-        .catch(() => {
-          this.$message({
-            type: "info",
-            message: "取消下发!",
-          });
-        });
-    },
-
-    //新增
-    insertClick() {
-      this.$router.push("/domesticMine/wagonPleaseAdd");
-    },
-    //修改
-    updateClick(resultId) {
-      this.$router.push("/domesticMine/wagonPleaseEdit/" + resultId);
-    },
-  },
-};
-</script>
-<style lang='scss' scoped>
-.homeworkPath {
-  .top {
-    padding: 1.25rem 1.875rem;
-  }
-}
-</style>

+ 0 - 94
src/views/TMS/domesticMine/components/wagonPleaseAdd.vue

@@ -1,94 +0,0 @@
-<template>
-  <!-- 新增请作业页面 -->
-  <div id="contractDetails">
-    <page-title>请车作业</page-title>
-    <div class="main">
-      <span class="text">新增请车作业</span>
-      <span class="a"></span>
-    </div>
-    <div class="contractTitle">
-      <div class="form-box">
-        <div class="form-one">
-          <dil-form :formId="122" v-model="form1" ></dil-form>
-        </div>
-      </div>
-    </div>
-    <div class="button-box">
-      <el-button @click="onClickCancel">返回</el-button>
-      <el-button type="primary" @click="onClickConfirm" >确认</el-button>
-    </div>
-  </div>
-</template>
-
-<script>
-import PageTitle from "@/components/Page/Title";
-import { sjTime } from "@/js/sharedJsFile";
-export default {
-  components: { PageTitle },
-  data() {
-    return {
-      // 表单
-      form1: {},
-    };
-  },
-  mounted() {
-    // this.unit();
-  },
-  methods: {
-    handleCheckedCitiesChange(value) {
-      console.log(value);
-    },
-    
-    // 返回
-    onClickCancel() {
-      this.$router.go(-1);
-    },
-     // 确认
-    onClickConfirm() {
-      let tmstrainPleaseApproveResult = {
-        resultPlanDate: sjTime(this.form1.resultPlanDate),
-        resultCategory: this.form1.resultCategory,
-        shipperId: this.form1.shipperId,
-        sendStationId: this.form1.sendStationId,
-        toTheStationId: this.form1.toTheStationId,
-        resultPleaseNumber: this.form1.resultPleaseNumber,
-        resultType: 3
-      };
-      function isNumber() {
-        var value = tmstrainPleaseApproveResult.resultPleaseNumber;
-        //验证是否为数字
-        var patrn = /^(-)?\d+(\.\d+)?$/;
-        if (patrn.exec(value) == null || value == "") {
-          return false;
-        } else {
-          return true;
-        }
-      }
-      var val = this.value;
-      if (
-        tmstrainPleaseApproveResult.resultPlanDate==null||
-        tmstrainPleaseApproveResult.resultCategory==null||
-        tmstrainPleaseApproveResult.shipperId==null||
-        tmstrainPleaseApproveResult.sendStationId==null||
-        tmstrainPleaseApproveResult.toTheStationId==null||
-        tmstrainPleaseApproveResult.resultPleaseNumber==null
-      ) this.$message.error("存在空值!");
-      else
-      if (!isNumber(val)) this.$message.error("请车数量必须是数字!");
-      else
-      this.$axios
-        .post("/api/v1/tms/addWagonPlease", tmstrainPleaseApproveResult)
-        .then(() => {
-          this.$message({
-            type: "success",  
-            message: "新增成功!",
-          });
-          this.$router.go(-1);
-        });
-    },
-  },
-};
-</script>
-<style lang="scss" scoped>
-@import "@/styles/appoint/contract/ContractInsert.scss";
-</style>

+ 0 - 100
src/views/TMS/domesticMine/components/wagonPleaseEdit.vue

@@ -1,100 +0,0 @@
-<template>
-  <!-- 修改请车作业页面 -->
-  <div id="contractDetails">
-    <page-title>请车作业</page-title>
-    <div class="main">
-      <span class="text">修改请车作业</span>
-      <span class="a"></span>
-    </div>
-    <div class="contractTitle">
-      <div class="form-box">
-        <div class="form-one">
-          <dil-form :formId="117" v-model="form1"></dil-form>
-        </div>
-      </div>
-    </div>  
- 
-    <div class="button-box">
-      <el-button @click="onClickCancel">返回</el-button>
-      <el-button type="primary" @click="onClickConfirm">确认</el-button>
-    </div>
-  </div>
-</template>
-
-<script>
-import PageTitle from "@/components/Page/Title";
-import { sjTime } from "@/js/sharedJsFile";
-export default {
-  components: { PageTitle },
-    data(){
-          return {
-          form1: {},
-        }
-    },
-  mounted() {
-    this.information();
-  },
-  methods: {
-    information() {
-      //编辑请车作业
-      this.$axios
-        .post("/api/v1/tms/getWagonPleaseById/" + this.$route.params.resultId)
-        .then((res) => {
-          res.data.data.forEach((e) => {
-            this.form1 = e;
-          });
-        });
-    },
-     // 返回
-    onClickCancel() {
-      this.$router.go(-1);
-    },
-     // 确认
-    onClickConfirm() {
-      let tmstrainPleaseApproveResult = {
-        resultId: this.$route.params.resultId,
-        resultPlanDate: sjTime(this.form1.resultPlanDate),
-        resultCategory: this.form1.resultCategory,
-        shipperId: this.form1.shipperId,
-        sendStationId: this.form1.sendStationId,
-        toTheStationId: this.form1.toTheStationId,
-        resultPleaseNumber: this.form1.resultPleaseNumber
-      };
-      function isNumber() {
-        var value = tmstrainPleaseApproveResult.resultPleaseNumber;
-        //验证是否为数字
-        var patrn = /^(-)?\d+(\.\d+)?$/;
-        if (patrn.exec(value) == null || value == "") {
-          return false;
-        } else {
-          return true;
-        }
-      }
-      var val = this.value;
-      if (
-        tmstrainPleaseApproveResult.resultPlanDate==null||
-        tmstrainPleaseApproveResult.resultCategory==null||
-        tmstrainPleaseApproveResult.shipperId==null||
-        tmstrainPleaseApproveResult.sendStationId==null||
-        tmstrainPleaseApproveResult.toTheStationId==null||
-        tmstrainPleaseApproveResult.resultPleaseNumber==null
-      ) this.$message.error("存在空值!");
-      else
-      if (!isNumber(val)) this.$message.error("请车数必须是数字!");
-      else
-      this.$axios
-        .post("/api/v1/tms/updateApproveWagonPlease", tmstrainPleaseApproveResult)
-        .then(() => {
-          this.$message({
-            type: "success",  
-            message: "修改成功!",
-          });
-          this.$router.go(-1);
-        });
-    },
-  },
-};
-</script>
-<style lang="scss" scoped>
-@import "@/styles/appoint/contract/ContractInsert.scss";
-</style>

+ 0 - 92
src/views/TMS/domesticMine/components/wagonUnLoad.vue

@@ -1,92 +0,0 @@
-<template>
-  <!-- 卸车作业页面 -->
-  <div class="homeworkPath">
-    <div class="top">
-       <el-input placeholder="请输入内容" v-model="input" clearable> </el-input>
-      <el-button type="primary" class="btn" @click="onclick">
-        <i class="el-icon-search"></i>查询
-      </el-button>
-      <el-button type="primary" @click="btnclick(0)">
-        <i class="el-icon-plus"></i>新增
-      </el-button>
-    </div>
-    
-    <dilTable v-bind.sync="option">
-      <el-table-column fixed="right" label="操作" width="100">
-        <template slot-scope="scope">
-          <el-button @click="click(scope.row.unloadingId)" type="text" size="small"
-            >修改</el-button
-          >
-          <el-button
-            type="text"
-            size="small"
-            @click="deleteclick(scope.row.unloadingId)"
-            >删除</el-button
-          >
-        </template>
-      </el-table-column>
-    </dilTable>
-  </div>
-</template>
-
-
-<script>
-export default {
-  name: "wagonUnload",
-  data() {
-    return {
-      input: "",
-      option: {       
-        // 表格请求数据的地址
-        requestUrl: "/api/v1/tms/getTmstrainWagonUnLoad?apiId=214&resultType=3",
-      },
-    };
-  },
-  methods: {
-    onclick() {
-      this.option.requestUrl = "/api/v1/tms/getTmstrainWagonUnLoad?apiId=60&resultType=3&con="+this.input;
-    },
-    btnclick() {
-      this.$router.push("/domesticMine/wagonUnLoadAdd");
-    },
-    click(unloadingId) {
-      this.$router.push("/domesticMine/wagonUnLoadEdit/" + unloadingId);
-    },
-    deleteclick(scope) {
-      let unloadingId = scope;
-      this.$confirm("是否删除", "提示", {
-        confirmButtonText: "确定",
-        cancelButtonText: "取消",
-        type: "warning",
-        center: true,
-      })
-        .then(() => {
-          this.$message({
-            type: "success",
-            message: "删除成功!",
-          });
-          this.$axios
-            .post(
-             "/api/v1/tms/deleteTmstrainWagonUnLoadResultByUnLoadingId?unloadingId=" + unloadingId
-            )
-            .then(() => {
-               this.$router.go(0);
-            });
-        })
-        .catch(() => {
-          this.$message({
-            type: "info",
-            message: "取消删除!",
-          });
-        });
-    },
-  },
-};
-</script>
-<style lang='scss' scoped>
-.homeworkPath {
-  .top {
-    padding: 1.25rem 1.875rem;
-  }
-}
-</style>

+ 0 - 100
src/views/TMS/domesticMine/components/wagonUnLoadAdd.vue

@@ -1,100 +0,0 @@
-<template>
-  <!-- 添加车皮卸车实绩 -->
-  <div class="addWagonLoad">
-    <page-title>新增</page-title>
-    <div class="main">
-      <el-divider content-position="left">选择已装车实绩</el-divider>
-    </div>
-    <div>
-      <dilTable
-        v-bind.sync="option"
-        ref="table"
-        @selection-change="selectionChange"
-      >
-      </dilTable>
-    </div>
-    <el-divider content-position="left">车皮卸车实绩</el-divider>
-    <div class="form-box" style="margin-right: 10rem">
-      <dil-form :formId="255" v-model="form1" ref="from1"></dil-form>
-    </div>
-    <div class="button-box">
-      <el-button @click="cancel">取消</el-button>
-      <el-button type="primary" @click="makeSure">确定</el-button>
-    </div>
-  </div>
-</template>
-<script>
-import PageTitle from "@/components/Page/Title";
-import { sjTime } from "@/js/sharedJsFile";
-export default {
-  components: { PageTitle },
-  data() {
-    return {
-      form1: {},
-      option: {
-        // 表格请求数据的地址
-        requestUrl: "/api/v1/tms/getWagonNo/3?apiId=213",
-        // 控制显示当选列
-        selectionType: "select",
-      },
-      value: undefined,
-      list: [],
-    };
-  },
-  mounted() {},
-  methods: {
-    selectionChange(selection) {
-      this.list = [];
-      selection.forEach((e) => {
-        this.list.push({
-          resultWagonNo: e.resultWagonNo,
-          resultId: e.resultId,
-        });
-      });
-    },
-    // 确定
-    makeSure() {
-      let tmstrainWagonUnloadResult = {
-        wagonNoList: this.list,
-        resultArrivalDate: sjTime(this.form1.resultArrivalDate),
-        resultUnloadTime: sjTime(this.form1.resultUnloadTime),
-        unloadingPointId: this.form1.unloadingPointId,
-        resultBigTicketWeight: this.form1.resultBigTicketWeight,
-        resultRailHorizontalWeight: this.form1.resultRailHorizontalWeight,
-        resultRemark: this.form1.resultRemark,
-        resultType: 3,
-      };
-      console.log(tmstrainWagonUnloadResult);
-      if (
-        tmstrainWagonUnloadResult.wagonNoList == null ||
-        tmstrainWagonUnloadResult.resultArrivalDate == null ||
-        tmstrainWagonUnloadResult.resultUnloadTime == null ||
-        tmstrainWagonUnloadResult.unloadingPointId == null ||
-        tmstrainWagonUnloadResult.resultBigTicketWeight == null ||
-        tmstrainWagonUnloadResult.resultRailHorizontalWeight == null
-      )
-        this.$message.error("存在空值!");
-      else
-        this.$axios
-          .post(
-            "/api/v1/tms/insertTmstrainWagonUnLoadResult",
-            tmstrainWagonUnloadResult
-          )
-          .then(() => {
-            this.$message({
-              type: "success",
-              message: "新增成功!",
-            });
-            this.$router.go(-1);
-          });
-    },
-    // 取消
-    cancel() {
-      this.$router.go(-1);
-    },
-  },
-};
-</script>
-<style lang='scss' scoped>
-@import "@/styles/TMS/addWagonUnLoed.scss";
-</style>

+ 0 - 99
src/views/TMS/domesticMine/components/wagonUnLoadEdit.vue

@@ -1,99 +0,0 @@
-<template>
-  <!-- 修改车皮装车实绩 -->
-  <div id="contractDetails">
-    <page-title>编辑</page-title>
-    <div class="main">
-      <span class="text">车皮卸车实绩</span>
-      <span class="a"></span>
-    </div>
-    <div class="contractTitle">
-      <div class="form-box">
-        <div class="form-one">
-          <dil-form :formId="118" v-model="form1"></dil-form>
-        </div>
-      </div>
-    </div>
-
-    <div class="button-box">
-      <el-button type="primary" @click="onClickConfirm">确认</el-button>
-      <el-button @click="onClickCancel">返回</el-button>
-    </div>
-  </div>
-</template>
-
-<script>
-import PageTitle from "@/components/Page/Title";
-import { sjTime } from "@/js/sharedJsFile";
-export default {
-  components: { PageTitle },
- data(){
-     return {
-      form1: {},
-  }
- },
-  mounted() {
-    this.information();
-  },
-  methods: {
-    information() {
-      //编辑车皮装车作业
-      this.$axios
-        .post("/api/v1/tms/getTmstrainWagonUnLoadResultByUnLoadingId/" + this.$route.params.unloadingId)
-        .then((res) => {
-          res.data.data.forEach((e) => {
-            this.form1 = e;
-            console.log(e);
-            console.log(this.form1);
-            console.log(this.$route.params.unloadingId);
-          });
-        });
-    },
-    handleCheckedCitiesChange(value) {
-      console.log(value);
-    },
-    // 返回
-    onClickCancel() {
-      this.$router.go(-1);
-    },
-    currentRadioChange(row) {
-      this.aaaa = row;
-    },
-    //确定
-    onClickConfirm() {
-      let tmstrainWagonUnloadResult = {
-        unloadingId: this.$route.params.unloadingId,
-        resultArrivalDate: sjTime(this.form1.resultArrivalDate),
-        resultUnloadTime: sjTime(this.form1.resultUnloadTime),
-        unloadingPointId: this.form1.unloadingPointId,
-        resultBigTicketWeight: this.form1.resultBigTicketWeight,
-        resultRailHorizontalWeight: this.form1.resultRailHorizontalWeight,
-        resultRemark: this.form1.resultRemark
-      };
-      console.log(tmstrainWagonUnloadResult);
-      if (
-        tmstrainWagonUnloadResult.resultArrivalDate==null||
-      tmstrainWagonUnloadResult.resultUnloadTime==null||
-      tmstrainWagonUnloadResult.unloadingPointId==null||
-      tmstrainWagonUnloadResult.resultBigTicketWeight==null||
-      tmstrainWagonUnloadResult.resultRailHorizontalWeight==null
-      ) this.$message.error("存在空值!");
-      else
-      this.$axios
-        .post(
-          "/api/v1/tms/upadteTmstrainWagonUnLoadResultByUnLoadingId",
-          tmstrainWagonUnloadResult
-        )
-        .then(() => {
-          this.$message({
-            type: "success",  
-            message: "修改成功!",
-          });
-          this.$router.go(-1);
-        });
-    },
-  },
-};
-</script>
-<style lang="scss" scoped>
-@import "@/styles/TMS/addwagonload.scss";
-</style>

+ 0 - 75
src/views/TMS/download/index.vue

@@ -1,75 +0,0 @@
-<template>
-     <div class="content" v-bind:style="{backgroundImage:'url(' + bg + ')'}" iud="body">
-        <img v-show="show_wx" :src="wx"   width="100%"  /> 
-        <img  :src="logo" style="margin:100px auto auto 150px;text-align:center; height:100px; width:85px;"  /> 
-        <img   style="margin:100px auto auto 110px; height:50px; width:220;"  :src="btn" id="btn_img" @click="download()"/>
-    </div> 
-</template>
-<script>
-export default {
-    data() {
-        return {
-            type : "android",
-            logo:require('@/assets/img/logoApp.png'),
-            wx:require('@/assets/img/image.png'),
-            btn:require('@/assets/img/down.png'),
-            show_wx :false,
-             bg: require('@/assets/homepageimg/backgroud.jpg'),
-        };
-    },
-    created() {
-        let ua = navigator.userAgent.toLowerCase();
-        if (/iphone|ipad|ipod/.test(ua)) {
-            this.type = "ios";
-
-        } else if (/android/.test(ua)) {
-            this.type = "android";
-        }
-
-        if(isWeixinBrowser()){
-            this.show_wx = true;
-        }
-        function isWeixinBrowser() {
-            return (/micromessenger/.test(ua)) ? true : false;
-        }
-    },
-
-    methods: {
-
-        download() {
-
-            const that = this;
-
-            if(that.type == 'android') {
-                window.location.href = 'https://wl.dasteel.cn:32322/%E6%95%B0%E8%A3%81%E7%89%A9%E6%B5%81.apk';
-
-            } else {
-
-                window.location.href = 'IOS下载地址';
-
-            }
-
-        },
-
-    }
-
-};
-
-</script>
-<style>
-    .content {
-        position:relative;
-        margin:0px auto;
-        background-size: cover;
-        width: 100%;
-        height: 100%;
- }
-
-
-
-
-div img:first-of-type { 
-    position: absolute; 
-   
-} 
-</style>

+ 0 - 466
src/views/TMS/importedEmergency/addWagonLoad.vue

@@ -1,466 +0,0 @@
-<template>
-  <!-- 添加车皮装车实绩 -->
-  <div class="addWagonLoad">
-    <page-title>新增</page-title>
-    <el-divider content-position="left">车皮装车实绩</el-divider>
-    <div class="cp">
-      <span>车皮号:</span>
-      <el-input
-        placeholder="请输入内容"
-        v-model="input"
-        @change="onchang"
-        clearable
-      >
-      </el-input>
-    </div>
-    <div class="cpList">
-      <div class="list">
-        <span class="cpList1" v-for="(item, i) in list" :key="i">
-          {{ item }}
-          <i class="el-icon-close itu" @click="onclick(i)"></i>
-        </span>
-      </div>
-    </div>
-
-    <div class="material from">
-      <span class="text">物资:</span>
-      <el-input v-model="materialName" disabled> </el-input>
-      <el-button type="primary" @click="ondrawer(1)">浏览</el-button>
-    </div>
-
-    <div class="forwardingUnit from">
-      <span class="text">发货单位:</span>
-      <el-input v-model="supplierName" disabled> </el-input>
-      <el-button type="primary" @click="ondrawer(2)">浏览</el-button>
-    </div>
-    <div class="remark from">
-      <span class="text">船名:</span>
-      <el-input v-model="remark" @blur="onBlur"> </el-input>
-      <span class="span"></span>
-    </div>
-    <div class="forwardingUnit from">
-      <span class="text">卸货点:</span>
-      <el-input v-model="unloadPointName" disabled> </el-input>
-      <el-button type="primary" @click="ondrawer(4)">浏览</el-button>
-    </div>
-    <div class="form">
-      <div class="form-box" style="margin-right: 10rem">
-        <dil-form :formId="254" v-model="form1" ref="from1"></dil-form>
-      </div>
-    </div>
-    <div class="button-box">
-      <el-button @click="cancel">取消</el-button>
-      <el-button type="primary" @click="makeSure">确定</el-button>
-    </div>
-    <!-- 模态窗口 -->
-    <el-drawer :visible.sync="drawer" :direction="direction" size="30%">
-      <el-input
-        placeholder="请输入内容"
-        v-model="inputText"
-        style="margin-top: 0.625rem; margin-left: 1.25rem"
-        clearable
-      ></el-input>
-      <el-button
-        type="primary"
-        class="btn"
-        @click="onClick(a)"
-        style="margin-bottom: 0.9375rem"
-      >
-        <i class="el-icon-search"></i>查询
-      </el-button>
-      <div v-show="a == 1">
-        <dilTable
-          v-bind.sync="frist"
-          @radio-change="currentRadioChange1"
-        ></dilTable>
-      </div>
-      <div v-show="a == 2">
-        <dilTable
-          v-bind.sync="secend"
-          @radio-change="currentRadioChange2"
-        ></dilTable>
-      </div>
-      <div v-show="a == 4">
-        <dilTable
-          v-bind.sync="unloadPoint"
-          @radio-change="currentRadioChange4"
-        ></dilTable>
-      </div>
-    </el-drawer>
-  </div>
-</template>
-
-<script>
-import PageTitle from "@/components/Page/Title";
-import { sjTime } from "@/js/sharedJsFile";
-export default {
-  components: { PageTitle },
-  data() {
-    return {
-      list: [],
-      form1: {},
-      input: "",
-      value: undefined,
-      //船名
-      remark: null,
-      //采购订单id
-      purchaseOrderId: null,
-      //物资名称
-      materialName: null,
-      //发货单位名称
-      supplierName: null,
-      //发货单位id
-      supplierId: null,
-      //物资id
-      materialId: null,
-      //是否需要打开模态窗口
-      drawer: false,
-      //卸货点id
-      unloadPointId: null,
-      //卸货点名称
-      unloadPointName: null,
-      a: 1,
-      direction: "rtl",
-      inputText: "",
-      frist: {
-        requestUrl: "/api/v1/uc/queryAPOMaterialByLike?apiId=244&startNum=050",
-        selectionType: "radio",
-        mapList1: [],
-      },
-      secend: {
-        requestUrl:
-          "/api/v1/uc/getSupplierMesByMaterialId?apiId=247&materialId=",
-        selectionType: "radio",
-        mapList2: [],
-      },
-      unloadPoint: {
-        requestUrl: "/api/v1/uc/getUnloadingMesByLike?apiId=374",
-        selectionType: "radio",
-      },
-    };
-  },
-  created(){
-    this.form1 = {
-      sendStationId:1,
-      arrivalStationId:2,
-    }
-  },
-  methods: {
-    currentRadioChange1(selection) {
-      this.input = null;
-      this.materialName = selection.materialName;
-      this.materialId = selection.materialId;
-      this.getPurchaseOrderNo();
-    },
-    currentRadioChange2(selection) {
-      this.supplierName = selection.supplierName;
-      this.supplierId = selection.supplierId;
-      this.getPurchaseOrderNo();
-    },
-    currentRadioChange4(selection) {
-      this.unloadPointId = selection.warehouseId;
-      this.unloadPointName = selection.warehouseName;
-    },
-    ondrawer(num) {
-      this.drawer = true;
-      this.a = num;
-      if (num == 2) {
-        this.secend.requestUrl =
-          "/api/v1/uc/getSupplierMesByMaterialId?apiId=247&materialId=" +
-          this.materialId;
-      }
-    },
-    onBlur() {
-      this.getPurchaseOrderNo();
-    },
-    getPurchaseOrderNo() {
-      let map = {
-        materialId: this.materialId,
-        supplierId: this.supplierId,
-      };
-      if (this.remark) {
-        map.remark = this.remark;
-      }
-      console.log(this.map);
-      if (this.materialId && this.supplierId) {
-        this.$axios.post("/api/v1/oms/selectNewOrderId", map).then((res) => {
-          console.log(res);
-          if (res.data.code == "200") {
-            if (res.data.data == null) {
-              this.$message({
-                message: "没有匹配的采购订单号!",
-                type: "warning",
-              });
-              this.form1 = [];
-            } else {
-              this.remark = res.data.data.remark;
-              this.purchaseOrderId = res.data.data.purchaseOrderId;
-              this.form1 = { purchaseOrderNo: res.data.data.purchaseOrderNo };
-            }
-          } else {
-            this.$message.error("请求失败");
-          }
-        });
-      }
-    },
-    onClick(a) {
-      if (a == 1) {
-        this.frist.requestUrl =
-          "/api/v1/uc/queryAPOMaterialByLike?apiId=244&startNum=050&index=" +
-          this.inputText;
-      } else if (a == 2) {
-        this.secend.requestUrl =
-          "/api/v1/uc/getSupplierMesByMaterialId?apiId=247&materialId=" +
-          this.materialId +
-          "&index=" +
-          this.inputText;
-      } else if (a == 4) {
-        this.unloadPoint.requestUrl =
-          "/api/v1/uc/getUnloadingMesByLike?apiId=374&index=" + this.inputText;
-      }
-    },
-    onchang() {
-      var state = false;
-      var cptop = this.input.substring(0, 2);
-      var cptop1 = this.input.substring(0, 3);
-      if (
-        cptop == "45" ||
-        cptop == "46" ||
-        cptop == "42" ||
-        cptop == "47" ||
-        cptop == "15" ||
-        cptop == "16" ||
-        cptop == "17" ||
-        cptop == "18"
-      ) {
-        state = true;
-      } else if (
-        cptop1 == "140" ||
-        cptop1 == "141" ||
-        cptop1 == "142" ||
-        cptop1 == "143" ||
-        cptop1 == "145"
-      ) {
-        state = true;
-      } else {
-        this.$message({
-          type: "warning",
-          message: "车皮号格式不对,请重新输入!",
-        });
-      }
-      if (state) {
-        if (this.input.length == 7) {
-          this.list.push(this.input);
-          this.input = "";
-        } else {
-          this.$message({
-            type: "warning",
-            message: "车皮号长度不足7位数,请重新输入!",
-          });
-        }
-      }
-    },
-    onclick(index) {
-      this.list.splice(index, 1);
-    },
-    // 确定
-    makeSure() {
-      let state = 0;
-      if (
-        this.list.length > 0 &&
-        this.materialId &&
-        this.supplierId &&
-        this.unloadPointId &&
-        this.purchaseOrderId &&
-        this.form1.resultClass &&
-        this.form1.sendStationId &&
-        this.form1.arrivalStationId &&
-        this.form1.resultLoadingDate
-      ) {
-        state = 1;
-      } else {
-        console.log(this.list.length);
-        if (this.list.length == 0) {
-          this.$message({
-            type: "warning",
-            message: "请输入车皮号!",
-          });
-        } else {
-          if (this.materialId) {
-            if (this.supplierId) {
-              if (this.unloadPointId) {
-                if (this.purchaseOrderId) {
-                    if (this.form1.resultClass) {
-                      if (this.form1.sendStationId) {
-                        if (this.form1.arrivalStationId) {
-                          if (this.form1.resultLoadingDate) {
-                          } else {
-                            this.$message({
-                              type: "warning",
-                              message: "请选择装车时间!",
-                            });
-                          }
-                        } else {
-                          this.$message({
-                            type: "warning",
-                            message: "请选择到站!",
-                          });
-                        }
-                      } else {
-                        this.$message({
-                          type: "warning",
-                          message: "请选择发站!",
-                        });
-                      }
-                    } else {
-                      this.$message({
-                        type: "warning",
-                        message: "请选择班别!",
-                      });
-                    }
-                  } else {
-                  this.$message({
-                    type: "warning",
-                    message: "该物资没有采购订单号!",
-                  });
-                }
-              } else {
-                this.$message({
-                  type: "warning",
-                  message: "请选择卸货地点!",
-                });
-              }
-            } else {
-              this.$message({
-                type: "warning",
-                message: "请选择发货单位!",
-              });
-            }
-          } else {
-            this.$message({
-              type: "warning",
-              message: "请选择物资!",
-            });
-          }
-        }
-      }
-      if(state == 1){
-        let map = {
-          wagonNoList:this.list,
-          unloadPointId:this.unloadPointId,
-          purchaseOrderRailPlanId:this.purchaseOrderId,
-          resultClass: this.form1.resultClass,
-          sendStationId: this.form1.sendStationId,
-          arrivalStationId: this.form1.arrivalStationId,
-          resultLoadingDate: sjTime(this.form1.resultLoadingDate),
-          resultRemarks: this.form1.resultRemarks,
-          resultType:2,
-        }
-        this.$axios.post('/api/v1/tms/insertTmstrainLoadingResult',map).then((res)=>{
-          console.log(res);
-          if(res.data.code == "200"){
-            this.$message({
-              type: "success",
-              message: "新增成功",
-            });
-            this.$router.push("/importedEmergency/wagonLoad");
-          }
-        })
-      }
-    },
-    // 取消
-    cancel() {
-      this.$router.go(-1);
-    },
-  },
-};
-</script>
-<style lang='scss'>
-.addWagonLoad {
-  .cp {
-    width: 100%;
-    display: flex;
-    justify-content: center;
-    align-items: center;
-    padding-top: 0.625rem;
-    padding-bottom: 0.625rem;
-    .cp_title {
-      .cp_top {
-        width: 3.125rem;
-        padding-right: 1.25rem;
-      }
-    }
-  }
-  .cpList {
-    display: flex;
-    justify-content: center;
-    width: 100%;
-    height: 10rem;
-    .list {
-      width: 45%;
-      border: #000 0.0625rem solid;
-      padding: 0.625rem;
-      display: flex;
-      flex-wrap: wrap;
-      .cpList1 {
-        background-color: #c9c7c7;
-        height: 1.875rem;
-        margin-right: 0.5rem;
-        padding: 0.625rem;
-        display: flex;
-        align-items: center;
-        justify-content: center;
-        position: relative;
-        .itu {
-          position: absolute;
-          top: -0.125rem;
-          right: 0.0625rem;
-          width: 0.625rem;
-          height: 0.625rem;
-        }
-      }
-    }
-  }
-  .material {
-    display: flex;
-    justify-content: center;
-    align-items: center;
-    height: 3.75rem;
-    .text {
-      text-align: right;
-      width: 8.125rem;
-    }
-  }
-  .forwardingUnit {
-    display: flex;
-    justify-content: center;
-    align-items: center;
-    height: 3.75rem;
-    .text {
-      text-align: right;
-      width: 8.125rem;
-    }
-  }
-  .remark {
-    display: flex;
-    justify-content: center;
-    align-items: center;
-    height: 3.75rem;
-    .text {
-      text-align: right;
-      width: 60px;
-    }
-  }
-  .form {
-    margin-top: 1.25rem;
-    display: flex;
-    justify-content: center;
-    padding-left: 9.375rem;
-  }
-  .button-box {
-    display: flex;
-    justify-content: center;
-  }
-}
-</style>
-

+ 0 - 105
src/views/TMS/importedEmergency/addWagonUnLoad.vue

@@ -1,105 +0,0 @@
-<template>
-  <!-- 添加车皮卸车实绩 -->
-  <div class="addWagonLoad">
-    <page-title>新增</page-title>
-
-    <div class="main">
-      <el-divider content-position="left">选择已装车实绩</el-divider>
-    </div>
-
-    <div>
-      <dilTable
-        v-bind.sync="option"
-        ref="table"
-        @selection-change="selectionChange"
-      >
-      </dilTable>
-    </div>
-
-    <el-divider content-position="left">车皮卸车实绩</el-divider>
-     <div class="form-box" style="margin-right: 10rem">
-        <dil-form :formId="255" v-model="form1" ref="from1"></dil-form>
-      </div>
-    <div class="button-box">
-      <el-button @click="cancel">取消</el-button>
-      <el-button type="primary" @click="makeSure">确定</el-button>
-    </div>
-    
-  </div>
-</template>
-
-<script>
-import PageTitle from "@/components/Page/Title";
-import { sjTime } from "@/js/sharedJsFile";
-export default {
-  components: { PageTitle },
-  data() {
-    return {
-      form1: {},
-       option: {
-        // 表格请求数据的地址
-        requestUrl:
-          "/api/v1/tms/getWagonNo/2?apiId=213",
-        // 控制显示当选列
-        selectionType: "select",
-      },
-      value: undefined,
-      list: [],
-    };
-  },
-  mounted() {},
-  methods: {
-    selectionChange(selection){
-      this.list = [];
-      selection.forEach(e => {
-        this.list.push(
-          {
-            resultWagonNo:e.resultWagonNo,
-            resultId:e.resultId
-          })
-      });
-    },
-    // 确定
-    makeSure() {
-      let tmstrainWagonUnloadResult = {
-        wagonNoList: this.list,
-        resultArrivalDate: sjTime(this.form1.resultArrivalDate),
-        resultUnloadTime: sjTime(this.form1.resultUnloadTime),
-        unloadingPointId: this.form1.unloadingPointId,
-        resultBigTicketWeight: this.form1.resultBigTicketWeight,
-        resultRailHorizontalWeight: this.form1.resultRailHorizontalWeight,
-        resultRemark: this.form1.resultRemark,
-        resultType: 2
-      };
-      console.log(tmstrainWagonUnloadResult);
-      if (tmstrainWagonUnloadResult.wagonNoList==null
-      ||tmstrainWagonUnloadResult.resultArrivalDate==null||
-      tmstrainWagonUnloadResult.resultUnloadTime==null||
-      tmstrainWagonUnloadResult.unloadingPointId==null||
-      tmstrainWagonUnloadResult.resultBigTicketWeight==null||
-      tmstrainWagonUnloadResult.resultRailHorizontalWeight==null
-      ) this.$message.error("存在空值!");
-      else
-      this.$axios
-        .post(
-          "/api/v1/tms/insertTmstrainWagonUnLoadResult",
-          tmstrainWagonUnloadResult
-        )
-        .then(() => {
-          this.$message({
-            type: "success",  
-            message: "新增成功!",
-          });
-          this.$router.go(-1);
-        });
-    },
-    // 取消
-    cancel() {
-      this.$router.go(-1);
-    },
-  },
-};
-</script>
-<style lang='scss' scoped>
-@import "@/styles/TMS/addWagonUnLoed.scss";
-</style>

+ 0 - 102
src/views/TMS/importedEmergency/editWagonLoad.vue

@@ -1,102 +0,0 @@
-<template>
-  <!-- 修改车皮装车实绩 -->
-  <div id="contractDetails">
-    <page-title>编辑</page-title>
-    <div class="main">
-      <span class="text">车皮装车实绩</span>
-      <span class="a"></span>
-    </div>
-    <div class="contractTitle">
-      <div class="form-box">
-        <div class="form-one">
-          <dil-form :formId="254" v-model="form1"></dil-form>
-        </div>
-      </div>
-    </div>
-
-    <div class="button-box">
-      <el-button type="primary" @click="onClickConfirm">确认</el-button>
-      <el-button @click="onClickCancel">返回</el-button>
-    </div>
-  </div>
-</template>
-
-<script>
-import PageTitle from "@/components/Page/Title";
-import { sjTime } from "@/js/sharedJsFile";
-export default {
-  components: { PageTitle },
- data(){
-     return {
-      form1: {},
-  }
- },
-  mounted() {
-    this.information();
-  },
-  methods: {
-    information() {
-      //编辑车皮装车作业
-      this.$axios
-        .post("/api/v1/tms/getTmstrainLoadingResultByResultId/" + this.$route.params.resultId)
-        .then((res) => {
-          res.data.data.forEach((e) => {
-            this.form1 = e;
-            console.log(e);
-            console.log(this.form1);
-            console.log(this.$route.params.resultId);
-          });
-        });
-    },
-    handleCheckedCitiesChange(value) {
-      console.log(value);
-    },
-    // 返回
-    onClickCancel() {
-      this.$router.go(-1);
-    },
-    currentRadioChange(row) {
-      this.aaaa = row;
-    },
-    // 确认
-    onClickConfirm() {
-      let tmstrainLoadingResult = {
-        resultId: this.$route.params.resultId,
-        resultWagonNo: this.form1.resultWagonNo,
-        resultBillableTonnage: this.form1.resultBillableTonnage,
-        resultClass: this.form1.resultClass,
-        sendStationId: this.form1.sendStationId,
-        arrivalStationId: this.form1.arrivalStationId,
-        resultLoadingDate: sjTime(this.form1.resultLoadingDate),
-        batchId: this.form1.batchId,
-        capacityId: this.form1.capacityId,
-        resultMaterialNumber: this.form1.resultMaterialNumber,
-        resultMaterialTheoryweight: this.form1.resultMaterialTheoryweight,
-        resultRemarks: this.form1.resultRemarks
-      };
-      if (
-      tmstrainLoadingResult.resultWagonNo==null||
-      tmstrainLoadingResult.resultBillableTonnage==null||
-      tmstrainLoadingResult.resultClass==null||
-      tmstrainLoadingResult.sendStationId==null||
-      tmstrainLoadingResult.arrivalStationId==null||
-      tmstrainLoadingResult.resultLoadingDate==null||
-      tmstrainLoadingResult.batchId==null
-      ) this.$message.error("必填项存在空值!");
-      else
-      this.$axios
-        .post("/api/v1/tms/upadteTmstrainLoadingResultByResultId",tmstrainLoadingResult)
-        .then(() => {
-          this.$message({
-            type: "success",  
-            message: "修改成功!",
-          });
-          this.$router.go(-1);
-        });
-    },
-  },
-};
-</script>
-<style lang="scss" scoped>
-@import "@/styles/TMS/addwagonload.scss";
-</style>

+ 0 - 100
src/views/TMS/importedEmergency/editWagonUnLoad.vue

@@ -1,100 +0,0 @@
-<template>
-  <!-- 修改车皮装车实绩 -->
-  <div id="contractDetails">
-    <page-title>编辑</page-title>
-    <div class="main">
-      <span class="text">车皮卸车实绩</span>
-      <span class="a"></span>
-    </div>
-    <div class="contractTitle">
-      <div class="form-box">
-        <div class="form-one">
-          <dil-form :formId="118" v-model="form1"></dil-form>
-        </div>
-      </div>
-    </div>
-      
-    <div class="button-box">
-      <el-button type="primary" @click="onClickConfirm">确认</el-button>
-      <el-button @click="onClickCancel">返回</el-button>
-    </div>
-  </div>
-</template>
-
-<script>
-import PageTitle from "@/components/Page/Title";
-import { sjTime } from "@/js/sharedJsFile";
-export default {
-  components: { PageTitle },
- data(){
-     return {
-      form1: {},
-  }
- },
-  mounted() {
-    this.information();
-  },
-  methods: {
-    information() {
-      //编辑车皮装车作业
-      this.$axios
-        .post("/api/v1/tms/getTmstrainWagonUnLoadResultByUnLoadingId/" + this.$route.params.unloadingId)
-        .then((res) => {
-          res.data.data.forEach((e) => {
-            this.form1 = e;
-            console.log(e);
-            console.log(this.form1);
-            console.log(this.$route.params.unloadingId);
-          });
-        });
-    },
-    handleCheckedCitiesChange(value) {
-      console.log(value);
-    },
-    // 返回
-    onClickCancel() {
-      this.$router.go(-1);
-    },
-    currentRadioChange(row) {
-      this.aaaa = row;
-    },
-    //确定
-    onClickConfirm() {
-      let tmstrainWagonUnloadResult = {
-        unloadingId: this.$route.params.unloadingId,
-        resultWagonNo: this.form1.resultWagonNo,
-        resultArrivalDate: sjTime(this.form1.resultArrivalDate),
-        resultUnloadTime: sjTime(this.form1.resultUnloadTime),
-        unloadingPointId: this.form1.unloadingPointId,
-        resultBigTicketWeight: this.form1.resultBigTicketWeight,
-        resultRailHorizontalWeight: this.form1.resultRailHorizontalWeight,
-        resultRemark: this.form1.resultRemark
-      };
-      console.log(tmstrainWagonUnloadResult);
-      if (tmstrainWagonUnloadResult.resultWagonNo==null
-      ||tmstrainWagonUnloadResult.resultArrivalDate==null||
-      tmstrainWagonUnloadResult.resultUnloadTime==null||
-      tmstrainWagonUnloadResult.unloadingPointId==null||
-      tmstrainWagonUnloadResult.resultBigTicketWeight==null||
-      tmstrainWagonUnloadResult.resultRailHorizontalWeight==null
-      ) this.$message.error("存在空值!");
-      else
-      this.$axios
-        .post(
-          "/api/v1/tms/upadteTmstrainWagonUnLoadResultByUnLoadingId",
-          tmstrainWagonUnloadResult
-        )
-       .then(() => {
-          this.$message({
-            type: "success",  
-            message: "修改成功!",
-          });
-          this.$router.go(-1);
-        });
-    },
-  },
-};
-</script>
-<style lang="scss" scoped>
-@import "@/styles/TMS/addwagonload.scss";
-</style>

+ 0 - 63
src/views/TMS/importedEmergency/entrust.vue

@@ -1,63 +0,0 @@
-<template>
-  <!-- 计量委托 -->
-  <div class="homeworkPath">
-    <div class="top">
-      <el-input placeholder="请输入内容" v-model="input" clearable> </el-input>
-      <el-button type="primary" class="btn" @click="onclick">
-        <i class="el-icon-search"></i>查询
-      </el-button>
-      <el-button type="primary" @click="btnclick(0)">
-        <i class="el-icon-s-promotion"></i>发送
-      </el-button>
-    </div>
-    <dilTable v-bind.sync="option" @selection-change="selectionChange">
-    </dilTable>
-  </div>
-</template>
-
-
-<script>
-export default {
-  data() {
-    return {
-      input: "",
-      option: {
-        // 表格请求数据的地址
-        requestUrl: "/api/v1/tms/getLoadResultToSendMC?apiId=58&resultType=2",
-        // 控制显示多选列
-        selectionType: "select",
-      },
-      selectionListMap:[],
-    };
-  },
-  methods: {
-    onclick() {
-      this.option.requestUrl = "/api/v1/tms/getTmstrainWagonLoad?apiId=58&resultType=1&con="+this.input;
-    },
-    btnclick() {
-      this.$axios.post('/api/v1/tms/batchSendMeasureCommission',{resultIdList:this.selectionListMap}).then((res)=>{
-        if(res.data.code == "200"){
-          this.$message({
-            type: "success",
-            message: "发送成功",
-          });
-          this.option.requestUrl = "/api/v1/tms/getLoadResultToSendMC?apiId=58&resultType=2";
-        }
-      })
-    },
-    selectionChange(selection) {
-      this.selectionListMap = [] 
-      selection.forEach(element => {
-        this.selectionListMap.push(element.resultId);
-      });
-    },
-  },
-};
-</script>
-<style lang='scss'>
-.homeworkPath {
-  .top {
-    padding: 1.25rem 1.875rem;
-  }
-}
-</style>

+ 0 - 93
src/views/TMS/importedEmergency/trainDetails.vue

@@ -1,93 +0,0 @@
-<template>
-  <!-- 火运实绩页面 -->
-  <div class="homeworkPath">
-    <div class="top">
-      <span class="top_title">车皮号 : </span>
-      <el-autocomplete
-        popper-class="my-autocomplete"
-        v-model="state"
-        :fetch-suggestions="querySearch"
-        placeholder="请输入内容"
-        @select="handleSelect"
-      >
-        <i class="el-icon-edit el-input__icon" slot="suffix"> </i>
-        <template slot-scope="{ item }">
-          <div class="name">{{ item.value }}</div>
-          <span class="addr">{{ item.address }}</span>
-        </template> 
-      </el-autocomplete>
-
-      <el-button type="primary" class="btn" @click="onclick">
-        <i class="el-icon-search"></i>查询
-      </el-button>
-      
-    </div>
-    <dilTable v-bind.sync="option">
-      
-    </dilTable>
-  </div>
-</template>
-
-
-<script>
-export default {
-  name: "wagonUnload",
-  data() {
-    return {
-      status: "",
-      state: "",
-      option: {       
-        // 表格请求数据的地址
-        requestUrl: "/api/v1/tms/getTmstrainresult?apiId=65",
-      },
-    };
-  },
-  mounted() {
-      debugger
-    this.restaurants = this.loadAll();
-  },
-  methods: {
-    querySearch(queryString, cb) {
-      var restaurants = this.restaurants;
-      var results = queryString
-        ? restaurants.filter(this.createFilter(queryString))
-        : restaurants;
-      cb(results);
-    },
-    createFilter(queryString) {
-      return (restaurant) => {
-        return (
-          restaurant.value.toLowerCase().indexOf(queryString.toLowerCase()) ===
-          0
-        );
-      };
-    },
-    loadAll() {
-      return [
-        { value: "三全鲜食(北新泾店)", address: "长宁区新渔路144号" },
-        {
-          value: "Hot honey 首尔炸鸡(仙霞路)",
-          address: "上海市长宁区淞虹路661号",
-        },
-        {
-          value: "新旺角茶餐厅",
-          address: "上海市普陀区真北路988号创邑金沙谷6号楼113",
-        },
-      ];
-    },
-    handleSelect(item) {
-      console.log(item);
-    },
-    onclick() {
-      console.log(1);
-    },
-  },
-};
-</script>
-<style lang='scss' scoped>
-.homeworkPath {
-  .top {
-    padding: 1.25rem 1.875rem;
-  }
-}
-</style>

+ 0 - 89
src/views/TMS/importedEmergency/wagonLoad.vue

@@ -1,89 +0,0 @@
-<template>
-  <!-- 装车作业页面 -->
-  <div class="homeworkPath">
-    <div class="top">
-      <el-input placeholder="请输入内容" v-model="input" clearable> </el-input>
-      <el-button type="primary" class="btn" @click="onclick(0)">
-        <i class="el-icon-search"></i>查询
-      </el-button>
-      <el-button type="primary" @click="onclick(1)">
-        <i class="el-icon-plus"></i>新增
-      </el-button>
-    </div>
-    <dilTable v-bind.sync="option">
-      <el-table-column fixed="right" label="操作" width="100">
-        <template slot-scope="scope">
-          <el-button @click="onclick(2,scope.row.resultId)" type="text" size="small"
-            >修改</el-button
-          >
-          <el-button
-            type="text"
-            size="small"
-            @click="deleteclick(scope.row.resultId)"
-            >删除</el-button
-          >
-        </template>
-      </el-table-column>
-    </dilTable>
-  </div>
-</template>
-<script>
-export default {
-  name: "wagonload",
-  data() {
-    return {
-      input: "",
-      option: {
-        // 表格请求数据的地址
-        requestUrl: "/api/v1/tms/getTmstrainWagonLoad?apiId=209&resultType=2",
-      },
-    };
-  },
-  methods: {
-    onclick(num,resultId) {
-      if (num == 0) {
-        this.option.requestUrl = "/api/v1/tms/getTmstrainWagonLoad?apiId=209&resultType=2&con="+this.input
-      } else if (num == 1) {
-        this.$router.push("/importedEmergency/addWagonLoad")
-      } else if (num == 2) {
-         this.$router.push("/importedEmergency/editWagonLoad/" + resultId)
-      }
-    },
-    deleteclick(resultId) {
-      this.$confirm("是否删除", "提示", {
-        confirmButtonText: "确定",
-        cancelButtonText: "取消",
-        type: "warning",
-        center: true,
-      })
-        .then(() => {
-          this.$message({
-            type: "success",
-            message: "删除成功!",
-          });
-          this.$axios
-            .post(
-              "/api/v1/tms/deleteTmstrainLoadingResultByResultId?resultId=" +
-                resultId
-            )
-            .then(() => {
-              this.$router.go(0);
-            });
-        })
-        .catch(() => {
-          this.$message({
-            type: "info",
-            message: "取消删除!",
-          });
-        });
-    },
-  },
-};
-</script>
-<style lang='scss' scoped>
-.homeworkPath {
-  .top {
-    padding: 1.25rem 1.875rem;
-  }
-}
-</style>

+ 0 - 96
src/views/TMS/importedEmergency/wagonUnLoad.vue

@@ -1,96 +0,0 @@
-<template>
-  <!-- 卸车作业页面 -->
-  <div class="homeworkPath">
-    <div class="top">
-      <el-input placeholder="请输入内容" v-model="input" clearable> </el-input>
-      <el-button type="primary" class="btn" @click="btnclick(0)">
-        <i class="el-icon-search"></i>查询
-      </el-button>
-      <el-button type="primary" @click="btnclick(1)">
-        <i class="el-icon-plus"></i>新增
-      </el-button>
-    </div>
-
-    <dilTable v-bind.sync="option">
-      <el-table-column fixed="right" label="操作" width="100">
-        <template slot-scope="scope">
-          <el-button
-            @click="btnclick(2,scope.row.unloadingId)"
-            type="text"
-            size="small"
-            >修改</el-button
-          >
-          <el-button
-            type="text"
-            size="small"
-            @click="deleteclick(scope.row.unloadingId)"
-            >删除</el-button
-          >
-        </template>
-      </el-table-column>
-    </dilTable>
-  </div>
-</template>
-
-
-<script>
-export default {
-  name: "wagonUnload",
-  data() {
-    return {
-      option: {
-        // 表格请求数据的地址
-        requestUrl: "/api/v1/tms/getTmstrainWagonUnLoad?apiId=214&resultType=2",
-      },
-      input:''
-    };
-  },
-  methods: {
-    btnclick(num,unloadingId) {
-      if ( num == 0 ) {
-        this.option.requestUrl = '/api/v1/tms/getTmstrainWagonUnLoad?apiId=60&resultType=2&con='+this.input;
-      } else if (num == 1 ) {
-        this.$router.push("/importedEmergency/addWagonUnLoad")
-      }else if (num == 2) {
-        this.$router.push("/importedEmergency/editWagonUnLoad/" + unloadingId);
-      }
-    },
-    deleteclick(scope) {
-      let unloadingId = scope;
-      this.$confirm("是否删除", "提示", {
-        confirmButtonText: "确定",
-        cancelButtonText: "取消",
-        type: "warning",
-        center: true,
-      })
-        .then(() => {
-          this.$message({
-            type: "success",
-            message: "删除成功!",
-          });
-          this.$axios
-            .post(
-              "/api/v1/tms/deleteTmstrainWagonUnLoadResultByUnLoadingId?unloadingId=" +
-                unloadingId
-            )
-            .then(() => {
-              this.$router.go(0);
-            });
-        })
-        .catch(() => {
-          this.$message({
-            type: "info",
-            message: "取消删除!",
-          });
-        });
-    },
-  },
-};
-</script>
-<style lang='scss' scoped>
-.homeworkPath {
-  .top {
-    padding: 1.25rem 1.875rem;
-  }
-}
-</style>

+ 0 - 375
src/views/TMS/importedFuel/transportReserveFuAdd.vue

@@ -1,375 +0,0 @@
-<template>
-  <!-- 新增运输作业页面 -->
-  <div id="contractDetails">
-    <page-title>运输预约</page-title>
-
-    <div class="main">
-      <el-divider content-position="left">新增运输预约</el-divider>
-    </div>
-
-    <div class="material from">
-      <span class="text">物资:</span>
-      <el-input v-model="materialName" disabled> </el-input>
-      <el-button type="primary" @click="ondrawer(1)">浏览</el-button>
-    </div>
-
-    <div class="forwardingUnit from">
-      <span class="text">发货单位:</span>
-      <el-input v-model="supplierName" disabled> </el-input>
-      <el-button type="primary" @click="ondrawer(2)">浏览</el-button>
-    </div>
-
-    <div class="contractTitle from">
-      <dil-form :formId="219" v-model="form1"></dil-form>
-    </div>
-    <div class="truckList1">
-      <div class="truckList from">
-        <span class="text">选择车辆:</span>
-        <el-button type="primary" @click="ondrawer(3)" class="truckBtn"
-          >浏览</el-button
-        >
-      </div>
-    </div>
-    <!-- 车辆表格 -->
-    <div class="truckListTable">
-      <el-table
-        :data="selectionList"
-        border
-        style="width: 100%"
-        highlight-current-row
-      >
-        <el-table-column type="index" width="50" label="序号" align="center">
-        </el-table-column>
-        <el-table-column
-          v-for="(item, i) in tableTop"
-          :key="i"
-          :prop="item.prop"
-          :label="item.label"
-          align="center"
-          show-overflow-tooltip
-        >
-          <template slot="scope" v-if="item.th_name !== '件数'">
-            <span>{{ item.label }}</span>
-          </template>
-          <!-- 插入输入框 -->
-          <template slot-scope="scope">
-            <template v-if="item.slot">
-              <template v-if="item.prop == 'orderMaterialNumber'">
-                <el-input v-model.number="scope.row.orderMaterialNumber"></el-input>
-              </template>
-            </template>
-            <template v-else>
-              <span>{{ scope.row[item.prop] }}</span>
-            </template>
-          </template>
-        </el-table-column>
-      </el-table>
-    </div>
-    <!-- 模态窗口 -->
-    <el-drawer :visible.sync="drawer" :direction="direction" size="30%">
-      <el-input
-        placeholder="请输入内容"
-        v-model="input"
-        style="margin-top: 0.625rem; margin-left: 1.25rem"
-        clearable
-      ></el-input>
-      <el-button
-        type="primary"
-        class="btn"
-        @click="onclick(a)"
-        style="margin-bottom: 0.9375rem"
-      >
-        <i class="el-icon-search"></i>查询
-      </el-button>
-      <div v-show="a == 1">
-        <dilTable
-          v-bind.sync="frist"
-          @radio-change="currentRadioChange1"
-        ></dilTable>
-      </div>
-      <div v-show="a == 2">
-        <dilTable
-          v-bind.sync="secend"
-          @radio-change="currentRadioChange2"
-        ></dilTable>
-      </div>
-      <div v-show="a == 3">
-        <dilTable
-          v-bind.sync="third"
-          @selection-change="currentRadioChange3"
-        ></dilTable>
-      </div>
-    </el-drawer>
-    <div class="button_box">
-      <el-button @click="onClickCancel">返回</el-button>
-      <el-button type="primary" @click="onClickConfirm">确认</el-button>
-    </div>
-  </div>
-</template>
-<script>
-import PageTitle from "@/components/Page/Title";
-import { sjTime, isNumber, isIntegerNumber } from "@/js/sharedJsFile";
-export default {
-  components: { PageTitle },
-  data() {
-    return {
-      // 车辆表格表头
-      tableTop: [
-        {
-          prop: "capacityNumber",
-          label: "车牌号",
-          width: "140",
-        },
-        {
-          prop: "carrierName",
-          label: "承运商",
-          width: "140",
-        },
-        {
-          prop: "driverName",
-          label: "司机",
-          width: "140",
-        },
-        {
-          prop: "orderMaterialNumber",
-          label: "件数",
-          slot: true,
-        },
-      ],
-      //车辆表格数据
-      selectionList: [],
-      // 表单
-      form1: {},
-      purchaseOrderId: "",
-      materialName: "",
-      supplierName: "",
-      supplierId: null,
-      materialId: null,
-      drawer: false,
-      a: 1,
-      direction: "rtl",
-      input: "",
-      frist: {
-        requestUrl: "/api/v1/uc/queryMaterialByLike?apiId=244&startNum=010",
-        selectionType: "radio",
-        mapList1: [],
-      },
-      secend: {
-        requestUrl: "/api/v1/uc/querySupplierByLike?apiId=247",
-        selectionType: "radio",
-        mapList2: [],
-      },
-      third: {
-        requestUrl: "/api/v1/uc/getAllCapacityByCarrierLike?apiId=248",
-        selectionType: "select",
-        mapList3: [],
-      },
-    };
-  },
-  methods: {
-    getPurchaseOrderNo() {
-      console.log(this.materialId, "materialId");
-      console.log(this.supplierId, "supplierId");
-      if (this.materialId && this.supplierId) {
-        this.$axios
-          .post("/api/v1/oms/selectNewOrderId", {
-            materialId: this.materialId,
-            supplierId: this.supplierId,
-          })
-          .then((res) => {
-            console.log(res);
-            if (res.data.code == "200") {
-              if (res.data.data == null) {
-                this.$message({
-                  message: "没有匹配的采购订单号!",
-                  type: "warning",
-                });
-              } else {
-                this.purchaseOrderId = res.data.data.purchaseOrderId;
-                this.form1 = { purchaseOrderNo: res.data.data.purchaseOrderNo };
-              }
-            } else {
-              this.$message.error("请求失败");
-            }
-          });
-      }
-    },
-    onclick(a) {
-      if (a == 1) {
-        this.frist.requestUrl =
-          "/api/v1/uc/queryMaterialByLike?apiId=244&startNum=010&index=" + this.input;
-      } else if (a == 2) {
-        this.secend.requestUrl =
-          "/api/v1/uc/querySupplierByLike?apiId=247&index=" + this.input;
-      } else {
-        this.third.requestUrl =
-          "/api/v1/uc/getAllCapacityByCarrierLike?apiId=248&index=" +
-          this.input;
-      }
-    },
-    ondrawer(num) {
-      this.drawer = true;
-      this.a = num;
-    },
-    // 返回
-    onClickCancel() {
-      this.$router.go(-1);
-    },
-    currentRadioChange1(selection) {
-      this.materialName = selection.materialName;
-      this.materialId = selection.materialId;
-      this.getPurchaseOrderNo();
-    },
-    currentRadioChange2(selection) {
-      this.supplierName = selection.supplierName;
-      this.supplierId = selection.supplierId;
-      this.getPurchaseOrderNo();
-    },
-    currentRadioChange3(selection) {
-      console.log(selection,"selection");
-      this.selectionList = [];
-      this.selectionList = selection;
-    },
-    // 确认
-    onClickConfirm() {
-      var state = 0;
-      if (
-        this.materialId &&
-        this.supplierId &&
-        this.form1.purchaseOrderId &&
-        this.form1.unloadPointId &&
-        sjTime(this.form1.orderEntryTime)
-      ) {
-        state = 1;
-      } else {
-        if (!this.materialId) {
-          this.$message({
-            message: "请选择物资!",
-            type: "warning",
-          });
-          if (!this.supplierId) {
-            this.$message({
-              message: "请选择发货单位!",
-              type: "warning",
-            });
-            if (!this.form1.purchaseOrderId) {
-              this.$message({
-                message: "没有匹配的采购订单号!",
-                type: "warning",
-              });
-              if (!this.form1.unloadPointId) {
-                this.$message({
-                  message: "请选择卸货地点!",
-                  type: "warning",
-                });
-                if (!sjTime(this.form1.orderEntryTime)) {
-                  this.$message({
-                    message: "请选择预估进厂时间!",
-                    type: "warning",
-                  });
-                }
-              }
-            }
-          }
-        }
-      }
-      this.selectionList.forEach((e) => {
-        if (e.orderMaterialNumber) {
-          if (isNumber(e.orderMaterialNumber)) {
-            if (isIntegerNumber(e.orderMaterialNumber)) {
-              state = 1;
-            } else {
-              this.$message({
-                message: "件数只能是整数!",
-                type: "warning",
-              });
-              state = 0;
-            }
-          } else {
-            this.$message({
-              message: "件数只能是数字!",
-              type: "warning",
-            });
-            state = 0;
-          }
-        } else {
-          this.$message({
-            message: "件数不能为空!",
-            type: "warning",
-          });
-          state = 0;
-        }
-      });
-      if (state == 1) {
-        let map = {
-          materialId: this.materialId,
-          supplierId: this.supplierId,
-          purchaseOrderId: this.purchaseOrderId,
-          unloadPointId: this.form1.unloadPointId,
-          orderEntryTime: sjTime(this.form1.orderEntryTime),
-          driverCapacityIdList: this.selectionList,
-          orderType: 5
-        };
-        console.log(map);
-        this.$axios.post("/api/v1/oms/addPurOrder", map).then((res) => {
-          if (res.data.code == "200") {
-            this.$message({
-              message: "添加成功!",
-              type: "success",
-            });
-            this.$store.go(-1);
-          }
-        });
-      }
-    },
-  },
-};
-</script>
-
-<style lang="scss" >
-.contractDetails {
-  width: 100%;
-}
-.from {
-  display: flex;
-  align-items: center;
-  justify-content: center;
-  margin-top: 0.3125rem;
-  margin-bottom: 1.25rem;
-}
-.material {
-  .text {
-    display: inline-block;
-    width: 10rem;
-    text-align: right;
-  }
-}
-.forwardingUnit {
-  .text {
-    display: inline-block;
-    width: 10rem;
-    text-align: right;
-  }
-}
-.truckList1 {
-  width: 100%;
-  .truckList {
-    width: 96%;
-    .text {
-      display: inline-block;
-      width: 9.375rem;
-      text-align: right;
-    }
-    .truckBtn {
-      width: 17.5rem;
-    }
-  }
-}
-.button_box {
-  display: flex;
-  justify-content: center;
-  align-items: center;
-  width: 100%;
-  height: 6.25rem;
-}
-</style>

+ 0 - 178
src/views/TMS/importedFuel/transportReserveRan.vue

@@ -1,178 +0,0 @@
-<template>
-  <!-- 燃料运输预约 -->
-  <div class="homeworkPath">
-    <div class="top">
-      <el-input placeholder="请输入内容" v-model="input" clearable> </el-input>
-      <el-button type="primary" class="btn" @click="onclick">
-        <i class="el-icon-search"></i>查询
-      </el-button>
-      <el-button type="primary" @click="insertClick">
-        <i class="el-icon-plus"></i>新增
-      </el-button>
-       <el-button type="primary" @click="issue">
-        <i class="el-icon-plus"></i>下发
-      </el-button>
-    </div>
-    <el-tabs v-model="activeName">
-      <!-- 未下发 -->
-      <el-tab-pane label="未下发" name="first">
-        <dilTable v-bind.sync="option1" ref="table" @selection-change="selectionChange">
-          <el-table-column
-            fixed="right"
-            align="center"
-            label="操作"
-            width="120"
-          >
-            <template slot-scope="scope">
-              <el-button
-                @click="sendClick(scope.row.orderId)"
-                type="text"
-                size="small"
-              >
-                下发
-              </el-button>
-              <el-button
-                @click="updateClick(scope.row.orderId)"
-                type="text"
-                size="small"
-              >
-                修改
-              </el-button>
-              <el-button
-                @click="
-                  deleteClick(scope.row.orderId, scope.row.capacityNumber)
-                "
-                type="text"
-                size="small"
-              >
-                删除
-              </el-button>
-            </template>
-          </el-table-column>
-        </dilTable>
-      </el-tab-pane>
-      <!-- 已下发 -->
-      <el-tab-pane label="已下发" name="second">
-        <dilTable v-bind.sync="option2"> </dilTable>
-      </el-tab-pane>
-    </el-tabs>
-  </div>
-</template>
-
-<script>
-export default {
-  name: "inplantTMS",
-  data() {
-    return {
-      input: "",
-      Time: "",
-      activeName: "first",
-      option1: {
-        // 表格请求数据的地址
-        requestUrl:
-          "/api/v1/oms/getAllTruckOrder?apiId=141&orderStatus=3&fuelOrder=1",
-          selectionType:"select",
-          mapList:[]
-      },
-      option2: {
-        // 表格请求数据的地址
-        requestUrl:
-          "/api/v1/oms/getAllTruckOrder?apiId=243&orderStatus=4&fuelOrder=1",
-      },
-    };
-  },
-  methods: {
-    onclick() {
-      if (this.activeName == "first") {
-        this.option1.requestUrl =
-          "/api/v1/oms/getAllTruckOrder?apiId=141&orderStatus=3&fuelOrder=1&con=" +
-          this.input;
-      } else {
-        this.option2.requestUrl =
-          "/api/v1/oms/getAllTruckOrder?apiId=243&orderStatus=4&fuelOrder=1&con=" +
-          this.input;
-      }
-    },
-    selectionChange(selection){
-        this.mapList = selection
-    },
-    issue(){
-      let mapvalue = {
-        mapList : this.mapList
-      }
-      this.$axios.post("/api/v1/oms/dispatchOrder", mapvalue)},
-    // 下发
-    sendClick(orderId) {
-      this.$confirm("是否下发", "提示", {
-        confirmButtonText: "确定",
-        cancelButtonText: "取消",
-        type: "warning",
-        center: true,
-      })
-        .then(() => {
-          this.$message({
-            type: "success",
-            message: "下发成功!",
-          });
-          this.$axios
-            .post("/api/v1/oms/dispatchOrder", {
-              orderId: orderId,
-            })
-            .then(() => {
-              this.$router.go(0);
-            });
-        })
-        .catch(() => {
-          this.$message({
-            type: "info",
-            message: "取消下发!",
-          });
-        });
-    },
-    // 删除
-    deleteClick(orderId, capacityNumber) {
-      this.$confirm("是否删除", "提示", {
-        confirmButtonText: "确定",
-        cancelButtonText: "取消",
-        type: "warning",
-        center: true,
-      })
-        .then(() => {
-          this.$message({
-            type: "success",
-            message: "删除成功!",
-          });
-          this.$axios
-            .post("/api/v1/oms/deleteOrder", {
-              orderId: orderId,
-              capacityNumber: capacityNumber,
-            })
-            .then(() => {
-              this.$router.go(0);
-            });
-        })
-        .catch(() => {
-          this.$message({
-            type: "info",
-            message: "取消删除!",
-          });
-        });
-    },
-    //新增
-    insertClick() {
-      this.$router.push("/importedFuel/transportReserveRanAdd");
-    },
-    //修改
-    updateClick(orderId) {
-      this.$router.push("/importedFuel/transportReserveRanEdit/" + orderId);
-    },
-  },
-};
-</script>
-<style lang='scss' scoped>
-.homeworkPath {
-  .top {
-    padding: 1.25rem 1.875rem;
-  }
-}
-</style>

+ 0 - 581
src/views/TMS/importedFuel/transportReserveRanAdd.vue

@@ -1,581 +0,0 @@
-<template>
-  <!-- 新增运输作业页面 -->
-  <div id="contractDetails">
-    <page-title>运输预约</page-title>
-
-    <div class="main">
-      <el-divider content-position="left">新增运输预约</el-divider>
-    </div>
-
-    <div class="material from">
-      <span class="text">物资:</span>
-      <el-input v-model="materialName" disabled> </el-input>
-      <el-button type="primary" @click="ondrawer(1)">浏览</el-button>
-    </div>
-
-    <div class="forwardingUnit from">
-      <span class="text">发货单位:</span>
-      <el-input v-model="supplierName" disabled> </el-input>
-      <el-button type="primary" @click="ondrawer(2)">浏览</el-button>
-    </div>
-    <div class="remark from">
-      <span class="text">船名:</span>
-      <el-input v-model="remark" @blur="onBlur"> </el-input>
-      <span class="span"></span>
-    </div>
-    <div class="forwardingUnit from">
-      <span class="text">卸货点:</span>
-      <el-input v-model="unloadPointName" disabled> </el-input>
-      <el-button type="primary" @click="ondrawer(4)">浏览</el-button>
-    </div>
-    <div class="lineId from">
-      <span class="text">选择路线:</span>
-      <el-input v-model="lineName" disabled> </el-input>
-      <el-button type="primary" @click="ondrawer(5)">浏览</el-button>
-    </div>
-    <div class="orderType from">
-      <span class="text">订单类别:</span>
-      <el-select v-model="orderType" placeholder="请选择">
-        <el-option
-          v-for="item in orderTypeList"
-          :key="item.value"
-          :label="item.label" 
-          :value="item.value"
-        >
-        </el-option>
-      </el-select>
-    </div>
-    <div class="contractTitle from">
-      <dil-form :formId="219" v-model="form1"></dil-form>
-    </div>
-    <div class="truckList1">
-      <div class="truckList from">
-        <span class="text">选择车辆:</span>
-        <el-button type="primary" @click="ondrawer(3)" class="truckBtn"
-          >浏览</el-button
-        >
-      </div>
-    </div>
-    <!-- 车辆表格 -->
-    <div class="switch" v-if="selectionList.length > 0">
-      <el-tooltip placement="top">
-        <div slot="content">下面表格已有数据,不能进行更改!!!</div>
-        <el-switch
-          v-model="value"
-          active-text="重量"
-          inactive-text="件数"
-          disabled
-        >
-        </el-switch>
-      </el-tooltip>
-    </div>
-    <div class="switch" v-else>
-      <el-tooltip placement="top">
-        <div slot="content">当下面表格有数据之后,将不能进行更改!!!</div>
-        <el-switch v-model="value" active-text="重量" inactive-text="件数">
-        </el-switch>
-      </el-tooltip>
-    </div>
-    <div class="truckListTable">
-      <el-table
-        :data="selectionList"
-        border
-        style="width: 100%"
-        highlight-current-row
-      >
-        <el-table-column type="index" width="50" label="序号" align="center">
-        </el-table-column>
-        <el-table-column
-          v-for="(item, i) in tableTop"
-          :key="i"
-          :prop="item.prop"
-          :label="item.label"
-          align="center"
-          show-overflow-tooltip
-        >
-          <template slot="scope" v-if="item.th_name !== '件数'">
-            <span>{{ item.label }}</span>
-          </template>
-          <template slot="scope" v-if="item.th_name !== '重量'">
-            <span>{{ item.label }}</span>
-          </template>
-          <!-- 插入输入框 -->
-          <template slot-scope="scope">
-            <template v-if="item.slot">
-              <template v-if="item.prop == 'orderMaterialNumber'">
-                <el-input
-                  v-model.number="scope.row.orderMaterialNumber"
-                ></el-input>
-              </template>
-              <template v-if="item.prop == 'orderMaterialWeight'">
-                <el-input
-                  v-model.number="scope.row.orderMaterialWeight"
-                ></el-input>
-              </template>
-            </template>
-            <template v-else>
-              <span>{{ scope.row[item.prop] }}</span>
-            </template>
-          </template>
-        </el-table-column>
-
-        <el-table-column fixed="right" label="操作" width="100">
-          <template slot-scope="scope">
-            <el-button type="text" size="small" @click="onClick(scope.$index)"
-              >删除</el-button
-            >
-          </template>
-        </el-table-column>
-      </el-table>
-    </div>
-    <!-- 模态窗口 -->
-    <el-drawer :visible.sync="drawer" :direction="direction" size="30%">
-      <el-input
-        placeholder="请输入内容"
-        v-model="input"
-        style="margin-top: 0.625rem; margin-left: 1.25rem"
-        clearable
-      ></el-input>
-      <el-button
-        type="primary"
-        class="btn"
-        @click="onclick(a)"
-        style="margin-bottom: 0.9375rem"
-      >
-        <i class="el-icon-search"></i>查询
-      </el-button>
-      <div v-show="a == 1">
-        <dilTable
-          v-bind.sync="frist"
-          @radio-change="currentRadioChange1"
-        ></dilTable>
-      </div>
-      <div v-show="a == 2">
-        <dilTable
-          v-bind.sync="secend"
-          @radio-change="currentRadioChange2"
-        ></dilTable>
-      </div>
-      <div v-show="a == 3">
-        <dilTable
-          v-bind.sync="third"
-          @selection-change="currentRadioChange3"
-        ></dilTable>
-      </div>
-      <div v-show="a == 4">
-        <dilTable
-          v-bind.sync="unloadPoint"
-          @radio-change="currentRadioChange4"
-        ></dilTable>
-      </div>
-      <div v-show="a == 5">
-        <dilTable
-          v-bind.sync="line"
-          @radio-change="currentRadioChange5"
-        ></dilTable>
-      </div>
-    </el-drawer>
-    <div class="button_box">
-      <el-button @click="onClickCancel">返回</el-button>
-      <el-button type="primary" @click="onClickConfirm">确认</el-button>
-    </div>
-  </div>
-</template>
-<script>
-import PageTitle from "@/components/Page/Title";
-import { sjTime, isNumber, isIntegerNumber } from "@/js/sharedJsFile";
-export default {
-  components: { PageTitle },
-  data() {
-    return {
-      //订单类别
-      orderTypeList:[
-        {
-          value:6,
-          label:'老厂区'
-        },{
-          value:7,
-          label:'新厂区'
-        }
-      ],
-      // 线路名称
-      lineName: "",
-      //线路id
-      lineId: null,
-      // 件数与重量的开关
-      value: false,
-      //船名
-      remark: null,
-      // 车辆表格表头
-      tableTop: [
-        {
-          prop: "capacityNumber",
-          label: "车牌号",
-          width: "140",
-        },
-        {
-          prop: "carrierName",
-          label: "承运商",
-          width: "140",
-        },
-        {
-          prop: "orderMaterialNumber",
-          label: "件数",
-          slot: true,
-        },
-      ],
-      //车辆表格数据
-      selectionList: [],
-      // 表单
-      form1: {},
-      //采购订单id
-      purchaseOrderId: "",
-      //物资名称
-      materialName: "",
-      //发货单位名称
-      supplierName: "",
-      //发货单位id
-      supplierId: null,
-      //物资id
-      materialId: null,
-      //是否需要打开模态窗口
-      drawer: false,
-      //卸货点id
-      unloadPointId: "",
-      //卸货点名称
-      unloadPointName: "",
-      //订单类别
-      orderType:6,
-      a: 1,
-      direction: "rtl",
-      input: "",
-      frist: {
-        requestUrl: "/api/v1/uc/queryAPOMaterialByLike?apiId=244&startNum=050",
-        selectionType: "radio",
-        mapList1: [],
-      },
-      secend: {
-        requestUrl:
-          "/api/v1/uc/getSupplierMesByMaterialId?apiId=247&materialId=",
-        selectionType: "radio",
-        mapList2: [],
-      },
-      third: {
-        requestUrl: "/api/v1/uc/getAllCapacityByCarrierLike?apiId=248",
-        selectionType: "select",
-        mapList3: [],
-      },
-      unloadPoint: {
-        requestUrl: "/api/v1/uc/getUnloadingMesByLike?apiId=374",
-        selectionType: "radio",
-      },
-      line: {
-        requestUrl: "/api/v1/rms/getAllLineDesk?apiId=249&lineType=3",
-        selectionType: "radio",
-      },
-    };
-  },
-  watch: {
-    value() {
-      if (this.value) {
-        this.tableTop.splice(this.tableTop.length - 1, 1);
-        this.tableTop.push({
-          prop: "orderMaterialWeight",
-          label: "重量",
-          slot: true,
-        });
-      } else {
-        this.tableTop.splice(this.tableTop.length - 1, 1);
-        this.tableTop.push({
-          prop: "orderMaterialNumber",
-          label: "件数",
-          slot: true,
-        });
-      }
-    },
-  },
-  methods: {
-    onClick(index) {
-      this.selectionList.splice(index, 1);
-    },
-    onBlur() {
-      this.getPurchaseOrderNo();
-    },
-    getPurchaseOrderNo() {
-      let map = {
-        materialId: this.materialId,
-        supplierId: this.supplierId,
-      };
-      if (this.remark) {
-        map.remark = this.remark;
-      }
-      console.log(this.map);
-      if (this.materialId && this.supplierId) {
-        this.$axios.post("/api/v1/oms/selectNewOrderId", map).then((res) => {
-          console.log(res);
-          if (res.data.code == "200") {
-            if (res.data.data == null) {
-              this.$message({
-                message: "没有匹配的采购订单号!",
-                type: "warning",
-              });
-              this.form1 = [];
-            } else {
-              this.remark = res.data.data.remark;
-              this.purchaseOrderId = res.data.data.purchaseOrderId;
-              this.form1 = { purchaseOrderNo: res.data.data.purchaseOrderNo };
-            }
-          } else {
-            this.$message.error("请求失败");
-          }
-        });
-      }
-    },
-    onclick(a) {
-      if (a == 1) {
-        this.frist.requestUrl =
-          "/api/v1/uc/queryAPOMaterialByLike?apiId=244&startNum=050&index=" +
-          this.input;
-      } else if (a == 2) {
-        this.secend.requestUrl =
-          "/api/v1/uc/getSupplierMesByMaterialId?apiId=247&materialId=" +
-          this.materialId +
-          "&index=" +
-          this.input;
-      } else if (a == 3) {
-        this.third.requestUrl =
-          "/api/v1/uc/getAllCapacityByCarrierLike?apiId=248&index=" +
-          this.input;
-      } else if (a == 4) {
-        this.third.requestUrl =
-          "/api/v1/uc/getUnloadingMesByLike?apiId=347&index=" + this.input;
-      } else if (a == 5) {
-        this.option.requestUrl =
-          "/api/v1/rms/getAllLineDesk?apiId=249&lineType=3&con=" + this.input;
-      }
-    },
-    ondrawer(num) {
-      this.drawer = true;
-      this.a = num;
-      if (num == 2) {
-        this.secend.requestUrl =
-          "/api/v1/uc/getSupplierMesByMaterialId?apiId=247&materialId=" +
-          this.materialId;
-      }
-    },
-    // 返回
-    onClickCancel() {
-      this.$router.push("/importedFuel/transportReserveRan");
-    },
-    currentRadioChange1(selection) {
-      this.materialName = selection.materialName;
-      this.materialId = selection.materialId;
-      this.getPurchaseOrderNo();
-    },
-    currentRadioChange2(selection) {
-      this.supplierName = selection.supplierName;
-      this.supplierId = selection.supplierId;
-      this.getPurchaseOrderNo();
-    },
-    currentRadioChange4(selection) {
-      this.unloadPointId = selection.warehouseId;
-      this.unloadPointName = selection.warehouseName;
-    },
-    currentRadioChange5(selection) {
-      this.lineName = selection.lineName;
-      this.lineId = selection.lineId;
-    },
-    currentRadioChange3(selection) {
-      this.selectionList = [];
-      this.selectionList = selection;
-    },
-    // 确认
-    onClickConfirm() {
-      var state = 0;
-      if (
-        this.materialId &&
-        this.supplierId &&
-        this.form1.purchaseOrderId &&
-        this.unloadPointId &&
-        sjTime(this.form1.orderEntryTime) &&
-        this.lineId
-      ) {
-        state = 1;
-      } else {
-        if (!this.materialId) {
-          this.$message({
-            message: "请选择物资!",
-            type: "warning",
-          });
-        } else if (!this.supplierId) {
-          this.$message({
-            message: "请选择发货单位!",
-            type: "warning",
-          });
-        } else if (!this.purchaseOrderId) {
-          this.$message({
-            message: "没有匹配的采购订单号!",
-            type: "warning",
-          });
-        } else if (!this.unloadPointId) {
-          this.$message({
-            message: "请选择卸货地点!",
-            type: "warning",
-          });
-        } else if (!this.lineId) {
-          this.$message({
-            message: "请选择运输路线!",
-            type: "warning",
-          });
-        } else if (!sjTime(this.form1.orderEntryTime)) {
-          this.$message({
-            message: "请选择预估进厂时间!",
-            type: "warning",
-          });
-        }
-      }
-      if (this.selectionList.length == 0) {
-        this.$message({
-          message: "请选择车辆!",
-          type: "warning",
-        });
-        state = 0;
-      } else {
-        this.selectionList.forEach((e) => {
-          if (e.orderMaterialNumber || e.orderMaterialWeight) {
-            if (
-              isNumber(e.orderMaterialNumber) ||
-              isNumber(e.orderMaterialWeight)
-            ) {
-              if (
-                isIntegerNumber(e.orderMaterialNumber) ||
-                isIntegerNumber(e.orderMaterialWeight)
-              ) {
-                state = 1;
-              } else {
-                this.$message({
-                  message: "件数(重量)只能是整数!",
-                  type: "warning",
-                });
-                state = 0;
-              }
-            } else {
-              this.$message({
-                message: "件数(重量)只能是数字!",
-                type: "warning",
-              });
-              state = 0;
-            }
-          } else {
-            this.$message({
-              message: "件数(重量)不能为空!",
-              type: "warning",
-            });
-            state = 0;
-          }
-        });
-      }
-
-      if (state == 1) {
-        let map = {
-          materialId: this.materialId,
-          supplierId: this.supplierId,
-          purchaseOrderId: this.purchaseOrderId,
-          unloadPointId: this.unloadPointId,
-          orderEntryTime: sjTime(this.form1.orderEntryTime),
-          driverCapacityIdList: this.selectionList,
-          orderType: this.orderType,
-          lineId: this.lineId,
-        };
-        console.log(map, map);
-        this.$axios.post("/api/v1/oms/addPurOrder", map).then((res) => {
-          if (res.data.code == "200") {
-            this.$message({
-              message: "添加成功!",
-              type: "success",
-            });
-            this.$router.push("/importedFuel/transportReserveRan");
-          }
-        });
-      }
-    },
-  },
-};
-</script>
-
-<style lang="scss" >
-.contractDetails {
-  width: 100%;
-}
-.from {
-  display: flex;
-  align-items: center;
-  justify-content: center;
-  margin-top: 0.3125rem;
-  margin-bottom: 1.25rem;
-}
-.remark {
-  .text {
-    display: inline-block;
-    width: 5.625rem;
-    text-align: right;
-  }
-}
-.lineId {
-  .text {
-    display: inline-block;
-    width: 10rem;
-    text-align: right;
-  }
-}
-.material {
-  .text {
-    display: inline-block;
-    width: 10rem;
-    text-align: right;
-  }
-}
-.orderType{
-  .text{
-    display: inline-block;
-    width: 5.625rem;
-    text-align: right;
-  }
-}
-.switch {
-  width: 100%;
-  height: 2.5rem;
-  display: flex;
-  align-items: center;
-  justify-content: flex-end;
-  padding-right: 6.875rem;
-}
-.forwardingUnit {
-  .text {
-    display: inline-block;
-    width: 10rem;
-    text-align: right;
-  }
-}
-.truckList1 {
-  width: 100%;
-  .truckList {
-    width: 96%;
-    .text {
-      display: inline-block;
-      width: 9.375rem;
-      text-align: right;
-    }
-    .truckBtn {
-      width: 17.5rem;
-    }
-  }
-}
-.button_box {
-  display: flex;
-  justify-content: center;
-  align-items: center;
-  width: 100%;
-  height: 6.25rem;
-}
-</style>

+ 0 - 83
src/views/TMS/importedFuel/transportReserveRanEdit.vue

@@ -1,83 +0,0 @@
-<template>
-  <!-- 修改运输预约页面 -->
-  <div id="contractDetails">
-    <page-title>运输预约</page-title>
-    <div class="main">
-      <span class="text">修改运输预约</span>
-      <span class="a"></span>
-    </div>
-    <div class="contractTitle">
-      <div class="form-box">
-        <div class="form-one">
-          <dil-form :formId="220" v-model="form1"></dil-form>
-        </div>
-      </div>
-    </div>  
- 
-    <div class="button-box">
-      <el-button @click="onClickCancel">返回</el-button>
-      <el-button type="primary" @click="onClickConfirm">确认</el-button>
-    </div>
-  </div>
-</template>
-
-<script>
-import PageTitle from "@/components/Page/Title";
-import { sjTime } from "@/js/sharedJsFile";
-export default {
-  components: { PageTitle },
-    data(){
-          return {
-          form1: {},
-        }
-    },
-  mounted() {
-    this.information();
-  },
-  methods: {
-    information() {
-      this.$axios
-        .post("/api/v1/oms/selectOrderByOrderId/" + this.$route.params.orderId)
-        .then((res) => {
-          res.data.data.forEach((e) => {
-            this.form1 = e;
-          });
-        });
-    },
-     // 返回
-    onClickCancel() {
-      this.$router.go(-1);
-    },
-     // 确认
-    onClickConfirm() {
-      let obj = {
-        orderId: this.$route.params.orderId,
-        materialId: this.form1.materialId,
-        orderEntryTime: sjTime(this.form1.orderEntryTime),
-        unloadPointId: this.form1.unloadPointId,
-        orderType: this.form1.orderType
-      };
-
-      if (
-        obj.orderId==null||
-        obj.materialId==null||
-        obj.unloadPointId==null||
-        obj.orderEntryTime==null
-      ) this.$message.error("存在空值!");
-      else
-      this.$axios
-        .post("/api/v1/oms/updateOrder", obj)
-        .then(() => {
-          this.$message({
-            type: "success",  
-            message: "修改成功!",
-          });
-          this.$router.go(-1);
-        });
-    },
-  },
-};
-</script>
-<style lang="scss" scoped>
-@import "@/styles/appoint/contract/ContractInsert.scss";
-</style>

+ 0 - 60
src/views/TMS/importedFuel/truckDriverReceiveRan.vue

@@ -1,60 +0,0 @@
-<template>
-  <!-- 燃料运输派单 -->
-  <div class="homeworkPath">
-    <div class="top">
-      <el-input placeholder="请输入内容" v-model="input" clearable> </el-input>
-      <el-button type="primary" class="btn" @click="onclick">
-        <i class="el-icon-search"></i>查询
-      </el-button>
-    </div>
-    <el-tabs v-model="activeName">
-      <!-- 未下发 -->
-      <el-tab-pane label="已接收" name="first">
-        <dilTable v-bind.sync="option1" ref="table">
-        </dilTable>
-      </el-tab-pane>
-      <!-- 已下发 -->
-      <el-tab-pane label="已拒绝" name="second">
-        <dilTable v-bind.sync="option2">
-        </dilTable>
-      </el-tab-pane>
-    </el-tabs>
-  </div>
-</template>
-
-<script>
-export default {
-  name: "inplantTMS",
-  data() {
-    return {
-      input: "",
-      Time: "",
-      activeName: "first",
-      option1: {
-        // 表格请求数据的地址
-        requestUrl: "/api/v1/oms/getTransportDispatch?apiId=148&fuelOrder=1&orderStatus=5"
-      },
-      option2: {
-        // 表格请求数据的地址
-        requestUrl: "/api/v1/oms/getTransportDispatch?apiId=241&fuelOrder=1&orderStatus=6"
-      }
-    };
-  },
-  methods: {
-    onclick() {
-      if(this.activeName == "first"){
-        this.option1.requestUrl = "/api/v1/oms/getTransportDispatch?apiId=241&fuelOrder=1&orderStatus=5&con=" + this.input;
-      }else{
-        this.option2.requestUrl = "/api/v1/oms/getTransportDispatch?apiId=241&fuelOrder=1&orderStatus=6&con=" + this.input;
-      }
-    },
-  },
-};
-</script>
-<style lang='scss' scoped>
-.homeworkPath {
-   .top {
-    padding: 1.25rem 1.875rem;
-  }
-}
-</style>

+ 0 - 78
src/views/TMS/importedFuel/truckEnfactoryRanLaoResult.vue

@@ -1,78 +0,0 @@
-<template>
-  <!-- 辅料进厂作业页面 -->
-  <div class="homeworkPath">
-    <div class="top">
-      <el-input placeholder="请输入内容" v-model="input" clearable> </el-input>
-      <el-button type="primary" class="btn" @click="onclick">
-        <i class="el-icon-search"></i>查询
-      </el-button>
-    </div>
-    <dilTable v-bind.sync="option">
-      
-    </dilTable>
-  </div>
-</template>
-
-<script>
-export default {
-  name: "homeworkPath",
-  data() {
-    return {
-      restaurants: [],
-      input: "",
-      option: {
-        // 表格请求数据的地址
-        requestUrl: "/api/v1/tms/getAllEnFactoryResult?apiId=143&orderType=6",
-      },
-    };
-  },
-
-  methods: {
-    onclick() {
-      this.option.requestUrl = "/api/v1/tms/getAllEnFactoryResult?apiId=143&orderType=6&con=" + this.input;
-    },
-    updateClick(resultId) {
-      this.$router.push("/tmsTruck/truckLoadResultEdit/" + resultId);
-    },
-    //新增
-    insertClick() {
-      this.$router.push("/tmsTruck/truckLoadResultAdd/");
-    },
-    deleteClick(resultId) {
-      
-      this.$confirm("是否删除", "提示", {
-        confirmButtonText: "确定",
-        cancelButtonText: "取消",
-        type: "warning",
-        center: true,
-      })
-        .then(() => {
-          this.$message({
-            type: "success",
-            message: "删除成功!",
-          });
-          this.$axios
-            .post(
-              "/api/v1/tms/deleteLoadResult/" + resultId
-            )
-            .then(() => {
-              this.$router.go(0);
-            });
-        })
-        .catch(() => {
-          this.$message({
-            type: "info",
-            message: "取消删除!",
-          });
-        });
-    },
-  },
-};
-</script>
-<style lang='scss' scoped>
-.homeworkPath {
-  .top {
-    padding: 1.25rem 1.875rem;
-  }
-}
-</style>

+ 0 - 78
src/views/TMS/importedFuel/truckEnfactoryRanXingResult.vue

@@ -1,78 +0,0 @@
-<template>
-  <!-- 辅料进厂作业页面 -->
-  <div class="homeworkPath">
-    <div class="top">
-      <el-input placeholder="请输入内容" v-model="input" clearable> </el-input>
-      <el-button type="primary" class="btn" @click="onclick">
-        <i class="el-icon-search"></i>查询
-      </el-button>
-    </div>
-    <dilTable v-bind.sync="option">
-      
-    </dilTable>
-  </div>
-</template>
-
-<script>
-export default {
-  name: "homeworkPath",
-  data() {
-    return {
-      restaurants: [],
-      input: "",
-      option: {
-        // 表格请求数据的地址
-        requestUrl: "/api/v1/tms/getAllEnFactoryResult?apiId=143&orderType=7",
-      },
-    };
-  },
- 
-  methods: {
-    onclick() {
-            this.option.requestUrl = "/api/v1/tms/getAllEnFactoryResult?apiId=143&orderType=7&con=" + this.input;
-    },
-    updateClick(resultId) {
-      this.$router.push("/tmsTruck/truckLoadResultEdit/" + resultId);
-    },
-    //新增
-    insertClick() {
-      this.$router.push("/tmsTruck/truckLoadResultAdd/");
-    },
-    deleteClick(resultId) {
-      
-      this.$confirm("是否删除", "提示", {
-        confirmButtonText: "确定",
-        cancelButtonText: "取消",
-        type: "warning",
-        center: true,
-      })
-        .then(() => {
-          this.$message({
-            type: "success",
-            message: "删除成功!",
-          });
-          this.$axios
-            .post(
-              "/api/v1/tms/deleteLoadResult/" + resultId
-            )
-            .then(() => {
-              this.$router.go(0);
-            });
-        })
-        .catch(() => {
-          this.$message({
-            type: "info",
-            message: "取消删除!",
-          });
-        });
-    },
-  },
-};
-</script>
-<style lang='scss' scoped>
-.homeworkPath {
-  .top {
-    padding: 1.25rem 1.875rem;
-  }
-}
-</style>

+ 0 - 43
src/views/TMS/importedFuel/truckJiMaoRanLaoResult.vue

@@ -1,43 +0,0 @@
-<template>
-  <!-- 辅料计毛实绩页面 -->
-  <div class="homeworkPath">
-    <div class="top">
-      <el-input placeholder="请输入内容" v-model="input" clearable> </el-input>
-      <el-button type="primary" class="btn" @click="onclick">
-        <i class="el-icon-search"></i>查询
-      </el-button>
-    </div>
-    <dilTable v-bind.sync="option">
-      
-    </dilTable>
-  </div>
-</template>
-
-<script>
-export default {
-  name: "homeworkPath",
-  data() {
-    return {
-      restaurants: [],
-      input: "",
-      option: {
-        // 表格请求数据的地址
-        requestUrl: "/api/v1/tms/getAllJiMaoResult?apiId=102&orderType=6",
-      },
-    };
-  },
-
-  methods: {
-    onclick() {
-     this.option.requestUrl = "/api/v1/tms/getAllJiMaoResult?apiId=102&orderType=6&con=" + this.input;
-    },
-   }
-};
-</script>
-<style lang='scss' scoped>
-.homeworkPath {
-  .top {
-    padding: 1.25rem 1.875rem;
-  }
-}
-</style>

+ 0 - 43
src/views/TMS/importedFuel/truckJiMaoRanXingResult.vue

@@ -1,43 +0,0 @@
-<template>
-  <!-- 辅料计毛实绩页面 -->
-  <div class="homeworkPath">
-    <div class="top">
-      <el-input placeholder="请输入内容" v-model="input" clearable> </el-input>
-      <el-button type="primary" class="btn" @click="onclick">
-        <i class="el-icon-search"></i>查询
-      </el-button>
-    </div>
-    <dilTable v-bind.sync="option">
-      
-    </dilTable>
-  </div>
-</template>
-
-<script>
-export default {
-  name: "homeworkPath",
-  data() {
-    return {
-      restaurants: [],
-      input: "",
-      option: {
-        // 表格请求数据的地址
-        requestUrl: "/api/v1/tms/getAllJiMaoResult?apiId=102&orderType=7",
-      },
-    };
-  },
-
-  methods: {
-    onclick() {
-     this.option.requestUrl = "/api/v1/tms/getAllJiMaoResult?apiId=102&orderType=7&con=" + this.input;
-    },
-   }
-};
-</script>
-<style lang='scss' scoped>
-.homeworkPath {
-  .top {
-    padding: 1.25rem 1.875rem;
-  }
-}
-</style>

+ 0 - 44
src/views/TMS/importedFuel/truckJiPiRanLaoResult.vue

@@ -1,44 +0,0 @@
-<template>
-  <!-- 辅料计皮实绩页面 -->
-  <div class="homeworkPath">
-    <div class="top">
-      <el-input placeholder="请输入内容" v-model="input" clearable> </el-input>
-      <el-button type="primary" class="btn" @click="onclick">
-        <i class="el-icon-search"></i>查询
-      </el-button>
-    </div>
-    <dilTable v-bind.sync="option">
-      
-    </dilTable>
-  </div>
-</template>
-
-<script>
-export default {
-  name: "homeworkPath",
-  data() {
-    return {
-      restaurants: [],
-      input: "",
-      option: {
-        // 表格请求数据的地址
-        requestUrl: "/api/v1/tms/getAllJiPiResult?apiId=146&orderType=6",
-      },
-    };
-  },
-
-  methods: {
-
-    onclick() {
-     this.option.requestUrl = "/api/v1/tms/getAllJiPiResult?apiId=146&orderType=6&con=" + this.input;
-    },
-   }
-};
-</script>
-<style lang='scss' scoped>
-.homeworkPath {
-  .top {
-    padding: 1.25rem 1.875rem;
-  }
-}
-</style>

+ 0 - 44
src/views/TMS/importedFuel/truckJiPiRanXingResult.vue

@@ -1,44 +0,0 @@
-<template>
-  <!-- 辅料计皮实绩页面 -->
-  <div class="homeworkPath">
-   <div class="top">
-      <el-input placeholder="请输入内容" v-model="input" clearable> </el-input>
-      <el-button type="primary" class="btn" @click="onclick">
-        <i class="el-icon-search"></i>查询
-      </el-button>
-    </div>
-    <dilTable v-bind.sync="option">
-      
-    </dilTable>
-  </div>
-</template>
-
-<script>
-export default {
-  name: "homeworkPath",
-  data() {
-    return {
-      restaurants: [],
-      input: "",
-      option: {
-        // 表格请求数据的地址
-        requestUrl: "/api/v1/tms/getAllJiPiResult?apiId=146&orderType=7",
-      },
-    };
-  },
-
-  methods: {
-    
-    onclick() {
-     this.option.requestUrl = "/api/v1/tms/getAllJiPiResult?apiId=146&orderType=7&con=" + this.input;
-    },
-   }
-};
-</script>
-<style lang='scss' scoped>
-.homeworkPath {
-  .top {
-    padding: 1.25rem 1.875rem;
-  }
-}
-</style>

+ 0 - 44
src/views/TMS/importedFuel/truckLeaveFactoryRanLaoResult.vue

@@ -1,44 +0,0 @@
-<template>
-  <!-- 辅料出厂作业页面 -->
-  <div class="homeworkPath">
-   <div class="top">
-      <el-input placeholder="请输入内容" v-model="input" clearable> </el-input>
-      <el-button type="primary" class="btn" @click="onclick">
-        <i class="el-icon-search"></i>查询
-      </el-button>
-    </div>
-    <dilTable v-bind.sync="option">
-      
-    </dilTable>
-  </div>
-</template>
-
-<script>
-export default {
-  name: "homeworkPath",
-  data() {
-    return {
-      restaurants: [],
-      input: "",
-      option: {
-        // 表格请求数据的地址
-        requestUrl: "/api/v1/tms/getLeaveFactoryResult?apiId=147&orderType=6",
-      },
-    };
-  },
-
-  methods: {
-    
-    onclick() {
-     this.option.requestUrl = "/api/v1/tms/getLeaveFactoryResult?apiId=147&orderType=6&con=" + this.input;
-    },
-   }
-};
-</script>
-<style lang='scss' scoped>
-.homeworkPath {
-  .top {
-    padding: 1.25rem 1.875rem;
-  }
-}
-</style>

+ 0 - 43
src/views/TMS/importedFuel/truckLeaveFactoryRanXingResult.vue

@@ -1,43 +0,0 @@
-<template>
-  <!-- 燃料出厂作业页面 -->
-  <div class="homeworkPath">
-    <div class="top">
-      <el-input placeholder="请输入内容" v-model="input" clearable> </el-input>
-      <el-button type="primary" class="btn" @click="onclick">
-        <i class="el-icon-search"></i>查询
-      </el-button>
-    </div>
-    <dilTable v-bind.sync="option">
-      
-    </dilTable>
-  </div>
-</template>
-
-<script>
-export default {
-  name: "homeworkPath",
-  data() {
-    return {
-      restaurants: [],
-      input: "",
-      option: {
-        // 表格请求数据的地址
-        requestUrl: "/api/v1/tms/getLeaveFactoryResult?apiId=147&orderType=7",
-      },
-    };
-  },
-
-  methods: {
-    onclick() {
-      this.option.requestUrl = "/api/v1/tms/getLeaveFactoryResult?apiId=147&orderType=7&con=" + this.input;
-    },
-   }
-};
-</script>
-<style lang='scss' scoped>
-.homeworkPath {
-  .top {
-    padding: 1.25rem 1.875rem;
-  }
-}
-</style>

+ 0 - 56
src/views/TMS/importedFuel/truckQualityRanLaoResult.vue

@@ -1,56 +0,0 @@
-<template>
-  <!-- 辅料质检作业 -->
-  <div class="homeworkPath">
-    <div class="top">
-      <el-input placeholder="请输入内容" v-model="input" clearable> </el-input>
-      <el-button type="primary" class="btn" @click="onclick">
-        <i class="el-icon-search"></i>查询
-      </el-button>
-
-    </div>
-    
-    <dilTable v-bind.sync="option">
-      <el-table-column fixed="right" label="操作" width="50">
-        <template slot-scope="scope">
-          <el-button @click="updateClick(scope.row.resultId)" type="text" size="small">
-            修改
-          </el-button>
-        </template>
-      </el-table-column>
-    </dilTable>
-  </div>
-</template>
-
-
-<script>
-export default {
-  name: "wagonPlease",
-  data() {
-    return {
-      status: "",
-      input: "",
-      option: {       
-        // 表格请求数据的地址
-        requestUrl: "/api/v1/tms/getQualityResult?apiId=150&orderType=6",
-      },
-    };
-  },
-
-  methods: {
-    onclick() {
-         this.option.requestUrl = "/api/v1/tms/getQualityResult?apiId=150&orderType=6&con=" + this.input;
-    },
-    updateClick(resultId) {
-      this.$router.push("/imported1Fuel/truckQualityRanLaoResultEdit/" + resultId);
-    },
-    
-  },
-};
-</script>
-<style lang='scss' scoped>
-.homeworkPath {
-  .top {
-    padding: 1.25rem 1.875rem;
-  }
-}
-</style>

+ 0 - 96
src/views/TMS/importedFuel/truckQualityRanLaoResultEdit.vue

@@ -1,96 +0,0 @@
-<template>
-  <!-- 辅料修改质检作业页面 -->
-  <div id="contractDetails">
-    <page-title>质检作业</page-title>
-
-    <div class="main">
-      <span class="text">修改质检作业</span>
-      <span class="a"></span>
-    </div>
-
-    <div class="contractTitle">
-      <div class="form-box">
-        <div class="form-one">
-          <dil-form :formId="187" v-model="form1"></dil-form>
-        </div>
-      </div>
-    </div>
-
-    
-    <div class="button-box">
-      <el-button @click="onClickCancel">返回</el-button>
-      <el-button type="primary" @click="onClickConfirm">确认</el-button>
-      
-    </div>
-  </div>
-</template>
-
-<script>
-import PageTitle from "@/components/Page/Title";
-export default {
-  components: { PageTitle },
-  data() {
-    return {
-      // 表单
-      form1: {},
-      // 表格
-      table1: {},
-      contractId: "",
-    };
-  },
-  mounted() {
-    this.information();
-  },
-  methods: {
-  information() {
-      //编辑运输计划
-      this.$axios
-        .post("/api/v1/tms/getQualityResultById/" + this.$route.params.resultId)
-        .then((res) => {
-          res.data.data.forEach((e) => {
-            this.form1 = e;
-          });
-        });
-    },
-
-    handleCheckedCitiesChange(value) {
-      console.log(value);
-    },
-    // 返回
-    onClickCancel() {
-      this.$router.go(-1);
-    },
-    // 确认
-    onClickConfirm() {
-      let QR = {
-        resultId: this.$route.params.resultId,
-        resultIssampling: this.form1.resultIssampling,
-        resultDeduction: this.form1.resultDeduction,
-        resultSamplingPointId: this.form1.resultSamplingPointId,
-        resultDeductionDescription: this.form1.resultDeductionDescription
-      };
-    
-      var val = this.value;
-      if (
-        QR.resultIssampling==null||
-        QR.resultDeduction==null||
-        QR.resultSamplingPointId==null||
-        QR.resultDeductionDescription==null
-      ) this.$message.error("存在空值!");
-      else
-      this.$axios
-        .post("/api/v1/tms/updateQualityResult", QR)
-        .then(() => {
-          this.$message({
-            type: "success",  
-            message: "修改成功!",
-          });
-          this.$router.go(-1);
-        });
-    },
-  },
-};
-</script>
-<style lang="scss" scoped>
-@import "@/styles/appoint/contract/ContractInsert.scss";
-</style>

이 변경점에서 너무 많은 파일들이 변경되어 몇몇 파일들은 표시되지 않았습니다.