Commit e1083a0b authored by Facius's avatar Facius

feat: app适配

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