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