gjy 3 年 前
コミット
37f2961f49

+ 3 - 0
src/views/houseSelfCollect/inspectInfo.vue

@@ -634,6 +634,9 @@
         }
       },
 
+      // waterContentChange() {
+      //   debugger
+      //   if (this.inspect.goodsName) {
       waterContentChange(type) {
         if (this.inspect.goodsName&&type!='water') {
           for (var i = 0; i < this.purchasePriceList.length; i++) {

+ 1 - 1
src/views/houseSelfCollect/paymentManagement.vue

@@ -120,7 +120,7 @@
             v-hasPermission="`acquisitionManagement.acquisitionPay.view`"
           >查看</el-button>
           <el-button
-            v-show="(scope.row.approveStatus || scope.row.status == '已驳回' || userJurisdiction)&&scope.row.status != '待结算'"
+            v-show="scope.row.approveStatus || (scope.row.status != '待结算'&& !scope.row.approveStatus) "
             @click="print(scope.row)"
             v-hasPermission="`acquisitionManagement.acquisitionPay.print`"
           >打印</el-button>

+ 5 - 4
src/views/houseSelfCollect/settlement.vue

@@ -107,7 +107,7 @@
                disabled
               />
             </ws-form-item>
-            <ws-form-item label="容重(克/升)>=" span="1" prop="waterContent">
+            <ws-form-item label="容重(克/升)" span="1" prop="waterContent">
               <ws-input v-model="paymentList.qualityInspectionManagement.bulkDensity" placeholder="请输入容重" maxlength="100" size="small" disabled />
             </ws-form-item>
             <ws-form-item label="热损伤(%)" span="1" prop="waterContent">
@@ -398,7 +398,7 @@
     >
       <paymentPrint :printData="printData" ref="saveImg"></paymentPrint>
       <div style="text-align:center">
-        <el-button type="primary" @click="closeDialog">关闭</el-button>
+        <el-button type="primary" @click="closePrint">关闭</el-button>
         <!-- <el-button type="primary" @click="printSmall">打印小票</el-button> -->
         <el-button type="primary" @click="printBig">打印单据</el-button>
       </div>
@@ -453,7 +453,7 @@ export default {
       html2canvas(this.$refs.saveImg.$el).then((canvas) => {
         let dataURL = canvas.toDataURL('image/png')
         this.imgUrl = dataURL
-        if (this.imgUrl !== '') {
+        if (this.imgUrl !== '' ) {
           let b = this.dataURLtoFile(this.imgUrl, 'printImage')
           let formdata = new FormData()
           formdata.append('file', b)
@@ -739,7 +739,9 @@ export default {
         this.paymentList.base=(100-this.paymentList.qualityInspectionManagement.weightDeduction)/100
         this.paymentList.base = this.paymentList.base.toFixed(3)
         this.paymentList.pureWeight=this.paymentList.base*this.paymentList.weighingManagement.netWeight
+        this.paymentList.solidGrainPrice = (Number(this.paymentList.grainMoney)/Number(this.paymentList.pureWeight)).toFixed(4)
         this.paymentList.pureWeight =  this.paymentList.pureWeight.toFixed(2)
+        
       }else{
          this.$message({
             message: '扣重比输入错误',
@@ -754,7 +756,6 @@ export default {
       this.$router.push({ path: 'paymentManagement' })
     },
     closePrint(){
-        this.paymentList = [] 
         this.isShowPrint = false
         this.$router.push({path:'paymentManagement'})
       },

+ 1 - 1
src/views/houseSelfCollect/weighingManagement.vue

@@ -71,7 +71,7 @@
       <el-table-column prop="secretaryWeigher" label="司称员">
        <template slot-scope="scope">
          <div v-if="scope.row.secretaryWeigher == scope.row.skinInspector">{{scope.row.skinInspector}}</div>
-         <div v-else>  {{scope.row.secretaryWeigher}}<span v-if="scope.row.skinInspector">,{{scope.row.skinInspector}}</span></div>
+         <div v-else>{{scope.row.secretaryWeigher}}<span v-if="scope.row.skinInspector">,{{scope.row.skinInspector}}</span></div>
        </template> 
       </el-table-column>
       <el-table-column

+ 5 - 6
src/views/houseSelfCollect/weightCheck.vue

@@ -259,7 +259,7 @@
           .then((response) => {
             for (let i = 0; i < response.records.length; i++) {
               if (response.records[i].paymentManagement) {
-                if (response.records[i].paymentManagement.status == '待结算') {
+                if (response.records[i].paymentManagement.status == '待结算' && !response.records[i].paymentManagement.approveStatus) {
                   response.records[i].allow = 1
                 } else {
                   response.records[i].allow = 2
@@ -452,9 +452,9 @@
           }
         })
         this.isShowPrint = false
-        this.$router.push({
-          path: 'weighingManagement'
-        })
+        // this.$router.push({
+        //   path: 'weighingManagement'
+        // })
       },
       closePrint() {
         this.isShowPrint = false
@@ -586,8 +586,7 @@
                       } else {
                         //累计售粮没有超上限完成毛检保存
                         this.weighingList.relationId = this.relationId;
-                        (this.weighingList.secretaryWeigher =
-                          sessionStorage.getItem('ws-pf_staffName')),
+                        this.weighingList.secretaryWeigher = sessionStorage.getItem('ws-pf_staffName'),
                         grossWeight(this.weighingList)
                           .toPromise()
                           .then((response) => {

+ 1 - 1
src/views/platformaudit/grainpulseenterprisereview.vue

@@ -468,7 +468,7 @@ export default {
     },
     handlePictureCardPreview(res, file) {
       let url = file.response.url;
-      if(this.companyList1.sitePhotoAddress.length>9){
+      if(this.companyList1.sitePhotoAddress.length>=9){
          this.$message({
           message: '最多上传九张图片!',
           type: 'warning',

+ 2 - 1
src/views/taskManagement/tranManagementWarehouseInOutTask.vue

@@ -356,7 +356,8 @@ export default {
       var text = ''
       if (
         (row.taskTypeKey == 3 && row.inOutType == '移库出库') ||
-        (row.taskTypeKey == 4 && row.inOutType == '销售出库')
+        (row.taskTypeKey == 4 && row.inOutType == '销售出库') ||
+        (row.taskTypeKey == 4 && row.inOutType == '退库')
       ) {
         text = '相同任务编号的任务将一并删除且不可恢复,是否确定删除?'
       } else {

+ 104 - 61
src/views/tranManagement/tranManagementFireFeedback.vue

@@ -85,8 +85,8 @@
           {{ deptBudgetList.contractNo }}
         </ws-form-item>
         <!-- 运输方式 -->
-        <ws-form-item label="运输方式" span="1" prop="contractNo">
-          {{ deptBudgetList.contractNo }}
+        <ws-form-item label="运输方式" span="1" prop="tranType">
+          {{ deptBudgetList.tranType }}
         </ws-form-item>
       </ws-info-table>
       <div class="small-title" style="font-size: 16px">联络员及车次</div>
@@ -275,8 +275,15 @@
           </ws-info-table>
         </div>
       </div>
-      <div style="text-align: center; color: #8890b1; font-size: 16px">
+      <div style="text-align: right; color: #8890b1; font-size: 16px">
         合计(吨):{{ total }}/{{ deptBudgetList.weight }}
+         <!--阶段状态-->
+         <span class="noservice" v-show="deptBudgetList.feedbackStatus=='执行中'">
+          未完货
+        </span>
+        <span class="service" v-show="deptBudgetList.feedbackStatus=='已完货'">{{
+          deptBudgetList.feedbackStatus
+        }}</span>
       </div>
       <!-- <el-button class="add bg-bottom" type="primary" size="small" @click="add">
         <img width="22" height="22" src="../../../public/img/add.png" alt="" />
@@ -564,6 +571,7 @@ export default {
         })
     },
     submit() {
+      debugger
       for (var i = 0; i < this.freightspace.length; i++) {
         if (this.freightspace[i].temporaryDriverFlag != 0) {
           if (!this.freightspace[i].driver) {
@@ -587,70 +595,85 @@ export default {
             })
             return
           }
+          debugger
           if (!this.freightspace[i].loadNetWeight) {
             this.$message({
-              message: '装载净重不能为空!',
+              message: '装车净重不能为空!',
+              type: 'warning',
+            })
+            return
+          }
+            if (this.freightspace[i].loadNetWeight < 0 || this.freightspace[i].loadNetWeight > 10000) {
+            this.$message({
+              message: '装车净重输入错误!',
+              type: 'warning',
+            })
+            return
+          }
+           if (!this.freightspace[i].loadingDate) {
+            this.$message({
+              message: '装车日期不能为空!',
               type: 'warning',
             })
             return
           }
         }
       }
-      this.$confirm(`提交成功后提醒司机及时签订运输合同,确定提交装车信息?`, {
-        confirmButtonText: '确定',
-        cancelButtonText: '取消',
-        type: 'warning',
-      })
-        .then(() => {
-          this.$refs.deptBudgetList.validate((valid) => {
-            if (valid) {
-              // this.deptBudgetList.totalStorage = this.totalStorage
-              this.tranCarInfoList = this.freightspace
-              this.tranCarInfoList.driver = this.deptBudgetList.driver
-              this.tranCarInfoList.driverPhone = this.deptBudgetList.driverPhone
-              this.tranCarInfoList.tranCarNo = this.deptBudgetList.tranCarNo
-              this.tranCarInfoList.carNo = this.deptBudgetList.carNo
-              this.tranCarInfoList[0].sendDateStart = this.deptBudgetList.sendDateStart
-              this.tranCarInfoList.loadNetWeight =
-                this.deptBudgetList.loadNetWeight
-              this.tranCarInfoList.tranType = this.tranType
-              this.tranCarInfoList.loadPoundImg =
-                this.deptBudgetList.loadPoundImg
-              // this.tranCarInfoList.boxNo = this.arr.toString()
-              for (var i = 0; i < this.tranCarInfoList.length; i++) {
-                this.tranCarInfoList[i].id = this.freightspace[i].id
-                if (this.tranCarInfoList[i].temporaryDriverFlag != 0) {
-                  this.tranCarInfoList[i].temporaryDriverFlag = 1
-                  this.tranCarInfoList[i].tranType = this.tranType
-                }
-              }
-              var tranProcessInfo = {}
-              tranProcessInfo.id = this.deptBudgetList.id
-              tranProcessInfo.infoId = this.deptBudgetList.infoId
-              tranProcessInfo.processNo = this.deptBudgetList.processNo
-              tranProcessInfo.tranPrice = this.deptBudgetList.tranPrice
-              tranProcessInfo.tranCarInfoList = this.tranCarInfoList
-              // dispatchCat({tranCarInfo:{tranCarInfoList:[this.tranCarInfoList],id:this.deptBudgetList.id}
-              feedback(tranProcessInfo)
-                .toPromise()
-                .then((response) => {
-                  this.$message.success('提交成功')
-                  this.deptBudgetList = {}
-                  this.freightspace = {}
-                  this.selectedOptions = ''
-                  this.$router.push({
-                    path: 'tranManagementTransporHairRespond',
-                  })
-                })
-            } else {
-              // EventBus.$emit('error', this.$t('showMessage.asteriskRequired'))
-              return false
-            }
-          })
-        })
-        .catch(() => {
-          return false
-        })
+      // this.$confirm(`提交成功后提醒司机及时签订运输合同,确定提交装车信息?`, {
+      //   confirmButtonText: '确定',
+      //   cancelButtonText: '取消',
+      //   type: 'warning',
+      // })
+      //   .then(() => {
+      //     this.$refs.deptBudgetList.validate((valid) => {
+      //       if (valid) {
+      //         // this.deptBudgetList.totalStorage = this.totalStorage
+      //         this.tranCarInfoList = this.freightspace
+      //         this.tranCarInfoList.driver = this.deptBudgetList.driver
+      //         this.tranCarInfoList.driverPhone = this.deptBudgetList.driverPhone
+      //         this.tranCarInfoList.tranCarNo = this.deptBudgetList.tranCarNo
+      //         this.tranCarInfoList.carNo = this.deptBudgetList.carNo
+      //         this.tranCarInfoList[0].sendDateStart = this.deptBudgetList.sendDateStart
+      //         this.tranCarInfoList.loadNetWeight =
+      //           this.deptBudgetList.loadNetWeight
+      //         this.tranCarInfoList.tranType = this.tranType
+      //         this.tranCarInfoList.loadPoundImg =
+      //           this.deptBudgetList.loadPoundImg
+      //         // this.tranCarInfoList.boxNo = this.arr.toString()
+      //         for (var i = 0; i < this.tranCarInfoList.length; i++) {
+      //           this.tranCarInfoList[i].id = this.freightspace[i].id
+      //           if (this.tranCarInfoList[i].temporaryDriverFlag != 0) {
+      //             this.tranCarInfoList[i].temporaryDriverFlag = 1
+      //             this.tranCarInfoList[i].tranType = this.tranType
+      //           }
+      //         }
+      //         var tranProcessInfo = {}
+      //         tranProcessInfo.id = this.deptBudgetList.id
+      //         tranProcessInfo.infoId = this.deptBudgetList.infoId
+      //         tranProcessInfo.processNo = this.deptBudgetList.processNo
+      //         tranProcessInfo.tranPrice = this.deptBudgetList.tranPrice
+      //         tranProcessInfo.tranCarInfoList = this.tranCarInfoList
+      //         // dispatchCat({tranCarInfo:{tranCarInfoList:[this.tranCarInfoList],id:this.deptBudgetList.id}
+      //         feedback(tranProcessInfo)
+      //           .toPromise()
+      //           .then((response) => {
+      //             this.$message.success('提交成功')
+      //             this.deptBudgetList = {}
+      //             this.freightspace = {}
+      //             this.selectedOptions = ''
+      //             this.$router.push({
+      //               path: 'tranManagementTransporHairRespond',
+      //             })
+      //           })
+      //       } else {
+      //         // EventBus.$emit('error', this.$t('showMessage.asteriskRequired'))
+      //         return false
+      //       }
+      //     })
+      //   })
+      //   .catch(() => {
+      //     return false
+      //   })
     },
     getList() {
       seeCat({ id: this.deptBudgetList.id })
@@ -722,7 +745,7 @@ export default {
   height: 300px;
 }
 .el-form {
-  padding: 0 15%;
+  padding: 0 10%;
 }
 /deep/.ws-info-table .el-form-item {
   border-right: 1px solid transparent;
@@ -1052,7 +1075,7 @@ export default {
 }
 //装车详情
 /deep/.liaison .ws-info-table .el-form-item {
-  width: 19%;
+  width: 20%;
 }
 /deep/.liaison .ws-info-table .el-form-item .el-form-item__label {
   width: 50%;
@@ -1134,4 +1157,24 @@ export default {
   margin-top: 11px;
   margin-left: 53px;
 }
+/deep/.el-input--suffix .el-input__inner{
+  padding-right: 0px !important;
+}
+//送达/未送达
+.noservice,
+.service {
+  display: inline-block;
+  border-radius: 4px;
+  border: 1px solid #d8dce6;
+  padding: 2px;
+  font-size: 12px;
+}
+.noservice {
+  background: #c4cada;
+  color: #ffffff;
+}
+.service {
+  background: #e5f1f7;
+  color: #50cad4;
+}
 </style>

+ 2 - 1
src/views/tranManagement/tranManagementFireFeedbackLook.vue

@@ -463,7 +463,7 @@ export default {
   height: 300px;
 }
 .el-form {
-  padding: 0 15%;
+  padding: 0 10%;
 }
 /deep/.ws-info-table .el-form-item {
   border-right: 1px solid transparent;
@@ -857,4 +857,5 @@ export default {
   margin-top: 11px;
   margin-left: 53px;
 }
+
 </style>

+ 55 - 18
src/views/tranManagement/tranManagementFireReceivingFeedback.vue

@@ -85,8 +85,8 @@
           {{ deptBudgetList.contractNo }}
         </ws-form-item>
         <!-- 运输方式 -->
-        <ws-form-item label="运输方式" span="1" prop="contractNo">
-          {{ deptBudgetList.contractNo }}
+        <ws-form-item label="运输方式" span="1" prop="tranType">
+          {{ deptBudgetList.tranType }}
         </ws-form-item>
       </ws-info-table>
       <div class="small-title" style="font-size: 16px">联络员及车次</div>
@@ -204,7 +204,7 @@
               </template>
             </ws-form-item>
             <!--卸车日期-->
-            <el-form-item label="卸车日期:" span="1" prop="unloadingDate">
+            <el-form-item label="卸车日期:" span="1" prop="unloadingDate" style="width:22%">
               <ws-date-picker
                 v-if="item.status == '未装车' || item.status == '已送达'"
                 :disabled="readonly"
@@ -224,13 +224,9 @@
               />
             </el-form-item>
             <!-- 提交 -->
-            <span class="servicedout" v-show="item.status == '已送达'"
-              >已卸车</span
-            >
-            <span class="noserviceout" v-show="item.status == '未装车'">{{
-              item.status
-            }}</span>
-            <span
+            <span class="servicedout" v-show="item.status == '已送达'">已卸车</span>
+            <span class="noserviceout" v-show="item.status == '未装车'">{{item.status}}</span>
+            <!-- <span
               style="text-align: right; padding: 10px"
               class="center"
               v-if="
@@ -240,7 +236,7 @@
                 item.status == '已装车'
               "
             >
-              <div>
+             
                 <el-button
                   class="bg-bottom"
                   type="primary"
@@ -248,9 +244,19 @@
                   @click="submit(deptBudgetList)"
                   >提交</el-button
                 >
-              </div>
-            </span>
-
+            
+            </span> -->
+             <el-button
+              style="text-align: right; padding: 10px;margin:4px 0 0 20px"
+              type="primary"
+                  @click="submit(deptBudgetList)"
+              v-if="
+                item.status == '' ||
+                item.status == null ||
+                item.status == '未送达' ||
+                item.status == '已装车'
+              "
+            > 提交 </el-button>
             <!-- <div
               v-show="
                 item.temporaryDriverFlag == 0 && item.signStatus == '未签合同'
@@ -280,8 +286,15 @@
           </ws-info-table>
         </div>
       </div>
-      <div style="text-align: center; color: #8890b1; font-size: 16px">
+      <div style="text-align: right; color: #8890b1; font-size: 16px">
         合计(吨):{{ total }}/{{ deptBudgetList.weight }}
+          <!--阶段状态-->
+         <span class="noservice" v-show="deptBudgetList.feedbackStatus=='执行中'">
+          未完货
+        </span>
+        <span class="service" v-show="deptBudgetList.feedbackStatus=='已完货'">{{
+          deptBudgetList.feedbackStatus
+        }}</span>
       </div>
       <!-- <el-button class="add bg-bottom" type="primary" size="small" @click="add">
         <img width="22" height="22" src="../../../public/img/add.png" alt="" />
@@ -727,7 +740,7 @@ export default {
   height: 300px;
 }
 .el-form {
-  padding: 0 15%;
+  padding: 0 10%;
 }
 /deep/.ws-info-table .el-form-item {
   border-right: 1px solid transparent;
@@ -1001,6 +1014,7 @@ export default {
 }
 .catNos {
   width: 5%;
+  min-width: 60px;
   height: 30px;
   margin-top: 10px;
   margin-left: 20px;
@@ -1061,6 +1075,7 @@ export default {
 }
 /deep/.liaison .ws-info-table .el-form-item .el-form-item__label {
   width: 50%;
+  min-width: 92px;
   background: #f6f7fc;
 }
 /deep/.liaison .flex {
@@ -1081,9 +1096,10 @@ export default {
   width: 20%;
 }
 /deep/.lianluoyuan .ws-info-table .el-form-item .el-form-item__label {
-  width: 50%;
+  width: 40%;
+  min-width: 92px;
   background: #f6f7fc;
-  padding-right: 28px;
+  // padding-right: 28px;
   margin-top: 5px;
 }
 /deep/.lianluoyuan .flex {
@@ -1097,6 +1113,7 @@ export default {
 }
 /deep/.lianluoyuan .ws-info-table .el-form-item .el-form-item__content {
   padding: 0px;
+  min-width: 110px;
   margin-top: 5px;
 }
 //卸车状态
@@ -1125,4 +1142,24 @@ export default {
   margin-top: 11px;
   margin-left: 53px;
 }
+/deep/.el-input--suffix .el-input__inner{
+  padding-right: 0;
+}
+//送达/未送达
+.noservice,
+.service {
+  display: inline-block;
+  border-radius: 4px;
+  border: 1px solid #d8dce6;
+  padding: 2px;
+  font-size: 12px;
+}
+.noservice {
+  background: #c4cada;
+  color: #ffffff;
+}
+.service {
+  background: #e5f1f7;
+  color: #50cad4;
+}
 </style>

+ 5 - 4
src/views/tranManagement/tranManagementFireReceivingFeedbackLook.vue

@@ -25,8 +25,7 @@
     <ws-form
       class="position"
       ref="deptBudgetList"
-      :rules="rules"
-      :model="deptBudgetList"
+     :model="deptBudgetList"
     >
       <div class="small-title" style="font-size: 16px">任务详情</div>
       <ws-info-table>
@@ -211,7 +210,7 @@
           </ws-info-table>
         </div>
       </div>
-      <div style="text-align: center; color: #8890b1; font-size: 16px">
+      <div style="text-align: right; color: #8890b1; font-size: 16px">
         合计(吨):{{ total }}/{{ deptBudgetList.weight }}
         <!--阶段状态-->
         <span
@@ -262,6 +261,7 @@
   </div>
 </template>
 <script>
+import { regionData } from 'element-china-area-data'
 import WsUpload from '@/components/WsUpload'
 import mapDrag from '@/components/mapdrag/mapdrag'
 export default {
@@ -336,6 +336,7 @@ export default {
   },
   activated() {
     this.deptBudgetList.id = this.$route.query.id
+    console.log(this.deptBudgetList.id)
     this.getList()
   },
   computed: {
@@ -467,7 +468,7 @@ export default {
   height: 300px;
 }
 .el-form {
-  padding: 0 15%;
+  padding: 0 10%;
 }
 /deep/.ws-info-table .el-form-item {
   border-right: 1px solid transparent;

+ 3 - 1
src/views/tranManagement/tranManagementReceivingloading.vue

@@ -563,7 +563,9 @@ export default {
         .toPromise()
         .then(response => {
           this.deptBudgetList = response
-          this.freightspace = response.tranCarInfoList
+            if(response.tranCarInfoList){
+            this.freightspace = response.tranCarInfoList
+          }
           for (var i = 0; i < this.freightspace.length; i++) {
             if (!this.freightspace[i].loadNetWeight) {
               this.freightspace[i].loadNetWeight = 0

+ 6 - 3
src/views/tranManagement/tranManagementShippingFeedback.vue

@@ -277,7 +277,7 @@
                 value-format="yyyy-MM-dd"
               />
             </el-form-item>
-            <div style="text-align: right; padding: 10px" class="center1">
+            <div style=" padding: 10px" class="center1">
               <el-button
                 v-show="item.status == '未装车'"
                 class="bg-bottom"
@@ -917,7 +917,7 @@ export default {
   height: 300px;
 }
 .el-form {
-  padding: 0 15%;
+  padding: 0 10%;
 }
 /deep/.ws-info-table .el-form-item {
   border-right: 1px solid transparent;
@@ -1194,7 +1194,7 @@ export default {
   width: 19%;
 }
 /deep/.liaison .ws-info-table .el-form-item .el-form-item__label {
-  width: 50%;
+  width: 37%;
   background: #f6f7fc;
 }
 /deep/.liaison .ws-info-table {
@@ -1274,4 +1274,7 @@ export default {
   margin-left: 14%;
   margin-top: -7%;
 }
+/deep/.el-input--suffix .el-input__inner{
+  padding-right: 0px;
+}
 </style>

+ 229 - 248
src/views/tranManagement/tranManagementTransporFeedback.vue

@@ -6,91 +6,73 @@
         <h2 class="bg-left title">汽运装车反馈</h2>
       </el-col>
       <el-col :span="12" class="bg-right">
-        <el-button
-          class="bg-bottom"
-          type="primary"
-          size="small"
-          @click="returnsales()"
-          ><img
+        <el-button class="bg-bottom" type="primary" size="small" @click="returnsales()">
+          <img
             width="6"
             height="10"
             style="vertical-align: bottom; margin-right: 3px"
             src="../../../public/img/lujing.png"
-            alt=""
-          />返回</el-button
-        >
+            alt
+          />返回
+        </el-button>
       </el-col>
     </el-row>
-    <ws-form
-      class="position"
-      ref="deptBudgetList"
-      :rules="rules"
-      :model="deptBudgetList"
-    >
+    <ws-form class="position" ref="deptBudgetList" :rules="rules" :model="deptBudgetList">
       <div class="small-title" style="font-size: 16px">任务详情</div>
       <ws-info-table>
         <!--任务编号-->
-        <ws-form-item label="任务编号" span="1" prop="processNo">
-          {{ deptBudgetList.processNo }}
-        </ws-form-item>
+        <ws-form-item label="任务编号" span="1" prop="processNo">{{ deptBudgetList.processNo }}</ws-form-item>
         <!--货名-->
-        <ws-form-item label="货名" span="1" prop="goodsName">
-          {{ deptBudgetList.goodsName }}
-        </ws-form-item>
+        <ws-form-item label="货名" span="1" prop="goodsName">{{ deptBudgetList.goodsName }}</ws-form-item>
         <!--重量(吨)-->
-        <ws-form-item label="重量(吨)" span="1" prop="weight">
-          {{ deptBudgetList.weight }}
-        </ws-form-item>
+        <ws-form-item label="重量(吨)" span="1" prop="weight">{{ deptBudgetList.weight }}</ws-form-item>
         <!--发货地址-->
         <ws-form-item label="发货地址" span="1" prop="sendDetailedAddress">
           {{ deptBudgetList.sendPrivate }}{{ deptBudgetList.sendCity
           }}{{ deptBudgetList.sendArea }}
         </ws-form-item>
         <!--发货人-->
-        <ws-form-item label="发货人" span="1" prop="sender" class="readonly">
-          {{ deptBudgetList.sender }}
-        </ws-form-item>
+        <ws-form-item
+          label="发货人"
+          span="1"
+          prop="sender"
+          class="readonly"
+        >{{ deptBudgetList.sender }}</ws-form-item>
         <!--发货人电话-->
         <ws-form-item
           label="发货人电话"
           span="1"
           prop="senderPhone"
           class="readonly"
-        >
-          {{ deptBudgetList.senderPhone }}
-        </ws-form-item>
+        >{{ deptBudgetList.senderPhone }}</ws-form-item>
         <!--收货地址-->
         <ws-form-item label="收货地址" span="1" prop="receiveDetailedAddress">
           {{ deptBudgetList.receivePrivate }}{{ deptBudgetList.receiveCity
           }}{{ deptBudgetList.receiveArea }}
         </ws-form-item>
         <!--收货人-->
-        <ws-form-item label="收货人" span="1" prop="receiver">
-          {{ deptBudgetList.receiver }}
-        </ws-form-item>
+        <ws-form-item label="收货人" span="1" prop="receiver">{{ deptBudgetList.receiver }}</ws-form-item>
         <!--收货人电话-->
-        <ws-form-item label="收货人电话" span="1" prop="receiverPhone">
-          {{ deptBudgetList.receiverPhone }}
-        </ws-form-item>
+        <ws-form-item label="收货人电话" span="1" prop="receiverPhone">{{ deptBudgetList.receiverPhone }}</ws-form-item>
         <!--发货日期-->
-        <ws-form-item label="发货日期" span="1" prop="deliveryDateStart">
-          {{ deptBudgetList.deliveryDateStart }}
-        </ws-form-item>
+        <ws-form-item
+          label="发货日期"
+          span="1"
+          prop="deliveryDateStart"
+        >{{ deptBudgetList.deliveryDateStart }}</ws-form-item>
         <!--最晚到货日期-->
-        <ws-form-item label="最晚到货日期" span="1" prop="deliveryDateEnd">
-          {{ deptBudgetList.deliveryDateEnd }}
-        </ws-form-item>
+        <ws-form-item
+          label="最晚到货日期"
+          span="1"
+          prop="deliveryDateEnd"
+        >{{ deptBudgetList.deliveryDateEnd }}</ws-form-item>
         <!--合同编号-->
-        <ws-form-item label="合同编号" span="1" prop="contractNo">
-          {{ deptBudgetList.contractNo }}
-        </ws-form-item>
+        <ws-form-item label="合同编号" span="1" prop="contractNo">{{ deptBudgetList.contractNo }}</ws-form-item>
         <!-- 运输方式 -->
-        <ws-form-item label="运输方式" span="1" prop="contractNo">
-          {{ deptBudgetList.contractNo }}
-        </ws-form-item>
+        <ws-form-item label="运输方式" span="1" prop="contractNo">{{ deptBudgetList.contractNo }}</ws-form-item>
       </ws-info-table>
       <div class="small-title" style="font-size: 16px; width: 50%;float: left;">装车详情</div>
-          <!-- 导入 -->
+      <!-- 导入 -->
       <div style="font-size: 16px; width: 50%;float: left;text-align: right;">
       <!-- <el-upload style="margin-left: 8px;"
           class=""
@@ -125,41 +107,33 @@
           <ws-info-table>
             <div class="catNos" v-show="item.temporaryDriverFlag == 0">
               司机-{{ index + 1 }}
-              <span class="noservice" v-show="item.status == '未装车'">{{
-                  item.status
-                }}</span>
-                <span class="service" v-show="item.status == '已装车'">{{
-                  item.status
-                }}</span>
-                 <span class="serviced" v-show="item.status == '已送达'">{{
-                  item.status
-                }}</span>
+              <span class="noservice" v-show="item.status == '未装车'">
+                {{
+                item.status
+                }}
+              </span>
+              <span class="service" v-show="item.status == '已装车'">
+                {{
+                item.status
+                }}
+              </span>
+              <span class="serviced" v-show="item.status == '已送达'">
+                {{
+                item.status
+                }}
+              </span>
             </div>
             <div
               class="catNos catNosCor"
               v-show="item.temporaryDriverFlag != 0"
-            >
-              司机-{{ index + 1 }}(临)
-            </div>
+            >司机-{{ index + 1 }}(临)</div>
             <!--司机-->
-            <ws-form-item
-              label="姓名:"
-              span="1"
-              prop="driver"
-              v-show="item.temporaryDriverFlag == 0"
-            >
-              <span v-show="item.temporaryDriverFlag == 0"
-                >{{ item.driver }}
-              </span>
+            <ws-form-item label="姓名:" span="1" prop="driver" v-show="item.temporaryDriverFlag == 0">
+              <span v-show="item.temporaryDriverFlag == 0">{{ item.driver }}</span>
             </ws-form-item>
             <!--司机-->
 
-            <ws-form-item
-              label="姓名:"
-              span="1"
-              prop="driver"
-              v-show="item.temporaryDriverFlag != 0"
-            >
+            <ws-form-item label="姓名:" span="1" prop="driver" v-show="item.temporaryDriverFlag != 0">
               <el-select
                 v-show="item.temporaryDriverFlag != 0"
                 v-model="item.driver"
@@ -185,9 +159,7 @@
                 maxlength="20"
                 size="small"
               />
-              <span v-show="item.temporaryDriverFlag == 0"
-                >{{ item.driverPhone }}
-              </span>
+              <span v-show="item.temporaryDriverFlag == 0">{{ item.driverPhone }}</span>
             </ws-form-item>
             <!--车牌号-->
             <ws-form-item label="车牌号:" span="1" prop="carNo">
@@ -198,14 +170,12 @@
                 maxlength="20"
                 size="small"
               />
-              <span v-show="item.temporaryDriverFlag == 0"
-                >{{ item.carNo }}
-              </span>
+              <span v-show="item.temporaryDriverFlag == 0">{{ item.carNo }}</span>
             </ws-form-item>
             <!--装车净重-->
             <ws-form-item label="装车净重:" span="1" prop="loadNetWeight">
               <ws-input
-                v-if="item.status == '已装车'||item.status == '已送达'" 
+                v-if="item.status == '已装车'||item.status == '已送达'"
                 :disabled="readonly"
                 v-model="item.loadNetWeight"
                 placeholder="请输入装车净重"
@@ -213,7 +183,7 @@
                 size="small"
                 style="width:80px"
               />
-               <ws-input
+              <ws-input
                 v-else
                 v-model="item.loadNetWeight"
                 placeholder="请输入装车净重"
@@ -224,35 +194,36 @@
             </ws-form-item>
             <!--装车日期-->
             <ws-form-item label="装车日期:" span="1" prop="sendDateStart">
-            <ws-date-picker
-              v-if="item.status == '已装车'||item.status == '已送达'" 
-              :disabled="readonly"
-              v-model="item.sendDateStart"
-              type="date"
-              class="picker"
-              placeholder="请选择日期"
-              value-format="yyyy-MM-dd"
-            />
-               <ws-date-picker
-              v-else
-              v-model="item.sendDateStart"
-              type="date"
-              class="picker"
-              placeholder="请选择日期"
-              value-format="yyyy-MM-dd"
-            />
-          </ws-form-item>
+              <ws-date-picker
+                v-if="item.status == '已装车'||item.status == '已送达'"
+                :disabled="readonly"
+                v-model="item.sendDateStart"
+                type="date"
+                class="picker"
+                placeholder="请选择日期"
+                value-format="yyyy-MM-dd"
+              />
+              <ws-date-picker
+                v-else
+                v-model="item.sendDateStart"
+                type="date"
+                class="picker"
+                placeholder="请选择日期"
+                value-format="yyyy-MM-dd"
+              />
+            </ws-form-item>
             <!--磅单-->
             <ws-form-item label="磅单:" span="1" prop="loadPoundImg">
               <!-- slot-scope="scope" -->
-              <template >
+              <template>
                 <el-upload
                   action="https://www.zthymaoyi.com/upload/admin"
                   :show-file-list="false"
                   :on-success=" (res) => { uploadSuccessHandle1(res,index)}"
                   class="avatar-uploader"
                   accept=".jpg, .jpeg, .png, .gif"
-                  ><img
+                >
+                  <img
                     width="18"
                     height="20"
                     style="
@@ -260,31 +231,33 @@
                       position: relative;
                     "
                     src="../../../public/img/fujian.png"
-                    alt=""
+                    alt
                   />
                 </el-upload>
-                 <span v-if="deptBudgetList.tranCarInfoList[index].loadPoundImg != null " >1</span>
-                 <span
+                <span v-if="deptBudgetList.tranCarInfoList[index].loadPoundImg != null ">1</span>
+                <span
                   v-if="
                     deptBudgetList.tranCarInfoList[index].loadPoundImg == null
                   "
-                  >未上传</span>
+                >未上传</span>
               </template>
             </ws-form-item>
-              <!--箱号-->
+            <!--箱号-->
             <ws-form-item label="箱号:" span="1" prop="caseNo">
-             <span>{{ item.caseNo }}</span>
+              <span>{{ item.caseNo }}</span>
             </ws-form-item>
-              <!--封号-->
+            <!--封号-->
             <ws-form-item label="封号:" span="1" prop="titleNo">
-             <span>{{ item.titleNo }}</span>
+              <span>{{ item.titleNo }}</span>
             </ws-form-item>
-               <div v-show="item.temporaryDriverFlag == 0 && item.signStatus == '未签合同'" class="signStatus">
-                  {{ item.signStatus }}
-                </div>
-                <div v-show="item.temporaryDriverFlag == 0 && item.signStatus == '已签合同'" class="signStatus1">
-                  {{ item.signStatus }}
-                </div>
+            <div
+              v-show="item.temporaryDriverFlag == 0 && item.signStatus == '未签合同'"
+              class="signStatus"
+            >{{ item.signStatus }}</div>
+            <div
+              v-show="item.temporaryDriverFlag == 0 && item.signStatus == '已签合同'"
+              class="signStatus1"
+            >{{ item.signStatus }}</div>
             <span
               v-show="item.temporaryDriverFlag != 0"
               width="22"
@@ -292,49 +265,43 @@
               class="del"
               @click="del(index)"
               src="../../../public/img/del.png"
-              alt=""
-              >×</span
-            >
+              alt
+            >×</span>
           </ws-info-table>
         </div>
       </div>
       <div style="text-align: right; color: #8890b1; font-size: 16px">
         合计(吨):{{ total }}/{{ deptBudgetList.weight }}
         <!--阶段状态-->
-         <span class="noservice" v-show="deptBudgetList.feedbackStatus=='执行中'">
-          未完货
-        </span>
-        <span class="service" v-show="deptBudgetList.feedbackStatus=='已完货'">{{
+        <span class="noservice" v-show="deptBudgetList.feedbackStatus=='执行中'">未完货</span>
+        <span class="service" v-show="deptBudgetList.feedbackStatus=='已完货'">
+          {{
           deptBudgetList.feedbackStatus
-        }}</span>
+          }}
+        </span>
       </div>
       <!-- <el-button class="add bg-bottom" type="primary" size="small" @click="add">
         <img width="22" height="22" src="../../../public/img/add.png" alt="" />
         <div class="spans">添加临时用车</div></el-button
-      > -->
+      >-->
     </ws-form>
     <!-- 提交 -->
-    <div style="margin-left: 1300px;" >
-      <el-button
-        class="bg-bottom"
-        type="primary"
-        size="small"
-        @click="submit(deptBudgetList)"
-        >提交</el-button
-      >
-      <el-button
-        class="bg-bottom"
-        type="primary"
-        size="small"
-        @click="finished (deptBudgetList)"
-        >完货</el-button
-      >
+    <div style="margin-left: 1300px;">
+      <el-button class="bg-bottom" type="primary" size="small" @click="submit(deptBudgetList)">提交</el-button>
+      <el-button class="bg-bottom" type="primary" size="small" @click="finished (deptBudgetList)">完货</el-button>
     </div>
   </div>
 </template>
 <script>
 import { regionData, CodeToText, TextToCode } from 'element-china-area-data'
-import { seeCat, packList, feedback, getbank ,state,importApplFileUrl} from '@/model/transport/index'
+import {
+  seeCat,
+  packList,
+  feedback,
+  getbank,
+  state,
+  importApplFileUrl
+} from '@/model/transport/index'
 import { getstaff } from '@/model/warehouse/index'
 import WsUpload from '@/components/WsUpload'
 import mapDrag from '@/components/mapdrag/mapdrag'
@@ -342,7 +309,7 @@ export default {
   name: 'viewSpareMoney',
   components: {
     WsUpload,
-    mapDrag,
+    mapDrag
   },
   watch: {
     vesselId(val) {
@@ -350,13 +317,12 @@ export default {
     },
     isShow(val) {
       this.showType = val
-    },
+    }
   },
   data() {
     return {
       deptBudgetList: {
-        totalStorage: 0,
-        
+        totalStorage: 0
       },
       options_: regionData,
       heightData: '600px',
@@ -369,7 +335,7 @@ export default {
       district: null,
       driverList: [],
       readonly: true,
-      fileTemp:{},
+      fileTemp: {},
       listDate: { country: '中国', level: 'country', city: '' },
       citylist: [],
       compId: sessionStorage.getItem('ws-pf_compId'),
@@ -378,21 +344,21 @@ export default {
           {
             required: true,
             message: '请输入仓库名称',
-            trigger: 'blur',
+            trigger: 'blur'
           },
           {
             min: 2,
             max: 20,
             message: '仓库名长度不符合要求,请输入2-20字符之内',
-            trigger: 'blur',
-          },
-        ],
+            trigger: 'blur'
+          }
+        ]
       },
       tranType: 1,
       size: 10,
       value1: '',
       unitList: [],
-    
+
       freightspace1: [
         {
           accountTypeFlag: '1',
@@ -401,8 +367,8 @@ export default {
           compName: '',
           bankDeposit: '',
           addressUrlArray: [],
-          bankCard: '',
-        },
+          bankCard: ''
+        }
       ],
       freightspace: [
         {
@@ -410,17 +376,16 @@ export default {
           driverPhone: '',
           carNo: '',
           loadNetWeight: '',
-          loadPoundImg:''
-        },
+          loadPoundImg: ''
+        }
         // {loadPoundImg:{}},
-          
       ],
       name: '',
       staffList: [],
       options: [],
       carModel: [],
       tranCarInfoList: {
-        loadPoundImg:''
+        loadPoundImg: ''
       },
       localFile:'',
       //上传
@@ -428,21 +393,25 @@ export default {
       accessoryTFs: false,
       fileList: [],
       appendixIdsAdd: '',
+      messageAddEventListener: ''
     }
   },
   activated() {
     this.deptBudgetList.id = this.$route.query.id
     this.getList()
   },
+  mounted() {
+    window.noMessege = this.noMessege
+  },
   computed: {
-    totalStorage: function () {
+    totalStorage: function() {
       var maxStorage = 0
       for (var i = 0; i < this.freightspace.length; i++) {
         maxStorage += Number(this.freightspace[i].maxStorage)
       }
       return maxStorage
     },
-    total: function () {
+    total: function() {
       if (this.deptBudgetList.tranCarInfoList != null) {
         var maxStorage = 0
         for (var i = 0; i < this.deptBudgetList.tranCarInfoList.length; i++) {
@@ -454,7 +423,7 @@ export default {
       } else {
         return 0
       }
-    },
+    }
   },
   methods: {
     uploadHandle(response, file, fileList){
@@ -575,15 +544,16 @@ let Base64 = require('js-base64').Base64
         },
     uploadSuccessHandle(e) {
       console.log(e)
-      importApplFileUrl({file:e.url}) .toPromise()
-                .then((response) => {
-                  console.log(response)
-                })
+      importApplFileUrl({ file: e.url })
+        .toPromise()
+        .then(response => {
+          console.log(response)
+        })
     },
     dataFilter(val) {
       this.deptBudgetList.personCharge = val
       if (val) {
-        this.options = this.staffList.filter((item) => {
+        this.options = this.staffList.filter(item => {
           if (
             !!~item.staffName.indexOf(val) ||
             !!~item.staffName.toUpperCase().indexOf(val.toUpperCase())
@@ -604,7 +574,7 @@ let Base64 = require('js-base64').Base64
         }
       }
     },
-    marker: function (item) {
+    marker: function(item) {
       this.deptBudgetList.warehousePositioning =
         item.lnglat.lat + ',' + item.lnglat.lng
     },
@@ -625,7 +595,7 @@ let Base64 = require('js-base64').Base64
         driver: '',
         driverPhone: '',
         carNo: '',
-        loadNetWeight: '',
+        loadNetWeight: ''
       })
     },
     del(index) {
@@ -651,29 +621,27 @@ let Base64 = require('js-base64').Base64
       this.accessoryTFs = false
     },
     //导入
-    import(){
-
-    },
-    finished(){
-       this.$confirm(`完货操作后,装车信息不可修改,是否确定完货?`, {
+    import() {},
+    finished() {
+      this.$confirm(`完货操作后,装车信息不可修改,是否确定完货?`, {
         confirmButtonText: '确定',
         cancelButtonText: '取消',
-        type: 'warning',
+        type: 'warning'
       })
         .then(() => {
-          this.$refs.deptBudgetList.validate((valid) => {
+          this.$refs.deptBudgetList.validate(valid => {
             if (valid) {
               var tranProcessInfo = {}
               tranProcessInfo.id = this.deptBudgetList.id
               state(tranProcessInfo)
                 .toPromise()
-                .then((response) => {
+                .then(response => {
                   this.$message.success('完货成功')
                   this.deptBudgetList = {}
                   this.freightspace = {}
                   this.selectedOptions = ''
                   this.$router.push({
-                    path: 'tranManagementTransporHairRespond',
+                    path: 'tranManagementTransporHairRespond'
                   })
                 })
             } else {
@@ -684,7 +652,53 @@ let Base64 = require('js-base64').Base64
         .catch(() => {
           return false
         })
-
+    },
+    noMessege() {
+      sessionStorage.setItem('qy-msg',"true")
+    },
+    validateFunc() {
+      this.$refs.deptBudgetList.validate(valid => {
+        if (valid) {
+          // this.deptBudgetList.totalStorage = this.totalStorage
+          this.tranCarInfoList = this.freightspace
+          this.tranCarInfoList.driver = this.deptBudgetList.driver
+          this.tranCarInfoList.driverPhone = this.deptBudgetList.driverPhone
+          this.tranCarInfoList.tranCarNo = this.deptBudgetList.tranCarNo
+          this.tranCarInfoList.carNo = this.deptBudgetList.carNo
+          this.tranCarInfoList.loadNetWeight = this.deptBudgetList.loadNetWeight
+          this.tranCarInfoList.tranType = this.tranType
+          this.tranCarInfoList.loadPoundImg = this.deptBudgetList.loadPoundImg
+          // this.tranCarInfoList.boxNo = this.arr.toString()
+          for (var i = 0; i < this.tranCarInfoList.length; i++) {
+            this.tranCarInfoList[i].id = this.freightspace[i].id
+            if (this.tranCarInfoList[i].temporaryDriverFlag != 0) {
+              this.tranCarInfoList[i].temporaryDriverFlag = 1
+              this.tranCarInfoList[i].tranType = this.tranType
+            }
+          }
+          var tranProcessInfo = {}
+          tranProcessInfo.id = this.deptBudgetList.id
+          tranProcessInfo.infoId = this.deptBudgetList.infoId
+          tranProcessInfo.processNo = this.deptBudgetList.processNo
+          tranProcessInfo.tranPrice = this.deptBudgetList.tranPrice
+          tranProcessInfo.tranCarInfoList = this.tranCarInfoList
+          // dispatchCat({tranCarInfo:{tranCarInfoList:[this.tranCarInfoList],id:this.deptBudgetList.id}
+          feedback(tranProcessInfo)
+            .toPromise()
+            .then(response => {
+              this.$message.success('提交成功')
+              this.deptBudgetList = {}
+              this.freightspace = {}
+              this.selectedOptions = ''
+              this.$router.push({
+                path: 'tranManagementTransporHairRespond'
+              })
+            })
+        } else {
+          // EventBus.$emit('error', this.$t('showMessage.asteriskRequired'))
+          return false
+        }
+      })
     },
     submit() {
       for (var i = 0; i < this.freightspace.length; i++) {
@@ -692,95 +706,63 @@ let Base64 = require('js-base64').Base64
           if (!this.freightspace[i].driver) {
             this.$message({
               message: '司机姓名不能为空!',
-              type: 'warning',
+              type: 'warning'
             })
             return
           }
           if (!this.freightspace[i].driverPhone) {
             this.$message({
               message: '司机电话不能为空!',
-              type: 'warning',
+              type: 'warning'
             })
             return
           }
           if (!this.freightspace[i].carNo) {
             this.$message({
               message: '车牌号不能为空!',
-              type: 'warning',
+              type: 'warning'
             })
             return
           }
           if (!this.freightspace[i].loadNetWeight) {
             this.$message({
               message: '装载净重不能为空!',
-              type: 'warning',
+              type: 'warning'
             })
             return
           }
         }
       }
-      this.$confirm(`提交成功后提醒司机及时签订运输合同,确定提交装车信息?`, {
-        confirmButtonText: '确定',
-        cancelButtonText: '取消',
-        type: 'warning',
-      })
-        .then(() => {
-          this.$refs.deptBudgetList.validate((valid) => {
-            if (valid) {
-              // this.deptBudgetList.totalStorage = this.totalStorage
-              this.tranCarInfoList = this.freightspace
-              this.tranCarInfoList.driver = this.deptBudgetList.driver
-              this.tranCarInfoList.driverPhone = this.deptBudgetList.driverPhone
-              this.tranCarInfoList.tranCarNo = this.deptBudgetList.tranCarNo
-              this.tranCarInfoList.carNo = this.deptBudgetList.carNo
-              this.tranCarInfoList.loadNetWeight =
-                this.deptBudgetList.loadNetWeight
-              this.tranCarInfoList.tranType = this.tranType
-              this.tranCarInfoList.loadPoundImg =
-                this.deptBudgetList.loadPoundImg 
-              // this.tranCarInfoList.boxNo = this.arr.toString()
-              for (var i = 0; i < this.tranCarInfoList.length; i++) {
-                this.tranCarInfoList[i].id = this.freightspace[i].id
-                if (this.tranCarInfoList[i].temporaryDriverFlag != 0) {
-                  this.tranCarInfoList[i].temporaryDriverFlag = 1
-                  this.tranCarInfoList[i].tranType = this.tranType
-                }
-              }
-              var tranProcessInfo = {}
-              tranProcessInfo.id = this.deptBudgetList.id
-              tranProcessInfo.infoId = this.deptBudgetList.infoId
-              tranProcessInfo.processNo = this.deptBudgetList.processNo
-              tranProcessInfo.tranPrice = this.deptBudgetList.tranPrice
-              tranProcessInfo.tranCarInfoList = this.tranCarInfoList
-              // dispatchCat({tranCarInfo:{tranCarInfoList:[this.tranCarInfoList],id:this.deptBudgetList.id}
-              feedback(tranProcessInfo)
-                .toPromise()
-                .then((response) => {
-                  this.$message.success('提交成功')
-                  this.deptBudgetList = {}
-                  this.freightspace = {}
-                  this.selectedOptions = ''
-                  this.$router.push({
-                    path: 'tranManagementTransporHairRespond',
-                  })
-                })
-            } else {
-              // EventBus.$emit('error', this.$t('showMessage.asteriskRequired'))
-              return false
-            }
+      if (sessionStorage.getItem('qy-msg')) {
+        this.validateFunc()
+      } else {
+        this.$alert(
+          '<div><strong>提交成功后提醒司机及时签订运输合同,确定提交装车信息?</strong><div style="display:flex;align-items: center;"><input id="noMsg" type="checkbox" onclick="window.noMessege(1)"><span style="margin-left:10px">不在提示</span><div></div>',
+          '',
+          {
+            dangerouslyUseHTMLString: true,
+            distinguishCancelAndClose: true,
+            showCancelButton: true,
+            confirmButtonText: '确定',
+            cancelButtonText: '取消'
+          }
+        )
+          .then(() => {
+            this.validateFunc()
           })
-        })
-        .catch(() => {
-          return false
-        })
+          .catch(() => {
+            return false
+          })
+      }
     },
+
     resetForm(deptBudgetList) {
       this.$refs[deptBudgetList].resetFields()
     },
     getList() {
       seeCat({ id: this.deptBudgetList.id })
         .toPromise()
-        .then((response) => {
+        .then(response => {
           this.deptBudgetList = response
           //  this.deptBudgetList.tranCarInfoList = response.tranCarInfoList
           this.freightspace = response.tranCarInfoList
@@ -793,14 +775,14 @@ let Base64 = require('js-base64').Base64
       //司机姓名下拉
       getstaff({ compId: sessionStorage.getItem('ws-pf_compId') })
         .toPromise()
-        .then((response) => {
+        .then(response => {
           this.options = response
           this.staffList = response
         })
       //车型
       packList({ constId: 'TRAN5' })
         .toPromise()
-        .then((response) => {
+        .then(response => {
           this.carModel = response
         })
     },
@@ -844,11 +826,10 @@ let Base64 = require('js-base64').Base64
         }
       }
     },
-    uploadSuccessHandle1(e,index) {
-
+    uploadSuccessHandle1(e, index) {
       this.freightspace[index].loadPoundImg = e.url
-    },
-  },
+    }
+  }
 }
 </script>
 
@@ -1052,8 +1033,8 @@ let Base64 = require('js-base64').Base64
       display: none;
     }
   }
-  /deep/ .picker{
-     padding-right: 3px !important;
+  /deep/ .picker {
+    padding-right: 3px !important;
   }
 
   // .is-disabled {
@@ -1227,10 +1208,10 @@ let Base64 = require('js-base64').Base64
   border: 1px solid #5473e8;
   padding: 0 3px;
   margin-left: 18px;
-  color: #5473E8;
+  color: #5473e8;
   line-height: 24px;
 }
-.line{
+.line {
   height: 26px;
   margin-top: 6px;
   left: 2px;
@@ -1252,7 +1233,7 @@ let Base64 = require('js-base64').Base64
   background: #e5f1f7;
   color: #50cad4;
 }
-/deep/.liaison .ws-info-table .el-form-item .el-form-item__content{
+/deep/.liaison .ws-info-table .el-form-item .el-form-item__content {
   padding: 0px;
 }
 </style>

+ 1 - 1
src/views/tranManagement/tranManagementTransporTrainNo.vue

@@ -307,7 +307,7 @@ export default {
     // handleClose() {
     //   this.dialogViewSpareMoney = false
     // },
-    add() {debugger
+    add() {
       this.deptBudgetList.tranCarInfoList.push({
         driver: this.deptBudgetList.tranCarInfoList[0].driver,
         driverPhone: this.deptBudgetList.tranCarInfoList[0].driverPhone,