yangan
2024-06-12 a54597994e1a2112cddcc356de93174525dd1710
pages/driver-page/driver-index/SelfDelivery/SelfDelivery.vue
@@ -226,8 +226,13 @@
                     text: v.name
                  }
               })
               this.filedId = this.filedNameList.length !== 0 ? this.filedNameList[0].value : ''
               this.filedName = this.filedNameList.length !== 0 ? this.filedNameList[0].text : ''
               if (Array.isArray(this.filedNameList) && this.filedNameList.length === 1) {
                  this.filedId = this.filedNameList[0].value
                  this.filedName = this.filedNameList[0].text
               } else if (Array.isArray(this.filedNameList) && this.filedNameList.length > 1) {
                  this.filedId = ''
                  this.filedName = ''
               }
            })
         },
         filedChange(e) {
@@ -256,15 +261,15 @@
            let form = {
               carNo: uni.getStorageSync('carNo'),
               coalName: this.productName,
               deptId: this.deptId,
               deptName: this.deptName,
               filedId: this.filedId,
               filedName: this.filedName,
               deptId: this.deptId,  //部门Id
               deptName: this.deptName,  //部门名称
               filedId: this.filedId,  //煤场Id
               filedName: this.filedName,  //煤场名称
               orderType: "外购",
               sendDate: this.sendDate,
               xsUserId1: uni.getStorageSync('userId'),
               isPretendDischar: 1,
               isSpecial: 1,
               sendDate: this.sendDate,  //发运时间
               xsUserId1: uni.getStorageSync('userId'),  //用户id
               isPretendDischar: 1,  //是否能装卸 1已经确认装卸 0不需要装卸
               isSpecial: 1,  //是否是特产品 1特殊产品 0不是特使产品
               customerId: this.customerId,
               customerName: this.customerName
            }
@@ -462,4 +467,4 @@
         }
      }
   }
</style>
</style>