| src/views/productionManagement/workOrderManagement/index.vue | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 | |
| src/views/productionPlan/productionPlan/index.vue | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 | |
| src/views/salesManagement/salesLedger/index.vue | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 |
src/views/productionManagement/workOrderManagement/index.vue
@@ -245,6 +245,7 @@ <template #footer> <span class="dialog-footer"> <el-button type="primary" :loading="reportLoading" @click="handleReport">确定</el-button> <el-button @click="reportDialogVisible = false">取消</el-button> </span> @@ -414,6 +415,7 @@ 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); @@ -780,6 +782,7 @@ productionOperationParamList: productionOperationParamList, }; reportLoading.value = true; addProductMain(submitParams) .then(res => { proxy.$modal.msgSuccess("报工成功"); @@ -790,6 +793,9 @@ ElMessageBox.alert("报工失败", "提示", { confirmButtonText: "确定", }); }) .finally(() => { reportLoading.value = false; }); }); }; src/views/productionPlan/productionPlan/index.vue
@@ -143,6 +143,7 @@ <template #footer> <span class="dialog-footer"> <el-button type="primary" :loading="mergeSubmitLoading" @click="handleMergeSubmit">确定下发</el-button> <el-button @click="isShowNewModal = false">取消</el-button> </span> @@ -466,6 +467,7 @@ // 合并下发弹窗控制 const isShowNewModal = ref(false); const mergeSubmitLoading = ref(false); // 合并下发表单数据 const mergeForm = reactive({ productName: "", @@ -778,6 +780,7 @@ const payload = { ...mergeForm, }; mergeSubmitLoading.value = true; productionPlanCombine(payload) .then(res => { if (res.code === 200) { @@ -793,6 +796,9 @@ .catch(err => { console.error("合并下发异常:", err); ElMessage.error("系统异常,合并下发失败"); }) .finally(() => { mergeSubmitLoading.value = false; }); // 可以选择刷新列表或其他操作 }; src/views/salesManagement/salesLedger/index.vue
@@ -1017,6 +1017,7 @@ <template #footer> <div class="dialog-footer"> <el-button type="primary" :loading="deliveryLoading" @click="submitDelivery">确认发货 </el-button> <el-button @click="closeDeliveryDia">取消</el-button> @@ -1182,6 +1183,7 @@ // 发货相关 const deliveryFormVisible = ref(false); const deliveryLoading = ref(false); const currentDeliveryRow = ref(null); const getDeliveryBatchQuantity = item => { const quantity = @@ -2760,6 +2762,7 @@ const productModelId = currentDeliveryRow.value.productModelId || currentDeliveryRow.value.modelId; deliveryLoading.value = true; addShippingInfo({ salesLedgerId: salesLedgerId, salesLedgerProductId: currentDeliveryRow.value.id, @@ -2810,6 +2813,8 @@ }); } }); }).finally(() => { deliveryLoading.value = false; }); } });