Procházet zdrojové kódy

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

yz před 2 týdny
rodič
revize
9bd49a1d96
1 změnil soubory, kde provedl 1 přidání a 1 odebrání
  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
       }