Pārlūkot izejas kodu

Merge branch 'dev' of http://172.16.100.139/new-business/drp-web into dev

黄梓星 2 gadi atpakaļ
vecāks
revīzija
72b2a277c5

+ 1 - 1
src/views/business/spd/bo/basic/details.vue

@@ -334,7 +334,7 @@ export default {
             break;
           case '4':
             this.totalRevenue = "医院营收总额";
-            this.estimate = "医院耗材预估值(万元)"
+            this.estimate = "军队医院设备预估额(万元)"
             break;
           case '5':
             this.totalRevenue = "项目总额";

+ 1 - 1
src/views/business/spd/bo/basic/index.vue

@@ -631,7 +631,7 @@ export default {
             break;
           case '4':
             this.totalRevenue = "医院营收总额";
-            this.estimate = "医院耗材预估值(万元)"
+            this.estimate = "军队医院设备预估额(万元)"
             break;
           case '5':
             this.totalRevenue = "项目总额";

+ 8 - 5
src/views/business/spd/bo/statement/proportion/index.vue

@@ -1,11 +1,12 @@
 <template>
   <div class="app-container">
     <el-form :model="queryParams" ref="queryForm" size="small" :inline="true" v-show="showSearch" label-width="68px">
-      <el-form-item label="商机日期" prop="code">
+      <el-form-item label="商机日期" prop="yearMonth">
         <el-date-picker
           type="month"
           v-model="queryParams.yearMonth"
           placeholder="选择月份"
+          @change="yearMonthChange"
           >
         </el-date-picker>
       </el-form-item>
@@ -104,8 +105,7 @@ export default {
       queryParams: {
         pageNum: 1,
         pageSize: 10,
-        // yearMonth: new Date().Format(),
-        yearMonth: new Date(),
+        yearMonth: new Date().Format(),
         boType: null,
         boSource: null,
         deptName: null,
@@ -124,7 +124,6 @@ export default {
     /** 查询职责列表 */
     getList() {
       this.loading = true;
-      this.queryParams.yearMonth = this.queryParams.yearMonth.Format();
       listProportion(this.queryParams).then(response => {
         this.list = response.rows;
         for(let item of this.list) {
@@ -167,7 +166,7 @@ export default {
     /** 重置按钮操作 */
     resetQuery() {
       this.resetForm("queryForm");
-      this.queryParams.yearMonth = new Date();
+      this.queryParams.yearMonth = new Date().Format();
       this.handleQuery();
     },
     // 多选框选中数据
@@ -234,6 +233,10 @@ export default {
       try{m+=s2.split(".")[1].length}catch(e){}
       return Number(s1.replace(".",""))*Number(s2.replace(".",""))/Math.pow(10,m)
     },
+    //选月份后
+    yearMonthChange(value) {
+      this.queryParams.yearMonth = value.Format();
+    },
   }
 };
 </script>