Kaynağa Gözat

经费审报子表明细金额四舍五入,学生按天请假 开始和结束时间判断

新疆警官学校中职
lb01 2 yıl önce
ebeveyn
işleme
4be9cbbd54
2 değiştirilmiş dosya ile 10 ekleme ve 2 silme
  1. +1
    -1
      Learun.Framework.Ultimate V7/LearunApp-2.2.0/pages/AssetManagementSystem/FundsApply/single.vue
  2. +9
    -1
      Learun.Framework.Ultimate V7/LearunApp-2.2.0/pages/EducationalAdministration/StuLeaveManagement/single.vue

+ 1
- 1
Learun.Framework.Ultimate V7/LearunApp-2.2.0/pages/AssetManagementSystem/FundsApply/single.vue Dosyayı Görüntüle

@@ -374,7 +374,7 @@
console.log(item) console.log(item)
let _this = this let _this = this
if (item.Number && item.Price) { if (item.Number && item.Price) {
item.Amount = item.Number * item.Price
item.Amount = (item.Number * item.Price).toFixed(2)


// _this.current.SumAmount = item.Number * item.Price // _this.current.SumAmount = item.Number * item.Price




+ 9
- 1
Learun.Framework.Ultimate V7/LearunApp-2.2.0/pages/EducationalAdministration/StuLeaveManagement/single.vue Dosyayı Görüntüle

@@ -309,12 +309,20 @@ export default {
break break


case 'save': case 'save':
// console.log(this.current)
const verifyResult = this.verifyForm() const verifyResult = this.verifyForm()
if (verifyResult.length > 0) { if (verifyResult.length > 0) {
this.CONFIRM('表单验证失败', verifyResult.join('\n')) this.CONFIRM('表单验证失败', verifyResult.join('\n'))
return return
} }
let StartTime = Date.parse(this.current.StuLeaveManagement.StartTime)
let EndTime = Date.parse(this.current.StuLeaveManagement.EndTime)
if(StartTime > EndTime){
this.TOAST('结束时间不能早于开始时间')
return
}


if (!(await this.CONFIRM('提交确认', '确定要提交本页表单内容吗?', true))) { if (!(await this.CONFIRM('提交确认', '确定要提交本页表单内容吗?', true))) {
return return


Yükleniyor…
İptal
Kaydet