Questions tagged «printing»

打印是一种通常使用墨水或碳粉在打印机上或屏幕上复制文本和图像的过程。

3
使用第三方库通过VueJS打印元素
我正在处理HTML表并html-to-paper在vue.js中使用该表将其打印到打印机,我正在做的工作是单击添加以创建新行,然后单击打印,我试图打印该表,但它没有任何仅显示空白单元格的数据 代码应用程序 <template> <div id="app"> <button type="button" @click="btnOnClick">Add</button> <div id="printMe"> <table class="table table-striped table-hover table-bordered mainTable" id="Table"> <thead> <tr> <th class="itemName">Item Name</th> <th>Quantity</th> <th>Selling Price</th> <th>Amount</th> </tr> </thead> <tbody> <tr v-for="(tableData, k) in tableDatas" :key="k"> <td> <input class="form-control" readonly v-model="tableData.itemname" /> </td> <td> <input class="form-control text-right" type="text" min="0" step=".01" v-model="tableData.quantity" …
By using our site, you acknowledge that you have read and understand our Cookie Policy and Privacy Policy.
Licensed under cc by-sa 3.0 with attribution required.