MrShi
2025-07-19 edb50cb0dc65061d5ce9f8d4ff26fcee12b09eee
small-program/pages/freight/freight.vue
@@ -302,6 +302,7 @@
            this.$u.api.getDetail({
               orderId: option.id
            }).then(res => {
               if (res.code === 200) {
               this.info = res.data
               for (const key in this.form) {
                  this.form[key] = res.data[key]
@@ -312,6 +313,7 @@
               }
               if (!this.form.wayInfoDTOList) {
                  this.form.wayInfoDTOList = []
                  }
               }
            })
         } else {
@@ -414,23 +416,31 @@
                  priceNum2: this.form.priceNum2,
                  type: 1
               }).then(res => {
                  if (res.code === 200) {
                  this.form.estimatedAccount = res.data
                  }
               })
            }
         },
         getCategoryLists() {
            this.$u.api.getCategoryList({ type: 1 })
               .then(res => {
                  if (res.code === 200) {
                  this.car = [res.data]
                  res.data.forEach(item => {
                     if (item.id === this.form.categoryId) {
                        this.carArr = [item.detailList]
                     }
                  })
                  }
               })
            this.$u.api.getCategoryList({ type: 0 })
               .then(res => {
                  if (res.code === 200) {
                  this.variety = [res.data]
                  }
               })
         },
         confirmCategary(e) {