Forráskód Böngészése

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

yz 2 hete
szülő
commit
9bd49a1d96
1 módosított fájl, 1 hozzáadás és 1 törlés
  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
       }