现场 wms 去除固定单据 任务状态
This commit is contained in:
@@ -1,6 +1,7 @@
|
|||||||
package com.ruoyi.check.stockcheck.controller;
|
package com.ruoyi.check.stockcheck.controller;
|
||||||
|
|
||||||
import cn.hutool.core.convert.Convert;
|
import cn.hutool.core.convert.Convert;
|
||||||
|
import cn.hutool.core.util.StrUtil;
|
||||||
import com.ruoyi.check.stockcheck.domain.CheckStockVo;
|
import com.ruoyi.check.stockcheck.domain.CheckStockVo;
|
||||||
import com.ruoyi.check.stockcheck.domain.CheckStockin;
|
import com.ruoyi.check.stockcheck.domain.CheckStockin;
|
||||||
import com.ruoyi.check.stockcheck.service.ICheckStockinService;
|
import com.ruoyi.check.stockcheck.service.ICheckStockinService;
|
||||||
@@ -43,7 +44,7 @@ public class CheckStockinController extends BaseController
|
|||||||
{
|
{
|
||||||
startPage();
|
startPage();
|
||||||
List<CheckStockin> list = new ArrayList<>();
|
List<CheckStockin> list = new ArrayList<>();
|
||||||
if (Convert.toInt(checkStockin.getStatus())<4){
|
if (StrUtil.isEmpty(checkStockin.getStatus()) || Convert.toInt(checkStockin.getStatus())<4){
|
||||||
list = checkStockinService.selectCheckStockinList(checkStockin);
|
list = checkStockinService.selectCheckStockinList(checkStockin);
|
||||||
}else {
|
}else {
|
||||||
list = checkStockinFinishService.selectCheckStockinList(checkStockin);
|
list = checkStockinFinishService.selectCheckStockinList(checkStockin);
|
||||||
|
|||||||
@@ -1,5 +1,6 @@
|
|||||||
package com.ruoyi.job.mydojob.controller;
|
package com.ruoyi.job.mydojob.controller;
|
||||||
|
|
||||||
|
import cn.hutool.core.util.StrUtil;
|
||||||
import com.ruoyi.common.annotation.Log;
|
import com.ruoyi.common.annotation.Log;
|
||||||
import com.ruoyi.common.core.controller.BaseController;
|
import com.ruoyi.common.core.controller.BaseController;
|
||||||
import com.ruoyi.common.core.domain.AjaxResult;
|
import com.ruoyi.common.core.domain.AjaxResult;
|
||||||
@@ -41,7 +42,7 @@ public class InMydoJobController extends BaseController
|
|||||||
startPage();
|
startPage();
|
||||||
List<MydoJob> list = null;
|
List<MydoJob> list = null;
|
||||||
//mydoJob.setInOut("1");
|
//mydoJob.setInOut("1");
|
||||||
if(Integer.parseInt(mydoJob.getStatus())<4) {
|
if( StrUtil.isEmpty(mydoJob.getStatus()) ||Integer.parseInt(mydoJob.getStatus())<4) {
|
||||||
list = mydoJobService.selectMydoJobList(mydoJob);
|
list = mydoJobService.selectMydoJobList(mydoJob);
|
||||||
}else{
|
}else{
|
||||||
list= mydoJobFinishService.selectMydoJobFinishListByMydoJob(mydoJob);
|
list= mydoJobFinishService.selectMydoJobFinishListByMydoJob(mydoJob);
|
||||||
|
|||||||
@@ -1,6 +1,7 @@
|
|||||||
package com.ruoyi.job.mydojob.controller;
|
package com.ruoyi.job.mydojob.controller;
|
||||||
|
|
||||||
|
|
||||||
|
import cn.hutool.core.util.StrUtil;
|
||||||
import com.ruoyi.common.annotation.Log;
|
import com.ruoyi.common.annotation.Log;
|
||||||
import com.ruoyi.common.core.controller.BaseController;
|
import com.ruoyi.common.core.controller.BaseController;
|
||||||
import com.ruoyi.common.core.domain.AjaxResult;
|
import com.ruoyi.common.core.domain.AjaxResult;
|
||||||
@@ -36,7 +37,7 @@ public class OutMydoJobController extends BaseController {
|
|||||||
{
|
{
|
||||||
startPage();
|
startPage();
|
||||||
List<MydoJob> list;
|
List<MydoJob> list;
|
||||||
if(Integer.parseInt(mydoJob.getStatus())<4) {
|
if(StrUtil.isEmpty(mydoJob.getStatus()) || Integer.parseInt(mydoJob.getStatus())<4) {
|
||||||
list = mydoJobService.selectMydoJobList(mydoJob);
|
list = mydoJobService.selectMydoJobList(mydoJob);
|
||||||
}else{
|
}else{
|
||||||
list=mydoJobFinishService.selectMydoJobFinishListByMydoJob(mydoJob);
|
list=mydoJobFinishService.selectMydoJobFinishListByMydoJob(mydoJob);
|
||||||
|
|||||||
@@ -1,5 +1,6 @@
|
|||||||
package com.ruoyi.out.outStockout.controller;
|
package com.ruoyi.out.outStockout.controller;
|
||||||
|
|
||||||
|
import cn.hutool.core.util.StrUtil;
|
||||||
import com.ruoyi.common.annotation.Log;
|
import com.ruoyi.common.annotation.Log;
|
||||||
import com.ruoyi.common.core.controller.BaseController;
|
import com.ruoyi.common.core.controller.BaseController;
|
||||||
import com.ruoyi.common.core.domain.AjaxResult;
|
import com.ruoyi.common.core.domain.AjaxResult;
|
||||||
@@ -40,7 +41,7 @@ public class OutStockoutController extends BaseController {
|
|||||||
public TableDataInfo list(OutStockout outStockout) {
|
public TableDataInfo list(OutStockout outStockout) {
|
||||||
startPage();
|
startPage();
|
||||||
List<OutStockout> list = new ArrayList<>();
|
List<OutStockout> list = new ArrayList<>();
|
||||||
if(Integer.parseInt(outStockout.getStatus())<4){
|
if(StrUtil.isEmpty(outStockout.getStatus()) ||Integer.parseInt(outStockout.getStatus())<4){
|
||||||
list =outStockoutService.selectOutStockoutList(outStockout);
|
list =outStockoutService.selectOutStockoutList(outStockout);
|
||||||
}else{
|
}else{
|
||||||
list=outStockoutFinishService.selectOutStockoutFinishListByOutStockout(outStockout);
|
list=outStockoutFinishService.selectOutStockoutFinishListByOutStockout(outStockout);
|
||||||
|
|||||||
@@ -248,7 +248,7 @@ export default {
|
|||||||
pageNum: 1,
|
pageNum: 1,
|
||||||
pageSize: 10,
|
pageSize: 10,
|
||||||
jobId: null,
|
jobId: null,
|
||||||
status: '1',
|
status: null,
|
||||||
onLineType: null,
|
onLineType: null,
|
||||||
taskNo: null,
|
taskNo: null,
|
||||||
supplierId: null,
|
supplierId: null,
|
||||||
|
|||||||
@@ -182,7 +182,7 @@ export default {
|
|||||||
pageNum: 1,
|
pageNum: 1,
|
||||||
pageSize: 10,
|
pageSize: 10,
|
||||||
jobId: null,
|
jobId: null,
|
||||||
status: '1',
|
status: null,
|
||||||
onLineType: null,
|
onLineType: null,
|
||||||
taskNo: null,
|
taskNo: null,
|
||||||
supplierId: null,
|
supplierId: null,
|
||||||
|
|||||||
@@ -285,7 +285,7 @@ export default {
|
|||||||
checkType: null,
|
checkType: null,
|
||||||
createDate: null,
|
createDate: null,
|
||||||
createManId: null,
|
createManId: null,
|
||||||
status: '1',
|
status: null,
|
||||||
warehouseId: null,
|
warehouseId: null,
|
||||||
finishDate: null,
|
finishDate: null,
|
||||||
erpBill: null,
|
erpBill: null,
|
||||||
|
|||||||
@@ -220,7 +220,7 @@ export default {
|
|||||||
pageNum: 1,
|
pageNum: 1,
|
||||||
pageSize: 10,
|
pageSize: 10,
|
||||||
jobId: null,
|
jobId: null,
|
||||||
status: '1',
|
status: null,
|
||||||
onLineType: null,
|
onLineType: null,
|
||||||
taskNo: null,
|
taskNo: null,
|
||||||
supplierId: null,
|
supplierId: null,
|
||||||
|
|||||||
@@ -116,7 +116,7 @@
|
|||||||
</el-col>
|
</el-col>
|
||||||
<el-col :span="1.5">
|
<el-col :span="1.5">
|
||||||
|
|
||||||
<el-button
|
<!-- <el-button
|
||||||
type="info"
|
type="info"
|
||||||
plain
|
plain
|
||||||
icon="el-icon-download"
|
icon="el-icon-download"
|
||||||
@@ -125,8 +125,8 @@
|
|||||||
@click="bindTrayCode"
|
@click="bindTrayCode"
|
||||||
v-hasPermi="['in:stockIn:barcodePrinting']"
|
v-hasPermi="['in:stockIn:barcodePrinting']"
|
||||||
>绑定托盘
|
>绑定托盘
|
||||||
</el-button>
|
</el-button>-->
|
||||||
<!-- <el-button
|
<el-button
|
||||||
type="info"
|
type="info"
|
||||||
plain
|
plain
|
||||||
icon="el-icon-download"
|
icon="el-icon-download"
|
||||||
@@ -134,8 +134,8 @@
|
|||||||
:disabled="detailMultiple"
|
:disabled="detailMultiple"
|
||||||
@click="handleBarcodePrinting"
|
@click="handleBarcodePrinting"
|
||||||
v-hasPermi="['in:stockIn:barcodePrinting']"
|
v-hasPermi="['in:stockIn:barcodePrinting']"
|
||||||
>打印条码<!–打印条码–>
|
>打印条码<!--打印条码-->
|
||||||
</el-button>-->
|
</el-button>
|
||||||
</el-col>
|
</el-col>
|
||||||
<right-toolbar :showSearch.sync="showSearch" @queryTable="getList"></right-toolbar>
|
<right-toolbar :showSearch.sync="showSearch" @queryTable="getList"></right-toolbar>
|
||||||
</el-row>
|
</el-row>
|
||||||
@@ -145,7 +145,6 @@
|
|||||||
<el-table-column type="selection" width="55" align="center"/>
|
<el-table-column type="selection" width="55" align="center"/>
|
||||||
<el-table-column label="GUID" align="center" prop="stockinGuid" v-if="false"/>
|
<el-table-column label="GUID" align="center" prop="stockinGuid" v-if="false"/>
|
||||||
<el-table-column label="入库订单" align="left" prop="stockinId" width="150"/><!--入库订单-->
|
<el-table-column label="入库订单" align="left" prop="stockinId" width="150"/><!--入库订单-->
|
||||||
<el-table-column label="订单号" align="left" prop="erpBill" width="150"/><!--入库订单-->
|
|
||||||
<el-table-column label="入库类型" align="left" prop="inType"><!--入库类型-->
|
<el-table-column label="入库类型" align="left" prop="inType"><!--入库类型-->
|
||||||
<template slot-scope="scope">
|
<template slot-scope="scope">
|
||||||
<dict-tag :options="dict.type.in_bill_type" :value="scope.row.inType"/>
|
<dict-tag :options="dict.type.in_bill_type" :value="scope.row.inType"/>
|
||||||
@@ -161,11 +160,7 @@
|
|||||||
<dict-tag :options="dict.type.bill_resource" :value="scope.row.stockSource"/>
|
<dict-tag :options="dict.type.bill_resource" :value="scope.row.stockSource"/>
|
||||||
</template>
|
</template>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<!-- <el-table-column label="形态类型" align="left" prop="spare1"><!–形态类型–>
|
<el-table-column label="上位单号" align="left" prop="erpBill" width="150"/><!--入库订单-->
|
||||||
<template slot-scope="scope">
|
|
||||||
<dict-tag :options="dict.type.product_type" :value="scope.row.spare1"/>
|
|
||||||
</template>
|
|
||||||
</el-table-column>-->
|
|
||||||
<el-table-column label="仓库" align="left" prop="warehouseName"/><!--仓库-->
|
<el-table-column label="仓库" align="left" prop="warehouseName"/><!--仓库-->
|
||||||
<el-table-column label="创建人" align="left" prop="createManName"/><!--创建人-->
|
<el-table-column label="创建人" align="left" prop="createManName"/><!--创建人-->
|
||||||
<el-table-column label="部门" align="left" prop="departmentName"/><!--部门-->
|
<el-table-column label="部门" align="left" prop="departmentName"/><!--部门-->
|
||||||
@@ -296,7 +291,7 @@ import {
|
|||||||
reviewStockIn,
|
reviewStockIn,
|
||||||
confirmationStockIn
|
confirmationStockIn
|
||||||
} from "@/api/in/stockIn"
|
} from "@/api/in/stockIn"
|
||||||
import {listStockInDetail, barcodePrinting, bindTray} from "@/api/in/stockInDetail"
|
import {listStockInDetail, barcodePrinting} from "@/api/in/stockInDetail"
|
||||||
import {getLodop} from "@/plugins/LodopFuncs.js"
|
import {getLodop} from "@/plugins/LodopFuncs.js"
|
||||||
import {listWarehouse} from "@/api/bas/warehouse";
|
import {listWarehouse} from "@/api/bas/warehouse";
|
||||||
import vueEasyPrint from 'vue-easy-print'
|
import vueEasyPrint from 'vue-easy-print'
|
||||||
|
|||||||
@@ -247,7 +247,7 @@ export default {
|
|||||||
pageNum: 1,
|
pageNum: 1,
|
||||||
pageSize: 10,
|
pageSize: 10,
|
||||||
// jobId: null,
|
// jobId: null,
|
||||||
status: '1',
|
status: null,
|
||||||
onLineType: null,
|
onLineType: null,
|
||||||
taskNo: null,
|
taskNo: null,
|
||||||
supplierId: null,
|
supplierId: null,
|
||||||
|
|||||||
@@ -472,7 +472,7 @@ export default {
|
|||||||
productName: null,
|
productName: null,
|
||||||
startDate: null,
|
startDate: null,
|
||||||
finishDate: null,
|
finishDate: null,
|
||||||
status: '1'
|
status: null
|
||||||
},
|
},
|
||||||
// 子表分页参数
|
// 子表分页参数
|
||||||
detailQueryParams: {
|
detailQueryParams: {
|
||||||
|
|||||||
Reference in New Issue
Block a user