-
zhangwei
2025-11-11 ec90cbd7680a6f927cb1cea43f33ab7df6d0864c
src/pages/delivergoods/reservation.vue
@@ -171,7 +171,7 @@
            show7: false,
            arrangeInfo: {
               deliverTime: this.$util.formatDate(new Date(), null, 1),
               driverId: '',
               // driverId: '',
               buyerId: null,
               dianhua: '',
               remark: '',
@@ -197,7 +197,7 @@
         this.init()
      },
      onLoad() {
         this.Getdrivers()
         this.GetCarList()
         this.getCustomer()
      },
      onReady() {
@@ -232,10 +232,14 @@
               this.arrangeInfo.companyName = item
            }
         },
         Getdrivers() {
            this.$api.Getdrivers().then(res => {
         GetCarList() {
            this.$api.GetCarList().then(res => {
               if (res.code == 1) {
                  this.driverList = res.data
                  this.driverList.forEach(item => {
                     item.driverName = item.name
                     item.name = item.carNumber
                  })
               }
            })
         },
@@ -250,7 +254,7 @@
         cancelModal() {
            this.arrangeInfo = {
               deliverTime: this.$util.formatDate(new Date(), null, 1),
               driverId: '',
               // driverId: '',
               buyerId: null,
               dianhua: '',
               remark: '',
@@ -295,8 +299,10 @@
         },
         selectItem(item) {
            if (this.selectAc == 'driver') {
               this.arrangeInfo.driverName = item.name
               this.arrangeInfo.driverId = item.keyid
               // this.arrangeInfo.driverName = item.driverName
               this.arrangeInfo.driverName = item.carNumber
               // this.arrangeInfo.driverId = item.keyid
               this.arrangeInfo.carId = item.keyid
            } else if (this.selectAc == 'driver7') {
               this.deliverKeyID = item.keyid
               this.deliverKeyName = item.name
@@ -334,7 +340,7 @@
                        this.isEdit = false
                        this.arrangeInfo = {
                           deliverTime: this.$util.formatDate(new Date(), null, 1),
                           driverId: '',
                           // driverId: '',
                           buyerId: null,
                           dianhua: '',
                           remark: '',
@@ -362,7 +368,7 @@
                  if (res.code == 1) {
                     this.arrangeInfo = {
                        deliverTime: this.$util.formatDate(new Date(), null, 1),
                        driverId: '',
                        // driverId: '',
                        buyerId: null,
                        dianhua: '',
                        remark: '',