增值税

This commit is contained in:
易焱
2019-11-15 19:50:01 +08:00
parent 63e7402ed9
commit d5301a092f
40 changed files with 676 additions and 70 deletions
@@ -94,4 +94,16 @@ public class StringUtil {
}
return false;
}
/**
* 字符串是否是空
* @param str
* @return
*/
public static boolean isBlank(String str) {
if (null == str || "".equals(str) || "null".equals(str))
return true;
else
return false;
}
}
@@ -142,7 +142,11 @@ layui.use(['element', 'form', 'layer', 'formSelects'], function () {
// 删除字段
$(".field-del").on("click", function () {
if(field != null){
if (entity.children("tr").length == 1) {
return;
}
$(field).parent().remove();
entity.children("tr:last-child").children(".entity-number").click();
resetNumber();
}
});