zhongtianhaoyuan пре 2 година
родитељ
комит
31d0040162

+ 2 - 2
src/views/administrationManagement/dailyReport.vue

@@ -53,7 +53,7 @@
             <span v-else>{{ scope.$index + 1 }}</span>
           </template>
         </el-table-column>
-        <el-table-column prop="orderNo" label="订单编号" min-width="100" />
+        <el-table-column prop="orderNo" label="订单编号" min-width="155" />
         <el-table-column prop="driverName" label="司机姓名" />
         <el-table-column prop="payeeName" label="收款人" />
         <el-table-column prop="driverPhone" label="司机账号" />
@@ -217,7 +217,7 @@ export default {
     },
     //批量上报
     batchSubmission() {
-      let that = this
+      var that = this
       if (this.modification.length > 0) {
         this.$confirm('确定批量上报流水单信息?', '提示', {
           confirmButtonText: '确定',

+ 4 - 4
src/views/administrationManagement/waybillReporting.vue

@@ -53,7 +53,7 @@
             <span v-else>{{ scope.$index + 1 }}</span>
           </template>
         </el-table-column>
-        <el-table-column prop="orderNo" label="订单编号" />
+        <el-table-column prop="orderNo" label="订单编号" min-width="155" />
         <el-table-column prop="cargoOwner" label="发运人" />
         <el-table-column prop="cargoOwnerPhone" label="发运人账号" />
         <el-table-column prop="driverName" label="承运人" />
@@ -219,7 +219,7 @@ export default {
     },
     //批量上报
     batchSubmission() {
-      let that = this
+      var that = this
       if (this.modification.length > 0) {
         this.$confirm('确定批量上报运单信息?', '提示', {
           confirmButtonText: '确定',
@@ -229,8 +229,6 @@ export default {
           .then(() => {
             batchEscalation({ orderInfoList: this.modification })
               .then(response => {
-                that.modification = []
-                that.getList()
                 if (response.code == 200) {
                   that.$notify({
                     title: '成功',
@@ -238,6 +236,8 @@ export default {
                     type: 'success'
                   })
                 }
+                that.getList()
+                that.modification = []
               })
           })
       } else {

+ 2 - 2
src/views/parkReportManagement/dailyReport.vue

@@ -53,7 +53,7 @@
             <span v-else>{{ scope.$index + 1 }}</span>
           </template>
         </el-table-column>
-        <el-table-column prop="orderNo" label="订单编号" min-width="100" />
+        <el-table-column prop="orderNo" label="订单编号" min-width="155"/>
         <el-table-column prop="driverName" label="司机姓名" />
         <el-table-column prop="payeeName" label="收款人" />
         <el-table-column prop="driverPhone" label="司机账号" />
@@ -219,7 +219,7 @@ export default {
     },
     //批量上报
     batchSubmission() {
-      let that = this
+      var that = this
       if (this.modification.length > 0) {
         this.$confirm('确定批量上报流水单信息?', '提示', {
           confirmButtonText: '确定',

+ 5 - 6
src/views/parkReportManagement/waybillReporting.vue

@@ -53,7 +53,7 @@
             <span v-else>{{ scope.$index + 1 }}</span>
           </template>
         </el-table-column>
-        <el-table-column prop="orderNo" label="订单编号" />
+        <el-table-column prop="orderNo" label="订单编号" min-width="155" />
         <el-table-column prop="cargoOwner" label="发运人" />
         <el-table-column prop="cargoOwnerPhone" label="发运人账号" />
         <el-table-column prop="driverName" label="承运人" />
@@ -74,7 +74,6 @@
             <el-link target="_blank" type="primary" :underline="false" @click="submission(scope.row)"
               :disabled="scope.row.escalationStatus != '未上报' && scope.row.escalationStatus != '未通过' && scope.row.escalationStatus != '暂缓中'">
               上报</el-link>
-
           </template>
         </el-table-column>
       </el-table>
@@ -220,7 +219,7 @@ export default {
     },
     //批量上报
     batchSubmission() {
-      let that =this
+      var that = this
       if (this.modification.length > 0) {
         this.$confirm('确定批量上报运单信息?', '提示', {
           confirmButtonText: '确定',
@@ -231,14 +230,14 @@ export default {
             batchEscalation({ orderInfoList: this.modification })
               .then(response => {
                 if (response.code == 200) {
-                  this.$notify({
+                  that.$notify({
                     title: '成功',
                     message: '上报成功!',
                     type: 'success'
                   })
-                  this.modification = []
-                  that.getList()
                 }
+                that.getList()
+                that.modification = []
               })
           })
       } else {