浏览代码

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)