Commit df1cce2b authored by 邓春圆's avatar 邓春圆

赔付金额,时间选择款报错修改

parent 79effc3a
<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>
......@@ -182,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>
......@@ -278,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">
......@@ -306,6 +314,7 @@ 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",
......@@ -317,6 +326,7 @@ export default {
customerId: Number
},
components: {
JdInputNumber,
CustomerFollow,
DictSelector,
customerSelect
......@@ -396,7 +406,6 @@ export default {
},
methods: {
getBillList(key){
getBillNoSearch({key, pageNo: 1, pageSize: 20}).then(r => {
if (r.code === 0){
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment