|
@@ -228,9 +228,9 @@
|
|
|
>
|
|
|
</el-cascader>
|
|
|
</el-form-item> -->
|
|
|
- <el-form-item prop="select" label-width="120px" label="级别">
|
|
|
+ <el-form-item prop="level" label-width="120px" label="级别">
|
|
|
<el-select
|
|
|
- v-model="form.select"
|
|
|
+ v-model="form.level"
|
|
|
clearable
|
|
|
placeholder="请选择级别"
|
|
|
>
|
|
@@ -243,13 +243,13 @@
|
|
|
</el-option>
|
|
|
</el-select>
|
|
|
</el-form-item>
|
|
|
- <el-form-item prop="imExport" label-width="120px" label="进出口总值" v-show="form.select == 2"
|
|
|
- :rules="{required: form.select == 2 ? true : false, message: '请选择', trigger: 'blur'}"
|
|
|
+ <el-form-item prop="imExport" label-width="120px" label="进出口总值" v-show="form.level == 2"
|
|
|
+ :rules="{required: form.level == 2 ? true : false, message: '请选择', trigger: 'blur'}"
|
|
|
>
|
|
|
<el-input type="number" v-model="form.imExport" placeholder="请输入进出口总值"></el-input>
|
|
|
</el-form-item>
|
|
|
- <el-form-item prop="cityTotal" label-width="120px" label="市进口总值" v-show="form.select == 1"
|
|
|
- :rules="{required: form.select == 1 ? true : false, message: '请选择', trigger: 'blur'}"
|
|
|
+ <el-form-item prop="cityTotal" label-width="120px" label="市进口总值" v-show="form.level == 4"
|
|
|
+ :rules="{required: form.level == 4 ? true : false, message: '请选择', trigger: 'blur'}"
|
|
|
>
|
|
|
<el-input v-model="form.cityTotal" placeholder="请输入市进口总值" type="number"></el-input>
|
|
|
</el-form-item>
|
|
@@ -327,12 +327,12 @@ export default {
|
|
|
{ trigger: "blur", validator: this.validatorFloatNum },
|
|
|
],
|
|
|
year: [{ required: true, message: "年份不能为空", trigger: "blur" }],
|
|
|
- select: [{ required: true, message: "请选择级别", trigger: "blur" }],
|
|
|
+ level: [{ required: true, message: "请选择级别", trigger: "blur" }],
|
|
|
|
|
|
},
|
|
|
option:[
|
|
|
{
|
|
|
- value:1,
|
|
|
+ value:4,
|
|
|
label: '市级'
|
|
|
},
|
|
|
{
|