作者 lihongjuan

323245234

... ... @@ -106,7 +106,8 @@
</view>
</view>
<view class="surekai" @click="queshen">确认开票</view>
<view class="surekai" @click="queshen" v-if="kaipiaoshow">确认开票</view>
<view class="surekai" v-else>确认开票</view>
</view>
</template>
... ... @@ -138,7 +139,8 @@
shouaddress: '',
fapiaomoney:0,
// 选中的id
select_id:""
select_id:"",
kaipiaoshow:true
}
},
... ... @@ -283,6 +285,8 @@
return false
}
this.kaipiaoshow=false
var param = {
order_ids:this.select_id,
... ... @@ -347,6 +351,7 @@
},
onShow() {
this.kaipiaoshow=true
let totalmoney=uni.getStorageSync("totalmoney");
console.log('9090902222',totalmoney)
if(totalmoney!=''){
... ...
... ... @@ -323,7 +323,8 @@
.infobox {
width: 686rpx;
position: absolute;
top: 38rpx;
/* top: 30rpx; */
bottom:22rpx;
}
... ... @@ -346,7 +347,7 @@
color: #FFFFFF;
font-size: 36rpx;
text-align: center;
margin-top: 20rpx;
margin-top: 19rpx;
}
.infohead {
... ... @@ -383,7 +384,7 @@
justify-content: space-between;
padding: 0 44rpx;
box-sizing: border-box;
margin-top: 37rpx;
margin-top: 30rpx;
}
.bottomleft {
... ...
... ... @@ -117,6 +117,7 @@
</view>
<view class="subshuju" @click="set_number" v-if="fenxiangor">提交数据</view>
<view class="subshuju" v-else>提交数据</view>
... ... @@ -299,6 +300,11 @@
}
app.post(url, param, 'post').then(r => {
console.log(r)
uni.showToast({
title:'编辑成功',
icon:'none'
})
t.fenxiangor=false
}).catch(err => {
console.log(err)
})
... ... @@ -318,6 +324,7 @@
}
},
onShow() {
this.fenxiangor=true
this.get_shubandetail()
},
onShareAppMessage: function(res) {
... ...
... ... @@ -63,7 +63,8 @@
</view>
<!-- 确定 -->
<view class="queding" @click="queding">确定</view>
<view class="queding" @click="queding" v-if="qudingshow">确定</view>
<view class="queding" v-else>确定</view>
<view class="register" v-if="showketime">
<view class="timewrap">
... ... @@ -94,7 +95,8 @@
minutes: '',
seconds: '',
upload_word: '上传图片',
upimg: ''
upimg: '',
qudingshow:true
}
},
methods: {
... ... @@ -288,6 +290,7 @@
},
queding() {
let that = this;
// uni.navigateTo({
// url: '/pages/shuguanshujulist/shuguanshujulist'
// })
... ... @@ -299,6 +302,8 @@
return false
}
that.qudingshow=false
let url = "api/shuguan/setShuguan";
let param = {
image: that.upimg
... ... @@ -310,6 +315,8 @@
icon: 'none'
})
setTimeout(function() {
uni.navigateTo({
url: '/pages/shuguanshujulist/shuguanshujulist'
... ... @@ -336,6 +343,13 @@
// this.showketime = options.showketime
// 获取剩余时间和次数
this.get_surplus()
},
onShow() {
console.log(777)
this.qudingshow=true
},
mounted() {
console.log(77766555)
}
}
</script>
... ...
... ... @@ -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();
// 获取数管详情
... ...