条码生成页面完善

parent 02909b64
...@@ -34,39 +34,11 @@ ...@@ -34,39 +34,11 @@
type="primary" type="primary"
@click="firstButton" @click="firstButton"
>点击生成二维码</el-button> >点击生成二维码</el-button>
<!-- <el-button style="float: right; padding: 3px 0" type="text"
>打印二维码</el-button
> -->
<el-button <el-button
type="text" type="text"
style="float: right; padding: 3px 0" style="float: right; padding: 3px 0"
@click="dialogTableVisibleOne = true" @click="dialogTableVisibleOne = true"
>打印二维码</el-button> >打印二维码</el-button>
<el-dialog
title=""
:visible.sync="dialogTableVisibleOne"
width="50%"
>
<div style="margin-left:180px">
<qrcode-vue :value="qrCode" :size="size" level="H" />
</div>
<span slot="footer" class="dialog-footer">
<el-button
@click="dialogTableVisibleOne = false"
>取 消</el-button>
<el-button type="danger">打印二维码</el-button>
<el-button
type="primary"
@click="dialogTableVisibleOne = false"
>确 定</el-button>
</span>
</el-dialog>
<!--
<el-dialog :visible.sync="dialogTableVisibleOne" width="500px">
<qrcode-vue :value="qrCode" :size="size" level="H" />
</el-dialog> -->
</div> </div>
<div class="item1"> <div class="item1">
<div> <div>
...@@ -87,32 +59,11 @@ ...@@ -87,32 +59,11 @@
type="primary" type="primary"
@click="SecButton" @click="SecButton"
>点击生成条形码</el-button> >点击生成条形码</el-button>
<el-button <el-button
type="text" type="text"
style="float: right; padding: 3px 0" style="float: right; padding: 3px 0"
@click="dialogTableVisibleTwo = true" @click="dialogTableVisibleTwo = true"
>打印条形码</el-button> >打印条形码</el-button>
<el-dialog
title=""
:visible.sync="dialogTableVisibleTwo"
width="60%"
>
<div style="margin-left:100px">
<barcode :value="maBarCode" :format="barcodeFormat" />
</div>
<span slot="footer" class="dialog-footer">
<el-button
@click="dialogTableVisibleTwo = false"
>取 消</el-button>
<el-button type="danger">打印条形码</el-button>
<el-button
type="primary"
@click="dialogTableVisibleTwo = false"
>确 定</el-button>
</span>
</el-dialog>
</div> </div>
<div class="item2"> <div class="item2">
<div> <div>
...@@ -124,6 +75,23 @@ ...@@ -124,6 +75,23 @@
</el-col> </el-col>
</el-row> </el-row>
</div> </div>
<el-dialog title="" :visible.sync="dialogTableVisibleOne" width="50%">
<div style="margin-left:180px">
<qrcode-vue :value="qrCode" :size="size" level="H" />
</div>
<span slot="footer" class="dialog-footer">
<el-button type="danger">打印二维码</el-button>
</span>
</el-dialog>
<el-dialog title="" :visible.sync="dialogTableVisibleTwo" width="60%">
<div style="margin-left:100px">
<barcode :value="maBarCode" :format="barcodeFormat" />
</div>
<span slot="footer" class="dialog-footer">
<el-button type="danger">打印条形码</el-button>
</span>
</el-dialog>
</div> </div>
</template> </template>
<script> <script>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment