Browse Source

完善单车返利预提、核对--办理页面中标题包含的年月判断

master
yunuo970428 6 months ago
parent
commit
b15597a14f
  1. 10
      anrui-scm/anrui-scm-ui/src/views/bikerebate/bicyclerebatecheck/bicyclerebatecheckAdd.vue
  2. 8
      anrui-scm/anrui-scm-ui/src/views/bikerebate/bicyclerebatewithholding/bicyclerebatewithholdingAdd.vue

10
anrui-scm/anrui-scm-ui/src/views/bikerebate/bicyclerebatecheck/bicyclerebatecheckAdd.vue

@ -132,9 +132,13 @@ export default {
//
newDate() {
let date = new Date()
let year = date.getFullYear() //
let month = date.getMonth() //
this.formobj.checkApply = year + '年' + month + '月'
let year = date.getFullYear() //
let month = date.getMonth() //
let day = date.getDate() //
if (day > 6) {
month = date.getMonth() + 1 //
}
this.formobj.withApply = year + '年' + month + '月'
},
init() {
fetchBySid(this.formobj.createOrgSid).then((res) => {

8
anrui-scm/anrui-scm-ui/src/views/bikerebate/bicyclerebatewithholding/bicyclerebatewithholdingAdd.vue

@ -121,8 +121,12 @@ export default {
//
newDate() {
let date = new Date()
let year = date.getFullYear() //
let month = date.getMonth() //
let year = date.getFullYear() //
let month = date.getMonth() //
let day = date.getDate() //
if (day > 6) {
month = date.getMonth() + 1 //
}
this.formobj.withApply = year + '年' + month + '月'
},
showAdd(createOrgSid) {

Loading…
Cancel
Save