...
|
...
|
@@ -37,6 +37,8 @@ var balanceTpl = require('../../tpl/shopping/balance.hbs'); |
|
|
|
|
|
var pkgCache = {};
|
|
|
|
|
|
var suredCoin = 0;
|
|
|
|
|
|
var $pkgList;
|
|
|
|
|
|
require('yoho-jquery-placeholder');
|
...
|
...
|
@@ -218,8 +220,10 @@ $coinSure.click(function() { |
|
|
return;
|
|
|
}
|
|
|
|
|
|
suredCoin = getCoinUsed();
|
|
|
|
|
|
// 切换显示
|
|
|
compute(getCoinUsed());
|
|
|
compute(suredCoin);
|
|
|
|
|
|
toggleCoinPanel();
|
|
|
});
|
...
|
...
|
@@ -257,7 +261,7 @@ $('.print-price-radio').check({ |
|
|
$('#balance-list').on('click', '#submit-order', function() {
|
|
|
var reqParam = {
|
|
|
address_id: $('.address.focus').data('id'),
|
|
|
use_yoho_coin: getCoinUsed(),
|
|
|
use_yoho_coin: suredCoin,
|
|
|
remark: $('#remark-content').val(),
|
|
|
isPrintPrice: $printPrice.printPrice
|
|
|
};
|
...
|
...
|
|