Browse Source

完善单车返利预提

master
yunuo970428 4 months ago
parent
commit
719425fa33
  1. 10
      anrui-scm/anrui-scm-ui/src/views/bikerebate/bicyclerebatewithholding/bicyclerebatewithholdingAdd.vue

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

@ -137,12 +137,14 @@ export default {
let year = date.getFullYear() //
let month = date.getMonth() //
let day = date.getDate() //
console.log(month, 8585)
if (month == 1 && day < 7) {
if (month < 1 && day < 7) {
month = 12
}
if (month != 1 && day > 6) {
} else if (month < 1 && day > 6) {
month = date.getMonth() + 1 //
} else if (month > 0 && day > 6) {
month = date.getMonth() + 1 //
} else if (month > 0 && day < 7) {
month = date.getMonth() //
}
this.formobj.withApply = year + '年' + month + '月'
},

Loading…
Cancel
Save