|
|
|
@ -1,5 +1,5 @@
|
|
|
|
|
<template>
|
|
|
|
|
<!-- 退料 -->
|
|
|
|
|
<!-- 入库 -->
|
|
|
|
|
<el-card class="hl-card" style="position: relative">
|
|
|
|
|
<template #header>
|
|
|
|
|
<span v-text="dialogTitle"></span>
|
|
|
|
@ -25,14 +25,14 @@
|
|
|
|
|
<el-col :span="8">
|
|
|
|
|
<el-row>
|
|
|
|
|
<el-col :span="24">
|
|
|
|
|
<el-form-item prop="name" label="退料单号">
|
|
|
|
|
<el-form-item prop="name" label="入库单号">
|
|
|
|
|
<el-input v-model="formData.stockNo" disabled placeholder="系统自动生成" />
|
|
|
|
|
</el-form-item>
|
|
|
|
|
</el-col>
|
|
|
|
|
</el-row>
|
|
|
|
|
<el-row>
|
|
|
|
|
<el-col :span="24">
|
|
|
|
|
<el-form-item prop="stockInType" label="退料类型">
|
|
|
|
|
<el-form-item prop="stockInType" label="入库类型">
|
|
|
|
|
<el-select
|
|
|
|
|
v-model="formData.stockInType"
|
|
|
|
|
clearable
|
|
|
|
@ -224,7 +224,7 @@
|
|
|
|
|
</template>
|
|
|
|
|
</el-table-column>
|
|
|
|
|
<el-table-column prop="storageOkQty" min-width="160" align="center">
|
|
|
|
|
<template #header> <span class="hl-table_header">*</span>本次退料数量</template>
|
|
|
|
|
<template #header> <span class="hl-table_header">*</span>本次入库数量</template>
|
|
|
|
|
<template #default="scope">
|
|
|
|
|
<el-form-item
|
|
|
|
|
:prop="`${scope.$index}.storageOkQty`"
|
|
|
|
@ -526,7 +526,7 @@ const formData = ref({
|
|
|
|
|
const formRules = reactive({
|
|
|
|
|
// name: [{ required: true, message: '模具类型不能为空', trigger: 'blur' }],
|
|
|
|
|
status: [{ required: true, message: '启用状态不能为空', trigger: 'blur' }],
|
|
|
|
|
stockInType: [{ required: true, message: '退料类型不能为空', trigger: 'blur' }],
|
|
|
|
|
stockInType: [{ required: true, message: '入库类型不能为空', trigger: 'blur' }],
|
|
|
|
|
whId: [{ required: true, message: '接收仓库不能为空', trigger: 'blur' }]
|
|
|
|
|
})
|
|
|
|
|
const formRef = ref() // 表单 Ref
|
|
|
|
|