luobang 3 gadi atpakaļ
vecāks
revīzija
29e240094e

+ 2 - 2
build/utils.js

@@ -16,9 +16,9 @@ const devPathSrc = path.resolve(__dirname, '../../../src'); // node_modules应
 //       统计报表       组织机构/系统管理 采购  仓储
 //  'statisticalReport','systemConfig','TMS','WMS','workFlow']
 let devModules = ['all']
-// let devModules = ['index','TMS','sale'];
+// let devModules = ['index','TMS','sale']
 // let devModules = ['index','appoint','WMS'];
-// let devModules = ['index','inward','SporadicManage']
+// let devModules = ['index','inward','ADMINISTRATORS']
 // let devModules = ['index','sale','RMS']
 // let devModules = ['index','SporadicManage','RMS','statisticalReport']
 // let devModules = ['index','inward','statisticalReport']

+ 3 - 3
config/index.js

@@ -64,8 +64,8 @@ let proxyTable = {
   },
   // 所有数据的请求域名地址
   "/api/v1": {
-    target: "http://localhost:8080",
-    // target: "http://172.16.33.166:8080",
+    // target: "http://localhost:8080",
+    target: "http://172.16.33.166:8080",
     // target: "http://192.168.1.114:8019",
     ws: true,
     pathRewrite: {
@@ -106,7 +106,7 @@ module.exports = {
     // Various Dev Server settings
     host: 'localhost', // can be overwritten by process.env.HOST
     port: 8802, // can be overwritten by process.env.PORT, if port is in use, a free one will be determined
-    autoOpenBrowser: true,
+    autoOpenBrowser: false,
     errorOverlay: true,
     notifyOnErrors: true,
     poll: false, // https://webpack.js.org/configuration/dev-server/#devserver-watchoptions-

+ 3 - 5
src/views/ADMINISTRATORS/components/ADMINISTRATORS1.vue

@@ -324,11 +324,9 @@ export default {
         }else{
             arr.push(mapFirst)
         }
-        this.axios.post("http://172.16.33.166:8066/api/v1/join/tmstruckweightresult/receiveTmsTruckWeightResult",arr).then((res) =>{
-            if(res.data.code == "200"){
-                this.$message.success("补录计量实绩成功")
-                this.$router.go(0)
-            }
+        this.axios.post("/api/v1/uc/recordingWeightResult",arr).then((res) =>{
+            this.$message.success("补录计量实绩成功")
+            this.$router.go(0)
         })
     },
     onClickCancel(){

+ 0 - 2
src/views/sale/app.js

@@ -17,8 +17,6 @@ import apollo from '@/config/apolloConfig.js'
 
 import Print from 'vue-print-nb';
 Vue.use(Print);
-
-
 import 'xe-utils' 
 import VXETable from 'vxe-table'
 import 'vxe-table/lib/style.css'