This commit is contained in:
parent
cdfeda1728
commit
7a611dbe82
|
|
@ -659,7 +659,7 @@
|
|||
:close-on-click-modal="false"
|
||||
>
|
||||
<el-form
|
||||
label-width="80px"
|
||||
label-width="120px"
|
||||
:model="addFormParams"
|
||||
:rules="addFormParamsRules"
|
||||
ref="addFormParamsRef"
|
||||
|
|
@ -679,6 +679,14 @@
|
|||
<el-input style="width: 100%" v-model="addFormParams.typeName" />
|
||||
</el-form-item>
|
||||
</el-col>
|
||||
<el-col :span="12" v-if="addTitle === '修改'">
|
||||
<el-form-item label="是否录入编码" prop="isEnter">
|
||||
<el-select style="width: 100%" v-model="addFormParams.isEnter">
|
||||
<el-option label="是" value="1" />
|
||||
<el-option label="否" value="0" />
|
||||
</el-select>
|
||||
</el-form-item>
|
||||
</el-col>
|
||||
</el-row>
|
||||
|
||||
<el-row style="text-align: right">
|
||||
|
|
@ -851,6 +859,7 @@ export default {
|
|||
label: "",
|
||||
typeName: "",
|
||||
companyId: 101,
|
||||
isEnter: ''
|
||||
},
|
||||
|
||||
addFormParamsRules: {
|
||||
|
|
@ -1309,7 +1318,7 @@ export default {
|
|||
},
|
||||
/* 确定 */
|
||||
onSubmit() {
|
||||
const { id, typeName } = this.addFormParams;
|
||||
const { id, typeName, isEnter } = this.addFormParams;
|
||||
console.log("level", this.levelTemp);
|
||||
console.log("idTemp", this.idTemp);
|
||||
const addParams = {
|
||||
|
|
@ -1325,6 +1334,7 @@ export default {
|
|||
level: this.levelTemp,
|
||||
parentId: this.parentId,
|
||||
typeId: id,
|
||||
isEnter,
|
||||
};
|
||||
|
||||
this.$refs["addFormParamsRef"].validate(async (valid) => {
|
||||
|
|
|
|||
Loading…
Reference in New Issue