|
|
@@ -20,65 +20,29 @@ Page({
|
|
|
code: 'makeTime', title: mixins.$t('pastThirthtyDays'),
|
|
|
defaultValue: 5, searchType: Constants.searchType.date
|
|
|
},
|
|
|
- { code: 'staff', title: mixins.$t('staffId'), dropType: 'staff' },
|
|
|
- ],
|
|
|
-
|
|
|
+ { code: 'settlement', title: mixins.$t('settlement'), dropType: 'settlement',searchType: Constants.searchType.dropSingle },
|
|
|
+ ],
|
|
|
// 列表区(内容)
|
|
|
contentList: [
|
|
|
- { name: 'rpNo', title: mixins.$t('receiptOrderNo') },
|
|
|
+ { name: 'cusPhone', title: mixins.$t('cusPhone') },
|
|
|
{
|
|
|
name: [{ name: 'orgName', title: '' },
|
|
|
{ name: 'staffName', title: '' },],
|
|
|
title: mixins.$t('receiptInfo')
|
|
|
},
|
|
|
- { name: 'sumAmtReceivableHandle', title: mixins.$t('sumAmtReceivableHandle') },
|
|
|
+ { name: 'sumAmtReceivableHandle', title: mixins.$t('amountCollected') },
|
|
|
],
|
|
|
// 弹出按钮
|
|
|
- buttonList: [
|
|
|
- {
|
|
|
- name: 'cusReturnCollection',
|
|
|
- title: mixins.$t('cusReturnCollection'),
|
|
|
- },
|
|
|
- // {
|
|
|
- // name: 'editOrder',
|
|
|
- // title: mixins.$t('edit'),
|
|
|
- // },
|
|
|
- {
|
|
|
- name: 'invaidOrder',
|
|
|
- title: mixins.$t('invaidOrder'),
|
|
|
- },
|
|
|
- {
|
|
|
- name: 'ticketPirnt',
|
|
|
- title: mixins.$t('ticketPirnt'),
|
|
|
- },
|
|
|
-
|
|
|
- ],
|
|
|
+ buttonList: [],
|
|
|
|
|
|
// 底部保存按钮
|
|
|
- buttonFootList: [{
|
|
|
- name: 'add',
|
|
|
- title: mixins.$t('add'),
|
|
|
- }],
|
|
|
+ buttonFootList: [],
|
|
|
// 列表区(脚部金额)
|
|
|
footerAmount: {
|
|
|
- name: 'sumAmtRec',
|
|
|
- title: mixins.$t('totalAmount')
|
|
|
},
|
|
|
// 列表区(脚部信息)
|
|
|
footerInfo: [{ name: 'sumAmtRec', }],
|
|
|
- contentnFootList: [
|
|
|
- {
|
|
|
- title: mixins.$t('totalAmount'),
|
|
|
- code: 'sumAmtRec',
|
|
|
- content: 0,
|
|
|
- type: 'number'
|
|
|
- }, {
|
|
|
- type: 'count',
|
|
|
- code: 'count',
|
|
|
- quantity: -1,
|
|
|
- bill: 1,
|
|
|
- }
|
|
|
- ],
|
|
|
+ contentnFootList: [],
|
|
|
btnFormData: null,
|
|
|
// 路由
|
|
|
routeObjName: 'receiptPayment',
|
|
|
@@ -97,16 +61,12 @@ Page({
|
|
|
params.rpType = Constants.rpType.receipt
|
|
|
params.staffIdList = params.staffIds
|
|
|
params.orgIdList = params.orgIds
|
|
|
- if (params.flgValid) {
|
|
|
- params.flgValidList = [true, false]
|
|
|
- } else {
|
|
|
- params.flgValidList = [true]
|
|
|
- }
|
|
|
+
|
|
|
return params;
|
|
|
},
|
|
|
|
|
|
/**
|
|
|
- * @desc : 查询 入库单
|
|
|
+ * @desc : 查询
|
|
|
* @date : 2024年3月8日
|
|
|
* @author : 姜永辉
|
|
|
*/
|
|
|
@@ -217,21 +177,5 @@ Page({
|
|
|
}
|
|
|
|
|
|
},
|
|
|
-
|
|
|
- /**
|
|
|
- * @desc : 作废
|
|
|
- * @date : 2024/2/1 15:49
|
|
|
- * @author : 姜永辉
|
|
|
- */
|
|
|
- invaidOrder(e) {
|
|
|
- let item = e
|
|
|
- let id = item.rpId
|
|
|
- this.excute(this.data.service, this.data.service.invalid + id, null).then(res => {
|
|
|
- if (res.data.code == Constants.SUCESS_CODE) {
|
|
|
- // 重新查询
|
|
|
- this.searchData()
|
|
|
- }
|
|
|
- })
|
|
|
-
|
|
|
- },
|
|
|
+
|
|
|
})
|