Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
jinli gu
JSH ERP
Commits
c5ac7f09
Commit
c5ac7f09
authored
Dec 10, 2020
by
季圣华
Browse files
优化单据主表的单据类型
parent
e456f663
Changes
2
Hide whitespace changes
Inline
Side-by-side
erp_web/pages/bill/other_in_list.html
View file @
c5ac7f09
...
@@ -117,15 +117,15 @@
...
@@ -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:
8
0px;"
>
单据编号:
</td>
<td
style=
"width:
7
0px;"
>
单据编号:
</td>
<td
style=
"padding:5px;width:1
4
0px;"
>
<td
style=
"padding:5px;width:1
3
0px;"
>
<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:1
4
0px;"
>
<td
style=
"padding:5px;width:1
3
0px;"
>
<span
id=
"LinkNumberShow"
></span>
<span
id=
"LinkNumberShow"
></span>
</td>
</td>
<td
style=
"width:1
0
0px;"
>
<td
style=
"width:1
3
0px;"
>
<span
id=
"billTypeShow"
></span>
<span
id=
"billTypeShow"
></span>
</td>
</td>
</tr>
</tr>
...
@@ -430,7 +430,11 @@
...
@@ -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列表
...
...
erp_web/pages/bill/other_out_list.html
View file @
c5ac7f09
...
@@ -111,15 +111,15 @@
...
@@ -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:
8
0px;"
>
单据编号:
</td>
<td
style=
"width:
7
0px;"
>
单据编号:
</td>
<td
style=
"padding:5px;width:1
4
0px;"
>
<td
style=
"padding:5px;width:1
3
0px;"
>
<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:1
4
0px;"
>
<td
style=
"padding:5px;width:1
3
0px;"
>
<span
id=
"LinkNumberShow"
></span>
<span
id=
"LinkNumberShow"
></span>
</td>
</td>
<td
style=
"width:1
0
0px;"
>
<td
style=
"width:1
3
0px;"
>
<span
id=
"billTypeShow"
></span>
<span
id=
"billTypeShow"
></span>
</td>
</td>
</tr>
</tr>
...
@@ -423,7 +423,11 @@
...
@@ -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列表
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment