diff --git a/src/api/shopOrder/productionReport.js b/src/api/shopOrder/productionReport.js
index c5fb4cf..d18f0a0 100644
--- a/src/api/shopOrder/productionReport.js
+++ b/src/api/shopOrder/productionReport.js
@@ -26,3 +26,6 @@ export const searchCQCInspectionRecord = data => createAPI(`/productionReport/se
// 查询-产线产量报告(分订单) 订单数据
export const searchReportInOrderNo = data => createAPI(`/productionReport/searchReportInOrderNoData`,'post',data)
+
+// 取消报工
+export const cancelReport = data => createAPI(`/productionReport/cancelReport`,'post',data)
diff --git a/src/views/modules/shopOrder/productionReport/searchProductionLineOutputReportInOrderNo.vue b/src/views/modules/shopOrder/productionReport/searchProductionLineOutputReportInOrderNo.vue
index a517160..25ff559 100644
--- a/src/views/modules/shopOrder/productionReport/searchProductionLineOutputReportInOrderNo.vue
+++ b/src/views/modules/shopOrder/productionReport/searchProductionLineOutputReportInOrderNo.vue
@@ -169,6 +169,15 @@
border
v-loading="dataListLoading"
style="width: 100%;">
+
+
+ 取消报工
+
+
{
+ cancelReport(data).then(({data}) => {
+ if (data && data.code == 200) {
+ searchReportInOrderNo(this.searchData).then(({data}) => {
+ this.dataList3=data.rows;
+ })
+ this.$message.success( '操作成功')
+ } else {
+ this.$alert(data.msg, '错误', {
+ confirmButtonText: '确定'
+ })
+ }
+ })
+ })
+ },
tableHanddle(row){
console.log(row);
this.modelData=row;