zhangqi 11 miesięcy temu
rodzic
commit
6738ac7254

+ 1 - 1
src/DRP/SDrpManagement/order/detail/index.vue

@@ -162,7 +162,7 @@
                 ref="selectProd"
                 v-if="utils.hasPermission('orderMxedit')"
                 :pagination="!isPromotion"
-                :isSelect="!isPromotion"
+                :isSelect="isPromotion"
                 :selectAll="isPromotion"
                 :columns="utils.TBLayout('orderAddTable')"
                 :needQuestSearch="isPromotion ? false : true"

+ 1 - 1
src/template/selectProduct/index.vue

@@ -20,7 +20,7 @@
       <a-table
         :loading="loading"
         class="ant-table-striped"
-        :row-selection="isSelect ? { selectedRowKeys: selectedRowKeys, onChange: onSelectChange,onSelect:onSelect,onSelectAll:onSelectAll,fixed:true }:null"
+        :row-selection="!isSelect ? { selectedRowKeys: selectedRowKeys, onChange: onSelectChange,onSelect:onSelect,onSelectAll:onSelectAll,fixed:true }:null"
         :rowKey="props.rowKey?props.rowKey:'itemid'"
         :columns="props.columns ? propsColumns:columns"
         :data-source="data"