|
@@ -29,7 +29,7 @@ Component({
|
|
|
},
|
|
|
],
|
|
|
showAll: false,
|
|
|
- showTimeSelector: false,
|
|
|
+ showTimeSelector: true,
|
|
|
defaultLabel: "待支付",
|
|
|
defaultName: "待支付",
|
|
|
defaultStatus: "待支付",
|
|
@@ -64,26 +64,8 @@ Component({
|
|
|
onService(page) {
|
|
|
const { type, status } = this.filters || {};
|
|
|
if(!this.hisPatientId) return
|
|
|
- if(this.filters.status === '1'){
|
|
|
- this.setData({
|
|
|
- showTimeSelector: true
|
|
|
- })
|
|
|
- if(!this.filters.startTime){
|
|
|
- my.showToast({
|
|
|
- type: "fail",
|
|
|
- content: "请选择时间段",
|
|
|
- duration: 3000,
|
|
|
- });
|
|
|
- }
|
|
|
- return
|
|
|
- } else {
|
|
|
- this.setData({
|
|
|
- showTimeSelector: false
|
|
|
- })
|
|
|
- }
|
|
|
return payHistory({
|
|
|
...this.filters,
|
|
|
- type: type || "9",
|
|
|
status: status || "0",
|
|
|
...page,
|
|
|
hisPatientId: this.hisPatientId
|