소스 검색

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)