|
@@ -1486,8 +1486,8 @@ function taxRateVal(index) {
|
|
|
var obj2 = document.getElementById("price"); //设置商品页面商品单价
|
|
|
var price = obj1 != null ? obj1 : obj2 != null ? obj2 : null;
|
|
|
var svipDiscountPriceObj = document.getElementById("svipDiscountPrice" + index);
|
|
|
- var svipReduction = $("#svipReduction" + index).val();
|
|
|
- var svipPriceFlag = $("#svipPriceFlag" + index).val();
|
|
|
+ var svipReduction = $("#svipReduction" + index).val() == undefined ? 0 : $("#svipReduction" + index).val();
|
|
|
+ var svipPriceFlag = $("#svipPriceFlag" + index).val() == undefined ? 0 : $("#svipPriceFlag" + index).val();
|
|
|
|
|
|
if (includedTax != '' && includedTax == 0 && invoiceType == 3) {
|
|
|
//不含税不能开票商品,税率置为0
|