优化单据主表的单据类型

This commit is contained in:
季圣华
2020-12-10 00:02:55 +08:00
parent e456f6631a
commit c5ac7f09ac
2 changed files with 18 additions and 10 deletions

View File

@@ -117,15 +117,15 @@
<td style="padding:5px;width:130px;"> <td style="padding:5px;width:130px;">
<span id="OperTimeShow"></span> <span id="OperTimeShow"></span>
</td> </td>
<td style="width:80px;">单据编号:</td> <td style="width:70px;">单据编号:</td>
<td style="padding:5px;width:140px;"> <td style="padding:5px;width:130px;">
<span id="NumberShow"></span> <span id="NumberShow"></span>
</td> </td>
<td style="width:70px;">关联单号:</td> <td style="width:70px;">关联单号:</td>
<td style="padding:5px;width:140px;"> <td style="padding:5px;width:130px;">
<span id="LinkNumberShow"></span> <span id="LinkNumberShow"></span>
</td> </td>
<td style="width:100px;"> <td style="width:130px;">
<span id="billTypeShow"></span> <span id="billTypeShow"></span>
</td> </td>
</tr> </tr>
@@ -430,7 +430,11 @@
$("#DebtShow").text(debt); $("#DebtShow").text(debt);
$("#AccountDayShow").text(res.accountDay); //结算天数 $("#AccountDayShow").text(res.accountDay); //结算天数
$("#LinkNumberShow").text(res.linkNumber); //关联订单号 $("#LinkNumberShow").text(res.linkNumber); //关联订单号
$("#billTypeShow").text(res.billType); //单据类型 if(res.billType && res.billType!="undefined"){
$("#billTypeShow").text("单据类型"+res.billType); //单据类型
} else {
$("#billTypeShow").text("");
}
var otherMoney = res.otherMoney?res.otherMoney:0; var otherMoney = res.otherMoney?res.otherMoney:0;
if(otherMoney!=0 && res.otherMoneyList && res.otherMoneyItem){ if(otherMoney!=0 && res.otherMoneyList && res.otherMoneyItem){
var itemArr = res.otherMoneyList.split(","); //支出项目id列表 var itemArr = res.otherMoneyList.split(","); //支出项目id列表

View File

@@ -111,15 +111,15 @@
<td style="padding:5px;width:130px;"> <td style="padding:5px;width:130px;">
<span id="OperTimeShow"></span> <span id="OperTimeShow"></span>
</td> </td>
<td style="width:80px;">单据编号:</td> <td style="width:70px;">单据编号:</td>
<td style="padding:5px;width:140px;"> <td style="padding:5px;width:130px;">
<span id="NumberShow"></span> <span id="NumberShow"></span>
</td> </td>
<td style="width:70px;">关联单号:</td> <td style="width:70px;">关联单号:</td>
<td style="padding:5px;width:140px;"> <td style="padding:5px;width:130px;">
<span id="LinkNumberShow"></span> <span id="LinkNumberShow"></span>
</td> </td>
<td style="width:100px;"> <td style="width:130px;">
<span id="billTypeShow"></span> <span id="billTypeShow"></span>
</td> </td>
</tr> </tr>
@@ -423,7 +423,11 @@
$("#DebtShow").text(debt); $("#DebtShow").text(debt);
$("#AccountDayShow").text(res.accountDay); //结算天数 $("#AccountDayShow").text(res.accountDay); //结算天数
$("#LinkNumberShow").text(res.linkNumber); //关联订单号 $("#LinkNumberShow").text(res.linkNumber); //关联订单号
$("#billTypeShow").text(res.billType); //单据类型 if(res.billType && res.billType!="undefined"){
$("#billTypeShow").text("单据类型"+res.billType); //单据类型
} else {
$("#billTypeShow").text("");
}
var otherMoney = res.otherMoney?res.otherMoney:0; var otherMoney = res.otherMoney?res.otherMoney:0;
if(otherMoney!=0 && res.otherMoneyList && res.otherMoneyItem){ if(otherMoney!=0 && res.otherMoneyList && res.otherMoneyItem){
var itemArr = res.otherMoneyList.split(","); //支出项目id列表 var itemArr = res.otherMoneyList.split(","); //支出项目id列表