|
@@ -264,23 +264,28 @@
|
|
|
}
|
|
|
if (!(!boatCarArr[i].departPlace || boatCarArr[i].departPlace.trim() === '')) {
|
|
|
z.ui.input("[name='TravelCostBoatCarDO[" + i + "]$departPlace']").setValue(boatCarArr[i].departPlace);
|
|
|
+ $("[name='TravelCostBoatCarDO[" + i + "]$departPlace']").attr('title',boatCarArr[i].departPlace);
|
|
|
}
|
|
|
if (!(!boatCarArr[i].arriveDate || boatCarArr[i].arriveDate.trim() === '')) {
|
|
|
z.ui.laydate("[name='TravelCostBoatCarDO[" + i + "]$arriveDate']").setValue(boatCarArr[i].arriveDate);
|
|
|
}
|
|
|
if (!(!boatCarArr[i].arrivePlace || boatCarArr[i].arrivePlace.trim() === '')) {
|
|
|
z.ui.input("[name='TravelCostBoatCarDO[" + i + "]$arrivePlace']").setValue(boatCarArr[i].arrivePlace);
|
|
|
+ $("[name='TravelCostBoatCarDO[" + i + "]$arrivePlace']").attr('title',boatCarArr[i].arrivePlace);
|
|
|
}
|
|
|
if (boatCarArr[i].invoiceNums != '') {
|
|
|
z.ui.input("[name='TravelCostBoatCarDO[" + i + "]$invoiceNums']").setValue(boatCarArr[i].invoiceNums);
|
|
|
+ $("[name='TravelCostBoatCarDO[" + i + "]$invoiceNums']").attr('title',boatCarArr[i].invoiceNums);
|
|
|
}
|
|
|
if (boatCarArr[i].amount != '') {
|
|
|
z.ui.input("[name='TravelCostBoatCarDO[" + i + "]$amount']").setValue(boatCarArr[i].amount);
|
|
|
+ $("[name='TravelCostBoatCarDO[" + i + "]$amount']").attr('title',boatCarArr[i].amount);
|
|
|
totalBoatCarAmount()
|
|
|
totalAmount()
|
|
|
}
|
|
|
if (!(!boatCarArr[i].remark || boatCarArr[i].remark.trim() === '')) {
|
|
|
z.ui.input("[name='TravelCostBoatCarDO[" + i + "]$remark']").setValue(boatCarArr[i].remark);
|
|
|
+ $("[name='TravelCostBoatCarDO[" + i + "]$remark']").attr('title',boatCarArr[i].remark);
|
|
|
}
|
|
|
if (!(!boatCarArr[i].travelCostId || boatCarArr[i].travelCostId.trim() === '')) {
|
|
|
$("#editBtn_boat_car_" + i).find("span").html("编辑")
|
|
@@ -488,17 +493,21 @@
|
|
|
}
|
|
|
if (!(!otherArr[i].costPlace || otherArr[i].costPlace.trim() === '')) {
|
|
|
z.ui.input("[name='TravelCostOtherDO[" + i + "]$costPlace']").setValue(otherArr[i].costPlace);
|
|
|
+ $("[name='TravelCostOtherDO[" + i + "]$costPlace']").attr('title',otherArr[i].costPlace);
|
|
|
}
|
|
|
if (otherArr[i].invoiceNums != '') {
|
|
|
z.ui.input("[name='TravelCostOtherDO[" + i + "]$invoiceNums']").setValue(otherArr[i].invoiceNums);
|
|
|
+ $("[name='TravelCostOtherDO[" + i + "]$invoiceNums']").attr('title',otherArr[i].invoiceNums);
|
|
|
}
|
|
|
if (otherArr[i].amount != '') {
|
|
|
z.ui.input("[name='TravelCostOtherDO[" + i + "]$amount']").setValue(otherArr[i].amount);
|
|
|
+ $("[name='TravelCostOtherDO[" + i + "]$amount']").attr('title',otherArr[i].amount);
|
|
|
totalOtherAmount()
|
|
|
totalAmount()
|
|
|
}
|
|
|
if (!(!otherArr[i].remark || otherArr[i].remark.trim() === '')) {
|
|
|
z.ui.input("[name='TravelCostOtherDO[" + i + "]$remark']").setValue(otherArr[i].remark);
|
|
|
+ $("[name='TravelCostOtherDO[" + i + "]$remark']").attr('title',otherArr[i].remark);
|
|
|
}
|
|
|
if (!(!otherArr[i].travelCostId || otherArr[i].travelCostId.trim() === '')) {
|
|
|
$("#editBtn_other_" + i).find("span").html("编辑")
|