Commit b1354618 by cwq0219

bug修复

1 parent 6dc7543f
...@@ -535,7 +535,7 @@ ...@@ -535,7 +535,7 @@
merchantForm[item] = formData[item] || '' merchantForm[item] = formData[item] || ''
params[item] = formData[item] || '' params[item] = formData[item] || ''
}) })
if(merchantId) { if (merchantId) {
params.effectiveTime = merchantForm.effectiveTime params.effectiveTime = merchantForm.effectiveTime
} }
var checkClassNameList = [{ var checkClassNameList = [{
...@@ -617,7 +617,10 @@ ...@@ -617,7 +617,10 @@
getMerchantApi(merchantId, function (respone) { getMerchantApi(merchantId, function (respone) {
form.val('merchantForm', respone.data) form.val('merchantForm', respone.data)
merchantForm = respone.data merchantForm = respone.data
$('#addrEl').text(merchantForm.merchantAddress)
if (merchantForm.merchantAddress) {
$('#addrEl').text(merchantForm.merchantAddress)
}
accountTypeVisible = true accountTypeVisible = true
var el = $('#accountTypeEl') var el = $('#accountTypeEl')
el.empty() el.empty()
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!