| | |
| | | </script> |
| | | |
| | | <template> |
| | | {{ row }} |
| | | <el-dialog v-model="visible" |
| | | :title="'详情'" |
| | | width="90%"> |
| | |
| | | |
| | | const handleReport = async () => { |
| | | const data = await productionRecordFormRef.value.submitData() |
| | | reportForm.otherData.rows = JSON.stringify(data || {}); |
| | | reportForm.otherData.rows = data || []; |
| | | reportFormRef.value?.validate((valid) => { |
| | | if (!valid) { |
| | | return false; |
| | |
| | | const submitData = { |
| | | ...reportForm, |
| | | quantity: quantity, |
| | | scrapQty: scrapQty |
| | | scrapQty: scrapQty, |
| | | otherData: JSON.stringify(reportForm.otherData) |
| | | }; |
| | | |
| | | // console.log(submitData); |