退货单去掉确认动作
This commit is contained in:
parent
0a9f891f47
commit
9c18c8ecb5
@ -140,10 +140,7 @@ public class WmRtVendorController extends BaseController
|
|||||||
public AjaxResult execute(@PathVariable Long rtId){
|
public AjaxResult execute(@PathVariable Long rtId){
|
||||||
//判断单据状态
|
//判断单据状态
|
||||||
WmRtVendor wmRtVendor = wmRtVendorService.selectWmRtVendorByRtId(rtId);
|
WmRtVendor wmRtVendor = wmRtVendorService.selectWmRtVendorByRtId(rtId);
|
||||||
if(!UserConstants.ORDER_STATUS_CONFIRMED.equals(wmRtVendor.getStatus())){
|
|
||||||
return AjaxResult.error("请先确认单据!");
|
|
||||||
}
|
|
||||||
|
|
||||||
//构造事务Bean
|
//构造事务Bean
|
||||||
List<RtVendorTxBean> beans = wmRtVendorService.getTxBeans(rtId);
|
List<RtVendorTxBean> beans = wmRtVendorService.getTxBeans(rtId);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user