Commit cb955782 by cwq0219

有效期

1 parent ae48d7a0
...@@ -59,6 +59,7 @@ ...@@ -59,6 +59,7 @@
getVaildPeriod() getVaildPeriod()
form.on('submit(periodSubmit)', function (data) { form.on('submit(periodSubmit)', function (data) {
if (data.field.effectiveTime) {
var params = { var params = {
method: 'cn.com.glsx.merchants.merchant.updateValPerByMerId', method: 'cn.com.glsx.merchants.merchant.updateValPerByMerId',
id: vaildData.id, id: vaildData.id,
...@@ -70,6 +71,12 @@ ...@@ -70,6 +71,12 @@
parent.layer.close(currLayerIdx) parent.layer.close(currLayerIdx)
} }
}) })
} else {
layer.msg('请选择账户有效期', {
icon: 5,
anim: 6
})
}
return false return false
}) })
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!