| | |
| | | <template #footer> |
| | | <span class="dialog-footer"> |
| | | <el-button type="primary" |
| | | :loading="reportLoading" |
| | | @click="handleReport">确定</el-button> |
| | | <el-button @click="reportDialogVisible = false">取消</el-button> |
| | | </span> |
| | |
| | | const transferCardQrUrl = ref(""); |
| | | const transferCardRowData = ref(null); |
| | | const reportDialogVisible = ref(false); |
| | | const reportLoading = ref(false); |
| | | const fileDialogVisible = ref(false); |
| | | const currentWorkOrderId = ref(null); |
| | | const reportFormRef = ref(null); |
| | |
| | | productionOperationParamList: productionOperationParamList, |
| | | }; |
| | | |
| | | reportLoading.value = true; |
| | | addProductMain(submitParams) |
| | | .then(res => { |
| | | proxy.$modal.msgSuccess("报工成功"); |
| | |
| | | ElMessageBox.alert("报工失败", "提示", { |
| | | confirmButtonText: "确定", |
| | | }); |
| | | }) |
| | | .finally(() => { |
| | | reportLoading.value = false; |
| | | }); |
| | | }); |
| | | }; |