From 890cd9ab8cfbd642c7240413a2f2f51b7f6f0fa5 Mon Sep 17 00:00:00 2001 From: licp <lichunping@guanfang.com.cn> Date: 星期四, 21 三月 2024 13:37:26 +0800 Subject: [PATCH] 完善下单 --- src/components/view/b1-report-preparation.vue | 24 +++++++++++++++++++----- 1 files changed, 19 insertions(+), 5 deletions(-) diff --git a/src/components/view/b1-report-preparation.vue b/src/components/view/b1-report-preparation.vue index b38230a..1f90830 100644 --- a/src/components/view/b1-report-preparation.vue +++ b/src/components/view/b1-report-preparation.vue @@ -57,7 +57,7 @@ <div class="search_thing"> <div class="search_label">鐘舵�侊細</div> <div class="search_input"> - <el-select v-model="componentData.entity.status" placeholder="鍏ㄩ儴"> + <el-select v-model="componentData.entity.status" placeholder="鍏ㄩ儴" size="small"> <el-option v-for="item in statusList" :key="item.value" @@ -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:false } }, 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