Commit e1083a0b authored by Facius's avatar Facius

feat: app适配

parent ada4ca5c
Pipeline #3292 canceled with stages
......@@ -152,7 +152,13 @@ export default {
background-color: #ffffff;
color: #333333;
font-size: 24rpx;
// #ifdef APP-PLUS
margin-right: 24rpx;
// #endif
// #ifdef MP
margin-right: 8rpx;
// #endif
.image-view {
width: 20rpx;
height: 24rpx;
......
......@@ -52,13 +52,21 @@ export default {
},
methods:{
toBill(){
this.$Router.push({
path:"/pages/maintain-bill/index",
query:{
this.$u.route({
url: '/pages/maintain-bill/index',
type: 'navigateTo',
params: {
customerId:this.detail.customerId,
onlyDebt:1,
}
})
});
// this.$Router.push({
// path:"/pages/maintain-bill/index",
// query:{
// customerId:this.detail.customerId,
// onlyDebt:1,
// }
// })
}
}
};
......
......@@ -198,8 +198,9 @@ export default {
return {
billId: '',
info: {
sendStatus: {},
settleState: {},
sendStatus: {code: 'WAIT'},
settleState: {code: 'NO'},
customer: {}
},
visible: false,
current: 0,
......
......@@ -135,9 +135,8 @@ export default {
return this.daterange.length > 0 && this.daterange[1] ? this.daterange[1] + ' 23:59:59' : '';
}
},
onLoad() {
onLoad(query) {
// 查欠账的传参
let query = this.$Route.query;
let { customerId, onlyDebt } = query;
if (customerId) {
this.customerId = customerId;
......@@ -158,7 +157,7 @@ export default {
methods: {
toDetail(item) {
this.$u.route({
url: 'pages/maintain-bill/detail',
url: '/pages/maintain-bill/detail',
type: 'navigateTo',
params: {
billId: item.id
......
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