|
@@ -29,7 +29,7 @@ Component({
|
|
|
},
|
|
|
],
|
|
|
showAll: false,
|
|
|
- showTimeSelector: false,
|
|
|
+ showTimeSelector: true,
|
|
|
defaultLabel: "待支付",
|
|
|
defaultName: "待支付",
|
|
|
defaultStatus: "待支付",
|
|
@@ -62,28 +62,9 @@ Component({
|
|
|
onService(page) {
|
|
|
console.log("onService ===>");
|
|
|
const { type, status } = this.filters || {};
|
|
|
- if (!this.hisPatientId) return;
|
|
|
- if (this.filters && 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,
|
|
|
- });
|
|
|
- }
|
|
|
- console.log("onService 执行 ===>");
|
|
|
+ if(!this.hisPatientId) return
|
|
|
return payHistory({
|
|
|
...this.filters,
|
|
|
- type: type || "9",
|
|
|
status: status || "0",
|
|
|
...page,
|
|
|
hisPatientId: this.hisPatientId,
|