|
@@ -65,8 +65,8 @@
|
|
|
@selection-change="handleSelectionChange"
|
|
|
>
|
|
|
<el-table-column type="selection" width="55" align="center" />
|
|
|
- <el-table-column label="企业贸易绩效数据" align="center" prop="id">
|
|
|
- </el-table-column>
|
|
|
+ <!-- <el-table-column label="企业贸易绩效数据" align="center" prop="id">
|
|
|
+ </el-table-column> -->
|
|
|
<!-- <el-table-column label="部门id" align="center" prop="deptId">
|
|
|
</el-table-column> -->
|
|
|
<el-table-column label="部门名称" align="center" prop="deptName">
|
|
@@ -157,130 +157,156 @@
|
|
|
/>
|
|
|
|
|
|
<!-- 添加或修改企业贸易绩效数据(每个月填报)对话框 -->
|
|
|
- <el-dialog :title="title" :visible.sync="open" :close-on-click-modal="false" width="40%" append-to-body>
|
|
|
- <el-form ref="form" :model="form" :rules="rules" label-width="180px">
|
|
|
- <el-form-item label="规模以上工业产值" prop="gmysgycz">
|
|
|
- <el-input
|
|
|
- v-model="form.gmysgycz"
|
|
|
- placeholder="请输入规模以上工业产值"
|
|
|
- ></el-input>
|
|
|
- </el-form-item>
|
|
|
- <el-form-item label="固定资产投资" prop="gdzctz">
|
|
|
- <el-input
|
|
|
- v-model="form.gdzctz"
|
|
|
- placeholder="请输入固定资产投资"
|
|
|
- ></el-input>
|
|
|
- </el-form-item>
|
|
|
- <el-form-item label="部门" prop="gdzctz">
|
|
|
- <!-- <el-input v-model="form.gdzctz" placeholder="请选择部门"></el-input> -->
|
|
|
- <el-select
|
|
|
- v-model="deptValue"
|
|
|
- @change="deptSelect"
|
|
|
- placeholder="请选择"
|
|
|
- >
|
|
|
- <el-option
|
|
|
- v-for="(item, index) in deptList"
|
|
|
- :key="index"
|
|
|
- :label="item.deptName"
|
|
|
- :value="index"
|
|
|
- >
|
|
|
- </el-option>
|
|
|
- </el-select>
|
|
|
- </el-form-item>
|
|
|
- <el-form-item label="资产分类 " prop="zcfl">
|
|
|
- <el-input
|
|
|
- v-model="form.zcfl"
|
|
|
- placeholder="请输入资产分类 "
|
|
|
- ></el-input>
|
|
|
- </el-form-item>
|
|
|
- <el-form-item label="主要贸易国家 " prop="zymygj">
|
|
|
- <el-input
|
|
|
- v-model="form.zymygj"
|
|
|
- placeholder="请输入主要贸易国家 "
|
|
|
- ></el-input>
|
|
|
- </el-form-item>
|
|
|
- <el-form-item label="电子账册分类 " prop="dzzcfl">
|
|
|
- <el-input
|
|
|
- v-model="form.dzzcfl"
|
|
|
- placeholder="请输入电子账册分类 "
|
|
|
- ></el-input>
|
|
|
- </el-form-item>
|
|
|
- <el-form-item label="进出口总值" prop="jckzz">
|
|
|
- <el-input
|
|
|
- v-model="form.jckzz"
|
|
|
- placeholder="请输入进出口总值"
|
|
|
- ></el-input>
|
|
|
- </el-form-item>
|
|
|
- <el-form-item label="进口总值" prop="jkzz">
|
|
|
- <el-input v-model="form.jkzz" placeholder="请输入进口总值"></el-input>
|
|
|
- </el-form-item>
|
|
|
- <el-form-item label="出口总值" prop="ckzz">
|
|
|
- <el-input v-model="form.ckzz" placeholder="请输入出口总值"></el-input>
|
|
|
- </el-form-item>
|
|
|
- <el-form-item label="加工贸易进出口值 " prop="jgmyjckz">
|
|
|
- <el-input
|
|
|
- v-model="form.jgmyjckz"
|
|
|
- placeholder="请输入加工贸易进出口值 "
|
|
|
- ></el-input>
|
|
|
- </el-form-item>
|
|
|
- <el-form-item label="物流货物进出口值 " prop="wlhwjckz">
|
|
|
- <el-input
|
|
|
- v-model="form.wlhwjckz"
|
|
|
- placeholder="请输入物流货物进出口值 "
|
|
|
- ></el-input>
|
|
|
- </el-form-item>
|
|
|
- <el-form-item label="一般贸易进出口值 " prop="ybmyjckz">
|
|
|
- <el-input
|
|
|
- v-model="form.ybmyjckz"
|
|
|
- placeholder="请输入一般贸易进出口值 "
|
|
|
- ></el-input>
|
|
|
- </el-form-item>
|
|
|
- <el-form-item label="海关税收" prop="hgss">
|
|
|
- <el-input v-model="form.hgss" placeholder="请输入海关税收"></el-input>
|
|
|
- </el-form-item>
|
|
|
- <el-form-item label="税务部门税收" prop="swbmss">
|
|
|
- <el-input
|
|
|
- v-model="form.swbmss"
|
|
|
- placeholder="请输入税务部门税收"
|
|
|
- ></el-input>
|
|
|
- </el-form-item>
|
|
|
- <el-form-item label="期末企业从业人员" prop="qmqycyry">
|
|
|
- <el-input
|
|
|
- v-model="form.qmqycyry"
|
|
|
- placeholder="请输入期末企业从业人员"
|
|
|
- ></el-input>
|
|
|
- </el-form-item>
|
|
|
- <el-form-item label="实际使用外资金额" prop="sjsywzje">
|
|
|
- <el-input
|
|
|
- v-model="form.sjsywzje"
|
|
|
- placeholder="请输入期末企业从业人员"
|
|
|
- ></el-input>
|
|
|
- </el-form-item>
|
|
|
- <el-form-item label="维修业务进出口值 " prop="wxyejckz">
|
|
|
- <el-input
|
|
|
- v-model="form.wxyejckz"
|
|
|
- placeholder="请输入维修业务进出口值 "
|
|
|
- ></el-input>
|
|
|
- </el-form-item>
|
|
|
- <el-form-item label="研发业务进出口值 " prop="yfywjckz">
|
|
|
- <el-input
|
|
|
- v-model="form.yfywjckz"
|
|
|
- placeholder="请输入研发业务进出口值 "
|
|
|
- ></el-input>
|
|
|
- </el-form-item>
|
|
|
- <el-form-item label="租赁贸易进出口值 " prop="zlmyjckz">
|
|
|
- <el-input
|
|
|
- v-model="form.zlmyjckz"
|
|
|
- placeholder="请输入租赁贸易进出口值 "
|
|
|
- ></el-input>
|
|
|
- </el-form-item>
|
|
|
- <el-form-item label="跨境电商业务进出口值 " prop="kjdsywjckz">
|
|
|
- <el-input
|
|
|
- v-model="form.kjdsywjckz"
|
|
|
- placeholder="请输入跨境电商业务进出口值 "
|
|
|
- ></el-input>
|
|
|
- </el-form-item>
|
|
|
- </el-form>
|
|
|
+ <el-dialog
|
|
|
+ :title="title"
|
|
|
+ :visible.sync="open"
|
|
|
+ :close-on-click-modal="false"
|
|
|
+ width="40%"
|
|
|
+ append-to-body
|
|
|
+ >
|
|
|
+ <el-tabs v-model="activeName">
|
|
|
+ <el-tab-pane label="基本信息" name="first">
|
|
|
+ <el-form ref="forms" :model="form" :rules="rules" label-width="180px">
|
|
|
+ <el-form-item label="部门" prop="deptName">
|
|
|
+ <el-select
|
|
|
+ v-model="form.deptName"
|
|
|
+ @change="deptSelect"
|
|
|
+ placeholder="请选择"
|
|
|
+ >
|
|
|
+ <el-option
|
|
|
+ v-for="(item, index) in deptList"
|
|
|
+ :key="index"
|
|
|
+ :label="item.deptName"
|
|
|
+ :value="index"
|
|
|
+ >
|
|
|
+ </el-option>
|
|
|
+ </el-select>
|
|
|
+ </el-form-item>
|
|
|
+
|
|
|
+ <el-form-item label="固定资产投资" prop="gdzctz">
|
|
|
+ <el-input
|
|
|
+ v-model="form.gdzctz"
|
|
|
+ placeholder="请输入固定资产投资"
|
|
|
+ ></el-input>
|
|
|
+ </el-form-item>
|
|
|
+ <el-form-item label="资产分类 " prop="zcfl">
|
|
|
+ <el-input
|
|
|
+ v-model="form.zcfl"
|
|
|
+ placeholder="请输入资产分类 "
|
|
|
+ ></el-input>
|
|
|
+ </el-form-item>
|
|
|
+ <el-form-item label="主要贸易国家 " prop="zymygj">
|
|
|
+ <el-input
|
|
|
+ v-model="form.zymygj"
|
|
|
+ placeholder="请输入主要贸易国家 "
|
|
|
+ ></el-input>
|
|
|
+ </el-form-item>
|
|
|
+ <el-form-item label="电子账册分类 " prop="dzzcfl">
|
|
|
+ <el-input
|
|
|
+ v-model="form.dzzcfl"
|
|
|
+ placeholder="请输入电子账册分类 "
|
|
|
+ ></el-input>
|
|
|
+ </el-form-item>
|
|
|
+
|
|
|
+ <el-form-item label="海关税收" prop="hgss">
|
|
|
+ <el-input
|
|
|
+ v-model="form.hgss"
|
|
|
+ placeholder="请输入海关税收"
|
|
|
+ ></el-input>
|
|
|
+ </el-form-item>
|
|
|
+ <el-form-item label="税务部门税收" prop="swbmss">
|
|
|
+ <el-input
|
|
|
+ v-model="form.swbmss"
|
|
|
+ placeholder="请输入税务部门税收"
|
|
|
+ ></el-input>
|
|
|
+ </el-form-item>
|
|
|
+ <el-form-item label="期末企业从业人员" prop="qmqycyry">
|
|
|
+ <el-input
|
|
|
+ v-model="form.qmqycyry"
|
|
|
+ placeholder="请输入期末企业从业人员"
|
|
|
+ ></el-input>
|
|
|
+ </el-form-item>
|
|
|
+ <el-form-item label="实际使用外资金额" prop="sjsywzje">
|
|
|
+ <el-input
|
|
|
+ v-model="form.sjsywzje"
|
|
|
+ placeholder="请输入实际使用外资金额"
|
|
|
+ ></el-input>
|
|
|
+ </el-form-item>
|
|
|
+ </el-form>
|
|
|
+ </el-tab-pane>
|
|
|
+ <el-tab-pane label="进出口信息" name="second">
|
|
|
+ <el-form ref="form" :model="form" :rules="rules" label-width="180px">
|
|
|
+ <el-form-item label="规模以上工业产值" prop="gmysgycz">
|
|
|
+ <el-input
|
|
|
+ v-model="form.gmysgycz"
|
|
|
+ placeholder="请输入规模以上工业产值"
|
|
|
+ ></el-input>
|
|
|
+ </el-form-item>
|
|
|
+
|
|
|
+ <el-form-item label="进出口总值" prop="jckzz">
|
|
|
+ <el-input
|
|
|
+ v-model="form.jckzz"
|
|
|
+ placeholder="请输入进出口总值"
|
|
|
+ ></el-input>
|
|
|
+ </el-form-item>
|
|
|
+ <el-form-item label="进口总值" prop="jkzz">
|
|
|
+ <el-input
|
|
|
+ v-model="form.jkzz"
|
|
|
+ placeholder="请输入进口总值"
|
|
|
+ ></el-input>
|
|
|
+ </el-form-item>
|
|
|
+ <el-form-item label="出口总值" prop="ckzz">
|
|
|
+ <el-input
|
|
|
+ v-model="form.ckzz"
|
|
|
+ placeholder="请输入出口总值"
|
|
|
+ ></el-input>
|
|
|
+ </el-form-item>
|
|
|
+ <el-form-item label="加工贸易进出口值 " prop="jgmyjckz">
|
|
|
+ <el-input
|
|
|
+ v-model="form.jgmyjckz"
|
|
|
+ placeholder="请输入加工贸易进出口值 "
|
|
|
+ ></el-input>
|
|
|
+ </el-form-item>
|
|
|
+ <el-form-item label="物流货物进出口值 " prop="wlhwjckz">
|
|
|
+ <el-input
|
|
|
+ v-model="form.wlhwjckz"
|
|
|
+ placeholder="请输入物流货物进出口值 "
|
|
|
+ ></el-input>
|
|
|
+ </el-form-item>
|
|
|
+ <el-form-item label="一般贸易进出口值 " prop="ybmyjckz">
|
|
|
+ <el-input
|
|
|
+ v-model="form.ybmyjckz"
|
|
|
+ placeholder="请输入一般贸易进出口值 "
|
|
|
+ ></el-input>
|
|
|
+ </el-form-item>
|
|
|
+ <el-form-item label="维修业务进出口值 " prop="wxyejckz">
|
|
|
+ <el-input
|
|
|
+ v-model="form.wxyejckz"
|
|
|
+ placeholder="请输入维修业务进出口值 "
|
|
|
+ ></el-input>
|
|
|
+ </el-form-item>
|
|
|
+ <el-form-item label="研发业务进出口值 " prop="yfywjckz">
|
|
|
+ <el-input
|
|
|
+ v-model="form.yfywjckz"
|
|
|
+ placeholder="请输入研发业务进出口值 "
|
|
|
+ ></el-input>
|
|
|
+ </el-form-item>
|
|
|
+ <el-form-item label="租赁贸易进出口值 " prop="zlmyjckz">
|
|
|
+ <el-input
|
|
|
+ v-model="form.zlmyjckz"
|
|
|
+ placeholder="请输入租赁贸易进出口值 "
|
|
|
+ ></el-input>
|
|
|
+ </el-form-item>
|
|
|
+ <el-form-item label="跨境电商业务进出口值 " prop="kjdsywjckz">
|
|
|
+ <el-input
|
|
|
+ v-model="form.kjdsywjckz"
|
|
|
+ placeholder="请输入跨境电商业务进出口值 "
|
|
|
+ ></el-input>
|
|
|
+ </el-form-item>
|
|
|
+ </el-form>
|
|
|
+ </el-tab-pane>
|
|
|
+ </el-tabs>
|
|
|
+
|
|
|
<div slot="footer" class="dialog-footer">
|
|
|
<el-button type="primary" @click="submitForm">确 定</el-button>
|
|
|
<el-button @click="cancel">取 消</el-button>
|
|
@@ -305,7 +331,6 @@ export default {
|
|
|
return {
|
|
|
// 部门列表
|
|
|
deptList: [],
|
|
|
- deptValue: null,
|
|
|
// 根路径
|
|
|
baseURL: process.env.VUE_APP_BASE_API,
|
|
|
// 遮罩层
|
|
@@ -326,6 +351,7 @@ export default {
|
|
|
title: "",
|
|
|
// 是否显示弹出层
|
|
|
open: false,
|
|
|
+ activeName: "first",
|
|
|
// 查询参数
|
|
|
queryParams: {
|
|
|
pageNum: 1,
|
|
@@ -377,6 +403,9 @@ export default {
|
|
|
trigger: "blur",
|
|
|
},
|
|
|
],
|
|
|
+ deptName: [
|
|
|
+ { required: true, message: "部门信息不能为空", trigger: "blur" },
|
|
|
+ ],
|
|
|
gdzctz: [
|
|
|
{ required: true, message: "固定资产投资不能为空", trigger: "blur" },
|
|
|
],
|
|
@@ -557,6 +586,16 @@ export default {
|
|
|
},
|
|
|
/** 提交按钮 */
|
|
|
submitForm() {
|
|
|
+ let is;
|
|
|
+ this.$refs["forms"].validate((valid) => {
|
|
|
+ if (!valid) {
|
|
|
+ this.$message.error("请补全基本信息");
|
|
|
+ is = true;
|
|
|
+ return;
|
|
|
+ }
|
|
|
+ });
|
|
|
+ if (is) return;
|
|
|
+
|
|
|
this.$refs["form"].validate((valid) => {
|
|
|
if (valid) {
|
|
|
if (this.form.id != null) {
|
|
@@ -572,6 +611,8 @@ export default {
|
|
|
this.getList();
|
|
|
});
|
|
|
}
|
|
|
+ }else{
|
|
|
+ this.$message.error("请补全进出口信息");
|
|
|
}
|
|
|
});
|
|
|
},
|