Преглед изворни кода

修复单位没有值格式错乱的问题

suntg пре 7 година
родитељ
комит
ac95a1a04b
1 измењених фајлова са 1 додато и 1 уклоњено
  1. 1 1
      src/main/webapp/resources/tpl/index/purc/addOrder.html

+ 1 - 1
src/main/webapp/resources/tpl/index/purc/addOrder.html

@@ -180,7 +180,7 @@
 							<p>{{item.code}}</p>
 							<p>{{item.title}}</p>
 							<p>{{item.spec}}</p>
-						</b> <b>{{item.unit}}</b> <b><input class="editable" type="text"
+						</b> <b>{{item.unit||'-'}}</b> <b><input class="editable" type="text"
 							ng-model="item.qty" placeholder="数量" style="cursor: pointer;"
 							required="true"
 							ng-pattern="/^(([0-9]+\.[0-9]{1,3})|([0-9]*[1-9][0-9]*\.[0-9]{1,3})|([0-9]*[1-9][0-9]*))$/" /></b>