Kaynağa Gözat

fix(forecast): 将客户ID转换为字符串类型

yz 2 hafta önce
ebeveyn
işleme
9bd49a1d96
1 değiştirilmiş dosya ile 1 ekleme ve 1 silme
  1. 1 1
      src/views/forecast/forecastIndex.js

+ 1 - 1
src/views/forecast/forecastIndex.js

@@ -317,7 +317,7 @@ export default {
     handleCustomerChange(customerId) {
       const customer = this.customerOptions.find(item => item.value === customerId)
       if (customer) {
-        this.form.customerId = customer.value
+        this.form.customerId = customer.value.toString()
         this.form.customerCode = customer.customerCode
         this.form.customerName = customer.customerName
       }