Browse Source

修改药品‘已用完’文字颜色

yezehua 7 years ago
parent
commit
96ad72ef18
1 changed files with 1 additions and 1 deletions
  1. 1 1
      js/util.js

+ 1 - 1
js/util.js

@ -180,7 +180,7 @@ function getDaysRemaining(item) {
		var preTime = new Date(presCreateTime.replace(/-/g,'/')).getTime()
		var remain = minDrugDay - ((curTime - preTime)/(24 * 3600 * 1000)).toFixed(1)
		if(remain < 0) {
			return "药品已用完"
			return '<span style="color: #ff3b30;">已用完</span>'
		}
		return remain
	} else {