| | |
| | | </el-form-item> |
| | | |
| | | <el-form-item |
| | | label="需求数量" |
| | | label="预计生产数量" |
| | | prop="quantity" |
| | | > |
| | | <el-input-number v-model="formState.quantity" :step="1" :min="1" style="width: 100%"/> |
| | |
| | | const product = products[0]; |
| | | formState.value.productId = product.productId; |
| | | formState.value.productName = product.productName; |
| | | const productNameArr = product.productName.split('-'); |
| | | if (productNameArr.length === 3 && productNameArr[0] && productNameArr[1] !== '') { |
| | | formState.value.manufacturingTeam = productNameArr[1].charAt(0) + '类车间'; |
| | | if (product.parentName === '一类产品') { |
| | | formState.value.manufacturingTeam = product.parentName.charAt(0) + '类车间'; |
| | | } |
| | | |
| | | formState.value.productModelName = product.model; |