Bladeren bron

fix(订单视图): 将客户字段从customerData改为customerId并禁用搜索

yz 1 week geleden
bovenliggende
commit
8b1ec44b7f
1 gewijzigde bestanden met toevoegingen van 3 en 3 verwijderingen
  1. 3 3
      src/views/order/order/index.vue

+ 3 - 3
src/views/order/order/index.vue

@@ -278,9 +278,9 @@ export default {
         column: [
           {
             label: '客户',
-            prop: 'customerData',
+            prop: 'customerId',
             type: 'select',
-            search: true,
+            search: false,
             width: 200,
             filterable: true,
             remote: false,
@@ -740,7 +740,7 @@ export default {
      * @returns {void}
      */
     updateCustomerOptionsInColumn() {
-      const customerColumn = this.option.column.find(col => col.prop === 'customerData')
+      const customerColumn = this.option.column.find(col => col.prop === 'customerId')
       if (customerColumn) {
         customerColumn.dicData = this.customerOptions
       }