|
@@ -11,7 +11,8 @@ var $mainWrap = $('.exchange-detail-page'), |
|
@@ -11,7 +11,8 @@ var $mainWrap = $('.exchange-detail-page'), |
11
|
var $expressCompany = $('.express-company'),
|
11
|
var $expressCompany = $('.express-company'),
|
12
|
$expressCode = $('.express-code');
|
12
|
$expressCode = $('.express-code');
|
13
|
|
13
|
|
14
|
-var expressList = $editExpress.data();
|
14
|
+var expressList = $editExpress.data(),
|
|
|
15
|
+ remark = $('.reason-info').find('span').text().length;
|
15
|
|
16
|
|
16
|
function cancelExchangeApply() {
|
17
|
function cancelExchangeApply() {
|
17
|
$.ajax({
|
18
|
$.ajax({
|
|
@@ -76,3 +77,9 @@ $showExpress.on('click', '.reset-express', function() { |
|
@@ -76,3 +77,9 @@ $showExpress.on('click', '.reset-express', function() { |
76
|
$showExpress.addClass('hide');
|
77
|
$showExpress.addClass('hide');
|
77
|
$editExpress.removeClass('hide');
|
78
|
$editExpress.removeClass('hide');
|
78
|
});
|
79
|
});
|
|
|
80
|
+
|
|
|
81
|
+console.log($('.reason-info').find('span').text().length)
|
|
|
82
|
+
|
|
|
83
|
+if(remark <= 5) {
|
|
|
84
|
+ $('.reason-info').hide();
|
|
|
85
|
+} |