Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
J
jiedao-app-operator-master
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
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
lanbaoming
jiedao-app-operator-master
Commits
df1cce2b
Commit
df1cce2b
authored
Nov 24, 2023
by
邓春圆
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
赔付金额,时间选择款报错修改
parent
79effc3a
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
57 additions
and
10 deletions
+57
-10
jd-input-number.vue
src/views/ecw/customer/components/jd-input-number.vue
+38
-0
index.vue
src/views/ecw/customerComplaint/index.vue
+19
-10
No files found.
src/views/ecw/customer/components/jd-input-number.vue
0 → 100644
View file @
df1cce2b
<
script
>
export
default
{
name
:
"
jd-input-number
"
,
props
:{
value
:[
Number
,
String
]
},
computed
:{
val
:{
get
(){
return
this
.
value
},
set
(
val
){
this
.
$emit
(
'
input
'
,
val
)
}
}
}
}
</
script
>
<
template
>
<div
style=
"display: flex;"
>
<div
style=
"flex: 1"
>
<el-input-number
controls-position=
"right"
v-model=
"val"
style=
"width: 100%;text-align: left;"
></el-input-number>
</div>
<slot></slot>
</div>
</
template
>
<
style
scoped
lang=
"scss"
>
::v-deep
.el-input-number
{
.el-input__inner
{
text-align
:
left
;
}
span
{
display
:
none
;
}
}
</
style
>
src/views/ecw/customerComplaint/index.vue
View file @
df1cce2b
...
@@ -182,11 +182,13 @@
...
@@ -182,11 +182,13 @@
<el-input
type=
"textarea"
:placeholder=
"$t('请输入处理结果')"
v-model=
"form.result"
></el-input>
<el-input
type=
"textarea"
:placeholder=
"$t('请输入处理结果')"
v-model=
"form.result"
></el-input>
</el-form-item>
</el-form-item>
<el-form-item
v-show=
"form.status == '3'"
:label=
"$t('赔付金额')"
>
<el-form-item
v-show=
"form.status == '3'"
:label=
"$t('赔付金额')"
>
<
el-input
v-model=
"form.indemnity"
:placeholder=
"$t('请输入赔付金额')"
>
<
jd-input-number
v-model=
"form.indemnity"
>
<el-select
slot=
"append"
defaultable
v-model=
"form.currencyUnit"
:placeholder=
"$t('请选择货币单位')"
style=
"width: 110px"
>
<el-select
defaultable
v-model=
"form.currencyUnit"
:placeholder=
"$t('请选择货币单位')"
style=
"width: 110px"
>
<el-option
v-for=
"item in currencyList"
:key=
"item.id"
:label=
"isChinese ? item.titleZh : item.titleEn "
:value=
"item.id"
/>
<el-option
v-for=
"item in currencyList"
:key=
"item.id"
:label=
"isChinese ? item.titleZh : item.titleEn "
:value=
"item.id"
/>
</el-select>
</el-select>
</el-input>
</jd-input-number>
<!-- <el-input :placeholder="$t('请输入赔付金额')">-->
<!-- </el-input>-->
</el-form-item>
</el-form-item>
<el-form-item
v-show=
"form.status == '3'"
:label=
"$t('处理时间')"
required
>
<el-form-item
v-show=
"form.status == '3'"
:label=
"$t('处理时间')"
required
>
<span>
{{parseTime(form.handleAt)}}
</span>
<span>
{{parseTime(form.handleAt)}}
</span>
...
@@ -278,14 +280,20 @@
...
@@ -278,14 +280,20 @@
<el-input
type=
"textarea"
:placeholder=
"$t('请输入处理结果')"
v-model=
"form.result"
></el-input>
<el-input
type=
"textarea"
:placeholder=
"$t('请输入处理结果')"
v-model=
"form.result"
></el-input>
</el-form-item>
</el-form-item>
<el-form-item
v-show=
"form.status == '3'"
:label=
"$t('赔付金额')"
>
<el-form-item
v-show=
"form.status == '3'"
:label=
"$t('赔付金额')"
>
<
el-input
v-model=
"form.indemnity"
:placeholder=
"$t('请输入赔付金额')"
>
<
jd-input-number
v-model=
"form.indemnity"
>
<el-select
slot=
"append"
defaultable
v-model=
"form.currencyUnit"
:placeholder=
"$t('请选择货币单位')"
style=
"width: 110px"
>
<el-select
defaultable
v-model=
"form.currencyUnit"
:placeholder=
"$t('请选择货币单位')"
style=
"width: 110px"
>
<el-option
v-for=
"item in currencyList"
:key=
"item.id"
:label=
"isChinese ? item.titleZh :item.titleEn"
:value=
"item.id"
/>
<el-option
v-for=
"item in currencyList"
:key=
"item.id"
:label=
"isChinese ? item.titleZh :item.titleEn"
:value=
"item.id"
/>
</el-select>
</el-select>
</el-input>
</jd-input-number>
<!-- <el-input-number v-model.number="form.indemnity" :placeholder="$t('请输入赔付金额')">-->
<!-- <el-select slot="append" defaultable v-model="form.currencyUnit" :placeholder="$t('请选择货币单位')" style="width: 110px">-->
<!-- <el-option v-for="item in currencyList" :key="item.id" :label="isChinese ? item.titleZh :item.titleEn" :value="item.id" />-->
<!-- </el-select>-->
<!-- </el-input-number>-->
</el-form-item>
</el-form-item>
<el-form-item
v-show=
"form.status == '3'"
:label=
"$t('处理时间')"
required
>
<el-form-item
v-show=
"form.status == '3'"
:label=
"$t('处理时间')"
required
>
<el-date-picker
type=
"datetime"
v-model=
"form.handleAt"
value-format=
"yyyy-MM-dd HH:mm:ss"
format=
"yyyy-MM-dd HH:mm:ss"
></el-date-picker>
<el-date-picker
type=
"datetime"
v-model=
"form.handleAt"
>
</el-date-picker>
</el-form-item>
</el-form-item>
</el-form>
</el-form>
<span
slot=
"footer"
class=
"dialog-footer"
>
<span
slot=
"footer"
class=
"dialog-footer"
>
...
@@ -306,6 +314,7 @@ import { getBillNoSearch, getOrderNoSearch } from '@/api/ecw/order'
...
@@ -306,6 +314,7 @@ import { getBillNoSearch, getOrderNoSearch } from '@/api/ecw/order'
import
customerSelect
from
'
@/views/ecw/customer/customerSelect
'
import
customerSelect
from
'
@/views/ecw/customer/customerSelect
'
import
{
getCurrencyPage
}
from
"
@/api/ecw/currency
"
;
import
{
getCurrencyPage
}
from
"
@/api/ecw/currency
"
;
import
{
listServiceUser
}
from
"
@/api/system/user
"
;
import
{
listServiceUser
}
from
"
@/api/system/user
"
;
import
JdInputNumber
from
"
@/views/ecw/customer/components/jd-input-number.vue
"
;
export
default
{
export
default
{
name
:
"
CustomerComplaint
"
,
name
:
"
CustomerComplaint
"
,
...
@@ -317,6 +326,7 @@ export default {
...
@@ -317,6 +326,7 @@ export default {
customerId
:
Number
customerId
:
Number
},
},
components
:
{
components
:
{
JdInputNumber
,
CustomerFollow
,
CustomerFollow
,
DictSelector
,
DictSelector
,
customerSelect
customerSelect
...
@@ -396,7 +406,6 @@ export default {
...
@@ -396,7 +406,6 @@ export default {
},
},
methods
:
{
methods
:
{
getBillList
(
key
){
getBillList
(
key
){
getBillNoSearch
({
key
,
pageNo
:
1
,
pageSize
:
20
}).
then
(
r
=>
{
getBillNoSearch
({
key
,
pageNo
:
1
,
pageSize
:
20
}).
then
(
r
=>
{
if
(
r
.
code
===
0
){
if
(
r
.
code
===
0
){
...
...
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