...
|
...
|
@@ -140,12 +140,12 @@ |
|
|
<view class="writeheng"></view>
|
|
|
</view>
|
|
|
<view class="guanlistbox">
|
|
|
<view class="guanlist" v-for="(item,index) in log_list" :key="index">
|
|
|
<view class="guanlist" v-for="(item,index) in log_list" :key="index" @click="fuhe(item.id)">
|
|
|
<view class="guanitem">{{item.type}}</view>
|
|
|
<view class="guanitem">{{item.confirmation}}</view>
|
|
|
<view class="guanitem">{{item.distrust}}</view>
|
|
|
<view class="guanitem">{{item.fuhe}}</view>
|
|
|
<view class="write" @click="fuhe(item.id)" v-if="fengxiangshare">
|
|
|
<view class="write" v-if="fengxiangshare">
|
|
|
<image src="/static/img/write.png"></image>
|
|
|
</view>
|
|
|
|
...
|
...
|
@@ -178,15 +178,15 @@ |
|
|
<view class="dibushujushow">
|
|
|
<view class='dibushujushowitem'>
|
|
|
<view class="dibushutop">明确总数</view>
|
|
|
<view class="dibushubottom">5000</view>
|
|
|
<view class="dibushubottom">{{count.confirmation}}</view>
|
|
|
</view>
|
|
|
<view class='dibushujushowitem'>
|
|
|
<view class="dibushutop">疑似总数</view>
|
|
|
<view class="dibushubottom">5000</view>
|
|
|
<view class="dibushubottom">{{count.distrust}}</view>
|
|
|
</view>
|
|
|
<view class='dibushujushowitem'>
|
|
|
<view class="dibushutop">复核总数</view>
|
|
|
<view class="dibushubottom">5000</view>
|
|
|
<view class="dibushubottom">{{count.fuhe}}</view>
|
|
|
</view>
|
|
|
</view>
|
|
|
</view>
|
...
|
...
|
@@ -314,7 +314,8 @@ |
|
|
</view>
|
|
|
<view class="yewubottom">
|
|
|
<view class="yewuleft" @click="cancelprint">取消</view>
|
|
|
<view class="yewuright" @click="print_queren">确定</view>
|
|
|
<view class="yewuright" @click="print_queren" v-if="quedingmi">确定</view>
|
|
|
<view class="yewuright" v-else>确定</view>
|
|
|
</view>
|
|
|
|
|
|
</view>
|
...
|
...
|
@@ -367,7 +368,8 @@ |
|
|
times: '',
|
|
|
fengxiangshare: true,
|
|
|
is_share: 0,
|
|
|
fileimg: []
|
|
|
fileimg: [],
|
|
|
quedingmi:true
|
|
|
}
|
|
|
},
|
|
|
methods: {
|
...
|
...
|
@@ -549,9 +551,30 @@ |
|
|
// 确定打印
|
|
|
print_queren() {
|
|
|
let t = this;
|
|
|
t.print = false
|
|
|
|
|
|
console.log(t.machineCode, "终端号");
|
|
|
console.log(t.mSign, "秘钥");
|
|
|
|
|
|
if(t.machineCode==''){
|
|
|
uni.showToast({
|
|
|
title:'请输入终端号',
|
|
|
icon:'none'
|
|
|
})
|
|
|
|
|
|
return false
|
|
|
}
|
|
|
if(t.mSign==''){
|
|
|
uni.showToast({
|
|
|
title:'请输入秘钥',
|
|
|
icon:'none'
|
|
|
})
|
|
|
|
|
|
return false
|
|
|
|
|
|
}
|
|
|
|
|
|
t.quedingmi=false
|
|
|
|
|
|
let url = "api/person/printerRun";
|
|
|
let param = {
|
|
|
id: t.id,
|
...
|
...
|
@@ -560,6 +583,7 @@ |
|
|
};
|
|
|
app.post(url, param, 'post').then(r => {
|
|
|
console.log(r)
|
|
|
t.print = false
|
|
|
}).catch(err => {
|
|
|
console.log(err)
|
|
|
})
|
...
|
...
|
@@ -601,6 +625,7 @@ |
|
|
}
|
|
|
},
|
|
|
onShow(options) {
|
|
|
this.quedingmi=true
|
|
|
// 获取剩余时间
|
|
|
this.get_shenyu();
|
|
|
// 获取数管详情
|
...
|
...
|
|