Commit 51cdff1d by 杨树贤

调整弹窗位置

parent 3ab5ddb2
......@@ -223,7 +223,9 @@
} else {
let msg = '确定直接申请审核吗?确定后会直接进入审核中的状态,审核完成前无法进行二次修改';
//未上传品质保证协议(代理商则提示为“未上传代理证”),是否需要切换为临时供应商?
layer.confirm(msg, function (index) {
layer.confirm(msg, {
offset: ['100px'] // 第一个参数是距离页面顶部距离
}, function (index) {
addSupplier(data);
});
}
......
......@@ -148,7 +148,9 @@
},
});
} else {
layer.confirm('确定直接申请审核吗?确定后会直接进入审核中的状态,审核完成前无法进行二次修改', function (index) {
layer.confirm('确定直接申请审核吗?确定后会直接进入审核中的状态,审核完成前无法进行二次修改',{
offset: ['100px'] // 第一个参数是距离页面顶部距离
}, function (index) {
updateSupplier(data);
});
}
......@@ -190,4 +192,4 @@
}
});
</script>
\ No newline at end of file
</script>
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