Compare commits

...

2 Commits

Author SHA1 Message Date
9f980ea5e5 refactor: 自动生成计划编码 2024-12-13 14:31:59 +08:00
c15c0d6adc refactor: 优化 2024-12-13 14:31:19 +08:00
3 changed files with 9 additions and 4 deletions

View File

@ -191,9 +191,9 @@
<!-- 添加或修改出库计划管理对话框 -->
<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-item label="计划编号" prop="planCode">
<el-input v-model="form.planCode" placeholder="请输入计划编号" :readonly="title == '修改出库计划管理'"/>
</el-form-item>
<!-- <el-form-item label="计划编号" prop="planCode">-->
<!-- <el-input v-model="form.planCode" placeholder="请输入计划编号" :readonly="title == '修改出库计划管理'"/>-->
<!-- </el-form-item>-->
<el-form-item label="出库类型" prop="wmsBusinessTypeId">
<el-select v-model="form.wmsBusinessTypeId" placeholder="请选择出库类型">
<el-option

View File

@ -14,6 +14,10 @@ export default {
planTypeId: {
type: String,
require: true
},
planTypeCode: {
type: String,
require: true
}
},
data() {
@ -25,7 +29,7 @@ export default {
},
computed: {
getKnifeType() {
if (this.planTypeId == 9 || this.planTypeId == 15) {
if (["CDHK", "ZDHK"].includes(this.planTypeCode)) {
return "整刀"
} else {
return "刀柄类"

View File

@ -230,6 +230,7 @@ export default {
<wms-in-plan-detail-entity-table-cmps
:entityList.sync="wmsInPlanDetailEntityList"
:planTypeId="localDataForm.planTypeId"
:planTypeCode="localDataForm.planTypeCode"
></wms-in-plan-detail-entity-table-cmps>
</el-form>
<div slot="footer" class="dialog-footer">