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
4de35dd8
Commit
4de35dd8
authored
Jul 10, 2023
by
youjie
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
no message
parent
95b97307
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
143 additions
and
103 deletions
+143
-103
Details.vue
src/components/Details.vue
+1
-1
VisaFinancialDocuments.vue
src/components/SalesModule/VisaFinancialDocuments.vue
+65
-26
offset.vue
src/components/public/offset.vue
+77
-76
No files found.
src/components/Details.vue
View file @
4de35dd8
...
...
@@ -142,7 +142,7 @@
let
opContents
=
x
.
querySelectorAll
(
".query-box ul li"
);
if
(
opContents
&&
opContents
.
length
>
0
)
{
this
.
navWidth
=
document
.
querySelector
(
".flexParent"
).
offsetWidth
-
opContents
[
opContents
.
length
-
1
].
offsetWidth
-
5
0
.
length
-
1
].
offsetWidth
-
16
0
}
else
{
this
.
navWidth
=
document
.
querySelector
(
".flexParent"
).
offsetWidth
-
20
;
}
...
...
src/components/SalesModule/VisaFinancialDocuments.vue
View file @
4de35dd8
...
...
@@ -233,8 +233,10 @@
</tr>
</table>
<p
class=
"sfd_tit clearfix"
>
付款单
<!-- <input type="button" v-if="qjGroupId==userInfo.RB_Group_id || F_Finance_Create" value="预付款冲抵" class="normalBtn" @click="OpenOrder2(2,'Offset')"> -->
<input
type=
"button"
v-if=
"qjGroupId==userInfo.RB_Group_id || F_Finance_Create"
value=
"增加签证财务单据"
class=
"normalBtn"
@
click=
"OpenOrder(2)"
>
<input
type=
"button"
v-if=
"qjGroupId==userInfo.RB_Group_id || F_Finance_Create"
value=
"增加保险财务单据"
class=
"normalBtn"
@
click=
"OpenOrder2(2)"
></p>
<input
type=
"button"
v-if=
"qjGroupId==userInfo.RB_Group_id || F_Finance_Create"
value=
"增加保险财务单据"
class=
"normalBtn"
@
click=
"OpenOrder2(2)"
>
</p>
<table
border=
"0"
cellspacing=
"1"
cellpadding=
"0"
class=
"teamRevenueExpenditureTable"
>
<tr>
<th
width=
"100"
>
单号
</th>
...
...
@@ -363,12 +365,20 @@
<el-button
size=
"mini"
style=
"background:#E95252;color:#fff;border:none"
@
click=
"addFinancialOrder"
>
确 定
</el-button>
</span>
</el-dialog>
<!-- 预付款冲抵 -->
<offset
:isShow=
"cdState"
:obj=
"queryObj"
@
close=
"cdState=false"
@
success=
"cdState=false,dialogVisible=false"
></offset>
</div>
</template>
<
script
>
import
offset
from
'../public/offset.vue'
;
export
default
{
components
:
{
offset
},
data
()
{
return
{
Offset
:
null
,
queryObj
:
null
,
cdState
:
false
,
qjGroupId
:
-
1
,
F_Finance_Create
:
false
,
//制单权限
userInfo
:{},
...
...
@@ -514,7 +524,12 @@ export default {
}
},
null
)
},
OpenOrder2
(
num
){
OpenOrder2
(
num
,
Offset
){
if
(
Offset
){
this
.
Offset
=
Offset
}
else
{
this
.
Offset
=
null
}
this
.
checkd
=
false
;
this
.
checkList
=
[];
this
.
checkListAll
=
[];
...
...
@@ -579,30 +594,54 @@ export default {
SourceID
:
0
,
TCIDList
:
TCIDARR
}
if
(
this
.
type
===
1
)
{
this
.
$router
.
push
({
name
:
'ChoiceAddFinancialDocuments'
,
query
:{
"Type"
:
1
,
"companyID"
:
this
.
OutBranchId
,
"path"
:
""
,
'blank'
:
'y'
,
'orderObj'
:
JSON
.
stringify
(
orderObj
)
}
});
// if (this.type === 1) {
// this.$router.push({
// name: 'ChoiceAddFinancialDocuments',
// query:{
// "Type": 1,
// "companyID": this.OutBranchId,
// "path": "",
// 'blank': 'y',
// 'orderObj': JSON.stringify(orderObj)
// }
// });
// this.dialogVisible=false;
// } else if (this.type === 2) {
// this.$router.push({
// name: 'ChoiceAddFinancialDocuments',
// query:{
// "Type": 2,
// "companyID": this.OutBranchId,
// "path": "",
// 'blank': 'y',
// 'orderObj': JSON.stringify(orderObj)
// }
// });
// }
if
(
!
this
.
Offset
){
this
.
dialogVisible
=
false
;
}
else
if
(
this
.
type
===
2
)
{
this
.
$router
.
push
({
name
:
'ChoiceAddFinancialDocuments'
,
query
:{
"Type"
:
2
,
"Type"
:
this
.
type
,
"companyID"
:
this
.
OutBranchId
,
"path"
:
""
,
'blank'
:
'y'
,
'orderObj'
:
JSON
.
stringify
(
orderObj
)
}
});
this
.
dialogVisible
=
false
;
}
else
{
let
query
=
{};
query
=
{
path
:
'SaleOrderModule'
,
companyID
:
this
.
OutBranchId
,
visaType
:
true
,
blank
:
'y'
,
orderObj
:
JSON
.
stringify
(
orderObj
),
Type
:
this
.
type
,
}
this
.
queryObj
=
query
this
.
cdState
=
true
}
},
...
...
src/components/public/offset.vue
View file @
4de35dd8
...
...
@@ -153,8 +153,9 @@
this
.
queryObj
.
orderObj
=
JSON
.
stringify
(
this
.
tradeObj
)
}
let
query
=
this
.
queryObj
this
.
$emit
(
'success'
)
this
.
close
()
this
.
$store
.
commit
(
"ChoiceAddFinancialDocuments"
);
//
this.$store.commit("ChoiceAddFinancialDocuments");
this
.
$router
.
push
({
path
:
"/ChoiceAddFinancialDocuments"
,
query
...
...
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