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
be5d6219
Commit
be5d6219
authored
Nov 24, 2023
by
邓春圆
Committed by
dragondean@qq.com
Nov 25, 2023
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
赔付金额,时间选择报错修改
parent
983ca0c7
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
70 additions
and
11 deletions
+70
-11
jd-input-number.vue
src/views/ecw/customer/components/jd-input-number.vue
+38
-0
index.vue
src/views/ecw/customerComplaint/index.vue
+32
-11
No files found.
src/views/ecw/customer/components/jd-input-number.vue
0 → 100644
View file @
be5d6219
<
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 @
be5d6219
...
...
@@ -31,6 +31,12 @@
<el-date-picker
v-model=
"dateRangeCreateTime"
style=
"width: 240px"
value-format=
"yyyy-MM-dd"
type=
"daterange"
range-separator=
"-"
:start-placeholder=
"$t('开始日期')"
:end-placeholder=
"$t('结束日期')"
/>
</el-form-item>
<el-form-item
label=
"登记客服"
>
<el-select
v-model=
"queryParams.adminId"
:placeholder=
"$t('请选择客户经理')"
>
<el-option
v-for=
"item in serviceUserList"
:key=
"item.id"
:label=
"item.nickname"
:value=
"item.id"
/>
</el-select>
</el-form-item>
<el-form-item>
<el-button
type=
"primary"
icon=
"el-icon-search"
@
click=
"handleQuery"
>
{{
$t
(
'
搜索
'
)
}}
</el-button>
<el-button
icon=
"el-icon-refresh"
@
click=
"resetQuery"
>
{{
$t
(
'
重置
'
)
}}
</el-button>
...
...
@@ -176,11 +182,13 @@
<el-input
type=
"textarea"
:placeholder=
"$t('请输入处理结果')"
v-model=
"form.result"
></el-input>
</el-form-item>
<el-form-item
v-show=
"form.status == '3'"
:label=
"$t('赔付金额')"
>
<el-input
v-model=
"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>
<jd-input-number
v-model=
"form.indemnity"
>
<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-select>
</jd-input-number>
<!-- <el-input :placeholder="$t('请输入赔付金额')">-->
<!-- </el-input>-->
</el-form-item>
<el-form-item
v-show=
"form.status == '3'"
:label=
"$t('处理时间')"
required
>
<span>
{{parseTime(form.handleAt)}}
</span>
...
...
@@ -272,14 +280,20 @@
<el-input
type=
"textarea"
:placeholder=
"$t('请输入处理结果')"
v-model=
"form.result"
></el-input>
</el-form-item>
<el-form-item
v-show=
"form.status == '3'"
:label=
"$t('赔付金额')"
>
<
el-input
v-model=
"form.indemnity"
:placeholder=
"$t('请输入赔付金额')"
>
<el-select
slot=
"append"
defaultable
v-model=
"form.currencyUnit"
:placeholder=
"$t('请选择货币单位')"
style=
"width: 110px"
>
<
jd-input-number
v-model=
"form.indemnity"
>
<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-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
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>
<span
slot=
"footer"
class=
"dialog-footer"
>
...
...
@@ -299,6 +313,8 @@ import { DICT_TYPE, getDictDataLabel, getDictDatas } from '@/utils/dict'
import
{
getBillNoSearch
,
getOrderNoSearch
}
from
'
@/api/ecw/order
'
import
customerSelect
from
'
@/views/ecw/customer/customerSelect
'
import
{
getCurrencyPage
}
from
"
@/api/ecw/currency
"
;
import
{
listServiceUser
}
from
"
@/api/system/user
"
;
import
JdInputNumber
from
"
@/views/ecw/customer/components/jd-input-number.vue
"
;
export
default
{
name
:
"
CustomerComplaint
"
,
...
...
@@ -310,6 +326,7 @@ export default {
customerId
:
Number
},
components
:
{
JdInputNumber
,
CustomerFollow
,
DictSelector
,
customerSelect
...
...
@@ -376,16 +393,19 @@ export default {
page
:
1
,
rows
:
20
,
},
currencyList
:[]
currencyList
:[],
serviceUserList
:[]
};
},
created
()
{
listServiceUser
().
then
(
r
=>
{
this
.
serviceUserList
=
r
.
data
})
this
.
getList
();
getCurrencyPage
(
this
.
params
).
then
(
res
=>
this
.
currencyList
=
res
.
data
.
list
)
},
methods
:
{
getBillList
(
key
){
getBillNoSearch
({
key
,
pageNo
:
1
,
pageSize
:
20
}).
then
(
r
=>
{
if
(
r
.
code
===
0
){
...
...
@@ -459,6 +479,7 @@ export default {
resetQuery
()
{
this
.
dateRangeCreateTime
=
[];
this
.
resetForm
(
"
queryForm
"
);
this
.
queryParams
.
adminId
=
null
;
this
.
handleQuery
();
},
/** 新增按钮操作 */
...
...
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