Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
saas_plus
/
dj-car-life-system
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit 6f8784f1
authored
Mar 15, 2023
by
wangql
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
修复测试BUG
1 parent
81c6f688
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
78 deletions
src/views/systemConfig/deviceManage/deviceHistory.vue
src/views/systemConfig/deviceManage/editDevice.vue
src/views/systemConfig/deviceManage/deviceHistory.vue
View file @
6f8784f
...
@@ -2,7 +2,7 @@
...
@@ -2,7 +2,7 @@
<d2-Container>
<d2-Container>
<div
class=
"divece-history"
>
<div
class=
"divece-history"
>
<div
class=
"title"
>
<div
class=
"title"
>
我是终端编码
{{
recordInfo
.
posTrmNo
}}
</div>
</div>
<div
class=
"account-detail"
<div
class=
"account-detail"
ref=
"accountDetail"
>
ref=
"accountDetail"
>
...
@@ -89,88 +89,17 @@ export default {
...
@@ -89,88 +89,17 @@ export default {
return
{
return
{
formArray
:
[],
formArray
:
[],
recordInfo
:
null
,
recordInfo
:
null
,
// testData: [{
// "id": 287,
// "merchantId": 44210956,
// "merchantName": "老梁用车",
// "yqMerchantId": 44210956,
// "yqMerchantName": "老梁用车",
// "effectStartDate": 1672045943000,
// "effectEndDate": null,
// "createdBy": "glsadmin",
// "createdDate": 1672037915000
// }, {
// "id": 285,
// "merchantId": 44210956,
// "merchantName": "老梁用车",
// "yqMerchantId": 44210956,
// "yqMerchantName": "老梁用车",
// "effectStartDate": 1672037366000,
// "effectEndDate": 1672045943000,
// "createdBy": "glsadmin",
// "createdDate": 1672037366000
// }, {
// "id": 103,
// "merchantId": 44210956,
// "merchantName": "老梁用车",
// "yqMerchantId": 44210956,
// "yqMerchantName": "老梁用车",
// "effectStartDate": 1656432000000,
// "effectEndDate": 1656559315000,
// "createdBy": "glsadmin",
// "createdDate": 1656559315000
// }, {
// "id": 97,
// "merchantId": 44210956,
// "merchantName": "老梁用车",
// "yqMerchantId": 44210956,
// "yqMerchantName": "老梁用车",
// "effectStartDate": 1656172800000,
// "effectEndDate": 1656432000000,
// "createdBy": "system",
// "createdDate": 1656432000000
// }, {
// "id": 91,
// "merchantId": 44210956,
// "merchantName": "老梁用车",
// "yqMerchantId": 44210956,
// "yqMerchantName": "老梁用车",
// "effectStartDate": 1656000000000,
// "effectEndDate": 1656172800000,
// "createdBy": "system",
// "createdDate": 1656172800000
// }, {
// "id": 51,
// "merchantId": 44210956,
// "merchantName": "老梁用车",
// "yqMerchantId": 44210956,
// "yqMerchantName": "老梁用车",
// "effectStartDate": 1644545185000,
// "effectEndDate": 1656000000000,
// "createdBy": "system",
// "createdDate": 1656000000000
// }, {
// "id": 50,
// "merchantId": 44210956,
// "merchantName": "老梁用车",
// "yqMerchantId": 44210956,
// "yqMerchantName": "老梁用车",
// "effectStartDate": 1644545169000,
// "effectEndDate": 1644545185000,
// "createdBy": "glsadmin",
// "createdDate": 1644545185000
// }]
}
}
},
},
components
:
{
components
:
{
},
},
computed
:
{},
computed
:
{
},
created
()
{
created
()
{
this
.
recordInfo
=
this
.
$route
.
params
.
info
},
},
mounted
()
{
mounted
()
{
this
.
recordInfo
=
this
.
$route
.
params
.
info
this
.
getHistoryRecord
()
this
.
getHistoryRecord
()
},
},
methods
:
{
methods
:
{
...
@@ -184,7 +113,6 @@ export default {
...
@@ -184,7 +113,6 @@ export default {
this
.
formArray
=
this
.
formArray
.
map
((
element
,
index
)
=>
{
this
.
formArray
=
this
.
formArray
.
map
((
element
,
index
)
=>
{
if
(
SelectIndex
==
index
)
{
if
(
SelectIndex
==
index
)
{
element
.
show
=
!
element
.
show
element
.
show
=
!
element
.
show
console
.
log
(
element
);
}
else
{
}
else
{
element
.
show
=
false
element
.
show
=
false
}
}
...
...
src/views/systemConfig/deviceManage/editDevice.vue
View file @
6f8784f
...
@@ -20,7 +20,7 @@
...
@@ -20,7 +20,7 @@
</el-tooltip>
:
</el-tooltip>
:
</span>
</span>
<el-input
v-model
.
trim=
"form.posTrmNo"
<el-input
v-model
.
trim=
"form.posTrmNo"
maxlength=
"
8
"
maxlength=
"
20
"
class=
"itd"
class=
"itd"
placeholder=
"请输入POS机的终端编码"
placeholder=
"请输入POS机的终端编码"
:disabled=
"isDisabled"
:disabled=
"isDisabled"
...
@@ -160,7 +160,7 @@ export default {
...
@@ -160,7 +160,7 @@ export default {
var
info
=
deepClone
(
res
)
var
info
=
deepClone
(
res
)
this
.
form
.
posTrmNo
=
info
.
posTrmNo
this
.
form
.
posTrmNo
=
info
.
posTrmNo
this
.
form
.
yqMerchantId
=
info
.
yqMerchantId
.
toString
()
this
.
form
.
yqMerchantId
=
info
.
yqMerchantId
.
toString
()
this
.
form
.
merchantId
=
info
.
merchantId
.
toString
()
this
.
form
.
merchantId
=
info
.
merchantId
})
})
},
},
...
...
Write
Preview
Markdown
is supported
Attach a file
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 post a comment