Преглед изворни кода

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

DongZ пре 1 година
родитељ
комит
8df2d32b43

+ 1 - 1
src/views/business/ehr/ehrpm-entrance.vue

@@ -1,5 +1,5 @@
 <template>
-	<div>
+	<div v-loading="loading">
 		正在前往DRP绩效...
 	</div>
 </template>

+ 4 - 5
src/views/business/ehr/pm/myPm/detail.vue

@@ -196,10 +196,7 @@ export default {
       //遮罩
       loading: false,
       //单行明细
-      rowData:{
-        asItem:null,
-        weight:null,
-      },
+      rowData:{},
       //是否显示行明细弹出层
       rowDataOpen:false,
       //当行明细校验规则
@@ -301,6 +298,9 @@ export default {
     //单行明细确认
     btnRowConfirm(){
       this.rowData.asItem = this.rowData.asItem ? true : false;
+      if(this.rowData.asItem){
+        this.rowData.weight = 0;
+      }
       if(this.rowData.asItem && this.rowData.weight > 0){
         this.$modal.msgWarning("已勾选加减分项,不允许有权重!");
         return;
@@ -440,7 +440,6 @@ export default {
     },
     //选择加减分项后
     handleCheckedChange(value){
-      this.rowData.weight = undefined;
     },
     //必选标识
     addRedStar(h, { column }) {