|
|
@ -271,7 +271,7 @@
|
|
|
|
$("#enlistM").html(money);
|
|
|
|
$("#enlistM").html(money);
|
|
|
|
$("#enlistNum").val(num);
|
|
|
|
$("#enlistNum").val(num);
|
|
|
|
$("#enlistMoney").val(money);
|
|
|
|
$("#enlistMoney").val(money);
|
|
|
|
|
|
|
|
$("input[name='enlistNum']").val(num);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
function plusNum(item){
|
|
|
|
function plusNum(item){
|
|
|
@ -317,12 +317,12 @@
|
|
|
|
function billTypeShowFun(index, userInfo){
|
|
|
|
function billTypeShowFun(index, userInfo){
|
|
|
|
if (parseInt(index) == 0) {
|
|
|
|
if (parseInt(index) == 0) {
|
|
|
|
$(".needWrite").removeClass("none");
|
|
|
|
$(".needWrite").removeClass("none");
|
|
|
|
$(".billUnit").attr("placeholder", "请填写公司单位名称").val(userInfo.school);
|
|
|
|
$(".billUnit").attr("placeholder", "请填写公司单位名称").val(userInfo.invoiceTitle || userInfo.school);
|
|
|
|
$(".taxNumber").removeClass("none");
|
|
|
|
$(".taxNumber").removeClass("none").val(userInfo.invoiceNo);
|
|
|
|
} else if (parseInt(index) == 1) {
|
|
|
|
} else if (parseInt(index) == 1) {
|
|
|
|
$(".needWrite").removeClass("none");
|
|
|
|
$(".needWrite").removeClass("none");
|
|
|
|
$(".billUnit").attr("placeholder", "请填写姓名").val(userInfo.name);
|
|
|
|
$(".billUnit").attr("placeholder", "请填写姓名").val(userInfo.name);
|
|
|
|
$(".taxNumber").addClass("none");
|
|
|
|
$(".taxNumber").val('').addClass("none");
|
|
|
|
} else {
|
|
|
|
} else {
|
|
|
|
$(".needWrite").addClass("none");
|
|
|
|
$(".needWrite").addClass("none");
|
|
|
|
$(".billInput").val('');
|
|
|
|
$(".billInput").val('');
|
|
|
|