|
@@ -1,11 +1,17 @@
|
|
<template>
|
|
<template>
|
|
<div class="app-container">
|
|
<div class="app-container">
|
|
- <!-- <el-form :model="queryParams" ref="queryForm" size="small" :inline="true" v-show="showSearch" label-width="68px">
|
|
|
|
|
|
+ <el-form :model="queryParams" ref="queryForm" size="small" :inline="true" v-show="showSearch" label-width="68px">
|
|
|
|
+ <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>
|
|
<el-form-item>
|
|
<el-button type="primary" icon="el-icon-search" size="mini" @click="handleQuery">搜索</el-button>
|
|
<el-button type="primary" icon="el-icon-search" size="mini" @click="handleQuery">搜索</el-button>
|
|
<el-button icon="el-icon-refresh" size="mini" @click="resetQuery">重置</el-button>
|
|
<el-button icon="el-icon-refresh" size="mini" @click="resetQuery">重置</el-button>
|
|
</el-form-item>
|
|
</el-form-item>
|
|
- </el-form> -->
|
|
|
|
|
|
+ </el-form>
|
|
|
|
|
|
<el-row :gutter="10" class="mb8">
|
|
<el-row :gutter="10" class="mb8">
|
|
<el-col :span="1.5">
|
|
<el-col :span="1.5">
|
|
@@ -321,13 +327,22 @@ export default {
|
|
message: "规模以上工业产值不能为空",
|
|
message: "规模以上工业产值不能为空",
|
|
trigger: "blur",
|
|
trigger: "blur",
|
|
},
|
|
},
|
|
-
|
|
|
|
|
|
+ {
|
|
|
|
+ pattern: /^[+]?(?:\d+(?:\.\d*)?|\.\d+)$/,
|
|
|
|
+ message: "不能为负数",
|
|
|
|
+ trigger: "blur"
|
|
|
|
+ }
|
|
],
|
|
],
|
|
deptName: [
|
|
deptName: [
|
|
{ required: true, message: "部门信息不能为空", trigger: "blur" },
|
|
{ required: true, message: "部门信息不能为空", trigger: "blur" },
|
|
],
|
|
],
|
|
gdzctz: [
|
|
gdzctz: [
|
|
{ required: true, message: "固定资产投资不能为空", trigger: "blur" },
|
|
{ required: true, message: "固定资产投资不能为空", trigger: "blur" },
|
|
|
|
+ {
|
|
|
|
+ pattern: /^[+]?(?:\d+(?:\.\d*)?|\.\d+)$/,
|
|
|
|
+ message: "不能为负数",
|
|
|
|
+ trigger: "blur"
|
|
|
|
+ }
|
|
],
|
|
],
|
|
zcfl: [
|
|
zcfl: [
|
|
{ required: true, message: "资产分类 不能为空", trigger: "blur" },
|
|
{ required: true, message: "资产分类 不能为空", trigger: "blur" },
|
|
@@ -340,12 +355,27 @@ export default {
|
|
],
|
|
],
|
|
jckzz: [
|
|
jckzz: [
|
|
{ required: true, message: "进、出口总值不能为空", trigger: "blur" },
|
|
{ required: true, message: "进、出口总值不能为空", trigger: "blur" },
|
|
|
|
+ {
|
|
|
|
+ pattern: /^[+]?(?:\d+(?:\.\d*)?|\.\d+)$/,
|
|
|
|
+ message: "不能为负数",
|
|
|
|
+ trigger: "blur"
|
|
|
|
+ }
|
|
],
|
|
],
|
|
jkzz: [
|
|
jkzz: [
|
|
{ required: true, message: "进口总值不能为空", trigger: "blur" },
|
|
{ required: true, message: "进口总值不能为空", trigger: "blur" },
|
|
|
|
+ {
|
|
|
|
+ pattern: /^[+]?(?:\d+(?:\.\d*)?|\.\d+)$/,
|
|
|
|
+ message: "不能为负数",
|
|
|
|
+ trigger: "blur"
|
|
|
|
+ }
|
|
],
|
|
],
|
|
ckzz: [
|
|
ckzz: [
|
|
{ required: true, message: "出口总值不能为空", trigger: "blur" },
|
|
{ required: true, message: "出口总值不能为空", trigger: "blur" },
|
|
|
|
+ {
|
|
|
|
+ pattern: /^[+]?(?:\d+(?:\.\d*)?|\.\d+)$/,
|
|
|
|
+ message: "不能为负数",
|
|
|
|
+ trigger: "blur"
|
|
|
|
+ }
|
|
],
|
|
],
|
|
jgmyjckz: [
|
|
jgmyjckz: [
|
|
{
|
|
{
|
|
@@ -353,6 +383,11 @@ export default {
|
|
message: "加工贸易进出口值 不能为空",
|
|
message: "加工贸易进出口值 不能为空",
|
|
trigger: "blur",
|
|
trigger: "blur",
|
|
},
|
|
},
|
|
|
|
+ {
|
|
|
|
+ pattern: /^[+]?(?:\d+(?:\.\d*)?|\.\d+)$/,
|
|
|
|
+ message: "不能为负数",
|
|
|
|
+ trigger: "blur"
|
|
|
|
+ }
|
|
],
|
|
],
|
|
wlhwjckz: [
|
|
wlhwjckz: [
|
|
{
|
|
{
|
|
@@ -360,6 +395,11 @@ export default {
|
|
message: "物流货物进出口值 不能为空",
|
|
message: "物流货物进出口值 不能为空",
|
|
trigger: "blur",
|
|
trigger: "blur",
|
|
},
|
|
},
|
|
|
|
+ {
|
|
|
|
+ pattern: /^[+]?(?:\d+(?:\.\d*)?|\.\d+)$/,
|
|
|
|
+ message: "不能为负数",
|
|
|
|
+ trigger: "blur"
|
|
|
|
+ }
|
|
],
|
|
],
|
|
ybmyjckz: [
|
|
ybmyjckz: [
|
|
{
|
|
{
|
|
@@ -367,12 +407,27 @@ export default {
|
|
message: "一般贸易进出口值 不能为空",
|
|
message: "一般贸易进出口值 不能为空",
|
|
trigger: "blur",
|
|
trigger: "blur",
|
|
},
|
|
},
|
|
|
|
+ {
|
|
|
|
+ pattern: /^[+]?(?:\d+(?:\.\d*)?|\.\d+)$/,
|
|
|
|
+ message: "不能为负数",
|
|
|
|
+ trigger: "blur"
|
|
|
|
+ }
|
|
],
|
|
],
|
|
hgss: [
|
|
hgss: [
|
|
{ required: true, message: "海关税收不能为空", trigger: "blur" },
|
|
{ required: true, message: "海关税收不能为空", trigger: "blur" },
|
|
|
|
+ {
|
|
|
|
+ pattern: /^[+]?(?:\d+(?:\.\d*)?|\.\d+)$/,
|
|
|
|
+ message: "不能为负数",
|
|
|
|
+ trigger: "blur"
|
|
|
|
+ }
|
|
],
|
|
],
|
|
swbmss: [
|
|
swbmss: [
|
|
{ required: true, message: "税务部门税收不能为空", trigger: "blur" },
|
|
{ required: true, message: "税务部门税收不能为空", trigger: "blur" },
|
|
|
|
+ {
|
|
|
|
+ pattern: /^[+]?(?:\d+(?:\.\d*)?|\.\d+)$/,
|
|
|
|
+ message: "不能为负数",
|
|
|
|
+ trigger: "blur"
|
|
|
|
+ }
|
|
],
|
|
],
|
|
qmqycyry: [
|
|
qmqycyry: [
|
|
{
|
|
{
|
|
@@ -387,6 +442,11 @@ export default {
|
|
message: "实际使用外资金额不能为空",
|
|
message: "实际使用外资金额不能为空",
|
|
trigger: "blur",
|
|
trigger: "blur",
|
|
},
|
|
},
|
|
|
|
+ {
|
|
|
|
+ pattern: /^[+]?(?:\d+(?:\.\d*)?|\.\d+)$/,
|
|
|
|
+ message: "不能为负数",
|
|
|
|
+ trigger: "blur"
|
|
|
|
+ }
|
|
],
|
|
],
|
|
wxyejckz: [
|
|
wxyejckz: [
|
|
{
|
|
{
|
|
@@ -394,6 +454,11 @@ export default {
|
|
message: "维修业务进出口值 不能为空",
|
|
message: "维修业务进出口值 不能为空",
|
|
trigger: "blur",
|
|
trigger: "blur",
|
|
},
|
|
},
|
|
|
|
+ {
|
|
|
|
+ pattern: /^[+]?(?:\d+(?:\.\d*)?|\.\d+)$/,
|
|
|
|
+ message: "不能为负数",
|
|
|
|
+ trigger: "blur"
|
|
|
|
+ }
|
|
],
|
|
],
|
|
yfywjckz: [
|
|
yfywjckz: [
|
|
{
|
|
{
|
|
@@ -401,6 +466,11 @@ export default {
|
|
message: "研发业务进出口值 不能为空",
|
|
message: "研发业务进出口值 不能为空",
|
|
trigger: "blur",
|
|
trigger: "blur",
|
|
},
|
|
},
|
|
|
|
+ {
|
|
|
|
+ pattern: /^[+]?(?:\d+(?:\.\d*)?|\.\d+)$/,
|
|
|
|
+ message: "不能为负数",
|
|
|
|
+ trigger: "blur"
|
|
|
|
+ }
|
|
],
|
|
],
|
|
zlmyjckz: [
|
|
zlmyjckz: [
|
|
{
|
|
{
|
|
@@ -408,6 +478,11 @@ export default {
|
|
message: "租赁贸易进出口值 不能为空",
|
|
message: "租赁贸易进出口值 不能为空",
|
|
trigger: "blur",
|
|
trigger: "blur",
|
|
},
|
|
},
|
|
|
|
+ {
|
|
|
|
+ pattern: /^[+]?(?:\d+(?:\.\d*)?|\.\d+)$/,
|
|
|
|
+ message: "不能为负数",
|
|
|
|
+ trigger: "blur"
|
|
|
|
+ }
|
|
],
|
|
],
|
|
kjdsywjckz: [
|
|
kjdsywjckz: [
|
|
{
|
|
{
|
|
@@ -415,6 +490,11 @@ export default {
|
|
message: "跨境电商业务进出口值 不能为空",
|
|
message: "跨境电商业务进出口值 不能为空",
|
|
trigger: "blur",
|
|
trigger: "blur",
|
|
},
|
|
},
|
|
|
|
+ {
|
|
|
|
+ pattern: /^[+]?(?:\d+(?:\.\d*)?|\.\d+)$/,
|
|
|
|
+ message: "不能为负数",
|
|
|
|
+ trigger: "blur"
|
|
|
|
+ }
|
|
],
|
|
],
|
|
},
|
|
},
|
|
};
|
|
};
|
|
@@ -486,8 +566,8 @@ export default {
|
|
this.single = selection.length !== 1;
|
|
this.single = selection.length !== 1;
|
|
this.multiple = !selection.length;
|
|
this.multiple = !selection.length;
|
|
},
|
|
},
|
|
- changeDate(val){
|
|
|
|
- this.form.year = this.form.dateValue.slice(0,4)
|
|
|
|
|
|
+ changeDate(val) {
|
|
|
|
+ this.form.year = this.form.dateValue.slice(0, 4)
|
|
this.form.month = this.form.dateValue.slice(5)
|
|
this.form.month = this.form.dateValue.slice(5)
|
|
},
|
|
},
|
|
/** 新增按钮操作 */
|
|
/** 新增按钮操作 */
|
|
@@ -503,7 +583,7 @@ export default {
|
|
const id = row.id || this.ids;
|
|
const id = row.id || this.ids;
|
|
getENTERPRISETRADEPERFORMANCE(id).then((response) => {
|
|
getENTERPRISETRADEPERFORMANCE(id).then((response) => {
|
|
this.form = response.data;
|
|
this.form = response.data;
|
|
- this.form.dateValue = this.form.year + '-' +this.form.month
|
|
|
|
|
|
+ this.form.dateValue = this.form.year + '-' + this.form.month
|
|
this.open = true;
|
|
this.open = true;
|
|
this.title = "修改企业贸易绩效数据(每个月填报)";
|
|
this.title = "修改企业贸易绩效数据(每个月填报)";
|
|
});
|
|
});
|