Commit f5fee41a by 杨树贤

更新页面申请审核原因没写入的问题

parent c953353f
...@@ -42,10 +42,12 @@ ...@@ -42,10 +42,12 @@
content: $('#apply_audit_reason_div'), content: $('#apply_audit_reason_div'),
btn: ['保存并申请审核', '取消'], btn: ['保存并申请审核', '取消'],
btn1: function (index, layero) {//点击保存按钮 btn1: function (index, layero) {//点击保存按钮
if ($('#apply_audit_reason').val() === '') { let reason = $('#apply_audit_reason').val();
if (reason === '') {
layer.msg('请选择申请理由', {icon: 5}) layer.msg('请选择申请理由', {icon: 5})
return false; return false;
} }
data.field.apply_audit_reason = reason;
updateSupplier(data); updateSupplier(data);
setTimeout(function () { setTimeout(function () {
layer.close(index); layer.close(index);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment