删除计划类型,并设定默认值
This commit is contained in:
parent
e5ec841ade
commit
7b023cdc5d
@ -194,16 +194,16 @@
|
||||
<!-- ></el-option>-->
|
||||
<!-- </el-select>-->
|
||||
<!-- </el-form-item>-->
|
||||
<el-form-item label="计划类型" prop="planType">
|
||||
<el-select v-model="form.planType" placeholder="请选择计划类型">
|
||||
<el-option
|
||||
v-for="dict in dict.type.plan_source_type"
|
||||
:key="dict.value"
|
||||
:label="dict.label"
|
||||
:value="dict.value"
|
||||
></el-option>
|
||||
</el-select>
|
||||
</el-form-item>
|
||||
<!-- <el-form-item label="计划类型" prop="planType">-->
|
||||
<!-- <el-select v-model="form.planType" placeholder="请选择计划类型">-->
|
||||
<!-- <el-option-->
|
||||
<!-- v-for="dict in dict.type.plan_source_type"-->
|
||||
<!-- :key="dict.value"-->
|
||||
<!-- :label="dict.label"-->
|
||||
<!-- :value="dict.value"-->
|
||||
<!-- ></el-option>-->
|
||||
<!-- </el-select>-->
|
||||
<!-- </el-form-item>-->
|
||||
<el-form-item label="领用人" prop="recipientUsername">
|
||||
<el-input v-model="form.recipientUsername" placeholder="请输入领用人"/>
|
||||
</el-form-item>
|
||||
@ -323,16 +323,16 @@
|
||||
></el-option>
|
||||
</el-select>
|
||||
</el-form-item>
|
||||
<el-form-item label="计划类型" prop="planType">
|
||||
<el-select v-model="form.planType" placeholder="请选择计划类型" readonly="readonly" disabled>
|
||||
<el-option
|
||||
v-for="dict in dict.type.plan_source_type"
|
||||
:key="dict.value"
|
||||
:label="dict.label"
|
||||
:value="dict.value"
|
||||
></el-option>
|
||||
</el-select>
|
||||
</el-form-item>
|
||||
<!-- <el-form-item label="计划类型" prop="planType">-->
|
||||
<!-- <el-select v-model="form.planType" placeholder="请选择计划类型" readonly="readonly" disabled>-->
|
||||
<!-- <el-option-->
|
||||
<!-- v-for="dict in dict.type.plan_source_type"-->
|
||||
<!-- :key="dict.value"-->
|
||||
<!-- :label="dict.label"-->
|
||||
<!-- :value="dict.value"-->
|
||||
<!-- ></el-option>-->
|
||||
<!-- </el-select>-->
|
||||
<!-- </el-form-item>-->
|
||||
<el-form-item label="领用人" prop="recipientUsername">
|
||||
<el-input v-model="form.recipientUsername" placeholder="请输入领用人" readonly="readonly"/>
|
||||
</el-form-item>
|
||||
@ -454,6 +454,7 @@ export default {
|
||||
// 表单参数
|
||||
form: {
|
||||
planState: '0',
|
||||
planType: 'SGLR',
|
||||
},
|
||||
// 表单校验
|
||||
rules: {
|
||||
@ -497,7 +498,7 @@ export default {
|
||||
planCode: null,
|
||||
wmsBusinessTypeId: null,
|
||||
planState: '0',
|
||||
planType: null,
|
||||
planType: "SGLR",
|
||||
recipientUsername: null,
|
||||
remark: null,
|
||||
attr1: null,
|
||||
|
Loading…
Reference in New Issue
Block a user