|
|
@@ -196,6 +196,9 @@ public class tinvoiceapply extends PaoCust {
|
|
|
i++;
|
|
|
}
|
|
|
} else {
|
|
|
+ if (!"审核".equals(getString("fstatus"))) {
|
|
|
+ throw new P2AppException("", "非审核状态下不可反审核");
|
|
|
+ }
|
|
|
if (!"手工".equalsIgnoreCase(getString("ftype"))) {
|
|
|
int i = 0;
|
|
|
while (tinvoicebillSet.getPao(i) != null) {
|
|
|
@@ -227,7 +230,6 @@ public class tinvoiceapply extends PaoCust {
|
|
|
*/
|
|
|
PaoSetRemote sainvoicedetailSet = saorderdetail.getPaoSet("sainvoicedetail");
|
|
|
sainvoicedetailSet.setOrderBy("sainvoicedetailid");
|
|
|
- System.err.println("发货单行"+sainvoicedetailSet.count());
|
|
|
int n = 0;
|
|
|
while (sainvoicedetailSet.getPao(n) != null) {
|
|
|
if (sainvoicedetailSet.getPao(n).getPaoSet("SAINVOICE").getPao(0).getString("fstatus").equals("关闭")) {
|