|
|
@@ -30,7 +30,7 @@ const common = {
|
|
|
* 1.无任何信息 2.显示物流公司信息 3.显示退出申请 4.显示加入申请 5.显示预添加信息
|
|
|
*/
|
|
|
get safeAreaTopHeight() {
|
|
|
- return (config.common.SystemInfo.statusBarHeight || 40) + 44
|
|
|
+ return (config.common.SystemInfo?.statusBarHeight || 40) + 44
|
|
|
// return config.common.SystemInfo.safeArea.top + 44
|
|
|
},
|
|
|
get orgDetailType() {
|
|
|
@@ -67,16 +67,28 @@ const common = {
|
|
|
},
|
|
|
/** 结算状态 */
|
|
|
get settleStatus() {
|
|
|
- return {
|
|
|
- 1: '待支付',
|
|
|
- 7: '支付异常',
|
|
|
- 4: '支付中',
|
|
|
- 2: '已支付',
|
|
|
- 3: '已取消',
|
|
|
- 6: '已退款',
|
|
|
- 5: '退款中',
|
|
|
- 10: '其他',
|
|
|
- }
|
|
|
+ // 为了与原型顺序一致 采用数组
|
|
|
+ return [
|
|
|
+ { value: '1', label: '待支付' },
|
|
|
+ { value: '7', label: '支付异常' },
|
|
|
+ { value: '4', label: '支付中' },
|
|
|
+ { value: '2', label: '已支付' },
|
|
|
+ { value: '3', label: '已取消' },
|
|
|
+ { value: '6', label: '已退款' },
|
|
|
+ { value: '5', label: '退款中' },
|
|
|
+ { value: '10', label: '其他' },
|
|
|
+ ]
|
|
|
+
|
|
|
+ // return {
|
|
|
+ // 1: '待支付',
|
|
|
+ // 7: '支付异常',
|
|
|
+ // 4: '支付中',
|
|
|
+ // 2: '已支付',
|
|
|
+ // 3: '已取消',
|
|
|
+ // 6: '已退款',
|
|
|
+ // 5: '退款中',
|
|
|
+ // 10: '其他',
|
|
|
+ // }
|
|
|
},
|
|
|
/** 支付方式-用于筛选条件 */
|
|
|
get payTypes() {
|
|
|
@@ -102,11 +114,17 @@ const common = {
|
|
|
},
|
|
|
/** 交易模式 */
|
|
|
get tradeType() {
|
|
|
- return {
|
|
|
- 1: '大象经销',
|
|
|
- 2: '大象直销',
|
|
|
- 10: '其他',
|
|
|
- }
|
|
|
+ return [
|
|
|
+ { value: '2', label: '大象直销' },
|
|
|
+ { value: '1', label: '大象经销' },
|
|
|
+ { value: '10', label: '其他' },
|
|
|
+ ]
|
|
|
+
|
|
|
+ // return {
|
|
|
+ // 1: '大象经销',
|
|
|
+ // 2: '大象直销',
|
|
|
+ // 10: '其他',
|
|
|
+ // }
|
|
|
},
|
|
|
_SystemInfo: null as UniNamespace.GetSystemInfoResult,
|
|
|
get SystemInfo() {
|
|
|
@@ -115,6 +133,7 @@ const common = {
|
|
|
}
|
|
|
return this._SystemInfo
|
|
|
},
|
|
|
+ IPageParams: ['page', 'size', 'param'],
|
|
|
IPageProps: ['current', 'pages', 'total', 'records'],
|
|
|
/** 分页组件加载数据事件参数默认值 */
|
|
|
get defAyContainerRefreshArgs() {
|