diff --git a/ruoyi-admin/src/main/resources/mapper/job/MydoJobFinishMapper.xml b/ruoyi-admin/src/main/resources/mapper/job/MydoJobFinishMapper.xml index 6e9588f..a18cc5d 100644 --- a/ruoyi-admin/src/main/resources/mapper/job/MydoJobFinishMapper.xml +++ b/ruoyi-admin/src/main/resources/mapper/job/MydoJobFinishMapper.xml @@ -38,6 +38,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" + select mj.job_id, mj.status, mj.on_line_type, mj.task_no, mj.supplier_id, mj.customer_id, mj.department_id, mj.tray_code, mj.roadway_id, mj.cargo_space_id, @@ -129,8 +130,8 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" and mj.class_id = #{classId} and mj.warehouse_id = #{warehouseId} and mj.fault_flag = #{faultFlag} - and mj.in_or_out >=20 - and mj.in_or_out < 20 + and mj.in_or_out >=20 and mj.in_or_out not in(25,26) + and mj.in_or_out < 20 and mj.in_or_out not in(5,6) and mj.in_or_out in (5,6) and mj.in_or_out in (25,26) @@ -139,8 +140,6 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" #{item} - - ${params.warehouseDataScope} diff --git a/ruoyi-admin/src/main/resources/mapper/stock/BasStockMapper.xml b/ruoyi-admin/src/main/resources/mapper/stock/BasStockMapper.xml index aa0f389..75b0d88 100644 --- a/ruoyi-admin/src/main/resources/mapper/stock/BasStockMapper.xml +++ b/ruoyi-admin/src/main/resources/mapper/stock/BasStockMapper.xml @@ -87,6 +87,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" and bs.spare4 = #{spare4} and bs.spare5 = #{spare5} and bs.spare6 = #{spare6} + and bs.product_id = #{productId} and bcs.status = #{cargoSpaceStockStatus} and bw.warehouse_type in @@ -197,6 +198,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" spare4 = #{spare4}, spare5 = #{spare5}, spare6 = #{spare6}, + product_id = #{productId}, where stock_id = #{stockId} diff --git a/ruoyi-ui/src/views/out/outStockoutManage.vue b/ruoyi-ui/src/views/out/outStockoutManage.vue index 99d59ae..398ed8e 100644 --- a/ruoyi-ui/src/views/out/outStockoutManage.vue +++ b/ruoyi-ui/src/views/out/outStockoutManage.vue @@ -370,10 +370,11 @@ export default { this.$modal.msgError(this.selectedRows[i].stockoutId+"单据已审核,请勿重复审核") return } - if (this.selectedRows[i].status < 3 && status == "4") { - this.$modal.msgError(this.selectedRows[i].stockoutId+"单据未开始,无法确认") - return - } + + // if (this.selectedRows[i].status < 3 && status == "4") { + // this.$modal.msgError(this.selectedRows[i].stockoutId+"单据未开始,无法确认") + // return + // } if (this.selectedRows[i].status != "1" && status == "5"){ this.$modal.msgError(this.selectedRows[i].stockoutId+"单据已审核,无法作废") return;