5846b42b by xiaomiao
2 parents 98e4a74d 2e09ae84
...@@ -166,8 +166,12 @@ export default { ...@@ -166,8 +166,12 @@ export default {
166 166
167 // 新增 167 // 新增
168 addClick () { 168 addClick () {
169 this.dialog = true 169 if(this.gyfs == '0' && this.tableDataList.length > 0){
170 this.isaddupdate = true 170 this.$message.warning("当前共有方式为单独所有,无法添加多个权利人")
171 }else{
172 this.dialog = true
173 this.isaddupdate = true
174 }
171 }, 175 },
172 176
173 // 删除 177 // 删除
......
...@@ -34,10 +34,8 @@ ...@@ -34,10 +34,8 @@
34 ></el-input> 34 ></el-input>
35 </el-form-item> 35 </el-form-item>
36 <el-form-item> 36 <el-form-item>
37 <!-- <el-button style="float:right">取消</el-button> --> 37 <el-button style="float:right" @click="cancelBack">取消</el-button>
38 <el-button type="primary" @click="onSubmit" style="float: right" 38 <el-button type="primary" @click="onSubmit" style="float:right">退回</el-button>
39 >退回</el-button
40 >
41 </el-form-item> 39 </el-form-item>
42 </el-form> 40 </el-form>
43 </div> 41 </div>
...@@ -45,7 +43,10 @@ ...@@ -45,7 +43,10 @@
45 </template> 43 </template>
46 44
47 <script> 45 <script>
48 import { getTaskBackNode, sendBackTask } from "@/api/fqsq.js"; 46
47 import { getTaskBackNode, sendBackTask } from "@/api/fqsq.js"
48 import { popupCacel } from "@/utils/popup.js";
49
49 export default { 50 export default {
50 props: { 51 props: {
51 formData: { 52 formData: {
...@@ -100,8 +101,12 @@ export default { ...@@ -100,8 +101,12 @@ export default {
100 } 101 }
101 }); 102 });
102 }, 103 },
103 }, 104
104 }; 105 cancelBack(){
106 popupCacel();
107 }
108 }
109 }
105 </script> 110 </script>
106 <style scoped lang="scss"> 111 <style scoped lang="scss">
107 @import "~@/styles/mixin.scss"; 112 @import "~@/styles/mixin.scss";
......