|
@@ -17,7 +17,7 @@
|
|
|
label: 'name', // 显示名称
|
|
|
children: 'children' // 子级字段名
|
|
|
}"
|
|
|
- :url="`/sys/user/treeUserDataByOfficeName?type=2&officeName=兴光会计`"
|
|
|
+ :url="`/sys/user/treeUserDataAllOffice?type=2`"
|
|
|
:value="inputForm.userId"
|
|
|
:clearable="true"
|
|
|
:accordion="true"
|
|
@@ -50,6 +50,17 @@
|
|
|
</el-form-item>
|
|
|
</el-col>
|
|
|
|
|
|
+ <el-col :span="12" v-if="method !== 'read'">
|
|
|
+ <el-form-item label="实发类型" prop="reimbursementFsalary"
|
|
|
+ :rules="[
|
|
|
+ {required: true, message:'请选择实发类型', trigger:'blur'}
|
|
|
+ ]">
|
|
|
+ <el-radio-group v-model="inputForm.reimbursementFsalary">
|
|
|
+ <el-radio v-for="item in $dictUtils.getDictList('reimbursement_fsalary')" :label="item.value" :key="item.id">{{item.label}}</el-radio>
|
|
|
+ </el-radio-group>
|
|
|
+ </el-form-item>
|
|
|
+ </el-col>
|
|
|
+
|
|
|
<el-col :span="12" v-if="this.show">
|
|
|
<el-form-item label="报销天数" prop="reimbursementDay" :rules="[{required: true, max: 10, message:'报销天数不能为空且只可为整数', trigger:'blur'}]">
|
|
|
<el-input v-model="inputForm.reimbursementDay" class="bg-grey" size="small" placeholder="报销天数" style="width: 100%;" @keyup.native="inputForm.reimbursementDay = checkInputs(inputForm.reimbursementDay)"></el-input>
|
|
@@ -121,6 +132,7 @@
|
|
|
userId: '', // 人员id
|
|
|
year: '', // 年份
|
|
|
reimbursementType: '', // 报销类型
|
|
|
+ reimbursementFsalary: '', // 实发类型
|
|
|
reimbursementQuota: '', // 年报销额度
|
|
|
reimbursementAmount: '', // 报销金额
|
|
|
reimbursementQuotaDay: '', // 日报销额度
|
|
@@ -295,6 +307,7 @@
|
|
|
this.$refs['inputForm'].validate((valid) => {
|
|
|
if (valid) {
|
|
|
this.loading = true
|
|
|
+ this.inputForm.officeType = 2
|
|
|
this.reimbursementBusiness.save(this.inputForm).then(({data}) => {
|
|
|
this.loading = false
|
|
|
this.visible = false
|