This commit is contained in:
parent
39f0809be6
commit
1454ddf9bd
|
|
@ -129,6 +129,13 @@
|
||||||
@close="closeView"
|
@close="closeView"
|
||||||
>
|
>
|
||||||
<el-form ref="maForm" :model="maForm" :rules="rules" label-width="120px">
|
<el-form ref="maForm" :model="maForm" :rules="rules" label-width="120px">
|
||||||
|
<el-row :gutter="24">
|
||||||
|
<el-col :span="24">
|
||||||
|
<el-form-item label="领用工程" prop="projectName">
|
||||||
|
<el-input v-model="maForm.projectName" placeholder="请输入领用工程" readonly style="width: 240px" />
|
||||||
|
</el-form-item>
|
||||||
|
</el-col>
|
||||||
|
</el-row>
|
||||||
<el-row :gutter="24">
|
<el-row :gutter="24">
|
||||||
<el-col :span="16">
|
<el-col :span="16">
|
||||||
<el-form-item label="领用单位" prop="unitId">
|
<el-form-item label="领用单位" prop="unitId">
|
||||||
|
|
@ -291,6 +298,7 @@ export default {
|
||||||
productionTime: "",
|
productionTime: "",
|
||||||
},
|
},
|
||||||
maForm: {
|
maForm: {
|
||||||
|
projectName: undefined,
|
||||||
unitId: undefined,
|
unitId: undefined,
|
||||||
num: "",
|
num: "",
|
||||||
leasePerson: "",
|
leasePerson: "",
|
||||||
|
|
@ -425,6 +433,7 @@ export default {
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
this.title = "新增发布";
|
this.title = "新增发布";
|
||||||
|
this.maForm.projectName = this.leaseApplyData.leaseProject
|
||||||
await this.getUnit();
|
await this.getUnit();
|
||||||
this.openView = true;
|
this.openView = true;
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -201,7 +201,7 @@ export default {
|
||||||
created() {
|
created() {
|
||||||
const end = new Date()
|
const end = new Date()
|
||||||
let start = new Date()
|
let start = new Date()
|
||||||
start.setMonth(start.getMonth() - 1)
|
start.setFullYear(start.getFullYear() - 1); // 设置为去年的今天
|
||||||
this.queryParams.time = [this.format(start), this.format(end)]
|
this.queryParams.time = [this.format(start), this.format(end)]
|
||||||
this.initSelectData()
|
this.initSelectData()
|
||||||
this.getList()
|
this.getList()
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue