zengyf %!s(int64=2) %!d(string=hai) anos
pai
achega
e96c9ba127

+ 3 - 8
build/utils.js

@@ -15,16 +15,11 @@ const devPathSrc = path.resolve(__dirname, '../../../src') // node_modules应用
 // ['index','appoint','configManager','homepage',''inward,'queue','RMS','sale','serviceManager','SporadicManage'
 // ['index','appoint','configManager','homepage',''inward,'queue','RMS','sale','serviceManager','SporadicManage'
 //       统计报表       组织机构/系统管理 采购  仓储
 //       统计报表       组织机构/系统管理 采购  仓储
 //  'statisticalReport','systemConfig','TMS','WMS','workFlow','ADMINISTRATORS']
 //  'statisticalReport','systemConfig','TMS','WMS','workFlow','ADMINISTRATORS']
-<<<<<<< HEAD
-let devModules = ['index', 'statisticalReport', 'queue', 'sale','TMS','QMS','appoint']
-//let devModules = ['all']
-=======
 
 
-// let devModules = ['index', 'statisticalReport', 'appoint']
-let devModules = ['all']
+
+//let devModules = ['all']
 //let devModules = ['index', 'statisticalReport', 'queue', 'sale','TMS','QMS','appoint']
 //let devModules = ['index', 'statisticalReport', 'queue', 'sale','TMS','QMS','appoint']
-// let devModules = ['all']
->>>>>>> ecb211626d4aa9a51230114ced8866039cba10e1
+let devModules = ['all']
 //let devModules=['index']
 //let devModules=['index']
 if (pathSrc.indexOf('node_modules') > -1) {
 if (pathSrc.indexOf('node_modules') > -1) {
   devModules = require('../../../cors.js').devModules
   devModules = require('../../../cors.js').devModules

+ 1 - 1
config/index.js

@@ -73,7 +73,7 @@ let proxyTable = {
   // 所有数据的请求域名地址
   // 所有数据的请求域名地址
   '/api/v1': {
   '/api/v1': {
     target: 'http://172.16.33.166:80',
     target: 'http://172.16.33.166:80',
-    // target: 'http://localhost:8080',
+    //target: 'http://localhost:8080',
     // target: 'http://192.168.1.104:8080',
     // target: 'http://192.168.1.104:8080',
     ws: true,
     ws: true,
     pathRewrite: {
     pathRewrite: {

+ 14 - 8
src/views/sale/components/transportFreight/saleTruckSettlement/bmsTruckDetailsOrderNew.vue

@@ -168,11 +168,10 @@
               >
               >
               </el-table-column>
               </el-table-column>
               <el-table-column
               <el-table-column
-                prop="orderMakingTime"
+                prop="saleMakeDate"
                 label="制单时间"
                 label="制单时间"
                 width="110px"
                 width="110px"
                 align="center"
                 align="center"
-                show-overflow-tooltip
               >
               >
               </el-table-column>
               </el-table-column>
               <el-table-column
               <el-table-column
@@ -386,11 +385,10 @@
               >
               >
               </el-table-column>
               </el-table-column>
               <el-table-column
               <el-table-column
-                prop="orderMakingTime"
+                prop="saleMakeDate"
                 label="制单时间"
                 label="制单时间"
                 width="110px"
                 width="110px"
                 align="center"
                 align="center"
-                show-overflow-tooltip
               >
               >
               </el-table-column>
               </el-table-column>
               <el-table-column
               <el-table-column
@@ -1163,6 +1161,8 @@ export default {
     //只修改单价
     //只修改单价
     makeSure() {
     makeSure() {
       //若没有单价Id
       //若没有单价Id
+      console.log("获取数据")
+      console.log(this.userId)
       console.log(this.makeSurePriceOrderList)
       console.log(this.makeSurePriceOrderList)
       if (this.makeSurePriceOrderList.length == 0) {
       if (this.makeSurePriceOrderList.length == 0) {
         this.$message({
         this.$message({
@@ -1183,6 +1183,7 @@ export default {
       })
       })
       let mapValue = {}
       let mapValue = {}
       mapValue.mapList = mapList
       mapValue.mapList = mapList
+      mapValue.userId=this.userId
       // //是否确定修改详单地址!
       // //是否确定修改详单地址!
       // this.$confirm('确定修改', '提示', {
       // this.$confirm('确定修改', '提示', {
       //   confirmButtonText: '仅修改单价',
       //   confirmButtonText: '仅修改单价',
@@ -1198,7 +1199,7 @@ export default {
         .then(res => {
         .then(res => {
           if (res.data.code == '200') {
           if (res.data.code == '200') {
             this.$message.success('修改详单单价成功!')
             this.$message.success('修改详单单价成功!')
-            this.$refs.tableRef.clearSelection()
+            //this.$refs.tableRef.clearSelection()
             //重置未结算详单表单信息
             //重置未结算详单表单信息
             // this.operation(this.steelMap)
             // this.operation(this.steelMap)
             this.loadNewData()
             this.loadNewData()
@@ -1211,6 +1212,8 @@ export default {
     },
     },
     //修改单价和收货地址
     //修改单价和收货地址
     makeSureAll(){
     makeSureAll(){
+      console.log("获取数据")
+      console.log(this.userId)
       if (this.makeSurePriceOrderList.length == 0) {
       if (this.makeSurePriceOrderList.length == 0) {
         this.$message({
         this.$message({
           type: 'success',
           type: 'success',
@@ -1231,11 +1234,14 @@ export default {
       let mapValue = {}
       let mapValue = {}
       mapValue.mapList = mapList
       mapValue.mapList = mapList
       mapValue.updatePlace = 1
       mapValue.updatePlace = 1
+      mapValue.userId=this.userId
+      console.log("要的数据")
+      console.log(mapValue)
             this.axios
             this.axios
               .post('/api/v1/bms/updateBatchDetailsOrder', mapValue)
               .post('/api/v1/bms/updateBatchDetailsOrder', mapValue)
               .then(res => {
               .then(res => {
                 if (res.data.code == '200') {
                 if (res.data.code == '200') {
-                  this.$refs.tableRef.clearSelection()
+                  //this.$refs.tableRef.clearSelection()
                   this.$message.success('修改详单单价和地址成功!')
                   this.$message.success('修改详单单价和地址成功!')
                   // this.operation(this.steelMap)
                   // this.operation(this.steelMap)
                   this.loadNewData()
                   this.loadNewData()
@@ -2893,7 +2899,6 @@ export default {
           loading.close()
           loading.close()
         })
         })
         .catch(() => {
         .catch(() => {
-          loading.close()
         })
         })
 
 
       this.axios
       this.axios
@@ -2932,8 +2937,9 @@ export default {
           loading.close()
           loading.close()
         })
         })
         .catch(() => {
         .catch(() => {
-          loading.close()
         })
         })
+        loading.close();
+
     }
     }
   }
   }
 }
 }