gaoluyang
2 天以前 b35039bcd6b21e26bc01d2ad8de328456b272d16
src/views/wls/returnsales/data.ts
@@ -121,6 +121,7 @@
      label: '客户',
      component: markRaw(CrmCustomerSelect),
      componentProps: {
        allCustomers: true,
        placeholder: '请选择客户',
      },
      rules: 'selectRequired',
@@ -196,6 +197,7 @@
      label: '客户',
      component: markRaw(CrmCustomerSelect),
      componentProps: {
        allCustomers: true,
        placeholder: '请选择客户',
      },
    },
@@ -230,11 +232,6 @@
      field: 'salesOrderCode',
      title: '销售订单号',
      minWidth: 140,
    },
    {
      field: 'clientCode',
      title: '客户编码',
      minWidth: 120,
    },
    {
      field: 'clientName',
@@ -362,6 +359,7 @@
              label: `${item.productName || ''}(${item.productBarCode || ''})`,
              value: item.productId,
            })),
            showSearch: true,
            onChange: (value: number | undefined) => {
              const selected = items.find((i) => i.productId === value);
              onItemChange?.(selected);