Commit 97190eed authored by 季圣华's avatar 季圣华
Browse files

修复'单位'为空的bug

parent bb03e84f
...@@ -915,6 +915,7 @@ ...@@ -915,6 +915,7 @@
body.find("[field='Unit']").find(input).val(unitSetInput).attr("data-ratio", loadRatio); //设置-首选单位 body.find("[field='Unit']").find(input).val(unitSetInput).attr("data-ratio", loadRatio); //设置-首选单位
body.find("[field='Unit']").find(input).off("click").on("click",function(){ body.find("[field='Unit']").find(input).off("click").on("click",function(){
if(basicUnit && otherUnit) {
var self = this; var self = this;
//定义模版 //定义模版
var temp = "<div class='unit-list'>"; var temp = "<div class='unit-list'>";
...@@ -976,6 +977,7 @@ ...@@ -976,6 +977,7 @@
$(".datagrid-body").off("click").on("click",function(){ $(".datagrid-body").off("click").on("click",function(){
$('.unit-list').remove(); //移除计量单位列表 $('.unit-list').remove(); //移除计量单位列表
}); });
}
}); });
} }
var detailPrice = 0; //明细列表-单价 var detailPrice = 0; //明细列表-单价
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment