Commit c9bb31f2 by 胡悦

提交权限,判断有效期

1 parent 6cc3f3bc
...@@ -1284,6 +1284,7 @@ ...@@ -1284,6 +1284,7 @@
getMerchantApi(merchantId, function (res) { getMerchantApi(merchantId, function (res) {
form.val('merchantForm', res.data) form.val('merchantForm', res.data)
merchantForm = res.data merchantForm = res.data
console.log(merchantForm)
if (!isFactory) { if (!isFactory) {
merchantForm.channelId = parentInfo.channelId merchantForm.channelId = parentInfo.channelId
} }
...@@ -1895,8 +1896,13 @@ ...@@ -1895,8 +1896,13 @@
}) })
function submitAuth() { function submitAuth() {
if (!merchantForm.effectiveStarttime) {
layer.msg('请去“修改基本信息”填写账户有效期', {
icon: 2
})
return
}
getAuthList() getAuthList()
console.log(requestList)
if (requestList.length != 0) { if (requestList.length != 0) {
var params = { var params = {
merchantId: merchantId, merchantId: merchantId,
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!