Compare commits
2 Commits
2a5cd84833
...
9f980ea5e5
Author | SHA1 | Date | |
---|---|---|---|
9f980ea5e5 | |||
c15c0d6adc |
@ -191,9 +191,9 @@
|
|||||||
<!-- 添加或修改出库计划管理对话框 -->
|
<!-- 添加或修改出库计划管理对话框 -->
|
||||||
<el-dialog :close-on-click-modal="false" :title="title" :visible.sync="open" append-to-body width="60%">
|
<el-dialog :close-on-click-modal="false" :title="title" :visible.sync="open" append-to-body width="60%">
|
||||||
<el-form ref="form" :model="form" :rules="rules" label-width="80px">
|
<el-form ref="form" :model="form" :rules="rules" label-width="80px">
|
||||||
<el-form-item label="计划编号" prop="planCode">
|
<!-- <el-form-item label="计划编号" prop="planCode">-->
|
||||||
<el-input v-model="form.planCode" placeholder="请输入计划编号" :readonly="title == '修改出库计划管理'"/>
|
<!-- <el-input v-model="form.planCode" placeholder="请输入计划编号" :readonly="title == '修改出库计划管理'"/>-->
|
||||||
</el-form-item>
|
<!-- </el-form-item>-->
|
||||||
<el-form-item label="出库类型" prop="wmsBusinessTypeId">
|
<el-form-item label="出库类型" prop="wmsBusinessTypeId">
|
||||||
<el-select v-model="form.wmsBusinessTypeId" placeholder="请选择出库类型">
|
<el-select v-model="form.wmsBusinessTypeId" placeholder="请选择出库类型">
|
||||||
<el-option
|
<el-option
|
||||||
|
@ -14,6 +14,10 @@ export default {
|
|||||||
planTypeId: {
|
planTypeId: {
|
||||||
type: String,
|
type: String,
|
||||||
require: true
|
require: true
|
||||||
|
},
|
||||||
|
planTypeCode: {
|
||||||
|
type: String,
|
||||||
|
require: true
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
data() {
|
data() {
|
||||||
@ -25,7 +29,7 @@ export default {
|
|||||||
},
|
},
|
||||||
computed: {
|
computed: {
|
||||||
getKnifeType() {
|
getKnifeType() {
|
||||||
if (this.planTypeId == 9 || this.planTypeId == 15) {
|
if (["CDHK", "ZDHK"].includes(this.planTypeCode)) {
|
||||||
return "整刀"
|
return "整刀"
|
||||||
} else {
|
} else {
|
||||||
return "刀柄类"
|
return "刀柄类"
|
||||||
|
@ -230,6 +230,7 @@ export default {
|
|||||||
<wms-in-plan-detail-entity-table-cmps
|
<wms-in-plan-detail-entity-table-cmps
|
||||||
:entityList.sync="wmsInPlanDetailEntityList"
|
:entityList.sync="wmsInPlanDetailEntityList"
|
||||||
:planTypeId="localDataForm.planTypeId"
|
:planTypeId="localDataForm.planTypeId"
|
||||||
|
:planTypeCode="localDataForm.planTypeCode"
|
||||||
></wms-in-plan-detail-entity-table-cmps>
|
></wms-in-plan-detail-entity-table-cmps>
|
||||||
</el-form>
|
</el-form>
|
||||||
<div slot="footer" class="dialog-footer">
|
<div slot="footer" class="dialog-footer">
|
||||||
|
Loading…
Reference in New Issue
Block a user