Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
S
SuperMan
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
1
Issues
1
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
罗超
SuperMan
Commits
17c9e546
Commit
17c9e546
authored
Jun 10, 2021
by
zhengke
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改
parent
770e3256
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
16 additions
and
10 deletions
+16
-10
addFinancialDocuments.vue
src/components/FinancialModule/addFinancialDocuments.vue
+7
-4
addReceivablesDocuments.vue
src/components/FinancialModule/addReceivablesDocuments.vue
+9
-6
No files found.
src/components/FinancialModule/addFinancialDocuments.vue
View file @
17c9e546
...
@@ -324,9 +324,9 @@
...
@@ -324,9 +324,9 @@
<td
height=
"26px"
>
<td
height=
"26px"
>
<input
v-model=
"da.UnitPrice"
type=
"text"
@
keydown=
"handleInput2"
@
blur=
"addList(2,daIn+1)"
@
change=
"Calculation(2,daIn+1)"
class=
"w80 h34 _border_b_1"
></input>
<input
v-model=
"da.UnitPrice"
type=
"text"
@
keydown=
"handleInput2"
@
blur=
"addList(2,daIn+1)"
@
change=
"Calculation(2,daIn+1)"
class=
"w80 h34 _border_b_1"
></input>
</td>
-->
</td>
-->
<td
height=
"26px"
><el-input
v-model=
"da.Number"
@
keyup
.
native=
"checkInteger(da,'Number')"
:disabled=
"daIn === 0 && XSTC"
type=
"text"
@
blur=
"addList(2,daIn+1)"
@
change=
"Calculation(2,daIn+1)"
class=
"w80 _border_b_1"
></el-input></td>
<td
height=
"26px"
><el-input
v-model=
"da.Number"
@
keyup
.
native=
"checkInteger(da,'Number')"
@
input=
"chages($event)"
:disabled=
"daIn === 0 && XSTC"
type=
"text"
@
blur=
"addList(2,daIn+1)"
@
change=
"Calculation(2,daIn+1)"
class=
"w80 _border_b_1"
></el-input></td>
<td
height=
"26px"
>
<td
height=
"26px"
>
<el-input
v-model=
"da.UnitPrice"
type=
"text"
:disabled=
"((msg.TemplateId == 43 || msg.TemplateId == 48 || msg.TemplateId == 56 || msg.TemplateId == 53) && !ZhuiJiaTK) || (daIn === 0 && XSTC)"
@
keyup
.
native=
"checkPrice(da,'UnitPrice',true)"
@
blur=
"addList(2,daIn+1)"
@
change=
"Calculation(2,daIn+1)"
class=
"w80 h34 _border_b_1"
></el-input>
<el-input
v-model=
"da.UnitPrice"
@
input=
"chages($event)"
type=
"text"
:disabled=
"((msg.TemplateId == 43 || msg.TemplateId == 48 || msg.TemplateId == 56 || msg.TemplateId == 53) && !ZhuiJiaTK) || (daIn === 0 && XSTC)"
@
keyup
.
native=
"checkPrice(da,'UnitPrice',true)"
@
blur=
"addList(2,daIn+1)"
@
change=
"Calculation(2,daIn+1)"
class=
"w80 h34 _border_b_1"
></el-input>
</td>
</td>
<td
height=
"26px"
>
<td
height=
"26px"
>
<el-select
filterable
:disabled=
"detailCurrDis || (daIn === 0 && XSTC)"
v-model=
'da.CurrencyId'
:placeholder=
"$t('rule.qxzbzhong')"
@
change=
"getRate(da.CostTypeId,da.CurrencyId,2,daIn),addList(2,daIn+1)"
class=
" _border_b_1"
>
<el-select
filterable
:disabled=
"detailCurrDis || (daIn === 0 && XSTC)"
v-model=
'da.CurrencyId'
:placeholder=
"$t('rule.qxzbzhong')"
@
change=
"getRate(da.CostTypeId,da.CurrencyId,2,daIn),addList(2,daIn+1)"
class=
" _border_b_1"
>
...
@@ -341,7 +341,7 @@
...
@@ -341,7 +341,7 @@
<!-- @blur="addList(2,daIn+1)" @change="Calculation(2,daIn+1)" -->
<!-- @blur="addList(2,daIn+1)" @change="Calculation(2,daIn+1)" -->
<td
height=
"26px"
><el-input
v-model=
"da.Rate"
type=
"text"
:disabled=
"true"
class=
"w80 _border_b_1"
></el-input></td>
<td
height=
"26px"
><el-input
v-model=
"da.Rate"
type=
"text"
:disabled=
"true"
class=
"w80 _border_b_1"
></el-input></td>
<td
height=
"26px"
>
{{
da
.
bTotalPrice
}}
</td>
<td
height=
"26px"
>
{{
da
.
bTotalPrice
}}
</td>
<td
height=
"26px"
><el-input
v-model=
"da.Remark"
type=
"textarea"
class=
"w80 _border_b_1"
></el-input>
<i
@
click=
"deleteRow(daIn,da)"
class=
"_delete_row iconfont icon-img_delete_small"
></i></td>
<td
height=
"26px"
><el-input
v-model=
"da.Remark"
type=
"textarea"
class=
"w80 _border_b_1"
@
input=
"chages($event)"
></el-input>
<i
@
click=
"deleteRow(daIn,da)"
class=
"_delete_row iconfont icon-img_delete_small"
></i></td>
</tr>
</tr>
</
template
>
</
template
>
...
@@ -393,7 +393,7 @@
...
@@ -393,7 +393,7 @@
<!-- @blur="addList(1)" @change="Calculation(1)" -->
<!-- @blur="addList(1)" @change="Calculation(1)" -->
<td><el-input
v-model=
"detailList.Rate"
type=
"text"
:disabled=
"true"
class=
"w80 _border_b_1"
></el-input></td>
<td><el-input
v-model=
"detailList.Rate"
type=
"text"
:disabled=
"true"
class=
"w80 _border_b_1"
></el-input></td>
<td>
{{detailList.bTotalPrice}}
</td>
<td>
{{detailList.bTotalPrice}}
</td>
<td><el-input
v-model=
"detailList.Remark"
type=
"textarea"
@
blur=
"addList(1)"
class=
"w80 _border_b_1"
></el-input></td>
<td><el-input
v-model=
"detailList.Remark"
type=
"textarea"
@
blur=
"addList(1)"
@
input=
"chages($event)"
class=
"w80 _border_b_1"
></el-input></td>
</tr>
</tr>
<tr
v-if=
"msg.detailList.length<2"
>
<tr
v-if=
"msg.detailList.length<2"
>
<td
height=
"26px"
></td>
<td
height=
"26px"
></td>
...
@@ -1076,6 +1076,9 @@ export default {
...
@@ -1076,6 +1076,9 @@ export default {
show
:
false
,
show
:
false
,
}
}
},
},
chages
(
e
){
//处理输入框不能输入问题
this
.
$forceUpdate
()
},
Calculation
(
t
,
i
){
// 计算原币 本位币
Calculation
(
t
,
i
){
// 计算原币 本位币
let
numberC
=
0
;
let
numberC
=
0
;
let
price
=
0
;
let
price
=
0
;
...
...
src/components/FinancialModule/addReceivablesDocuments.vue
View file @
17c9e546
...
@@ -443,11 +443,11 @@
...
@@ -443,11 +443,11 @@
<input
v-model=
"da.UnitPrice"
type=
"number"
@
keydown=
"handleInput2"
@
change=
"Calculation(2,daIn+1)"
@
blur=
"addList(2,daIn+1)"
class=
"w80 h34 _border_b_1"
></input>
<input
v-model=
"da.UnitPrice"
type=
"number"
@
keydown=
"handleInput2"
@
change=
"Calculation(2,daIn+1)"
@
blur=
"addList(2,daIn+1)"
class=
"w80 h34 _border_b_1"
></input>
</td>
-->
</td>
-->
<td
height=
"26px"
>
<td
height=
"26px"
>
<el-input
v-model=
"da.Number"
@
keyup
.
native=
"checkInteger(da,'Number')"
type=
"text"
<el-input
v-model=
"da.Number"
@
keyup
.
native=
"checkInteger(da,'Number')"
type=
"text"
@
input=
"chages($event)"
@
blur=
"addList(2,daIn+1)"
@
change=
"Calculation(2,daIn+1)"
class=
"w80 _border_b_1"
></el-input>
@
blur=
"addList(2,daIn+1)"
@
change=
"Calculation(2,daIn+1)"
class=
"w80 _border_b_1"
></el-input>
</td>
</td>
<td
height=
"26px"
>
<td
height=
"26px"
>
<el-input
v-model=
"da.UnitPrice"
type=
"text"
@
keyup
.
native=
"checkPrice(da,'UnitPrice',true)"
<el-input
v-model=
"da.UnitPrice"
type=
"text"
@
keyup
.
native=
"checkPrice(da,'UnitPrice',true)"
@
input=
"chages($event)"
@
change=
"Calculation(2,daIn+1)"
@
blur=
"addList(2,daIn+1)"
class=
"w80 h34 _border_b_1"
></el-input>
@
change=
"Calculation(2,daIn+1)"
@
blur=
"addList(2,daIn+1)"
class=
"w80 h34 _border_b_1"
></el-input>
</td>
</td>
<td
height=
"26px"
>
<td
height=
"26px"
>
...
@@ -460,7 +460,7 @@
...
@@ -460,7 +460,7 @@
</td>
</td>
<td
height=
"26px"
>
{{
da
.
bTotalPrice
}}
</td>
<td
height=
"26px"
>
{{
da
.
bTotalPrice
}}
</td>
<td
height=
"26px"
>
<td
height=
"26px"
>
<el-input
v-model=
"da.Remark"
type=
"textarea"
class=
"w80 _border_b_1"
></el-input>
<i
<el-input
v-model=
"da.Remark"
type=
"textarea"
class=
"w80 _border_b_1"
@
input=
"chages($event)"
></el-input>
<i
@
click=
"deleteRow(daIn,da)"
class=
"_delete_row iconfont icon-img_delete_small"
></i>
@
click=
"deleteRow(daIn,da)"
class=
"_delete_row iconfont icon-img_delete_small"
></i>
</td>
</td>
</tr>
</tr>
...
@@ -480,12 +480,12 @@
...
@@ -480,12 +480,12 @@
<input v-model="detailList.UnitPrice" type="number" @keydown="handleInput2" @change="Calculation(1)" @blur="addList(1)" class="w80 h34 _border_b_1"></input>
<input v-model="detailList.UnitPrice" type="number" @keydown="handleInput2" @change="Calculation(1)" @blur="addList(1)" class="w80 h34 _border_b_1"></input>
</td> -->
</td> -->
<td>
<td>
<el-input
v-model=
"detailList.Number"
type=
"text"
@
keyup
.
native=
"checkInteger(detailList,'Number')"
<el-input
v-model=
"detailList.Number"
type=
"text"
@
keyup
.
native=
"checkInteger(detailList,'Number')"
@
input=
"chages($event)"
@
blur=
"addList(1)"
@
change=
"Calculation(1)"
class=
"w80 _border_b_1"
></el-input>
@
blur=
"addList(1)"
@
change=
"Calculation(1)"
class=
"w80 _border_b_1"
></el-input>
</td>
</td>
<td>
<td>
<el-input
v-model=
"detailList.UnitPrice"
type=
"text"
<el-input
v-model=
"detailList.UnitPrice"
type=
"text"
@
keyup
.
native=
"checkPrice(detailList,'UnitPrice',true)"
@
change=
"Calculation(1)"
@
blur=
"addList(1)"
@
keyup
.
native=
"checkPrice(detailList,'UnitPrice',true)"
@
change=
"Calculation(1)"
@
blur=
"addList(1)"
@
input=
"chages($event)"
class=
"w80 h34 _border_b_1"
></el-input>
class=
"w80 h34 _border_b_1"
></el-input>
</td>
</td>
<td>
<td>
...
@@ -498,7 +498,7 @@
...
@@ -498,7 +498,7 @@
</td>
</td>
<td>
{{detailList.bTotalPrice}}
</td>
<td>
{{detailList.bTotalPrice}}
</td>
<td>
<td>
<el-input
v-model=
"detailList.Remark"
@
blur=
"addList(1)"
type=
"textarea"
class=
"w80 _border_b_1"
>
<el-input
v-model=
"detailList.Remark"
@
blur=
"addList(1)"
type=
"textarea"
class=
"w80 _border_b_1"
@
input=
"chages($event)"
>
</el-input>
</el-input>
</td>
</td>
</tr>
</tr>
...
@@ -1510,6 +1510,9 @@
...
@@ -1510,6 +1510,9 @@
this
.
msg
.
BankList
[
0
].
Fee
=
parseFloat
(
this
.
msg
.
BankList
[
0
].
ybFee
);
this
.
msg
.
BankList
[
0
].
Fee
=
parseFloat
(
this
.
msg
.
BankList
[
0
].
ybFee
);
this
.
$forceUpdate
();
this
.
$forceUpdate
();
},
},
chages
(){
this
.
$forceUpdate
()
},
shouxufeiJiSuan
:
function
()
{
shouxufeiJiSuan
:
function
()
{
let
price
=
0
;
let
price
=
0
;
this
.
msg
.
detailList
.
forEach
(
y
=>
{
this
.
msg
.
detailList
.
forEach
(
y
=>
{
...
...
Write
Preview
Markdown
is supported
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