Commit f42718eb authored by zhengke's avatar zhengke

parent f8e8e954
......@@ -988,23 +988,23 @@
</div>
<div class="EC_floatdiv">
<input type="button" class="normalBtn" @click="getinvalid()" value="作废" />
<input type="button" class="normalBtn" @click="isShowFade=true,qrcode()" value="客户签字" />
<input type="button" class="normalBtn" @click="isShowFade=true" value="客户签字" />
<input type="button" class="normalBtn" value="下载" />
</div>
</div>
<div class="fade" v-show="isShowFade" @click="disQrCode"></div>
<div class="fade" v-show="isShowFade"></div>
<div class="qrCodeDiv" v-show="isShowFade">
<div style="margin-top:15px;">请扫码签字</div>
<div id="qrcode" style="margin:25px;" ref="qrcode">
</div>
<i class="iconfont icon-cha Ec_cha" @click="disQrCode"></i>
<i class="iconfont icon-cha Ec_cha"></i>
</div>
</div>
</template>
<script>
import moment from 'moment'
import QRCode from 'qrcodejs2' // 引入qrcode
// import QRCode from 'qrcodejs2' // 引入qrcode
export default {
data() {
return {
......@@ -1021,24 +1021,24 @@
};
},
methods: {
qrcode () {
let qrcode = new QRCode('qrcode', {
width: 150,
height: 150,
// text: "http://test.erp.viitto.com/#/clientConfirm?"+'TCID='+this.msg.TCID+'&'+'orderID='+this.msg.orderID, // 二维码地址
// text: "http://www.test.com/#/clientConfirm?"+'TCID='+this.msg.TCID+'&'+'orderID='+this.msg.orderID, // 二维码地址
// text: "192.168.0.119:8080/#/clientConfirm?"+'TCID='+this.msg.TCID+'&'+'orderID='+this.msg.orderID, // 二维码地址
//text: "https://baidu.com", // 二维码地址
text: "http://192.168.0.119:8080/#/clientConfirm?"+'TCID='+this.msg.TCID+'&'+'orderID='+this.msg.orderID, // 二维码地址
// qrcode () {
// let qrcode = new QRCode('qrcode', {
// width: 150,
// height: 150,
// // text: "http://test.erp.viitto.com/#/clientConfirm?"+'TCID='+this.msg.TCID+'&'+'orderID='+this.msg.orderID, // 二维码地址
// // text: "http://www.test.com/#/clientConfirm?"+'TCID='+this.msg.TCID+'&'+'orderID='+this.msg.orderID, // 二维码地址
// // text: "192.168.0.119:8080/#/clientConfirm?"+'TCID='+this.msg.TCID+'&'+'orderID='+this.msg.orderID, // 二维码地址
// //text: "https://baidu.com", // 二维码地址
// text: "http://192.168.0.119:8080/#/clientConfirm?"+'TCID='+this.msg.TCID+'&'+'orderID='+this.msg.orderID, // 二维码地址
colorDark : "#000",
colorLight : "#fff",
})
},
disQrCode(){
this.isShowFade=false;
this.$refs.qrcode.innerHTML='';
},
// colorDark : "#000",
// colorLight : "#fff",
// })
// },
// disQrCode(){
// this.isShowFade=false;
// this.$refs.qrcode.innerHTML='';
// },
//获取数据
getList(){
this.apiJavaPost("/api/contract/getContractInfo",this.msg,res => {
......
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