瀏覽代碼

产品选择修改

lucw 8 月之前
父節點
當前提交
10cb286131

+ 1 - 1
src/components/select/SelectProduct/index.vue

@@ -63,7 +63,7 @@
             type: 'selection',
             width: 45,
             align: 'center',
-            selectable: (row, index) => {
+            selectable: (row) => {
               return !this.processData?.some((it) => it.id == row.id);
             },
             reserveSelection: true,

+ 1 - 1
src/views/regulationManagement/components/addOrEditDialog.vue

@@ -551,7 +551,7 @@
       // 去选择产品
       openSelectProduct(item) {
         this.currentItem = item;
-        this.$refs.SelectProductRef.open();
+        this.$refs.SelectProductRef.open([], '选择产品', '9');
       },
       // 选择产品完成
       chooseProcess(productList, current) {