|
@@ -22,8 +22,7 @@
|
|
|
:disabled="!isEdit"
|
|
|
v-show="false"
|
|
|
>
|
|
|
- </el-input>
|
|
|
- <!--style="display:block;width:120px"-->
|
|
|
+ </el-input>style="display:block;width:120px"-->
|
|
|
<div v-show="false">
|
|
|
手动输入开关:
|
|
|
</div>
|
|
@@ -38,15 +37,10 @@
|
|
|
<div class="tip">
|
|
|
手机二维码对准下方摄像头<br>
|
|
|
<i class="el-icon-bottom" style="padding-left: 450px;font-size: 300px"></i>
|
|
|
- <h1>将手机二维码对准摄像头</h1>
|
|
|
- <h1>扫描</h1>
|
|
|
- <!-- 将手机二维码对准摄像头 扫描<br /> -->
|
|
|
- <i class="el-icon-bottom" style="font-size: 100px"></i>
|
|
|
</div>
|
|
|
</div>
|
|
|
</template>
|
|
|
<script>
|
|
|
-import screenfull from "screenfull"
|
|
|
import screenfull from "screenfull";
|
|
|
export default {
|
|
|
data() {
|
|
@@ -76,7 +70,7 @@ export default {
|
|
|
this.edit1=false
|
|
|
}
|
|
|
},
|
|
|
- async querynumber(){
|
|
|
+ /*async querynumber(){
|
|
|
console.log(this.orderNumber)
|
|
|
let orderNumber=this.orderNumber
|
|
|
let i=0
|
|
@@ -93,7 +87,7 @@ export default {
|
|
|
return i
|
|
|
this.edit1 = false;
|
|
|
}
|
|
|
- },
|
|
|
+ },*/
|
|
|
async querynumber() {
|
|
|
console.log(this.orderNumber);
|
|
|
let orderNumber = this.orderNumber;
|
|
@@ -141,11 +135,6 @@ export default {
|
|
|
this.$message.error("你已经打印过了")
|
|
|
this.orderNumber=null
|
|
|
return
|
|
|
- console.log(promise);
|
|
|
- if (promise == 1) {
|
|
|
- this.$message.error("你已经打印过了");
|
|
|
- this.orderNumber = null;
|
|
|
- return;
|
|
|
}
|
|
|
this.$router.push({
|
|
|
path: "/printReceipt?orderNumber=" + this.orderNumber
|
|
@@ -187,14 +176,7 @@ export default {
|
|
|
font-size: 100px;
|
|
|
padding-left: 100px;
|
|
|
padding-top: 200px;
|
|
|
- .tip {
|
|
|
- display: flex;
|
|
|
- justify-content: center;
|
|
|
- align-items: center;
|
|
|
- width: 1000px;
|
|
|
- height: 300px;
|
|
|
- font-size: 60px;
|
|
|
- color: #e6e6e6;
|
|
|
+ color: #4cc9e9;
|
|
|
}
|
|
|
}
|
|
|
</style>
|