ソースを参照

fix(订单表单): 将客户ID转换为字符串类型以确保选中状态

yz 1 週間 前
コミット
7e585a7508
1 ファイル変更1 行追加0 行削除
  1. 1 0
      src/components/order-form/customer-select.vue

+ 1 - 0
src/components/order-form/customer-select.vue

@@ -298,6 +298,7 @@ export default {
           
           if (customer) {
             // 只保留匹配的客户选项
+            customer.Customer_ID = String(customer.Customer_ID)
             this.options = [customer]
             // 设置当前值以确保选中状态
             this.currentValue = String(customer.Customer_ID)