|
@@ -75,7 +75,11 @@
|
|
|
<td>行政区划</td>
|
|
|
<td colspan="3">{{getXzqh()}}</td>
|
|
|
<td>补贴标准</td>
|
|
|
- <td colspan="3">{{selectDictLabels(dict.type['GL013'], rowData.btbz)}}</td>
|
|
|
+ <td>{{selectDictLabels(dict.type['GL013'], rowData.btbz)}}</td>
|
|
|
+ <td>当发月份</td>
|
|
|
+ <td>
|
|
|
+ {{rowData.dfyf&&rowData.dfyf.length>=6?rowData.dfyf.slice(0,4)+'-'+rowData.dfyf.slice(-2):rowData.dfyf}}
|
|
|
+ </td>
|
|
|
</tr>
|
|
|
<tr>
|
|
|
<td>追加原因</td>
|
|
@@ -349,7 +353,7 @@
|
|
|
</td>
|
|
|
</tr>
|
|
|
<tr>
|
|
|
- <td colspan="2">
|
|
|
+ <td>
|
|
|
<el-form-item label="补贴标准" prop="btbz">
|
|
|
<el-select style="width: 100%" v-model="form.btbz" placeholder="请选择补贴标准">
|
|
|
<el-option
|
|
@@ -361,6 +365,15 @@
|
|
|
</el-select>
|
|
|
</el-form-item>
|
|
|
</td>
|
|
|
+ <td>
|
|
|
+ <el-form-item label="当发月份" prop="dfyf">
|
|
|
+ <el-date-picker
|
|
|
+ style="width: 100%" v-model="form.dfyf"
|
|
|
+ :picker-options="ffyfPickerOptions2"
|
|
|
+ value-format="yyyyMM" type="month" placeholder="当发月份"
|
|
|
+ ></el-date-picker>
|
|
|
+ </el-form-item>
|
|
|
+ </td>
|
|
|
<!--<td>-->
|
|
|
<!--<el-form-item label="发放类别" prop="fflx">-->
|
|
|
<!--<el-select style="width: 100%" multiple v-model="form.fflx" placeholder="请选择补贴标准">-->
|
|
@@ -665,6 +678,15 @@
|
|
|
return time.getTime() > lastMonthDate.getTime();
|
|
|
},
|
|
|
},
|
|
|
+ ffyfPickerOptions2: {
|
|
|
+ disabledDate: (time) => {
|
|
|
+ // this.upper =
|
|
|
+ const date = new Date(); // 注意:月份的取值范围是 0-11
|
|
|
+ // 获取当前月份
|
|
|
+ const lastMonthDate = new Date(date.getFullYear(), date.getMonth());
|
|
|
+ return time.getTime() < lastMonthDate.getTime();
|
|
|
+ },
|
|
|
+ },
|
|
|
// 表单校验
|
|
|
rules: {
|
|
|
xzqh: [
|
|
@@ -680,6 +702,9 @@
|
|
|
endyf: [
|
|
|
{required: true, message: "结束发放月份不能为空", trigger: "blur"},
|
|
|
],
|
|
|
+ dfyf: [
|
|
|
+ {required: true, message: "当发月份不能为空", trigger: "blur"},
|
|
|
+ ],
|
|
|
zjyy: [
|
|
|
{required: true, message: "追加原因不能为空", trigger: "blur"},
|
|
|
{max: 100, message: '追加原因不能超过100个字符', trigger: 'blur'},
|
|
@@ -889,6 +914,7 @@
|
|
|
pcmc: null,
|
|
|
startyf: null,
|
|
|
endyf: null,
|
|
|
+ dfyf:null,
|
|
|
btbz: null,
|
|
|
// fflx: [],
|
|
|
jkzk: null,
|
|
@@ -914,6 +940,7 @@
|
|
|
id: this.rowData.id,
|
|
|
startyf: null,
|
|
|
endyf: null,
|
|
|
+ dfyf:null,
|
|
|
btbz: null,
|
|
|
// fflx: [],
|
|
|
jkzk: null,
|