| | |
| | | arr.push(goodsInfo.categoryId) |
| | | category.setValue(arr); |
| | | |
| | | var arrCarriageRule = []; |
| | | arrCarriageRule.push(goodsInfo.carriageRuleId) |
| | | if (carriageRule.setValue) { |
| | | carriageRule.setValue(arrCarriageRule); |
| | | } |
| | | |
| | | if (couponRule.setValue) { |
| | | couponRule.setValue(goodsInfo.couponIds); |
| | | } |
| | | |
| | | if (goodsInfo.isNormal == 2) { |
| | | $(".tc-set").show(); |
| | | } |
| | | |
| | | if (goodsInfo.carriageType == 2) { |
| | | $('.carriage-input').hide(); |
| | | $('.carriage-rule').show(); |
| | | } else { |
| | | $('.carriage-input').show(); |
| | | $('.carriage-rule').hide(); |
| | | document.getElementById('carriageAmountDefault').value = goodsInfo.carriageAmount; |
| | | } |
| | | |
| | | if (goodsInfo.isSku == 1) { |