...
|
...
|
@@ -15,15 +15,15 @@ var accMul = function(arg1, arg2) { |
|
|
s2 = arg2.toString();
|
|
|
|
|
|
try {
|
|
|
m += s1.split(".")[1].length
|
|
|
m += s1.split('.')[1].length;
|
|
|
} catch (e) {
|
|
|
}
|
|
|
try {
|
|
|
m += s2.split(".")[1].length
|
|
|
m += s2.split('.')[1].length;
|
|
|
} catch (e) {
|
|
|
}
|
|
|
return Number(s1.replace(".", "")) * Number(s2.replace(".", "")) / Math.pow(10, m)
|
|
|
}
|
|
|
return Number(s1.replace('.', '')) * Number(s2.replace('.', '')) / Math.pow(10, m);
|
|
|
};
|
|
|
|
|
|
var Order = {
|
|
|
/*业务数据(人民币)*/
|
...
|
...
|
@@ -45,6 +45,7 @@ var Order = { |
|
|
$cancel: $('.cancel', '.btn-group'),
|
|
|
$total: $('em', '.to-play'),
|
|
|
$tbody: $('table tbody', '.pay-wapper'),
|
|
|
|
|
|
//请填写并核对一下信息
|
|
|
$orderSelectionSave: $('.address-list h2 span'),
|
|
|
$addAddress: $('.add-address'),
|
...
|
...
|
@@ -213,6 +214,7 @@ var Order = { |
|
|
}
|
|
|
});
|
|
|
},
|
|
|
|
|
|
//渲染价格明细
|
|
|
render: function(data, tips) {
|
|
|
|
...
|
...
|
@@ -365,7 +367,7 @@ var Order = { |
|
|
function getSelectData(callback) {
|
|
|
|
|
|
var $juangroupInput = $('.play-juan.is-select input[name="juangroup"]:checked');
|
|
|
var expressVal = $('.express-list input[name="carriagegroup"]').val();
|
|
|
var expressVal = $('.express-list input[name="carriagegroup"]:checked').val();
|
|
|
var biVal = $('#biprice.is-select').val();
|
|
|
var codeVal = $juangroupInput.val();
|
|
|
var cartType = $('.address-manage').attr('cart-type');
|
...
|
...
|
|