账单增删改调整
This commit is contained in:
@@ -1,9 +1,11 @@
|
||||
Page({
|
||||
data: {
|
||||
sid: null
|
||||
sid: null,
|
||||
billType: null
|
||||
},
|
||||
onLoad: function (options) {
|
||||
let sid = options.id
|
||||
this.setData({sid})
|
||||
let billType = options.billType
|
||||
this.setData({sid,billType})
|
||||
}
|
||||
});
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
<view class="padding_box">
|
||||
<expenses/>
|
||||
<!-- <transfer/>-->
|
||||
<expenses wx:if="{{billType == 'INCOME' || billType == 'EXPEND'}}" billId="{{sid}}" changeType="{{billType}}"/>
|
||||
<transfer wx:if="{{billType == 'REPAYMENT' || billType == 'TRANSFER'}}" billId="{{sid}}" changeType="{{billType}}"/>
|
||||
</view>
|
||||
|
||||
Reference in New Issue
Block a user