002390 1 год назад
Родитель
Сommit
2ddfcb2524
1 измененных файлов с 5 добавлено и 1 удалено
  1. 5 1
      src/views/purchase/purchase-order/see/index.vue

+ 5 - 1
src/views/purchase/purchase-order/see/index.vue

@@ -26,11 +26,12 @@ export default {
   dicts: initDicts(SelectColumns),
   components: {
     FileUploadCenter: () => import('../components/FileUploadCenter/index.vue'),
+    FilePrint:() => import('../print/index.vue'),
   },
   data() {
     return {
       visible: false,
-      loading:false,
+      loading: false,
       columns: NewColumns,
       rules: initRules(NewColumns),
       params: {
@@ -144,6 +145,7 @@ export default {
       :rules="rules"
       ref="orderSeeForm" 
     >
+        
       <el-card :body-style="{
         padding: '20px',
         display: 'flex',
@@ -156,6 +158,7 @@ export default {
           ">
           <h3>查看</h3>
           <div style="text-align: right">
+            <FilePrint :id="params.id"></FilePrint>
             <el-button size="mini" @click="handleRefresh">刷新</el-button>
             <template v-if="judgeIsToNC()">
               <el-tooltip
@@ -176,6 +179,7 @@ export default {
                 }}</el-button>
               </el-tooltip>
             </template>
+            
             <el-button size="mini" @click="handleCancel">取 消</el-button>
           </div>
         </div>