|
@ -155,34 +155,15 @@ |
|
|
}); |
|
|
}); |
|
|
var customerCode1 = [[${sysCustomerQuote.customerCode}]]; |
|
|
var customerCode1 = [[${sysCustomerQuote.customerCode}]]; |
|
|
$(function() { |
|
|
$(function() { |
|
|
/*业务员列表*/ |
|
|
// $("input[name='customerFax']").val([sysCustomerQuote.customerFax]); |
|
|
// $.ajax({ |
|
|
// $("input[name='rmbTax']").val([sysCustomerQuote.taxRate]); |
|
|
// url: ctx + 'system/salesOrder/getBinessMembers', |
|
|
// $("input[name='customerFax']").change(function () { |
|
|
// type: 'get', |
|
|
// if ($("input[name='customerFax']").val() == "1") { |
|
|
// success: function (res) { |
|
|
// $("input[name='rmbTax']").val(sysCustomerQuote.taxRate); |
|
|
// console.log(res) |
|
|
|
|
|
// if (res.rows.length > 0) { |
|
|
|
|
|
// var usertData = res.rows; |
|
|
|
|
|
// //alert(JSON.stringify(data)); |
|
|
|
|
|
// for (let i in usertData) { |
|
|
|
|
|
// // console.log(finishProductData[i].finishProductCode) |
|
|
|
|
|
// $("#form-customerQuote-edit select[name='businessMembers']").append("<option value='" + usertData[i].userName + "'>" + usertData[i].userName + "</option>"); |
|
|
|
|
|
// } |
|
|
|
|
|
// $("#form-customerQuote-edit select[name='businessMembers']").val(sysCustomerQuote.businessMembers).trigger("change") |
|
|
|
|
|
// } else { |
|
|
// } else { |
|
|
// $.modal.msgError(res.msg); |
|
|
// $("input[name='rmbTax']").val(0); |
|
|
// } |
|
|
|
|
|
// } |
|
|
// } |
|
|
// }); |
|
|
// }); |
|
|
$("input[name='customerFax']").val([sysCustomerQuote.customerFax]); |
|
|
|
|
|
$("input[name='rmbTax']").val([sysCustomerQuote.taxRate]); |
|
|
|
|
|
$("input[name='customerFax']").change(function () { |
|
|
|
|
|
if ($("input[name='customerFax']").val() == "1") { |
|
|
|
|
|
$("input[name='rmbTax']").val(sysCustomerQuote.taxRate); |
|
|
|
|
|
} else { |
|
|
|
|
|
$("input[name='rmbTax']").val(0); |
|
|
|
|
|
} |
|
|
|
|
|
}); |
|
|
|
|
|
$("#commonCurrency_edit").val(sysCustomerQuote.commonCurrency).trigger('change'); |
|
|
$("#commonCurrency_edit").val(sysCustomerQuote.commonCurrency).trigger('change'); |
|
|
}); |
|
|
}); |
|
|
$(function() { |
|
|
$(function() { |
|
|