|
@@ -177,6 +177,7 @@ $(function () {
|
|
|
if (ypInDetlVoList[0]['confirmFlag'] === '1') {
|
|
|
return errorMesageSimaple('当前入库单已审核通过,请勿重复审核!');
|
|
|
}
|
|
|
+ $("#btn_audit").attr("disabled",true);
|
|
|
request({
|
|
|
url: '/auditYpInDetl',
|
|
|
method: 'GET',
|
|
@@ -184,8 +185,12 @@ $(function () {
|
|
|
inDocuNo: $("#inDocuNoLabel").val()
|
|
|
}
|
|
|
}).then((res) => {
|
|
|
- initValue();
|
|
|
- successMesage(res);
|
|
|
+ if(res.code == 0){
|
|
|
+ successMesage(res);
|
|
|
+ initValue();
|
|
|
+ }
|
|
|
+ }).catch((res) => {
|
|
|
+ $("#btn_audit").attr("disabled",false);
|
|
|
});
|
|
|
});
|
|
|
$("#btn_daily").click(function (t) {
|