Commit fd7a48a2 authored by zhengke's avatar zhengke

修改

parent 23dbf20a
......@@ -139,6 +139,17 @@
@click="deleteAssits(item.Id)"
/>
</div>
<div v-if="isShowBian(item)">
<q-btn
flat
size="xs"
icon="edit"
color="accent"
style="font-weight:400"
label="修改"
@click="getGuwenEditInfo(item)"
></q-btn>
</div>
</td>
</tr>
</table>
......@@ -211,7 +222,7 @@ export default {
if (res.Code == 1) {
let template = res.Data;
template.forEach(x => {
if (x.Id != 1 && x.Id != 2 && x.Id != 4) {
if (x.Id != 1 && x.Id != 4) {
this.AssistDropList.push(x);
}
});
......@@ -280,6 +291,16 @@ export default {
})
.catch(() => {});
},
//课程顾问是本人 显示编辑按钮
isShowBian(item){
let isShow=false;
if(item.AssistTypeName=='课程顾问'){
if(this.userInfo.AccountName==item.AssistName){
isShow=true
}
}
return isShow;
},
//删除协同
deleteAssits(Id) {
let that = this;
......@@ -313,6 +334,13 @@ export default {
this.AssitMsg.AssistId = obj.AssistId;
this.AssitMsg.AssistType = obj.AssistType;
this.isShowAdd = true;
},
getGuwenEditInfo(obj){
this.getRole();
this.AssitMsg.Id = obj.Id;
this.AssitMsg.AssistId = obj.AssistId;
this.AssitMsg.AssistType = obj.AssistType;
this.isShowAdd = true;
}
}
};
......
......@@ -468,7 +468,7 @@
}
}
if (this.BelongType == 3) {
this.noEdit = true;
// this.noEdit = true;
}
},
watch: {
......
......@@ -767,7 +767,7 @@
</div>
</div>
<div style="display:flex;justify-content:end;margin-top:20px;">
<q-btn label="保存" color="accent q-px-md" @click="saveInfo()" size="10px" style="font-weight:400 !important;" />
<q-btn label="保存" color="accent q-px-md" :disable="isSubmit" @click="saveInfo()" size="10px" style="font-weight:400 !important;" />
</div>
</div>
</div>
......@@ -956,7 +956,8 @@
costmode:true,
iscopy:1,//是否是复制 1是修改2为复制
isFrom:0, //1为批量制单
TopMoney:0 //费用说明金额
TopMoney:0, //费用说明金额
isSubmit:false
}
},
methods: {
......@@ -2137,7 +2138,9 @@
})
return
}
this.isSubmit=true;
this.apipost('Financial_post_BatchSet', this.msg, res => {
this.isSubmit=false;
if (res.data.resultCode == 1) {
this.$q.notify({
icon: 'iconfont icon-chenggong',
......
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