|
@@ -764,7 +764,6 @@
|
|
var writeSupplyPrice = document.getElementById("writeSupplyPrice").value;//手动输入价格
|
|
var writeSupplyPrice = document.getElementById("writeSupplyPrice").value;//手动输入价格
|
|
if(writeSupplyPrice != null && writeSupplyPrice !=""){
|
|
if(writeSupplyPrice != null && writeSupplyPrice !=""){
|
|
writeSupplyPrice = toDecimal2(writeSupplyPrice);
|
|
writeSupplyPrice = toDecimal2(writeSupplyPrice);
|
|
- alert(writeSupplyPrice);
|
|
|
|
supplyPrice = writeSupplyPrice;
|
|
supplyPrice = writeSupplyPrice;
|
|
}
|
|
}
|
|
var accountPeriod = document.getElementById("accountPeriod").value;
|
|
var accountPeriod = document.getElementById("accountPeriod").value;
|
|
@@ -971,7 +970,8 @@
|
|
}
|
|
}
|
|
//开票信息
|
|
//开票信息
|
|
var ticketOpeningInfo = {};
|
|
var ticketOpeningInfo = {};
|
|
- if(customerBasicInfo.cooperativeState != "1"){
|
|
|
|
|
|
+ var isOpenTicket = $("input[name='isOpenTicket']:checked").val();
|
|
|
|
+ if(customerBasicInfo.cooperativeState != "1" && isOpenTicket != "1"){
|
|
ticketOpeningInfo.ticketType = $("[name='ticketType']").val();
|
|
ticketOpeningInfo.ticketType = $("[name='ticketType']").val();
|
|
ticketOpeningInfo.accountOpeningBranch = $("[name='ticketAccountOpeningBranch']").val();
|
|
ticketOpeningInfo.accountOpeningBranch = $("[name='ticketAccountOpeningBranch']").val();
|
|
ticketOpeningInfo.ticketOpeningAccount = $("[name='ticketOpeningAccount']").val();
|
|
ticketOpeningInfo.ticketOpeningAccount = $("[name='ticketOpeningAccount']").val();
|