Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
P
patzn-cloud-web-back-soil
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
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
wangweidong
patzn-cloud-web-back-soil
Commits
ffd39298
Commit
ffd39298
authored
Jun 30, 2020
by
lichengming
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改了委托单管理的客户在线委托单
parent
8daca1e9
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
3 deletions
+11
-3
MeterGoOutTestEdit.vue
pages/meter-entrust/client-online/MeterGoOutTestEdit.vue
+11
-3
No files found.
pages/meter-entrust/client-online/MeterGoOutTestEdit.vue
View file @
ffd39298
...
@@ -44,8 +44,8 @@
...
@@ -44,8 +44,8 @@
<Form-item
label=
"合同号:"
prop=
"contractCode"
class=
"width-48"
>
<Form-item
label=
"合同号:"
prop=
"contractCode"
class=
"width-48"
>
<Input
v-model=
"formObj.contractCode"
name=
"contractCode"
placeholder=
"请输入合同号"
/>
<Input
v-model=
"formObj.contractCode"
name=
"contractCode"
placeholder=
"请输入合同号"
/>
</Form-item>
</Form-item>
<Form-item
label=
"委托费用:"
prop=
"
cost
"
class=
"width-48"
>
<Form-item
label=
"委托费用:"
prop=
"
operation.fee
"
class=
"width-48"
>
<Input
@
keydown
.
native=
"channelInputLimit"
v-model=
"formObj.operation.fee"
type=
"number"
name=
"
cost
"
placeholder=
"请输入委托费用"
/>
<Input
@
keydown
.
native=
"channelInputLimit"
v-model=
"formObj.operation.fee"
type=
"number"
name=
"
operation.fee
"
placeholder=
"请输入委托费用"
/>
</Form-item>
</Form-item>
<Form-item
label=
"备注:"
prop=
"remark"
style=
"width: 99.8%"
>
<Form-item
label=
"备注:"
prop=
"remark"
style=
"width: 99.8%"
>
<Input
v-model=
"formObj.remark"
:rows=
"3"
name=
"remark"
type=
"textarea"
<Input
v-model=
"formObj.remark"
:rows=
"3"
name=
"remark"
type=
"textarea"
...
@@ -143,6 +143,13 @@ import EditModal from './EditModal'
...
@@ -143,6 +143,13 @@ import EditModal from './EditModal'
export
default
{
export
default
{
components
:
{
EditModal
,
CityNameCascader
,
AutoComplete
},
components
:
{
EditModal
,
CityNameCascader
,
AutoComplete
},
data
()
{
data
()
{
const
validatefee
=
(
rule
,
value
,
callback
)
=>
{
if
(
this
.
formObj
.
operation
.
fee
===
''
)
{
callback
(
new
Error
(
'内容不能为空'
))
}
else
{
callback
()
}
}
const
validateRemark
=
(
rule
,
value
,
callback
)
=>
{
const
validateRemark
=
(
rule
,
value
,
callback
)
=>
{
if
(
this
.
testedCityData
.
length
===
0
)
{
if
(
this
.
testedCityData
.
length
===
0
)
{
callback
(
new
Error
(
'内容不能为空'
))
callback
(
new
Error
(
'内容不能为空'
))
...
@@ -230,9 +237,10 @@ export default {
...
@@ -230,9 +237,10 @@ export default {
}
}
},
},
ruleValidate
:
{
ruleValidate
:
{
cost
:
[
'operation.fee'
:
[
{
{
required
:
true
,
required
:
true
,
validator
:
validatefee
,
message
:
'委托费用不能为空'
,
message
:
'委托费用不能为空'
,
trigger
:
'blur'
trigger
:
'blur'
}
}
...
...
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