|
@@ -237,9 +237,12 @@ $(function () {
|
|
|
|
|
|
// 提交表单判断
|
|
|
$('#addMaterial').click(function () {
|
|
|
+ $(this).attr('disabled', true);
|
|
|
if ($('#s_order').val() == '') {
|
|
|
toastr.error('请选择计量期');
|
|
|
+ $(this).removeAttr('disabled');
|
|
|
return false;
|
|
|
}
|
|
|
+ $(this).text('添加中,请稍后...');
|
|
|
})
|
|
|
});
|