diff --git a/manager/src/utils/regular.js b/manager/src/utils/regular.js index f55b197e..1ef4ce13 100644 --- a/manager/src/utils/regular.js +++ b/manager/src/utils/regular.js @@ -61,7 +61,8 @@ export const TEL = /0\d{2,3}-\d{7,8}/ // 正整数 export const INTEGER = { - pattern: /^[0-9]\d*$/, + + pattern: /^[0-9]\d{0,10}|0$/, message:'请输入正整数' } diff --git a/manager/src/views/distribution/dataJson.js b/manager/src/views/distribution/dataJson.js index c63e1456..63f61dde 100644 --- a/manager/src/views/distribution/dataJson.js +++ b/manager/src/views/distribution/dataJson.js @@ -24,11 +24,11 @@ export const cashStatusList = [ label:'待处理' }, { - value:'REFUSE', + value:'FAIL_AUDITING', label:'拒绝' }, { - value:'PASS', + value:'VIA_AUDITING', label:'通过' } ] @@ -46,4 +46,4 @@ export const orderStatusList = [ value:'COMPLETE_CASH', label:'提现完成' } -] \ No newline at end of file +] diff --git a/manager/src/views/distribution/distributionCash.vue b/manager/src/views/distribution/distributionCash.vue index f8c213e6..c1316360 100644 --- a/manager/src/views/distribution/distributionCash.vue +++ b/manager/src/views/distribution/distributionCash.vue @@ -1,24 +1,27 @@