|
|
@@ -15,6 +15,7 @@ Page({
|
|
|
* 页面的初始数据
|
|
|
*/
|
|
|
data: {
|
|
|
+ customerEfundFlag:false,
|
|
|
// 查询条件
|
|
|
searchContent: [{
|
|
|
code: 'createtime',
|
|
|
@@ -77,23 +78,23 @@ Page({
|
|
|
{ name: 'rpNo', title: '收款单号' },
|
|
|
{ name: [{ name: 'orgName', title: '' }, { name: 'staffName', title: '业务员' }], title: '门店/业务员' },
|
|
|
{ name: 'accDate', title: '收款时间' },
|
|
|
-
|
|
|
+
|
|
|
],
|
|
|
buttonSaveList: [{ code: 'add', title: mixins.$t("add") }],
|
|
|
// 路由
|
|
|
routeObjName: 'cusReceiptPayment',
|
|
|
- // 弹出按钮
|
|
|
- buttonList: [{
|
|
|
- name: 'cusReturnCollection',
|
|
|
- title: mixins.$t("cusReturnCollection")
|
|
|
- }, {
|
|
|
- name: 'saleOutBound',
|
|
|
- title: mixins.$t("cusNotCollection"),
|
|
|
- }, {
|
|
|
- name: 'saleReturn',
|
|
|
- title: mixins.$t("ticketPirnt")
|
|
|
- }
|
|
|
- ],
|
|
|
+ // 弹出按钮
|
|
|
+ buttonList: [{
|
|
|
+ name: 'cusReturnCollection',
|
|
|
+ title: mixins.$t("cusReturnCollection")
|
|
|
+ }, {
|
|
|
+ name: 'saleOutBound',
|
|
|
+ title: mixins.$t("cusNotCollection"),
|
|
|
+ }, {
|
|
|
+ name: 'saleReturn',
|
|
|
+ title: mixins.$t("ticketPirnt")
|
|
|
+ }
|
|
|
+ ],
|
|
|
},
|
|
|
|
|
|
|
|
|
@@ -121,5 +122,27 @@ Page({
|
|
|
this.setData({
|
|
|
tableData: tableData
|
|
|
})
|
|
|
- }
|
|
|
+ },
|
|
|
+
|
|
|
+ // open(e){
|
|
|
+ // console.log(e)
|
|
|
+ // },
|
|
|
+
|
|
|
+ /**
|
|
|
+ * @desc : 初始化
|
|
|
+ * @date : 2024/2/1 15:49
|
|
|
+ * @author : 于继渤
|
|
|
+ */
|
|
|
+ loadInit() {
|
|
|
+ //客户退款
|
|
|
+ if (this.data.functionCode == Constants.CUSTOMER_EFUND_FUNCTIONCODE) {
|
|
|
+ wx.setNavigationBarTitle({
|
|
|
+ title: '客户退款'
|
|
|
+ })
|
|
|
+ this.setData({
|
|
|
+ buttonSaveList: [{ code: 'add', title: mixins.$t("add") ,customUrl:this.data.route.refund.url}],
|
|
|
+ customerEfundFlag:true //新建跳转类型标识
|
|
|
+ })
|
|
|
+ }
|
|
|
+ },
|
|
|
})
|