Просмотр исходного кода

修改 批量结清多余的问题

wangn 5 лет назад
Родитель
Сommit
f393b47e94
1 измененных файлов с 2 добавлено и 24 удалено
  1. 2 24
      hdApp/src/pagesPurchase/gathering.vue

+ 2 - 24
hdApp/src/pagesPurchase/gathering.vue

@@ -25,7 +25,7 @@
         <gatheringList
         <gatheringList
           v-for="(item, index) in detailsList"
           v-for="(item, index) in detailsList"
           :key="index"
           :key="index"
-          :isEdit="isBatch"
+          :isEdit="true"
           :isCheck="item.checked"
           :isCheck="item.checked"
           :info="item"
           :info="item"
           @click.native="checkItemEvent(item)"
           @click.native="checkItemEvent(item)"
@@ -39,12 +39,7 @@
       </block>
       </block>
     </scroll-view>
     </scroll-view>
     <view class="bar-view">
     <view class="bar-view">
-      <template v-if="!isBatch">
-        <view class="info-view">
-          共 <text class="price">{{ detailsList.length }}</text> 笔
-        </view>
-      </template>
-      <template v-else>
+      <template>
         <view class="info-view">
         <view class="info-view">
           <view
           <view
             class="details-select"
             class="details-select"
@@ -66,28 +61,12 @@
       </template>
       </template>
       <view
       <view
         class="btn-view"
         class="btn-view"
-        v-if="isBatch"
       >
       >
-        <button
-          :class="['admin-button-com', 'cancel', 'global']"
-          @click="isBatch = false"
-        > 取消</button>
         <button
         <button
           :class="['admin-button-com', 'blue', 'global']"
           :class="['admin-button-com', 'blue', 'global']"
           @click="batchConfirm"
           @click="batchConfirm"
         >确认</button>
         >确认</button>
       </view>
       </view>
-      <view
-        class="btn-view"
-        v-else
-      >
-        <button
-          class="admin-button-com blue"
-          @click="isBatch = true"
-        >
-          批量结清
-        </button>
-      </view>
     </view>
     </view>
     <kd-entrance></kd-entrance>
     <kd-entrance></kd-entrance>
   </view>
   </view>
@@ -106,7 +85,6 @@ export default {
       customInfo: {},
       customInfo: {},
       totalAmount: "",
       totalAmount: "",
       isAllCheck: false,
       isAllCheck: false,
-      isBatch: false
     }
     }
   },
   },
   mounted () {
   mounted () {