shish пре 1 година
родитељ
комит
16d057bdd9
1 измењених фајлова са 3 додато и 0 уклоњено
  1. 3 0
      hdApp/src/admin/ghs/pay.vue

+ 3 - 0
hdApp/src/admin/ghs/pay.vue

@@ -138,6 +138,9 @@
 						if (res.data && res.data.ghs && !this.$util.isEmpty(res.data.ghs)){
 							that.ghsInfo = res.data.ghs
 							that.customInfo = res.data.custom?res.data.custom:[]
+							if(that.customInfo.remainDebtAmount && Number(that.customInfo.remainDebtAmount)>0){
+								that.amount = parseFloat(that.customInfo.remainDebtAmount)
+							}
 							that.imgUrl = res.data.imgUrl ? res.data.imgUrl : ''
 						}
 					}