|
@@ -53,6 +53,7 @@
|
|
|
</div>
|
|
|
<div class="ftab flexc">
|
|
|
<div class="line"></div>上报项目建设进展情况
|
|
|
+ <span style="color: red; font-size: 12px;">(请先保存建设信息在填写上报项目建设进展情况)</span>
|
|
|
<div class="flex1"></div>
|
|
|
<el-button type="primary" plain class="upbox" plain >
|
|
|
提交
|
|
@@ -61,7 +62,7 @@
|
|
|
<div class="rowbox">
|
|
|
<el-row :gutter="22">
|
|
|
<el-col :span="24" style="margin-bottom: 12px;">
|
|
|
- <drag-file-upload v-model="form.desc"/>
|
|
|
+ <drag-file-upload v-model="form.jylist" :datam="jyzhp" :data="jyzhp"/>
|
|
|
</el-col>
|
|
|
<el-col :span="12">
|
|
|
<el-form-item label="建设进展情况" prop="jzqk">
|
|
@@ -73,11 +74,7 @@
|
|
|
<el-input type="textarea" placeholder="输入存在的问题…" v-model="form.czwt"></el-input>
|
|
|
</el-form-item>
|
|
|
</el-col>
|
|
|
- <el-col :span="6">
|
|
|
- <el-form-item label="实际到位资金(万元)" prop="tableName">
|
|
|
- <el-input placeholder="实际到位资金(万元)" v-model="form.czwt" />
|
|
|
- </el-form-item>
|
|
|
- </el-col>
|
|
|
+
|
|
|
<el-col :span="6">
|
|
|
<el-form-item label="土地出让金总额(万元)" prop="tdcrzje">
|
|
|
<el-input placeholder="请输入土地出让金总额" v-model="form.tdcrzje" />
|
|
@@ -90,7 +87,7 @@
|
|
|
</el-col>
|
|
|
<el-col :span="6">
|
|
|
<el-form-item label="设备清单金额(万元)" prop="className">
|
|
|
- <el-input placeholder="请输入设备清单金额" v-model="form.czwt" />
|
|
|
+ <el-input placeholder="请输入设备清单金额" v-model="form.sbqd" />
|
|
|
</el-form-item>
|
|
|
</el-col>
|
|
|
<el-col :span="6">
|
|
@@ -103,6 +100,11 @@
|
|
|
<el-input placeholder="请输入设备合同金额" v-model="form.htje" />
|
|
|
</el-form-item>
|
|
|
</el-col>
|
|
|
+ <el-col :span="6">
|
|
|
+ <el-form-item label="实际到位资金(万元)" prop="tableName">
|
|
|
+ <el-input placeholder="实际到位资金(万元)" v-model="form.czwt" />
|
|
|
+ </el-form-item>
|
|
|
+ </el-col>
|
|
|
</el-row>
|
|
|
</div>
|
|
|
<div class="ftab flexc" style="padding-top: 7px;">
|
|
@@ -111,7 +113,7 @@
|
|
|
<div class="rowbox" style="width: 100%;overflow: hidden;">
|
|
|
<el-table :max-height="213" :data="tableDataa" border style="width: 100%;margin-bottom: 15px;">
|
|
|
<el-table-column align="center" prop="jzqk" label="建设进展情况" > </el-table-column>
|
|
|
- <el-table-column align="center" prop="czwt" label="存在的问题" > </el-table-column>
|
|
|
+ <el-table-column align="center" prop="sbqd" label="存在的问题" > </el-table-column>
|
|
|
<el-table-column align="center" prop="fjlx" label="实际到位资金(万元)" > </el-table-column>
|
|
|
<el-table-column align="center" prop="cftrje" label="厂房投入金额(万元)" > </el-table-column>
|
|
|
<el-table-column align="center" prop="sbqd" label="设备清单金额(万元)" > </el-table-column>
|
|
@@ -151,7 +153,7 @@
|
|
|
<template slot-scope="scope">
|
|
|
<div class="flexcc">
|
|
|
<div class="btna flexc coa">
|
|
|
- <fileUploadt v-model="info.jylist" :datam="jyzhp" :data="jyzhp" v-if="scope.row.index == 0"/>
|
|
|
+ <!-- <fileUploadt v-model="info.jylist" :datam="jyzhp" :data="jyzhp" v-if="scope.row.index == 0"/> -->
|
|
|
<fileUploadt v-model="info.xshtlist" :datam="xsht" :data="xsht" v-if="(scope.row.index == 1 && issfe)" />
|
|
|
<fileUploadt v-model="info.xsfqlist" :datam="xsfp" :data="xsfp" v-if="(scope.row.index == 2 && issfe)" />
|
|
|
<fileUploadt v-model="info.cwbblist" :datam="cwbb" :data="cwbb" v-if="(scope.row.index == 3 && issfe)" />
|
|
@@ -166,7 +168,7 @@
|
|
|
</el-form>
|
|
|
<div class="flexcc pt7">
|
|
|
<!-- <el-button type="primary" plain>暂存</el-button> -->
|
|
|
- <el-button type="primary" style="margin-left: 26px;">提交</el-button>
|
|
|
+ <el-button type="primary" style="margin-left: 26px;" @click="submitForm">提交</el-button>
|
|
|
</div>
|
|
|
|
|
|
|
|
@@ -195,11 +197,7 @@ export default {
|
|
|
value: '选项2',
|
|
|
label: '双皮奶'
|
|
|
}],
|
|
|
- tableData: [{
|
|
|
- fjlx: '项目每月建设照片',
|
|
|
- index:0,
|
|
|
- time: '2025-06-16 16:57',
|
|
|
- },
|
|
|
+ tableData: [
|
|
|
{
|
|
|
fjlx: '设备清单',
|
|
|
index:1,
|
|
@@ -235,18 +233,11 @@ export default {
|
|
|
dialogFormVisible:false,
|
|
|
input:'',
|
|
|
rules: {
|
|
|
- // tableName: [
|
|
|
- // { required: true, message: "请输入表名称", trigger: "blur" }
|
|
|
- // ],
|
|
|
- // tableComment: [
|
|
|
- // { required: true, message: "请输入表描述", trigger: "blur" }
|
|
|
- // ],
|
|
|
- // className: [
|
|
|
- // { required: true, message: "请输入实体类名称", trigger: "blur" }
|
|
|
- // ],
|
|
|
- // functionAuthor: [
|
|
|
- // { required: true, message: "请输入作者", trigger: "blur" }
|
|
|
- // ]
|
|
|
+ beginTime: [
|
|
|
+ { required: true, message: "请输入", trigger: "blur" }
|
|
|
+ ],
|
|
|
+
|
|
|
+
|
|
|
},
|
|
|
jyzhp:{
|
|
|
fileName:'项目每月建设照片',
|
|
@@ -289,6 +280,63 @@ export default {
|
|
|
this.loading = false
|
|
|
})
|
|
|
},
|
|
|
+ // 每月更新提交
|
|
|
+ handleAdd(){
|
|
|
+ if(this.form.tcxxYear == null){
|
|
|
+ this.$message.error('请填写年度');
|
|
|
+ return
|
|
|
+ }
|
|
|
+ if(this.form.tcxxMonth == null){
|
|
|
+ this.$message.error('请填写月份');
|
|
|
+ return
|
|
|
+ }
|
|
|
+ this.form.xmbh = this.info.xmbh
|
|
|
+ addJdqk(this.form).then(response => {
|
|
|
+ this.$modal.msgSuccess("新增成功")
|
|
|
+ this.open = false
|
|
|
+ this.getList()
|
|
|
+ })
|
|
|
+ },
|
|
|
+ /** 提交按钮 */
|
|
|
+ submitForm: function() {
|
|
|
+ this.$refs["basicInfoForm"].validate(valid => {
|
|
|
+ if (valid) {
|
|
|
+ this.info.zsyzFjList = []
|
|
|
+ if(this.info.jylist.length !=0){
|
|
|
+ this.info.zsyzFjList = this.info.zsyzFjList.concat(this.info.jylist )
|
|
|
+ }
|
|
|
+ if(this.info.xshtlist.length !=0){
|
|
|
+ this.info.zsyzFjList = this.info.zsyzFjList.concat(this.info.xshtlist )
|
|
|
+ }
|
|
|
+ if(this.info.xsfqlist.length !=0){
|
|
|
+ this.info.zsyzFjList = this.info.zsyzFjList.concat(this.info.xsfqlist )
|
|
|
+ }
|
|
|
+ if(this.info.cwbblist.length !=0){
|
|
|
+ this.info.zsyzFjList = this.info.zsyzFjList.concat(this.info.cwbblist )
|
|
|
+ }
|
|
|
+ if(this.info.tjbblist.length !=0){
|
|
|
+ this.info.zsyzFjList = this.info.zsyzFjList.concat(this.info.tjbblist )
|
|
|
+ }
|
|
|
+ console.log(this.info.zsyzFjList,this.info,6)
|
|
|
+ // return
|
|
|
+ if (this.info.xmId != undefined) {
|
|
|
+ updateJsxx(this.info).then(response => {
|
|
|
+ this.$modal.msgSuccess("修改成功")
|
|
|
+ this.open = false
|
|
|
+ // this.$router.go(-1)
|
|
|
+ })
|
|
|
+ } else {
|
|
|
+ addJsxx(this.info).then(response => {
|
|
|
+ this.$modal.msgSuccess("新增成功")
|
|
|
+ this.form.jsxxId = response.data
|
|
|
+ // this.open = false
|
|
|
+ // this.$router.go(-1)
|
|
|
+ // this.getList()
|
|
|
+ })
|
|
|
+ }
|
|
|
+ }
|
|
|
+ })
|
|
|
+ },
|
|
|
}
|
|
|
}
|
|
|
</script>
|