From 3ef19c59f59bb1b5a43434b8d14ec12e06d505b0 Mon Sep 17 00:00:00 2001 From: licp <lichunping@guanfang.com.cn> Date: 星期二, 19 三月 2024 13:07:19 +0800 Subject: [PATCH] 检验下单-下发功能更新 --- src/components/view/b1-report-preparation.vue | 22 ++++++++++++++++++---- 1 files changed, 18 insertions(+), 4 deletions(-) diff --git a/src/components/view/b1-report-preparation.vue b/src/components/view/b1-report-preparation.vue index b38230a..10fa4a4 100644 --- a/src/components/view/b1-report-preparation.vue +++ b/src/components/view/b1-report-preparation.vue @@ -77,14 +77,23 @@ :key="upIndex" @handleWeave="handleWeave"/> </div> </div> + <el-dialog title="鍦ㄧ嚎缂栧埗" :visible.sync="claimVisible" width="70%" :modal-append-to-body="false"> + <Word style="height:70vh" v-if="claimVisible" ref="Word"/> + <span slot="footer" class="dialog-footer"> + <el-button @click="claimVisible = false">鍙� 娑�</el-button> + <el-button type="primary" @click="confirmClaim">纭� 瀹�</el-button> + </span> + </el-dialog> </div> </template> <script> import ValueTable from '../tool/value-table.vue' + import Word from '../tool/word.vue' export default { components: { - ValueTable + ValueTable, + Word, }, data() { return { @@ -178,7 +187,8 @@ }, entityCopy: {}, upIndex: 0, - statusList:[] + statusList:[], + claimVisible:true } }, mounted() { @@ -193,7 +203,9 @@ this.componentData.entity = this.HaveJson(this.entityCopy) this.upIndex++ }, - handleWeave(){}, + handleWeave(){ + this.claimVisible = true; + }, // 鏉冮檺鍒嗛厤 getPower(radio) { let power = JSON.parse(sessionStorage.getItem('power')) @@ -213,9 +225,11 @@ } }, handleClose() { - this.upLoad = false; }, + confirmClaim(){ + console.log(11111111111,this.$refs.Word.getValue()) + } } } </script> -- Gitblit v1.9.3