Browse Source

前端gjy

gjy 4 years ago
parent
commit
4ec773a0c7

+ 2 - 2
src/model/transport/index.js

@@ -50,7 +50,7 @@ export const automobileList = appRx.get(API_GET_AUTOMOBILE_TRAN_LIST, errorCatch
 export const dispatchCat = appRx.post(API_POST_AUTOMOBILE_DISPATCH, errorCatcher, errorHandle, filter)
 export const dispatchCat = appRx.post(API_POST_AUTOMOBILE_DISPATCH, errorCatcher, errorHandle, filter)
 //派车查看
 //派车查看
 export const seeCat = appRx.get(API_GET_AUTOMOBILE_SEE, errorCatcher, errorHandle, filter)
 export const seeCat = appRx.get(API_GET_AUTOMOBILE_SEE, errorCatcher, errorHandle, filter)
-//
+//司机姓名手机号
 export const nameXiala = appRx.get(API_GET_AUTOMOBILE_NAME, errorCatcher, errorHandle, filter)
 export const nameXiala = appRx.get(API_GET_AUTOMOBILE_NAME, errorCatcher, errorHandle, filter)
-//
+//司机其他信息
 export const arrange = appRx.get(API_GET_AUTOMOBILE_ARRANGE, errorCatcher, errorHandle, filter)
 export const arrange = appRx.get(API_GET_AUTOMOBILE_ARRANGE, errorCatcher, errorHandle, filter)

+ 28 - 23
src/views/tranManagement/tranManagementVehicleDispatching.vue

@@ -161,7 +161,7 @@
                 class="siji"
                 class="siji"
               >
               >
                 <ws-select
                 <ws-select
-                  v-model="item.driverName"
+                  v-model="item.driver"
                   placeholder="请选择司机"
                   placeholder="请选择司机"
                   class="typeselect"
                   class="typeselect"
                   @change="
                   @change="
@@ -204,15 +204,10 @@
                 </ws-select>
                 </ws-select>
               </ws-form-item>
               </ws-form-item>
               <!--车牌号-->
               <!--车牌号-->
-              <ws-form-item
-                label="车牌号"
-                span="1"
-                prop="carNumber"
-                class="siji"
-              >
+              <ws-form-item label="车牌号" span="1" prop="carNo" class="siji">
                 <ws-input
                 <ws-input
                   :disabled="readonly"
                   :disabled="readonly"
-                  v-model="item.carNumber"
+                  v-model="item.carNo"
                   placeholder=""
                   placeholder=""
                   maxlength="120"
                   maxlength="120"
                   size="small"
                   size="small"
@@ -242,12 +237,12 @@
               <ws-form-item
               <ws-form-item
                 label="载重(吨)"
                 label="载重(吨)"
                 span="1"
                 span="1"
-                prop="carLoad"
+                prop="loadWeight"
                 class="siji zaizhong"
                 class="siji zaizhong"
               >
               >
                 <ws-input
                 <ws-input
                   :disabled="readonly"
                   :disabled="readonly"
-                  v-model="item.carLoad"
+                  v-model="item.loadWeight"
                   placeholder="请输入载重(吨)"
                   placeholder="请输入载重(吨)"
                   maxlength="120"
                   maxlength="120"
                   size="small"
                   size="small"
@@ -384,10 +379,11 @@ export default {
         driverPhone: '',
         driverPhone: '',
         carLength: 0,
         carLength: 0,
         carLengthKey: '',
         carLengthKey: '',
-        carLoad: null,
+        loadWeight: null,
         carModel: '',
         carModel: '',
         carModelKey: '',
         carModelKey: '',
         carNumber: '',
         carNumber: '',
+        tranType: '1',
       })
       })
     },
     },
     selectwaterContent() {},
     selectwaterContent() {},
@@ -401,11 +397,15 @@ export default {
         .then(() => {
         .then(() => {
           this.$refs.deptBudgetList.validate((valid) => {
           this.$refs.deptBudgetList.validate((valid) => {
             if (valid) {
             if (valid) {
-              dispatchCat(this.deptBudgetList)
+              var tranCarInfo = {}
+              tranCarInfo.id = this.deptBudgetList.id
+              tranCarInfo.infoId = this.deptBudgetList.infoId
+              tranCarInfo.tranCarInfoList = this.deptBudgetList.tranCarInfoList
+              dispatchCat(tranCarInfo)
                 .toPromise()
                 .toPromise()
                 .then((response) => {
                 .then((response) => {
-                  this.$message.success('暂存成功')
-                  // this.$router.push({ path: 'warehouseManagementList' })
+                  this.$message.success('派车成功')
+                  this.$router.go(-1)
                 })
                 })
             } else {
             } else {
               EventBus.$emit('error', this.$t('showMessage.asteriskRequired'))
               EventBus.$emit('error', this.$t('showMessage.asteriskRequired'))
@@ -434,10 +434,11 @@ export default {
                 driverPhone: '',
                 driverPhone: '',
                 carLength: 0,
                 carLength: 0,
                 carLengthKey: '',
                 carLengthKey: '',
-                carLoad: null,
+                loadWeight: null,
                 carModel: '',
                 carModel: '',
                 carModelKey: '',
                 carModelKey: '',
                 carNumber: '',
                 carNumber: '',
+                tranType: '1',
               },
               },
             ]
             ]
           }
           }
@@ -457,13 +458,13 @@ export default {
             .toPromise()
             .toPromise()
             .then((response) => {
             .then((response) => {
               console.log(this, response)
               console.log(this, response)
-              this.deptBudgetList.tranCarInfoList[index].carNumber =
+              this.deptBudgetList.tranCarInfoList[index].carNo =
                 response.carNumber
                 response.carNumber
               if (response.carLoad != null) {
               if (response.carLoad != null) {
-                this.deptBudgetList.tranCarInfoList[index].carLoad =
+                this.deptBudgetList.tranCarInfoList[index].loadWeight =
                   response.carLoad
                   response.carLoad
               } else {
               } else {
-                this.deptBudgetList.tranCarInfoList[index].carLoad = 0
+                this.deptBudgetList.tranCarInfoList[index].loadWeight = 0
               }
               }
               this.deptBudgetList.tranCarInfoList[index].carModel =
               this.deptBudgetList.tranCarInfoList[index].carModel =
                 response.carModel
                 response.carModel
@@ -480,16 +481,20 @@ export default {
     phonechange(val, index) {
     phonechange(val, index) {
       for (var i = 0; i < this.carList.length; i++) {
       for (var i = 0; i < this.carList.length; i++) {
         if (this.carList[i].driverPhone == val) {
         if (this.carList[i].driverPhone == val) {
-          this.deptBudgetList.tranCarInfoList[index].driverName =
-            this.carList[i].driverName
+          this.deptBudgetList.tranCarInfoList[index].driver =
+            this.carList[i].driver
           arrange({ id: this.carList[i].id })
           arrange({ id: this.carList[i].id })
             .toPromise()
             .toPromise()
             .then((response) => {
             .then((response) => {
               console.log(this, response)
               console.log(this, response)
-              this.deptBudgetList.tranCarInfoList[index].carNumber =
+              this.deptBudgetList.tranCarInfoList[index].carNo =
                 response.carNumber
                 response.carNumber
-              this.deptBudgetList.tranCarInfoList[index].carLoad =
-                response.carLoad
+              if (response.carLoad != null) {
+                this.deptBudgetList.tranCarInfoList[index].loadWeight =
+                  response.carLoad
+              } else {
+                this.deptBudgetList.tranCarInfoList[index].loadWeight = 0
+              }
               this.deptBudgetList.tranCarInfoList[index].carModel =
               this.deptBudgetList.tranCarInfoList[index].carModel =
                 response.carModel
                 response.carModel
               this.deptBudgetList.tranCarInfoList[index].carLength =
               this.deptBudgetList.tranCarInfoList[index].carLength =

+ 81 - 242
src/views/tranManagement/tranManagementVehicleLook.vue

@@ -28,6 +28,7 @@
         <!--任务编号-->
         <!--任务编号-->
         <ws-form-item label="任务编号" span="1" prop="processNo">
         <ws-form-item label="任务编号" span="1" prop="processNo">
           <ws-input
           <ws-input
+            :disabled="disabled"
             v-model="deptBudgetList.processNo"
             v-model="deptBudgetList.processNo"
             placeholder="请输入任务编号"
             placeholder="请输入任务编号"
             maxlength="20"
             maxlength="20"
@@ -50,6 +51,7 @@
               :value="item.staffName"
               :value="item.staffName"
             /> -->
             /> -->
           <ws-input
           <ws-input
+            :disabled="disabled"
             v-model="deptBudgetList.goodsName"
             v-model="deptBudgetList.goodsName"
             placeholder="请输入货名"
             placeholder="请输入货名"
             maxlength="20"
             maxlength="20"
@@ -60,6 +62,7 @@
         <!--重量(吨)-->
         <!--重量(吨)-->
         <ws-form-item label="重量(吨)" span="1" prop="weight">
         <ws-form-item label="重量(吨)" span="1" prop="weight">
           <ws-input
           <ws-input
+            :disabled="disabled"
             v-model="deptBudgetList.weight"
             v-model="deptBudgetList.weight"
             placeholder="请输入重量(吨)"
             placeholder="请输入重量(吨)"
             maxlength="100"
             maxlength="100"
@@ -82,6 +85,7 @@
         <!--发货人-->
         <!--发货人-->
         <ws-form-item label="发货人" span="1" prop="sender" class="readonly">
         <ws-form-item label="发货人" span="1" prop="sender" class="readonly">
           <ws-input
           <ws-input
+            :disabled="disabled"
             v-model="deptBudgetList.sender"
             v-model="deptBudgetList.sender"
             placeholder="请输入发货人"
             placeholder="请输入发货人"
             maxlength="100"
             maxlength="100"
@@ -97,6 +101,7 @@
           class="readonly"
           class="readonly"
         >
         >
           <ws-input
           <ws-input
+            :disabled="disabled"
             v-model="deptBudgetList.senderPhone"
             v-model="deptBudgetList.senderPhone"
             placeholder="请输入发货人电话"
             placeholder="请输入发货人电话"
             maxlength="100"
             maxlength="100"
@@ -117,6 +122,7 @@
         <!--收货人-->
         <!--收货人-->
         <ws-form-item label="收货人" span="1" prop="receiver">
         <ws-form-item label="收货人" span="1" prop="receiver">
           <ws-input
           <ws-input
+            :disabled="disabled"
             v-model="deptBudgetList.receiver"
             v-model="deptBudgetList.receiver"
             placeholder="请输入仓库名"
             placeholder="请输入仓库名"
             maxlength="20"
             maxlength="20"
@@ -126,6 +132,7 @@
         <!--收货人电话-->
         <!--收货人电话-->
         <ws-form-item label="收货人电话" span="1" prop="receiverPhone">
         <ws-form-item label="收货人电话" span="1" prop="receiverPhone">
           <ws-input
           <ws-input
+            :disabled="disabled"
             v-model="deptBudgetList.receiverPhone"
             v-model="deptBudgetList.receiverPhone"
             placeholder="请输入仓库名"
             placeholder="请输入仓库名"
             maxlength="20"
             maxlength="20"
@@ -135,6 +142,7 @@
         <!--发货日期-->
         <!--发货日期-->
         <ws-form-item label="发货日期" span="1" prop="deliveryDateStart">
         <ws-form-item label="发货日期" span="1" prop="deliveryDateStart">
           <ws-input
           <ws-input
+            :disabled="disabled"
             v-model="deptBudgetList.deliveryDateStart"
             v-model="deptBudgetList.deliveryDateStart"
             placeholder="请输入仓库名"
             placeholder="请输入仓库名"
             maxlength="20"
             maxlength="20"
@@ -144,6 +152,7 @@
         <!--最晚到货日期-->
         <!--最晚到货日期-->
         <ws-form-item label="最晚到货日期" span="1" prop="deliveryDateEnd">
         <ws-form-item label="最晚到货日期" span="1" prop="deliveryDateEnd">
           <ws-input
           <ws-input
+            :disabled="disabled"
             v-model="deptBudgetList.deliveryDateEnd"
             v-model="deptBudgetList.deliveryDateEnd"
             placeholder="请输入仓库名"
             placeholder="请输入仓库名"
             maxlength="20"
             maxlength="20"
@@ -153,6 +162,7 @@
         <!--合同编号-->
         <!--合同编号-->
         <ws-form-item label="合同编号" span="1" prop="contractNo">
         <ws-form-item label="合同编号" span="1" prop="contractNo">
           <ws-input
           <ws-input
+            :disabled="disabled"
             v-model="deptBudgetList.contractNo"
             v-model="deptBudgetList.contractNo"
             placeholder="请输入合同编号"
             placeholder="请输入合同编号"
             maxlength="20"
             maxlength="20"
@@ -163,72 +173,71 @@
       <div class="small-title">派车</div>
       <div class="small-title">派车</div>
       <div
       <div
         style="width: 100%"
         style="width: 100%"
-        class="flex position"
-        v-for="(item, index) in freightspace"
+        class="driver"
+        v-for="(item, index) in deptBudgetList.tranCarInfoList"
       >
       >
         <ws-info-table>
         <ws-info-table>
+          <span class="not" v-if="item.statusFlag == 3">{{ item.status }}</span>
+          <span class="already" v-if="item.statusFlag == 1">{{
+            item.status
+          }}</span>
           <!--姓名-->
           <!--姓名-->
           <ws-form-item label="姓名" span="1" prop="driver">
           <ws-form-item label="姓名" span="1" prop="driver">
             <ws-input
             <ws-input
-              v-model="deptBudgetList.driver"
+              :disabled="disabled"
+              v-model="item.driver"
               placeholder="请输入姓名"
               placeholder="请输入姓名"
               maxlength="20"
               maxlength="20"
               size="small"
               size="small"
             />
             />
           </ws-form-item>
           </ws-form-item>
-          <!--电话-->
-          <ws-form-item label="电话" span="1" prop="driverPhone">
+          <ws-form-item class="phone" label="电话" span="1" prop="driverPhone">
             <ws-input
             <ws-input
-              v-model="deptBudgetList.driverPhone"
+              :disabled="disabled"
+              v-model="item.driverPhone"
               placeholder="请输入电话"
               placeholder="请输入电话"
               maxlength="20"
               maxlength="20"
               size="small"
               size="small"
             />
             />
           </ws-form-item>
           </ws-form-item>
-          <!--发车日期-->
-          <ws-form-item label="发车日期" span="1" prop="sendDateStart">
+          <ws-form-item label="车牌号" span="1" prop="carNo">
             <ws-input
             <ws-input
-              v-model="deptBudgetList.sendDateStart"
-              placeholder="请输入发车日期"
+              :disabled="disabled"
+              v-model="item.carNo"
+              placeholder="请输入车牌号"
               maxlength="20"
               maxlength="20"
               size="small"
               size="small"
             />
             />
           </ws-form-item>
           </ws-form-item>
-          <!--到站日期-->
-          <ws-form-item label="到站日期" span="1" prop="receiveDateEnd">
+          <ws-form-item label="装车(吨)" span="1" prop="loadNetWeight">
             <ws-input
             <ws-input
-              v-model="deptBudgetList.receiveDateEnd"
-              placeholder="请输入到站日期"
+              :disabled="disabled"
+              v-model="deptBudgetList.loadNetWeight"
+              placeholder="未装车"
               maxlength="20"
               maxlength="20"
               size="small"
               size="small"
             />
             />
           </ws-form-item>
           </ws-form-item>
-          <!--车次-->
-          <ws-form-item label="车次" span="1" prop="trainNo">
+          <ws-form-item label="卸车(吨)" span="1" prop="unloadNetWeight">
             <ws-input
             <ws-input
-              v-model="deptBudgetList.trainNo"
-              placeholder="请输入车次"
+              :disabled="disabled"
+              v-model="item.unloadNetWeight"
+              placeholder="未卸车"
               maxlength="20"
               maxlength="20"
               size="small"
               size="small"
             />
             />
           </ws-form-item>
           </ws-form-item>
-          <!-- 加减号 -->
-          <img
-            width="22"
-            height="22"
-            class="add"
-            @click="add"
-            src="../../../public/img/add.png"
-            alt=""
-          />
-          <img
-            width="22"
-            height="22"
-            class="del"
-            @click="del(index)"
-            src="../../../public/img/del.png"
-            alt=""
-          />
+          <ws-form-item label="损耗(吨)" span="1" prop="loss">
+            <ws-input
+              :disabled="disabled"
+              v-model="item.loss"
+              placeholder="未损耗"
+              maxlength="20"
+              size="small"
+            />
+          </ws-form-item>
+          <ws-form-item label="合同" span="1" prop="unloadNetWeight">
+          </ws-form-item>
         </ws-info-table>
         </ws-info-table>
       </div>
       </div>
     </ws-form>
     </ws-form>
@@ -237,8 +246,8 @@
         class="bg-bottom-up"
         class="bg-bottom-up"
         type="primary"
         type="primary"
         size="small"
         size="small"
-        @click="submit()"
-        >提交</el-button
+        @click="revert()"
+        >关闭</el-button
       >
       >
     </div>
     </div>
   </div>
   </div>
@@ -277,6 +286,7 @@ export default {
       showType: true,
       showType: true,
       // 年
       // 年
       year: '',
       year: '',
+      disabled: true,
       deptBudgetTotal: 0,
       deptBudgetTotal: 0,
       currentPage: 1,
       currentPage: 1,
       pageSize: 10,
       pageSize: 10,
@@ -343,200 +353,24 @@ export default {
       seeCat({ id: this.$route.query.id })
       seeCat({ id: this.$route.query.id })
         .toPromise()
         .toPromise()
         .then((response) => {
         .then((response) => {
-          this.deptBudgetList = response
-        })
-    },
-    //提交按钮
-    submit() {
-      if (!this.deptBudgetList.goodsName) {
-        this.$message({
-          message: '货名不能为空',
-          type: 'warning',
-        })
-        return
-      }
-      if (!this.deptBudgetList.grossWeight) {
-        this.$message({
-          message: '毛重不能为空',
-          type: 'warning',
-        })
-        return
-      }
-      if (
-        this.deptBudgetList.grossWeight < 0 ||
-        this.deptBudgetList.grossWeight > 10000 ||
-        (String(this.deptBudgetList.grossWeight).indexOf('.') != -1 &&
-          String(this.deptBudgetList.grossWeight).length -
-            (String(this.deptBudgetList.grossWeight).indexOf('.') + 1) >
-            3)
-      ) {
-        this.$message({
-          message: '毛重输入错误',
-          type: 'warning',
-        })
-        return
-      }
-      if (!this.deptBudgetList.tare) {
-        this.$message({
-          message: '皮重不能为空',
-          type: 'warning',
-        })
-        return
-      }
-      if (
-        this.deptBudgetList.tare < 0 ||
-        this.deptBudgetList.tare > 10000 ||
-        (String(this.deptBudgetList.tare).indexOf('.') != -1 &&
-          String(this.deptBudgetList.tare).length -
-            (String(this.deptBudgetList.tare).indexOf('.') + 1) >
-            3)
-      ) {
-        this.$message({
-          message: '皮重输入错误',
-          type: 'warning',
-        })
-        return
-      }
-      if (!this.deptBudgetList.agent) {
-        this.$message({
-          message: '经办人不能为空',
-          type: 'warning',
-        })
-        return
-      }
-      if (
-        this.deptBudgetList.agent.length < 2 ||
-        this.deptBudgetList.agent.length > 10
-      ) {
-        this.$message({
-          message: '经办人输入有误',
-          type: 'warning',
-        })
-        return
-      }
-      if (!this.deptBudgetList.carNo) {
-        this.$message({
-          message: '车牌号不能为空',
-          type: 'warning',
-        })
-        return
-      }
-      if (this.deptBudgetList.carNo.length > 7) {
-        this.$message({
-          message: '车牌号输入错误,请输入7个字符之内',
-          type: 'warning',
-        })
-        return
-      }
-      if (!this.deptBudgetList.contractNo) {
-        this.$message({
-          message: '合同编号不能为空',
-          type: 'warning',
-        })
-        return
-      }
-      if (
-        this.deptBudgetList.contractNo.length < 6 ||
-        this.deptBudgetList.contractNo.length > 20
-      ) {
-        this.$message({
-          message: '合同编号长度不符合要求,请输入6-20个字符之内',
-          type: 'warning',
-        })
-        return
-      }
-
-      if (this.deptBudgetList.netWeight > this.$route.query.capacity) {
-        this.$message({
-          message: '入库量大于该仓库容量!',
-          type: 'warning',
-        })
-        return
-      }
-      this.$confirm(`确定提交入库信息`, {
-        cancelButtonText: '取消',
-        confirmButtonText: '确定',
-        type: 'warning',
-      })
-        .then(() => {
-          this.$refs.deptBudgetList.validate((valid) => {
-            if (valid) {
-              this.deptBudgetList.compId =
-                sessionStorage.getItem('ws-pf_compId')
-              this.deptBudgetList.inOutFlag = 2
-              this.deptBudgetList.statusFlag = 3
-              addstorageputList(this.deptBudgetList)
-                .toPromise()
-                .then((response) => {
-                  this.$message.success('添加成功')
-                  this.$router.push({ path: 'warehouseManagementList' })
-                })
+          for (var i = 0; i < response.tranCarInfoList.length; i++) {
+            if (
+              response.tranCarInfoList[i].loadNetWeight &&
+              response.tranCarInfoList[i].unloadNetWeight
+            ) {
+              response.tranCarInfoList[i].loss =
+                response.tranCarInfoList[i].loadNetWeight -
+                response.tranCarInfoList[i].unloadNetWeight
+            } else if (response.tranCarInfoList[i].loadNetWeight) {
+              response.tranCarInfoList[i].loss =
+                response.tranCarInfoList[i].loadNetWeight
             } else {
             } else {
-              EventBus.$emit('error', this.$t('showMessage.asteriskRequired'))
-              return false
+              response.tranCarInfoList[i].loss = 0
             }
             }
-          })
-        })
-        .catch(() => {
-          return false
+          }
+          this.deptBudgetList = response
         })
         })
     },
     },
-    tarechange(e) {
-      if (this.deptBudgetList.grossWeight && this.deptBudgetList.tare) {
-        this.deptBudgetList.netWeight = Number(
-          this.deptBudgetList.grossWeight - this.deptBudgetList.tare
-        )
-      }
-    },
-    grossWeightchange(e) {
-      if (this.deptBudgetList.grossWeight && this.deptBudgetList.tare) {
-        this.deptBudgetList.netWeight = Number(
-          this.deptBudgetList.grossWeight - this.deptBudgetList.tare
-        )
-      }
-    },
-    selectgoodsName(e) {
-      for (var i = 0; i < this.goodnameList.length; i++) {
-        if (this.goodnameList[i].constValue == e) {
-          this.deptBudgetList.goodsNameKey = this.goodnameList[i].constKey
-        }
-      }
-    },
-    selectpackingMethod(e) {
-      for (var i = 0; i < this.packtypeList.length; i++) {
-        if (this.packtypeList[i].constValue == e) {
-          this.deptBudgetList.packingMethodKey = this.packtypeList[i].constKey
-        }
-      }
-    },
-    selectstorageType(e) {
-      for (var i = 0; i < this.storageType.length; i++) {
-        if (this.storageType[i].constValue == e) {
-          this.deptBudgetList.inOutTypeKey = this.storageType[i].constKey
-        }
-      }
-    },
-    selecttaskType(e) {
-      for (var i = 0; i < this.taskTypeList.length; i++) {
-        if (this.taskTypeList[i].value == e) {
-          this.searchType = this.taskTypeList[i].type
-        }
-      }
-    },
-    fujian(row) {
-      if (
-        row.receiveAttachmentPath === null ||
-        row.receiveAttachmentPath === ''
-      ) {
-        EventBus.$emit(
-          'warning',
-          this.$t('system.noticeCircular.NoInformation')
-        )
-      } else {
-        this.accessoryTFs = true
-      }
-      this.appendixIdss = row.receiveAttachmentPath
-    },
     handleExamine(row) {
     handleExamine(row) {
       this.$router.push({
       this.$router.push({
         name: 'salesContractExamine',
         name: 'salesContractExamine',
@@ -647,23 +481,13 @@ export default {
   display: inline-grid;
   display: inline-grid;
   padding: 2px 4px;
   padding: 2px 4px;
 }
 }
-// .position {
-//   width: 52px;
-//   height: 20px;
-//   background: #afb5cb;
-//   border-radius: 2px;
-//   font-size: 12px;
-//   font-family: PingFangSC-Medium, PingFang SC;
-//   color: #ffffff;
-//   line-height: 20px;
-// }
 //表格文字
 //表格文字
 /deep/.ws-info-table .el-form-item .el-form-item__label {
 /deep/.ws-info-table .el-form-item .el-form-item__label {
   text-align: left;
   text-align: left;
   font-size: 14px;
   font-size: 14px;
   font-family: PingFangSC-Regular, PingFang SC;
   font-family: PingFangSC-Regular, PingFang SC;
   font-weight: 400;
   font-weight: 400;
-  color: #8890b1;
+  color: #000;
   line-height: 16px;
   line-height: 16px;
 }
 }
 .small-title {
 .small-title {
@@ -691,10 +515,6 @@ export default {
   width: 35%;
   width: 35%;
   text-align: center;
   text-align: center;
 }
 }
-/deep/.neifor .ws-info-table .el-form-item .el-form-item__content {
-  width: 60%;
-  background-color: #f6f7fc;
-}
 
 
 /deep/.neifor .el-input--small .el-input__inner {
 /deep/.neifor .el-input--small .el-input__inner {
   width: 100%;
   width: 100%;
@@ -726,4 +546,23 @@ export default {
   border-left: 0px;
   border-left: 0px;
   border-top: 0px;
   border-top: 0px;
 }
 }
+.driver {
+  position: relative;
+}
+.not,
+.already {
+  position: absolute;
+  left: -45px;
+  top: 10px;
+}
+
+/deep/.driver .ws-info-table .el-form-item {
+  width: 14%;
+}
+/deep/.driver .ws-info-table .el-form-item .el-form-item__label {
+  width: 86px;
+}
+/deep/.driver .ws-info-table .el-form-item.phone .el-form-item__label {
+  width: 50px;
+}
 </style>
 </style>