|
@@ -335,13 +335,9 @@ public class cashbill extends Controller {
|
|
|
String subclass = content.getString("subclass");
|
|
|
String class1 = content.getString("class");
|
|
|
String period = content.getString("period");
|
|
|
-// if (StringUtils.isEmpty(period)) {
|
|
|
-// if (type == 1) {
|
|
|
-// return getErrReturnObject().setErrMsg("未填写归属日期").toString();
|
|
|
-// } else if (type == 0 && subclass.equals("拨款")) {
|
|
|
-// period = getDate_Str();
|
|
|
-// }
|
|
|
-// }
|
|
|
+ if (StringUtils.isEmpty(period)) {
|
|
|
+ return getErrReturnObject().setErrMsg("未填写归属日期").toString();
|
|
|
+ }
|
|
|
//String billcode = "123456789";
|
|
|
BigDecimal amount = content.getBigDecimal("amount");
|
|
|
String remarks = content.getString("remarks");
|