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
e7c4a787
Commit
e7c4a787
authored
Oct 16, 2024
by
liudong1993
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1
parent
153dfc35
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
38 additions
and
0 deletions
+38
-0
HuichaImport.vue
src/components/systemManagement/HuichaImport.vue
+38
-0
No files found.
src/components/systemManagement/HuichaImport.vue
View file @
e7c4a787
...
...
@@ -173,6 +173,7 @@
</td>
<td>
<
template
v-if=
"item.OrderList.length!=1"
><i
class=
"el-icon-edit"
style=
"cursor: pointer;"
@
click=
"ClickBind(item.Id,item.CarNum,item.SDate,item.DepartAddress,item.ArriveAddress)"
></i></
template
>
<
template
v-if=
"item.OrderList.length==1 && item.OrderList[0].FinanceIdList && item.OrderList[0].FinanceIdList.length>1"
><i
class=
"el-icon-share"
style=
"cursor: pointer;"
@
click=
"ClickBind2(item.Id,item.CarNum,item.SDate,item.DepartAddress,item.ArriveAddress)"
></i></
template
>
</td>
</tr>
</table>
...
...
@@ -207,6 +208,18 @@
<el-button
type=
"primary"
@
click=
"BindOrder()"
>
确 定
</el-button>
</div>
</el-dialog>
<el-dialog
custom-class=
'w400'
title=
"绑定单据"
:visible
.
sync=
"dialogFormVisible2"
>
<div
style=
"margin-bottom: 20px;"
>
{{BindContent}}
</div>
<el-form>
<el-form-item
label=
"单据ID"
label-width=
"110px"
>
<el-input
v-model=
"BindOrderId"
autocomplete=
"off"
placeholder=
"请输入财务单号"
></el-input>
</el-form-item>
</el-form>
<div
slot=
"footer"
class=
"dialog-footer"
>
<el-button
@
click=
"dialogFormVisible2 = false"
>
取 消
</el-button>
<el-button
type=
"primary"
@
click=
"BindOrder2()"
>
确 定
</el-button>
</div>
</el-dialog>
<el-dialog
custom-class=
'w400'
title=
"高速折扣"
:visible
.
sync=
"dialogGS"
>
<el-form>
...
...
@@ -239,6 +252,7 @@ export default {
TotalMoney
:
0
,
dialogFormVisible
:
false
,
dialogFormVisible2
:
false
,
dialogGS
:
false
,
BindId
:
0
,
BindOrderId
:
''
,
...
...
@@ -344,6 +358,30 @@ export default {
}
},
err
=>
{})
},
ClickBind2
(
Id
,
CarNum
,
SDate
,
DepartAddress
,
ArriveAddress
){
this
.
BindContent
=
SDate
+
"、"
+
CarNum
+
"、"
+
DepartAddress
+
"->"
+
ArriveAddress
;
this
.
BindId
=
Id
;
this
.
BindOrderId
=
''
;
this
.
dialogFormVisible2
=
true
;
},
BindOrder2
(){
if
(
this
.
BindId
<=
0
){
this
.
$message
.
error
(
'ID未抓取,请联系管理员'
);
return
;}
if
(
this
.
BindOrderId
==
""
){
this
.
$message
.
error
(
'请输入需要绑定的单据ID'
);
return
;}
this
.
apipost
(
'Financial_post_SetETCOrder'
,{
Id
:
this
.
BindId
,
BindFrId
:
this
.
BindOrderId
},
res
=>
{
if
(
res
.
data
.
resultCode
==
1
){
this
.
dialogFormVisible2
=
false
;
this
.
$message
({
message
:
'绑定成功'
,
type
:
'success'
});
this
.
GetETCData
();
}
else
{
this
.
dialogFormVisible2
=
false
;
this
.
$message
.
error
(
'绑定失败,请联系管理员'
);
}
},
err
=>
{})
},
downloadExcel
()
{
this
.
loadingDC
=
true
;
this
.
GetLocalFile
(
"Financial_post_GetNewCarETCPPDataListToExcel"
,
{},
`ETC差额.xls`
,
x
=>
{
...
...
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