| | |
| | | </el-form-item> |
| | | |
| | | <el-form-item |
| | | label="料号" |
| | | prop="materialCode" |
| | | > |
| | | <el-input v-model="formState.materialCode" disabled /> |
| | | </el-form-item> |
| | | |
| | | <el-form-item |
| | | label="单位" |
| | | prop="unit" |
| | | > |
| | |
| | | routeId: undefined, |
| | | productName: "", |
| | | productModelName: "", |
| | | materialCode: "", |
| | | unit: "", |
| | | priority: undefined, |
| | | quantity: 0, |
| | |
| | | productName: "", |
| | | productModelName: "", |
| | | unit: "", |
| | | materialCode: "", |
| | | priority: priority_type.value && priority_type.value.length > 0 ? priority_type.value[2].value : undefined, |
| | | quantity: '', |
| | | lotNo: "", |
| | |
| | | formState.value.productModelName = product.model; |
| | | formState.value.productModelId = product.id; |
| | | formState.value.unit = product.unit; |
| | | formState.value.materialCode = product.materialCode || ""; |
| | | showProductSelectDialog.value = false; |
| | | fetchRouteOptions( product.id); |
| | | // 触发表单验证更新 |