|
@@ -6,6 +6,8 @@
|
|
|
:model="pageRequest"
|
|
:model="pageRequest"
|
|
|
class="demo-form-inline"
|
|
class="demo-form-inline"
|
|
|
size="small"
|
|
size="small"
|
|
|
|
|
+ :rules="queryRules"
|
|
|
|
|
+ ref="queryForm"
|
|
|
label-width="90px"
|
|
label-width="90px"
|
|
|
>
|
|
>
|
|
|
<el-row>
|
|
<el-row>
|
|
@@ -16,7 +18,7 @@
|
|
|
:lg="lgcell"
|
|
:lg="lgcell"
|
|
|
:xl="xlcell"
|
|
:xl="xlcell"
|
|
|
>
|
|
>
|
|
|
- <el-form-item label="保险公司:">
|
|
|
|
|
|
|
+ <el-form-item label="保险公司:" prop="companyId">
|
|
|
<el-select
|
|
<el-select
|
|
|
v-model="pageRequest.companyId"
|
|
v-model="pageRequest.companyId"
|
|
|
filterable
|
|
filterable
|
|
@@ -39,7 +41,7 @@
|
|
|
:lg="lgcell"
|
|
:lg="lgcell"
|
|
|
:xl="xlcell"
|
|
:xl="xlcell"
|
|
|
>
|
|
>
|
|
|
- <el-form-item label="机构:">
|
|
|
|
|
|
|
+ <el-form-item label="机构:" prop="deptId">
|
|
|
<el-cascader
|
|
<el-cascader
|
|
|
class="widths"
|
|
class="widths"
|
|
|
:options="institutionOptions"
|
|
:options="institutionOptions"
|
|
@@ -61,7 +63,7 @@
|
|
|
:lg="lgcell"
|
|
:lg="lgcell"
|
|
|
:xl="xlcell"
|
|
:xl="xlcell"
|
|
|
>
|
|
>
|
|
|
- <el-form-item label="出单时间:">
|
|
|
|
|
|
|
+ <el-form-item label="出单时间:" prop="startDate">
|
|
|
<el-date-picker
|
|
<el-date-picker
|
|
|
class="widths"
|
|
class="widths"
|
|
|
style="width: 220px"
|
|
style="width: 220px"
|
|
@@ -83,7 +85,7 @@
|
|
|
:lg="lgcell"
|
|
:lg="lgcell"
|
|
|
:xl="xlcell"
|
|
:xl="xlcell"
|
|
|
>
|
|
>
|
|
|
- <el-button type="primary" size="small" @click="onSubmit"
|
|
|
|
|
|
|
+ <el-button type="primary" size="small" @click="onSubmit('queryForm')"
|
|
|
>查询</el-button
|
|
>查询</el-button
|
|
|
>
|
|
>
|
|
|
</el-col>
|
|
</el-col>
|
|
@@ -389,6 +391,7 @@
|
|
|
import KtCommonTable from "@/views/Core/KtCommonTable.vue"; //表格组件
|
|
import KtCommonTable from "@/views/Core/KtCommonTable.vue"; //表格组件
|
|
|
import KtButton from "@/views/Core/KtButton";
|
|
import KtButton from "@/views/Core/KtButton";
|
|
|
import CommonUtil from "@/utils/comutil.js";
|
|
import CommonUtil from "@/utils/comutil.js";
|
|
|
|
|
+import DocQuery from "./DocQuery.vue";
|
|
|
export default {
|
|
export default {
|
|
|
components: {
|
|
components: {
|
|
|
KtCommonTable,
|
|
KtCommonTable,
|
|
@@ -461,6 +464,15 @@ export default {
|
|
|
{ prop: "allFeeValue", label: "总费用", minWidth: 160 },
|
|
{ prop: "allFeeValue", label: "总费用", minWidth: 160 },
|
|
|
{ prop: "finalFeeValue", label: "已结算费用", minWidth: 160 },
|
|
{ prop: "finalFeeValue", label: "已结算费用", minWidth: 160 },
|
|
|
],
|
|
],
|
|
|
|
|
+ queryRules: {
|
|
|
|
|
+ companyId: [
|
|
|
|
|
+ { required: true, message: "保险公司必传", trigger: "change" },
|
|
|
|
|
+ ],
|
|
|
|
|
+ deptId: [
|
|
|
|
|
+ { required: true, message: "机构必传", trigger: "change" },
|
|
|
|
|
+ ],
|
|
|
|
|
+ startDate: [{ required: true, message: "日期不能为空", trigger: "change" }],
|
|
|
|
|
+ },
|
|
|
};
|
|
};
|
|
|
},
|
|
},
|
|
|
created() {
|
|
created() {
|
|
@@ -494,19 +506,29 @@ export default {
|
|
|
});
|
|
});
|
|
|
},
|
|
},
|
|
|
//查询
|
|
//查询
|
|
|
- onSubmit() {
|
|
|
|
|
- this.$api.settlement
|
|
|
|
|
|
|
+ onSubmit(formName) {
|
|
|
|
|
+ this.$refs[formName].validate((valid) => {
|
|
|
|
|
+ if (valid) {
|
|
|
|
|
+ this.$api.settlement
|
|
|
.iscompanyTosettledQuery(this.pageRequest)
|
|
.iscompanyTosettledQuery(this.pageRequest)
|
|
|
.then((res) => {
|
|
.then((res) => {
|
|
|
if (res.code == "200") {
|
|
if (res.code == "200") {
|
|
|
this.pageResult = res.data;
|
|
this.pageResult = res.data;
|
|
|
- } else {
|
|
|
|
|
- this.$message({
|
|
|
|
|
|
|
+ if(res.data.content.length<1){
|
|
|
|
|
+ this.$message({
|
|
|
message: "无数据",
|
|
message: "无数据",
|
|
|
type: "warning",
|
|
type: "warning",
|
|
|
});
|
|
});
|
|
|
|
|
+ }
|
|
|
|
|
+ } else {
|
|
|
|
|
+ this.$message({
|
|
|
|
|
+ message: res.msg,
|
|
|
|
|
+ type: "error",
|
|
|
|
|
+ });
|
|
|
}
|
|
}
|
|
|
});
|
|
});
|
|
|
|
|
+ }
|
|
|
|
|
+ })
|
|
|
},
|
|
},
|
|
|
//保险公司查询
|
|
//保险公司查询
|
|
|
companyquery() {
|
|
companyquery() {
|
|
@@ -1210,8 +1232,6 @@ export default {
|
|
|
border-bottom: none;
|
|
border-bottom: none;
|
|
|
|
|
|
|
|
}
|
|
}
|
|
|
-.Risk_title>div:nth-child(1) {
|
|
|
|
|
-}
|
|
|
|
|
|
|
|
|
|
.Risk_title>div:nth-child(2) {
|
|
.Risk_title>div:nth-child(2) {
|
|
|
border-left: none;
|
|
border-left: none;
|