linwenxin hace 8 meses
padre
commit
2645249fd1
Se han modificado 1 ficheros con 1 adiciones y 12 borrados
  1. 1 12
      src/views/auxiliaryFittings/vender/shop-purchase/index.vue

+ 1 - 12
src/views/auxiliaryFittings/vender/shop-purchase/index.vue

@@ -1,6 +1,6 @@
 <template>
   <div style="height: 100%">
-    <div v-show="showListArea" style="height: 100%">
+    <div v-show="!shopPurchaseArea" style="height: 100%">
       <template-page
         ref="pageRef"
         :getList="getList"
@@ -34,13 +34,6 @@
         />
       </div>
     </template>
-    <!-- 预览表单 -->
-    <print-form
-      v-if="isPreview"
-      :is-preview.sync="isPreview"
-      :shop-purchase-form="salesForm"
-      @getList="$refs.pageRef.refreshList()"
-    />
   </div>
 </template>
 
@@ -81,7 +74,6 @@ export default {
         shopId: ''
       },
       purchaseForm: {},
-      isPreview: false,
       // 表格属性
       tableAttributes: {
         // 启用勾选列
@@ -106,9 +98,6 @@ export default {
     }
   },
   computed: {
-    showListArea: function () {
-      return !(this.isPreview || this.shopPurchaseArea)
-    },
     optionsEvensGroup() {
       return [
         // [