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
8e2144a4
Commit
8e2144a4
authored
Mar 27, 2025
by
吴春
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1
parent
b8a73d5e
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
26 additions
and
11 deletions
+26
-11
VisaProductOrder.vue
src/components/SalesVisa/VisaProductOrder.vue
+26
-11
No files found.
src/components/SalesVisa/VisaProductOrder.vue
View file @
8e2144a4
...
...
@@ -816,13 +816,19 @@
<span
v-show=
"nameShow"
>
{{
visaProduct
}}
</span>
</div>
<div
v-if=
"visaProduct.indexOf('日本')!=-1"
>
<el-switch
<el-radio-group
v-model=
"SwitchStatus"
size=
"mini"
>
<el-radio-button
label=
"1"
>
{{
$t
(
'objFill.v101.administrative.yijianzhidan'
)
}}
</el-radio-button>
<el-radio-button
label=
"0"
>
{{
$t
(
'objFill.oneclickfinish'
)
}}
</el-radio-button>
<el-radio-button
label=
"2"
>
{{
$t
(
'objFill.v101.Rest.xiugaijingr'
)
}}
</el-radio-button>
<el-radio-button
label=
"3"
>
{{
$t
(
'objFill.v101.Rest.xiugaisongqr'
)
}}
</el-radio-button>
</el-radio-group>
<!--
<el-switch
v-model=
"SwitchStatus"
:active-text=
"$t('objFill.v101.administrative.yijianzhidan')"
in:active-text=
"$t('objFill.oneclickfinish')"
active-value=
"1"
inactive-value=
"0"
@
change=
"handleClear"
>
</el-switch>
</el-switch>
-->
</div>
</div>
<div
class=
"query-box"
style=
"border:none"
>
...
...
@@ -874,13 +880,14 @@
<button
class=
"hollowFixedBtn"
@
click=
"getList()"
>
{{
$t
(
'pub.searchBtn'
)
}}
</button>
<button
class=
"hollowFixedBtn"
@
click=
"goUrlCb"
>
{{
$t
(
'objFill.v101.Rest.chakanchenb'
)
}}
</button>
<el-button
v-if=
"IsSupperOrderEdit"
class=
"hollowFixedBtn"
@
click=
"SwitchStatus==0?setCompleted():setPrepareDocument()"
:loading=
"CompletedLoading"
>
{{
SwitchStatus
==
0
?
$t
(
'objFill.oneclickfinish'
):
$t
(
'objFill.v101.administrative.yijianzhidan'
)
}}
</el-button>
<el-button
v-if=
"IsSupperOrderEdit"
class=
"hollowFixedBtn"
@
click=
"setEnterTimeOrSignOutTimeDocument(1)"
@
click=
"SwitchStatus==0?setCompleted():(SwitchStatus==1?setPrepareDocument():(SwitchStatus==2?setEnterTimeOrSignOutTimeDocument(1):setEnterTimeOrSignOutTimeDocument(2)))"
:loading=
"CompletedLoading"
>
{{
SwitchStatus
==
0
?
$t
(
'objFill.oneclickfinish'
):(
SwitchStatus
==
1
?
$t
(
'objFill.v101.administrative.yijianzhidan'
):(
SwitchStatus
==
2
?
$t
(
'objFill.v101.Rest.xiugaijingr'
):
$t
(
'objFill.v101.Rest.xiugaisongqr'
)))
}}
</el-button>
<!--
<el-button
v-if=
"IsSupperOrderEdit"
class=
"hollowFixedBtn"
@
click=
"setEnterTimeOrSignOutTimeDocument(1)"
:loading=
"CompletedLoading"
>
{{
$t
(
'objFill.v101.Rest.xiugaijingr'
)
}}
</el-button>
<el-button
v-if=
"IsSupperOrderEdit"
class=
"hollowFixedBtn"
@
click=
"setEnterTimeOrSignOutTimeDocument(2)"
:loading=
"CompletedLoading"
>
{{
$t
(
'objFill.v101.Rest.xiugaisongqr'
)
}}
</el-button>
:loading=
"CompletedLoading"
>
{{
$t
(
'objFill.v101.Rest.xiugaisongqr'
)
}}
</el-button>
-->
</li>
</ul>
</div>
...
...
@@ -1243,8 +1250,8 @@
@
change=
"getTimeInfo"
>
</el-date-picker></span>
<span
slot=
"footer"
class=
"dialog-footer"
>
<el-button
@
click=
"clearEnterTimeOrSignOutTimeMsg()"
>
取 消
</el-button>
<el-button
type=
"primary"
@
click=
"SetEnterTimeOrSignOutTimeMsg()"
>
确 定
</el-button>
<el-button
@
click=
"clearEnterTimeOrSignOutTimeMsg()"
>
取 消
</el-button>
<el-button
type=
"primary"
@
click=
"SetEnterTimeOrSignOutTimeMsg()"
:loading=
"enterTimeOrSignOutTimeloading"
>
确 定
</el-button>
</span>
</el-dialog>
</div>
...
...
@@ -1259,11 +1266,12 @@
return
{
ids
:
''
,
showDocumentPreparation
:
false
,
SwitchStatus
:
0
,
//0 完结 1制单
SwitchStatus
:
0
,
//0 完结 1制单
,2批量修改进馆时间,3-批量修改出签时间
titleType
:
null
,
title
:
''
,
showTransferOrder
:
false
,
showEnterTimeOrSignOutTime
:
false
,
//设置进馆时间/出签时间
enterTimeOrSignOutTimeloading
:
false
,
queryObj
:
null
,
cdState
:
false
,
IsSupperOrderEdit
:
false
,
//获取总经理副总经理超级修改权限
...
...
@@ -1326,6 +1334,7 @@
this
.
handleClear
();
},
SetEnterTimeOrSignOutTimeMsg
(){
this
.
enterTimeOrSignOutTimeloading
=
true
;
this
.
apipost
(
'post_visa_SetVisaOrderEnterTimeOrSignOutTime'
,
this
.
EnterTimeOrSignOutTimeMsg
,
res
=>
{
if
(
res
.
data
.
resultCode
==
1
)
{
this
.
clearEnterTimeOrSignOutTimeMsg
();
...
...
@@ -1334,25 +1343,31 @@
}
else
{
this
.
Error
(
res
.
data
.
message
)
}
his
.
enterTimeOrSignOutTimeloading
=
false
;
},
err
=>
{})
},
handleClear
(){
this
.
$refs
.
multipleTable
.
clearSelection
()
},
selectable
(
row
,
index
){
selectable
(
row
,
index
){
/// SwitchStatus 0 完结 1制单,2批量修改进馆时间,3-批量修改出签时间
console
.
log
(
"SwitchStatus 0 完结 1制单,2批量修改进馆时间,3-批量修改出签时间"
,
this
.
SwitchStatus
);
if
(
this
.
SwitchStatus
==
0
){
if
(
this
.
dataList
[
index
].
IsFinish
!=
1
&&
this
.
dataList
[
index
].
Income
>
0
&&
this
.
dataList
[
index
].
DueInMoney
==
0
)
{
return
true
;
}
else
{
return
false
;
}
}
else
{
}
else
if
(
this
.
SwitchStatus
==
1
)
{
if
(
this
.
dataList
[
index
].
FinanceList
&&
this
.
dataList
[
index
].
FinanceList
.
length
>
0
&&
this
.
dataList
[
index
].
VisaOrderStatus
==
1
){
return
true
}
else
{
return
false
}
}
else
{
return
true
}
},
handleSelectionChange
(
val
)
{
this
.
multipleSelection
=
JSON
.
parse
(
JSON
.
stringify
(
val
))
...
...
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