Commit b8b01bbd authored by 罗超's avatar 罗超

1

parent 6fcf4488
......@@ -59,7 +59,7 @@
:rules="[val => !!val || '密码']" />
<q-select filled stack-label option-value="Id" option-label="Name" v-model="objOption.LeaveStatus"
ref="Education" :options="LeaveStatusList" label="在职状态" :dense="false" class="col-6 q-pr-lg q-pb-lg"
emit-value map-options />
emit-value map-options />
<q-input v-show="objOption.AccountId>0 && objOption.LeaveStatus==4" filled v-model="objOption.LeaveTime"
class="col-6 q-pr-lg q-pb-lg" mask="date" label="离职时间">
<template v-slot:append>
......@@ -389,6 +389,14 @@
})
return;
}
if (this.saveObj.PropertyNumber>0&&this.objOption.LeaveStatus===4) {
this.$q.notify({
type: 'negative',
position: "top",
message: `有正在使用的资产,不能设置离职`
})
return;
}
this.saveLoading = true;
saveManager(this.objOption).then(res => {
this.saveLoading = false
......
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