查询统计
This commit is contained in:
@@ -3,26 +3,60 @@
|
||||
<el-form :model="queryParams" ref="queryForm" size="small" :inline="true" v-show="showSearch" label-width="68px">
|
||||
<el-form-item label="分组选项">
|
||||
<el-checkbox-group v-model="queryParams.groupFields" @change="handleQuery">
|
||||
<el-checkbox label="productId">物料编号(SKU)</el-checkbox>
|
||||
<el-checkbox label="productName">物料名称</el-checkbox>
|
||||
<!-- <el-checkbox label="spec">规格</el-checkbox>-->
|
||||
<el-checkbox label="unit">单位</el-checkbox>
|
||||
<!-- <el-checkbox label="lotNo">批号</el-checkbox>-->
|
||||
<el-checkbox label="warehouseId">仓库名称</el-checkbox>
|
||||
<!-- <el-checkbox label="roadwayId">巷道</el-checkbox>-->
|
||||
<el-checkbox label="cargoSpaceId">货位号</el-checkbox>
|
||||
<el-checkbox label="price">单价(元)</el-checkbox>
|
||||
<el-checkbox label="spare1">英文名称</el-checkbox>
|
||||
<el-checkbox label="spare2">单件净重(kg)</el-checkbox>
|
||||
<el-checkbox label="spare5">长度(mm)</el-checkbox>
|
||||
<el-checkbox label="spare6">宽度(mm)</el-checkbox>
|
||||
<el-checkbox label="spare7">高度(mm)</el-checkbox>
|
||||
<el-checkbox label="spare8">体积(m³)</el-checkbox>
|
||||
<el-checkbox label="productId">品号</el-checkbox>
|
||||
<el-checkbox label="productName">品名</el-checkbox>
|
||||
<!-- <el-checkbox label="unit">单位</el-checkbox> -->
|
||||
<!-- <el-checkbox label="warehouseId">仓库</el-checkbox> -->
|
||||
<el-checkbox label="roadwayId">巷道</el-checkbox>
|
||||
<el-checkbox label="cargoSpaceId">货位</el-checkbox>
|
||||
<el-checkbox label="price">品号描述</el-checkbox>
|
||||
<el-checkbox label="spec">规格</el-checkbox>
|
||||
<!-- <el-checkbox label="parentId">产品分类</el-checkbox> -->
|
||||
<el-checkbox label="cargoNo">英文描述</el-checkbox>
|
||||
<!-- <el-checkbox label="spare1">型号</el-checkbox> -->
|
||||
<el-checkbox label="spare2">单件净重</el-checkbox>
|
||||
<!-- <el-checkbox label="spare3">颜色</el-checkbox> -->
|
||||
<!-- <el-checkbox label="spare4">序列号</el-checkbox> -->
|
||||
<!-- <el-checkbox label="spare5">电压</el-checkbox> -->
|
||||
<!-- <el-checkbox label="spare6">功率</el-checkbox> -->
|
||||
<!-- <el-checkbox label="spare7">相位</el-checkbox> -->
|
||||
<!-- <el-checkbox label="spare8">毛重</el-checkbox> -->
|
||||
<el-checkbox label="spare9">NC号</el-checkbox>
|
||||
<el-checkbox label="spare10">电源线</el-checkbox>
|
||||
<el-checkbox label="spare11">插头</el-checkbox>
|
||||
<el-checkbox label="spare12">接嘴</el-checkbox>
|
||||
<el-checkbox label="spare13">快捷码</el-checkbox>
|
||||
<el-checkbox label="spare14">库存单位编号</el-checkbox>
|
||||
<el-checkbox label="spare15">库存单位名称</el-checkbox>
|
||||
<el-checkbox label="spare16">品号群组</el-checkbox>
|
||||
<el-checkbox label="spare17">归类品</el-checkbox>
|
||||
<el-checkbox label="spare18">计量体系</el-checkbox>
|
||||
<el-checkbox label="spare19">群组名称</el-checkbox>
|
||||
<el-checkbox label="spare20">批号管理</el-checkbox>
|
||||
<el-checkbox label="spare21">状态</el-checkbox>
|
||||
<el-checkbox label="spare22">产品大类</el-checkbox>
|
||||
<el-checkbox label="spare23">产品二类</el-checkbox>
|
||||
<el-checkbox label="spare24">产品线/产品系列</el-checkbox>
|
||||
<el-checkbox label="spare25">BOM状态</el-checkbox>
|
||||
<el-checkbox label="spare26">产品定位</el-checkbox>
|
||||
<el-checkbox label="spare27">电脑板型号</el-checkbox>
|
||||
<el-checkbox label="spare28">非标要求</el-checkbox>
|
||||
<el-checkbox label="spare29">品牌</el-checkbox>
|
||||
<el-checkbox label="spare30">非标颜色</el-checkbox>
|
||||
<el-checkbox label="spare31">主颜色</el-checkbox>
|
||||
<el-checkbox label="spare32">辅助颜色</el-checkbox>
|
||||
<el-checkbox label="spare33">是否标准款</el-checkbox>
|
||||
<el-checkbox label="spare34">包装方式</el-checkbox>
|
||||
<el-checkbox label="spare35">主要包装方式</el-checkbox>
|
||||
<el-checkbox label="spare36">长</el-checkbox>
|
||||
<el-checkbox label="spare37">宽</el-checkbox>
|
||||
<el-checkbox label="spare38">高</el-checkbox>
|
||||
<el-checkbox label="spare39">包装材积</el-checkbox>
|
||||
</el-checkbox-group>
|
||||
</el-form-item>
|
||||
<br>
|
||||
<el-form-item label="仓库名称" prop="warehouseId">
|
||||
<el-select v-model="queryParams.warehouseId" placeholder="请选择仓库名称" clearable>
|
||||
<!-- <el-form-item label="仓库" prop="warehouseId">
|
||||
<el-select v-model="queryParams.warehouseId" placeholder="请选择仓库" clearable>
|
||||
<el-option
|
||||
v-for="dict in warehouseOptions"
|
||||
:key="dict.warehouseId"
|
||||
@@ -30,11 +64,19 @@
|
||||
:value="dict.warehouseId"
|
||||
/>
|
||||
</el-select>
|
||||
</el-form-item> -->
|
||||
<el-form-item label="巷道" prop="roadwayId">
|
||||
<el-input
|
||||
v-model="queryParams.roadwayId"
|
||||
placeholder="请输入巷道"
|
||||
clearable
|
||||
@keyup.enter.native="handleQuery"
|
||||
/>
|
||||
</el-form-item>
|
||||
<el-form-item label="物料编号" prop="productId">
|
||||
<el-form-item label="物料编码" prop="productId">
|
||||
<el-input
|
||||
v-model="queryParams.productId"
|
||||
placeholder="请输入物料编号(SKU)"
|
||||
placeholder="请输入物料编码"
|
||||
clearable
|
||||
@keyup.enter.native="handleQuery"
|
||||
/>
|
||||
@@ -47,26 +89,18 @@
|
||||
@keyup.enter.native="handleQuery"
|
||||
/>
|
||||
</el-form-item>
|
||||
<!-- <el-form-item label="规格" prop="spec"> <!– 规格 –>-->
|
||||
<!-- <el-input-->
|
||||
<!-- v-model="queryParams.spec"-->
|
||||
<!-- placeholder="请输入规格"-->
|
||||
<!-- clearable-->
|
||||
<!-- @keyup.enter.native="handleQuery"-->
|
||||
<!-- />-->
|
||||
<!-- </el-form-item>-->
|
||||
<!-- <el-form-item label="批号" prop="lotNo"> <!– 批号 –>-->
|
||||
<!-- <el-input-->
|
||||
<!-- v-model="queryParams.lotNo"-->
|
||||
<!-- placeholder="请输入批号"-->
|
||||
<!-- clearable-->
|
||||
<!-- @keyup.enter.native="handleQuery"-->
|
||||
<!-- />-->
|
||||
<!-- </el-form-item>-->
|
||||
<el-form-item label="货位编号" prop="cargoSpaceId">
|
||||
<el-form-item label="NC号" prop="spare9">
|
||||
<el-input
|
||||
v-model="queryParams.spare9"
|
||||
placeholder="请输入NC号"
|
||||
clearable
|
||||
@keyup.enter.native="handleQuery"
|
||||
/>
|
||||
</el-form-item>
|
||||
<el-form-item label="货位" prop="cargoSpaceId">
|
||||
<el-input
|
||||
v-model="queryParams.cargoSpaceId"
|
||||
placeholder="请输入货位号"
|
||||
placeholder="请输入货位"
|
||||
clearable
|
||||
@keyup.enter.native="handleQuery"
|
||||
/>
|
||||
@@ -98,19 +132,54 @@
|
||||
max-height="650"
|
||||
>
|
||||
<el-table-column type="selection" width="55" align="center" />
|
||||
<el-table-column label="物料编号(SKU)" align="left" prop="productId" width="120" v-if="queryParams.groupFields.includes('productId')" />
|
||||
<el-table-column label="物料名称" align="left" prop="productName" width="120" v-if="queryParams.groupFields.includes('productName')" />
|
||||
<el-table-column label="单位" align="left" prop="unit" width="120" v-if="queryParams.groupFields.includes('unit')" />
|
||||
<el-table-column label="仓库名称" align="left" prop="warehouseName" width="120" v-if="queryParams.groupFields.includes('warehouseId')" />
|
||||
<el-table-column label="货位号" align="left" prop="cargoSpaceName" width="120" v-if="queryParams.groupFields.includes('cargoSpaceId')" />
|
||||
<el-table-column label="数量(件)" align="right" prop="quantity" width="120" />
|
||||
<el-table-column label="英文名称" align="left" prop="spare1" width="120" v-if="queryParams.groupFields.includes('spare1')" />
|
||||
<el-table-column label="单件净重(kg)" align="right" prop="spare2" width="120" v-if="queryParams.groupFields.includes('spare2')" />
|
||||
<el-table-column label="长度(mm)" align="right" prop="spare5" width="120" v-if="queryParams.groupFields.includes('spare5')" />
|
||||
<el-table-column label="宽度(mm)" align="right" prop="spare6" width="120" v-if="queryParams.groupFields.includes('spare6')" />
|
||||
<el-table-column label="高度(mm)" align="right" prop="spare7" width="120" v-if="queryParams.groupFields.includes('spare7')" />
|
||||
<el-table-column label="体积(m³)" align="right" prop="spare8" width="120" v-if="queryParams.groupFields.includes('spare8')" />
|
||||
<el-table-column label="单价(元)" align="right" prop="price" width="120" v-if="queryParams.groupFields.includes('price')" />
|
||||
<el-table-column label="物料编码" align="left" prop="productId" width="120" v-if="queryParams.groupFields.includes('productId')" />
|
||||
<el-table-column label="物料名称" align="center" prop="productName" width="120" v-if="queryParams.groupFields.includes('productName')" />
|
||||
<!-- <el-table-column label="单位" align="center" prop="unit" width="120" v-if="queryParams.groupFields.includes('unit')" /> -->
|
||||
<el-table-column label="仓库" align="left" prop="warehouseName" width="120" v-if="queryParams.groupFields.includes('warehouseId')" />
|
||||
<el-table-column label="巷道" align="left" prop="roadwayId" width="120" />
|
||||
<el-table-column label="货位" align="left" prop="cargoSpaceName" width="120" v-if="queryParams.groupFields.includes('cargoSpaceId')" />
|
||||
<el-table-column label="库存数量" align="right" prop="quantity" width="120" />
|
||||
<!-- <el-table-column label="型号" align="center" prop="spare1" width="120" v-if="queryParams.groupFields.includes('spare1')" /> -->
|
||||
<!-- <el-table-column label="单件净重" align="center" prop="spare2" width="120" v-if="queryParams.groupFields.includes('spare2')" /> -->
|
||||
<!-- <el-table-column label="电压" align="center" prop="spare5" width="120" v-if="queryParams.groupFields.includes('spare5')" /> -->
|
||||
<!-- <el-table-column label="功率" align="center" prop="spare6" width="120" v-if="queryParams.groupFields.includes('spare6')" /> -->
|
||||
<!-- <el-table-column label="相位" align="center" prop="spare7" width="120" v-if="queryParams.groupFields.includes('spare7')" /> -->
|
||||
<!-- <el-table-column label="毛重" align="center" prop="spare8" width="120" v-if="queryParams.groupFields.includes('spare8')" /> -->
|
||||
<el-table-column label="规格" align="left" prop="spec" width="120" v-if="queryParams.groupFields.includes('spec')" />
|
||||
<el-table-column label="品号描述" align="left" prop="price" width="120" v-if="queryParams.groupFields.includes('price')" />
|
||||
<el-table-column label="产品分类" align="left" prop="parentId" width="120" v-if="queryParams.groupFields.includes('parentId')" />
|
||||
<el-table-column label="英文描述" align="left" prop="cargoNo" width="120" v-if="queryParams.groupFields.includes('cargoNo')" />
|
||||
<el-table-column label="NC号" align="left" prop="spare9" width="120" v-if="queryParams.groupFields.includes('spare9')" />
|
||||
<el-table-column label="电源线" align="left" prop="spare10" width="120" v-if="queryParams.groupFields.includes('spare10')" />
|
||||
<el-table-column label="插头" align="left" prop="spare11" width="120" v-if="queryParams.groupFields.includes('spare11')" />
|
||||
<el-table-column label="接嘴" align="left" prop="spare12" width="120" v-if="queryParams.groupFields.includes('spare12')" />
|
||||
<el-table-column label="快捷码" align="left" prop="spare13" width="120" v-if="queryParams.groupFields.includes('spare13')" />
|
||||
<el-table-column label="库存单位编号" align="left" prop="spare14" width="120" v-if="queryParams.groupFields.includes('spare14')" />
|
||||
<el-table-column label="库存单位名称" align="left" prop="spare15" width="120" v-if="queryParams.groupFields.includes('spare15')" />
|
||||
<el-table-column label="品号群组" align="left" prop="spare16" width="120" v-if="queryParams.groupFields.includes('spare16')" />
|
||||
<el-table-column label="归类品" align="left" prop="spare17" width="120" v-if="queryParams.groupFields.includes('spare17')" />
|
||||
<el-table-column label="计量体系" align="left" prop="spare18" width="120" v-if="queryParams.groupFields.includes('spare18')" />
|
||||
<el-table-column label="群组名称" align="left" prop="spare19" width="120" v-if="queryParams.groupFields.includes('spare19')" />
|
||||
<el-table-column label="批号管理" align="left" prop="spare20" width="120" v-if="queryParams.groupFields.includes('spare20')" />
|
||||
<el-table-column label="状态" align="left" prop="spare21" width="120" v-if="queryParams.groupFields.includes('spare21')" />
|
||||
<el-table-column label="产品大类" align="left" prop="spare22" width="120" v-if="queryParams.groupFields.includes('spare22')" />
|
||||
<el-table-column label="产品二类" align="left" prop="spare23" width="120" v-if="queryParams.groupFields.includes('spare23')" />
|
||||
<el-table-column label="产品线/产品系列" align="left" prop="spare24" width="120" v-if="queryParams.groupFields.includes('spare24')" />
|
||||
<el-table-column label="BOM状态" align="left" prop="spare25" width="120" v-if="queryParams.groupFields.includes('spare25')" />
|
||||
<el-table-column label="产品定位" align="left" prop="spare26" width="120" v-if="queryParams.groupFields.includes('spare26')" />
|
||||
<el-table-column label="电脑板型号" align="left" prop="spare27" width="120" v-if="queryParams.groupFields.includes('spare27')" />
|
||||
<el-table-column label="非标要求" align="left" prop="spare28" width="120" v-if="queryParams.groupFields.includes('spare28')" />
|
||||
<el-table-column label="品牌" align="left" prop="spare29" width="120" v-if="queryParams.groupFields.includes('spare29')" />
|
||||
<el-table-column label="非标颜色" align="left" prop="spare30" width="120" v-if="queryParams.groupFields.includes('spare30')" />
|
||||
<el-table-column label="主颜色" align="left" prop="spare31" width="120" v-if="queryParams.groupFields.includes('spare31')" />
|
||||
<el-table-column label="辅助颜色" align="left" prop="spare32" width="120" v-if="queryParams.groupFields.includes('spare32')" />
|
||||
<el-table-column label="是否标准款" align="left" prop="spare33" width="120" v-if="queryParams.groupFields.includes('spare33')" />
|
||||
<el-table-column label="包装方式" align="left" prop="spare34" width="120" v-if="queryParams.groupFields.includes('spare34')" />
|
||||
<el-table-column label="主要包装方式" align="left" prop="spare35" width="120" v-if="queryParams.groupFields.includes('spare35')" />
|
||||
<el-table-column label="长" align="right" prop="spare36" width="120" v-if="queryParams.groupFields.includes('spare36')" />
|
||||
<el-table-column label="宽" align="right" prop="spare37" width="120" v-if="queryParams.groupFields.includes('spare37')" />
|
||||
<el-table-column label="高" align="right" prop="spare38" width="120" v-if="queryParams.groupFields.includes('spare38')" />
|
||||
<el-table-column label="包装材积" align="center" prop="spare39" width="120" v-if="queryParams.groupFields.includes('spare39')" />
|
||||
<el-table-column label="备注" align="left" prop="remark" width="120" />
|
||||
</el-table>
|
||||
|
||||
@@ -133,8 +202,8 @@ export default {
|
||||
data() {
|
||||
return {
|
||||
// 遮罩层
|
||||
loading: true,
|
||||
// 仓库选项
|
||||
loading: false,
|
||||
// 仓库选项列表
|
||||
warehouseOptions: [],
|
||||
// 选中数组
|
||||
ids: [],
|
||||
@@ -160,6 +229,45 @@ export default {
|
||||
warehouseId: null,
|
||||
roadwayId: null,
|
||||
quantity: null,
|
||||
parentId: null,
|
||||
cargoNo: null,
|
||||
spare3: null,
|
||||
spare4: null,
|
||||
spare5: null,
|
||||
spare6: null,
|
||||
spare7: null,
|
||||
spare8: null,
|
||||
spare9: null,
|
||||
spare10: null,
|
||||
spare11: null,
|
||||
spare12: null,
|
||||
spare13: null,
|
||||
spare14: null,
|
||||
spare15: null,
|
||||
spare16: null,
|
||||
spare17: null,
|
||||
spare18: null,
|
||||
spare19: null,
|
||||
spare20: null,
|
||||
spare21: null,
|
||||
spare22: null,
|
||||
spare23: null,
|
||||
spare24: null,
|
||||
spare25: null,
|
||||
spare26: null,
|
||||
spare27: null,
|
||||
spare28: null,
|
||||
spare29: null,
|
||||
spare30: null,
|
||||
spare31: null,
|
||||
spare32: null,
|
||||
spare33: null,
|
||||
spare34: null,
|
||||
spare35: null,
|
||||
spare36: null,
|
||||
spare37: null,
|
||||
spare38: null,
|
||||
spare39: null,
|
||||
//分组字段
|
||||
groupFields: []
|
||||
}
|
||||
@@ -168,6 +276,46 @@ export default {
|
||||
created() {
|
||||
// 初始化时全选分组选项
|
||||
this.queryParams.groupFields = [
|
||||
'parentId',
|
||||
'cargoNo',
|
||||
'roadwayId',
|
||||
'spare3',
|
||||
'spare4',
|
||||
'spare5',
|
||||
'spare6',
|
||||
'spare7',
|
||||
'spare8',
|
||||
'spare9',
|
||||
'spare10',
|
||||
'spare11',
|
||||
'spare12',
|
||||
'spare13',
|
||||
'spare14',
|
||||
'spare15',
|
||||
'spare16',
|
||||
'spare17',
|
||||
'spare18',
|
||||
'spare19',
|
||||
'spare20',
|
||||
'spare21',
|
||||
'spare22',
|
||||
'spare23',
|
||||
'spare24',
|
||||
'spare25',
|
||||
'spare26',
|
||||
'spare27',
|
||||
'spare28',
|
||||
'spare29',
|
||||
'spare30',
|
||||
'spare31',
|
||||
'spare32',
|
||||
'spare33',
|
||||
'spare34',
|
||||
'spare35',
|
||||
'spare36',
|
||||
'spare37',
|
||||
'spare38',
|
||||
'spare39',
|
||||
'productId', 'productName', 'spec', 'unit', 'lotNo', 'warehouseId', 'cargoSpaceId',
|
||||
'price', 'spare1', 'spare2', 'spare5', 'spare6', 'spare7', 'spare8'
|
||||
];
|
||||
@@ -217,6 +365,36 @@ export default {
|
||||
this.resetForm("queryForm");
|
||||
// 重置时恢复全选状态
|
||||
this.queryParams.groupFields = [
|
||||
'parentId',
|
||||
'cargoNo',
|
||||
'roadwayId',
|
||||
'spare3',
|
||||
'spare4',
|
||||
'spare5',
|
||||
'spare6',
|
||||
'spare7',
|
||||
'spare8',
|
||||
'spare9',
|
||||
'spare10',
|
||||
'spare11',
|
||||
'spare12',
|
||||
'spare13',
|
||||
'spare14',
|
||||
'spare15',
|
||||
'spare16',
|
||||
'spare17',
|
||||
'spare18',
|
||||
'spare19',
|
||||
'spare20',
|
||||
'spare21',
|
||||
'spare22',
|
||||
'spare23',
|
||||
'spare24',
|
||||
'spare25',
|
||||
'spare26',
|
||||
'spare27',
|
||||
'spare28',
|
||||
'spare29',
|
||||
'productId', 'productName', 'spec', 'unit', 'lotNo', 'warehouseId', 'cargoSpaceId',
|
||||
'price', 'spare1', 'spare2', 'spare5', 'spare6', 'spare7', 'spare8'
|
||||
];
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
@@ -1,7 +1,7 @@
|
||||
<template>
|
||||
<div class="app-container">
|
||||
<el-form :model="queryParams" ref="queryForm" size="small" :inline="true" v-show="showSearch" label-width="68px">
|
||||
<el-form-item label="仓库名称" prop="warehouseId">
|
||||
<!-- <el-form-item label="仓库名称" prop="warehouseId">
|
||||
<el-select v-model="queryParams.warehouseId" placeholder="请选择仓库名称" clearable>
|
||||
<el-option
|
||||
v-for="dict in warehouseOptions"
|
||||
@@ -10,183 +10,62 @@
|
||||
:value="dict.warehouseId"
|
||||
/>
|
||||
</el-select>
|
||||
</el-form-item>
|
||||
<!-- <el-form-item label="id" prop="onlyIdentity">-->
|
||||
<!-- <el-input-->
|
||||
<!-- v-model="queryParams.onlyIdentity"-->
|
||||
<!-- placeholder="请输入id"-->
|
||||
<!-- clearable-->
|
||||
<!-- @keyup.enter.native="handleQuery"-->
|
||||
<!-- />-->
|
||||
<!-- </el-form-item>-->
|
||||
<el-form-item label="库存号" prop="stockId">
|
||||
</el-form-item> -->
|
||||
|
||||
<el-form-item label="库存ID" prop="stockId">
|
||||
<el-input
|
||||
v-model="queryParams.stockId"
|
||||
placeholder="请输入库存号"
|
||||
placeholder="请输入库存ID"
|
||||
clearable
|
||||
@keyup.enter.native="handleQuery"
|
||||
/>
|
||||
</el-form-item>
|
||||
<el-form-item label="入库单号" prop="stockinDetailId" style="white-space: nowrap">
|
||||
<!-- <el-form-item label="入库单号" prop="stockinDetailId" style="white-space: nowrap">
|
||||
<el-input
|
||||
v-model="queryParams.stockinDetailId"
|
||||
placeholder="请输入入库单号"
|
||||
clearable
|
||||
@keyup.enter.native="handleQuery"
|
||||
/>
|
||||
</el-form-item>
|
||||
<!-- <el-form-item :label="$t('searchViewStockDetail.cargoSpaceId')" prop="cargoSpaceId"> <!– 货位ID –>-->
|
||||
<!-- <el-input-->
|
||||
<!-- v-model="queryParams.cargoSpaceId"-->
|
||||
<!-- :placeholder="$t('searchViewStockDetail.inputCargoSpaceId')"-->
|
||||
<!-- clearable-->
|
||||
<!-- @keyup.enter.native="handleQuery"-->
|
||||
<!-- />-->
|
||||
<!-- </el-form-item>-->
|
||||
<!-- <el-form-item :label="$t('searchViewStockDetail.trayCode')" prop="trayCode"> <!– 托盘条码 –>-->
|
||||
<!-- <el-input-->
|
||||
<!-- v-model="queryParams.trayCode"-->
|
||||
<!-- :placeholder="$t('searchViewStockDetail.inputTrayCode')"-->
|
||||
<!-- clearable-->
|
||||
<!-- @keyup.enter.native="handleQuery"-->
|
||||
<!-- />-->
|
||||
<!-- </el-form-item>-->
|
||||
<!-- <el-form-item :label="$t('searchViewStockDetail.quantity')" prop="quantity"> <!– 数量 –>-->
|
||||
<!-- <el-input-->
|
||||
<!-- v-model="queryParams.quantity"-->
|
||||
<!-- :placeholder="$t('searchViewStockDetail.inputQuantity')"-->
|
||||
<!-- clearable-->
|
||||
<!-- @keyup.enter.native="handleQuery"-->
|
||||
<!-- />-->
|
||||
<!-- </el-form-item>-->
|
||||
<!-- <el-form-item :label="$t('searchViewStockDetail.jobId')" prop="jobId"> <!– 作业ID –>-->
|
||||
<!-- <el-input-->
|
||||
<!-- v-model="queryParams.jobId"-->
|
||||
<!-- :placeholder="$t('searchViewStockDetail.inputJobId')"-->
|
||||
<!-- clearable-->
|
||||
<!-- @keyup.enter.native="handleQuery"-->
|
||||
<!-- />-->
|
||||
<!-- </el-form-item>-->
|
||||
<!-- <el-form-item :label="$t('searchViewStockDetail.lotNo')" prop="lotNo"> <!– 批号 –>-->
|
||||
<!-- <el-input-->
|
||||
<!-- v-model="queryParams.lotNo"-->
|
||||
<!-- :placeholder="$t('searchViewStockDetail.inputLotNo')"-->
|
||||
<!-- clearable-->
|
||||
<!-- @keyup.enter.native="handleQuery"-->
|
||||
<!-- />-->
|
||||
<!-- </el-form-item>-->
|
||||
</el-form-item> -->
|
||||
|
||||
<!-- <el-form-item :label="$t('searchViewStockDetail.inDate')" prop="inDate"> <!– 入库时间 –>-->
|
||||
<!-- <el-date-picker-->
|
||||
<!-- v-model="queryParams.inDate"-->
|
||||
<!-- :placeholder="$t('searchViewStockDetail.inputInDate')"-->
|
||||
<!-- clearable-->
|
||||
<!-- type="date"-->
|
||||
<!-- value-format="yyyy-MM-dd"-->
|
||||
<!-- @keyup.enter.native="handleQuery">-->
|
||||
<!-- </el-date-picker>-->
|
||||
<!-- </el-form-item>-->
|
||||
<!-- <el-form-item :label="$t('searchViewStockDetail.warehouseId')" prop="warehouseId"> <!– 仓库 –>-->
|
||||
<!-- <el-input-->
|
||||
<!-- v-model="queryParams.warehouseId"-->
|
||||
<!-- :placeholder="$t('searchViewStockDetail.inputWarehouseId')"-->
|
||||
<!-- clearable-->
|
||||
<!-- @keyup.enter.native="handleQuery"-->
|
||||
<!-- />-->
|
||||
<!-- </el-form-item>-->
|
||||
<!-- <el-form-item :label="$t('searchViewStockDetail.stackingId')" prop="stackingId"> <!– 剁型ID –>-->
|
||||
<!-- <el-input-->
|
||||
<!-- v-model="queryParams.stackingId"-->
|
||||
<!-- :placeholder="$t('searchViewStockDetail.inputStackingId')"-->
|
||||
<!-- clearable-->
|
||||
<!-- @keyup.enter.native="handleQuery"-->
|
||||
<!-- />-->
|
||||
<!-- </el-form-item>-->
|
||||
<!-- <el-form-item :label="$t('searchViewStockDetail.cargoSpaceName')" prop="cargoSpaceName"> <!– 货位名称 –>-->
|
||||
<!-- <el-input-->
|
||||
<!-- v-model="queryParams.cargoSpaceName"-->
|
||||
<!-- :placeholder="$t('searchViewStockDetail.inputCargoSpaceName')"-->
|
||||
<!-- clearable-->
|
||||
<!-- @keyup.enter.native="handleQuery"-->
|
||||
<!-- />-->
|
||||
<!-- </el-form-item>-->
|
||||
<!-- <el-form-item :label="$t('searchViewStockDetail.roadwayId')" prop="roadwayId"> <!– 巷道ID –>-->
|
||||
<!-- <el-input-->
|
||||
<!-- v-model="queryParams.roadwayId"-->
|
||||
<!-- :placeholder="$t('searchViewStockDetail.inputRoadwayId')"-->
|
||||
<!-- clearable-->
|
||||
<!-- @keyup.enter.native="handleQuery"-->
|
||||
<!-- />-->
|
||||
<!-- </el-form-item>-->
|
||||
<!-- <el-form-item :label="$t('searchViewStockDetail.locked')" prop="locked"> <!– 是否锁定 –>-->
|
||||
<!-- <el-input-->
|
||||
<!-- v-model="queryParams.locked"-->
|
||||
<!-- :placeholder="$t('searchViewStockDetail.inputLocked')"-->
|
||||
<!-- clearable-->
|
||||
<!-- @keyup.enter.native="handleQuery"-->
|
||||
<!-- />-->
|
||||
<!-- </el-form-item>-->
|
||||
<el-form-item label="物料编号" prop="productId">
|
||||
<el-form-item label="品号" prop="productId">
|
||||
<el-input
|
||||
v-model="queryParams.productId"
|
||||
placeholder="请输入物料编号(SKU)"
|
||||
placeholder="请输入品号"
|
||||
clearable
|
||||
@keyup.enter.native="handleQuery"
|
||||
/>
|
||||
</el-form-item>
|
||||
<el-form-item label="物料名称" prop="productName">
|
||||
<el-form-item label="品名" prop="productName">
|
||||
<el-input
|
||||
v-model="queryParams.productName"
|
||||
placeholder="请输入物料名称关键字"
|
||||
placeholder="请输入品名"
|
||||
clearable
|
||||
@keyup.enter.native="handleQuery"
|
||||
/>
|
||||
</el-form-item>
|
||||
<!-- <el-form-item :label="$t('searchViewStockDetail.spec')" prop="spec"> <!– 规格 –>-->
|
||||
<!-- <el-input-->
|
||||
<!-- v-model="queryParams.spec"-->
|
||||
<!-- :placeholder="$t('searchViewStockDetail.inputSpec')"-->
|
||||
<!-- clearable-->
|
||||
<!-- @keyup.enter.native="handleQuery"-->
|
||||
<!-- />-->
|
||||
<!-- </el-form-item>-->
|
||||
<!-- <el-form-item :label="$t('searchViewStockDetail.unit')" prop="unit"> <!– 单位 –>-->
|
||||
<!-- <el-input-->
|
||||
<!-- v-model="queryParams.unit"-->
|
||||
<!-- :placeholder="$t('searchViewStockDetail.inputUnit')"-->
|
||||
<!-- clearable-->
|
||||
<!-- @keyup.enter.native="handleQuery"-->
|
||||
<!-- />-->
|
||||
<!-- </el-form-item>-->
|
||||
<!-- <el-form-item :label="$t('searchViewStockDetail.price')" prop="price"> <!– 价格 –>-->
|
||||
<!-- <el-input-->
|
||||
<!-- v-model="queryParams.price"-->
|
||||
<!-- :placeholder="$t('searchViewStockDetail.inputPrice')"-->
|
||||
<!-- clearable-->
|
||||
<!-- @keyup.enter.native="handleQuery"-->
|
||||
<!-- />-->
|
||||
<!-- </el-form-item>-->
|
||||
|
||||
<!-- <el-form-item :label="$t('stockManagement.productStatus')" prop="productStatus"><!– 物料状态 –>-->
|
||||
<!-- <el-select v-model="queryParams.productStatus" :placeholder="$t('stockManagement.selectProductStatus')" clearable>-->
|
||||
<!-- <el-option-->
|
||||
<!-- v-for="dict in dict.type.product_status"-->
|
||||
<!-- :key="dict.value"-->
|
||||
<!-- :label="dict.label"-->
|
||||
<!-- :value="dict.value"-->
|
||||
<!-- />-->
|
||||
<!-- </el-select>-->
|
||||
<!-- </el-form-item>-->
|
||||
<!-- <el-form-item :label="$t('stockManagement.stockStatus')" prop="stockStatus"><!– 库存状态 –>-->
|
||||
<!-- <el-select v-model="queryParams.stockStatus" :placeholder="$t('stockManagement.stockStatus')" clearable>-->
|
||||
<!-- <el-option-->
|
||||
<!-- v-for="dict in dict.type.stock_status"-->
|
||||
<!-- :key="dict.value"-->
|
||||
<!-- :label="dict.label"-->
|
||||
<!-- :value="dict.value"-->
|
||||
<!-- />-->
|
||||
<!-- </el-select>-->
|
||||
<!-- </el-form-item>-->
|
||||
<el-form-item label="物料状态" prop="productStatus">
|
||||
<el-select v-model="queryParams.productStatus" placeholder="请选择物料状态" clearable>
|
||||
<el-option
|
||||
v-for="dict in dict.type.product_status"
|
||||
:key="dict.value"
|
||||
:label="dict.label"
|
||||
:value="dict.value"
|
||||
/>
|
||||
</el-select>
|
||||
</el-form-item>
|
||||
<el-form-item label="库存状态" prop="stockStatus">
|
||||
<el-select v-model="queryParams.stockStatus" placeholder="请选择库存状态" clearable>
|
||||
<el-option
|
||||
v-for="dict in dict.type.stock_status"
|
||||
:key="dict.value"
|
||||
:label="dict.label"
|
||||
:value="dict.value"
|
||||
/>
|
||||
</el-select>
|
||||
</el-form-item>
|
||||
<el-form-item>
|
||||
<el-button type="primary" icon="el-icon-search" size="mini" @click="handleQuery">查询</el-button>
|
||||
<el-button icon="el-icon-refresh" size="mini" @click="resetQuery">清空</el-button>
|
||||
@@ -239,19 +118,22 @@
|
||||
<right-toolbar :showSearch.sync="showSearch" @queryTable="getList"></right-toolbar>
|
||||
</el-row>
|
||||
|
||||
<el-table v-loading="loading" :data="ViewStockDetailList" @selection-change="handleSelectionChange" max-height="700">
|
||||
<el-table v-loading="loading" :data="ViewStockDetailList" @selection-change="handleSelectionChange" max-height="650">
|
||||
<el-table-column type="selection" width="55" align="center" />
|
||||
<!-- <el-table-column label="id" align="center" prop="onlyIdentity" />-->
|
||||
<el-table-column label="库存号" align="left" prop="stockId" width="120"/>
|
||||
<el-table-column label="货位号" align="left" prop="cargoSpaceId" width="120"/>
|
||||
<el-table-column label="托盘号" align="left" prop="trayCode" width="120"/>
|
||||
<el-table-column label="数量(件)" align="right" prop="quantity" width="120"/>
|
||||
<el-table-column label="作业号" align="left" prop="jobId" width="120"/>
|
||||
<el-table-column label="入库单号" align="left" prop="stockinDetailId" width="120"/>
|
||||
<!-- <el-table-column label="序号" align="right" prop="onlyIdentity" width="80"/> -->
|
||||
<el-table-column label="库存ID" align="left" prop="stockId" width="120"/>
|
||||
<el-table-column label="货位ID" align="left" prop="cargoSpaceId" width="120"/>
|
||||
<el-table-column label="托盘条码" align="left" prop="trayCode" width="120"/>
|
||||
<el-table-column label="数量" align="right" prop="quantity" width="120"/>
|
||||
<el-table-column label="作业ID" align="left" prop="jobId" width="120"/>
|
||||
<el-table-column label="批号" align="left" prop="lotNo" width="120"/>
|
||||
<el-table-column label="入库子单ID" align="left" prop="stockinDetailId" width="120"/>
|
||||
<el-table-column label="入库时间" align="left" prop="inDate" width="120"/>
|
||||
<el-table-column label="仓库ID" align="left" prop="warehouseId" width="120"/>
|
||||
<el-table-column label="仓库名称" align="left" prop="warehouseName" width="120"/>
|
||||
<el-table-column label="垛型ID" align="left" prop="stackingId" width="120"/>
|
||||
<el-table-column label="货位名称" align="left" prop="cargoSpaceName" width="120"/>
|
||||
<el-table-column label="巷道编号" align="left" prop="roadwayId" width="120"/>
|
||||
<el-table-column label="巷道ID" align="left" prop="roadwayId" width="120"/>
|
||||
<el-table-column label="货位状态" align="left" prop="cargoSpaceStatus" width="120">
|
||||
<template slot-scope="scope">
|
||||
<dict-tag :options="dict.type.cargo_space_status" :value="scope.row.cargoSpaceStatus"/>
|
||||
@@ -267,22 +149,59 @@
|
||||
<dict-tag :options="dict.type.product_status" :value="scope.row.productStatus"/>
|
||||
</template>
|
||||
</el-table-column>
|
||||
<el-table-column label="锁定状态" align="left" prop="locked" width="120">
|
||||
<el-table-column label="是否锁定" align="left" prop="locked" width="120">
|
||||
<template slot-scope="scope">
|
||||
<dict-tag :options="dict.type.cargo_space_lock_status" :value="scope.row.locked"/>
|
||||
</template>
|
||||
</el-table-column>
|
||||
<el-table-column label="物料编号" align="left" prop="productId" width="120"/>
|
||||
<el-table-column label="物料名称" align="left" prop="productName" width="120"/>
|
||||
<el-table-column label="计量单位" align="left" prop="unit" width="120"/>
|
||||
<!-- <el-table-column label="物料GUID" align="left" prop="productGuid" width="180"/> -->
|
||||
<el-table-column label="品名" align="left" prop="productId" width="120"/>
|
||||
<el-table-column label="品号" align="left" prop="productName" width="120"/>
|
||||
<el-table-column label="规格" align="left" prop="spec" width="120"/>
|
||||
<!-- <el-table-column label="单位" align="left" prop="unit" width="100"/> -->
|
||||
<el-table-column label="价格" align="right" prop="price" width="120"/>
|
||||
<el-table-column label="产品分类" align="left" prop="parentId" width="120"/>
|
||||
<el-table-column label="品号描述" align="left" prop="cargoNo" width="120"/>
|
||||
<el-table-column label="英文名称" align="left" prop="spare1" width="120"/>
|
||||
<el-table-column label="单件净重(kg)" align="right" width="120" prop="spare2" />
|
||||
<el-table-column label="长度(mm)" align="right" prop="spare5" width="120"/>
|
||||
<el-table-column label="宽度(mm)" align="right" prop="spare6" width="120"/>
|
||||
<el-table-column label="高度(mm)" align="right" prop="spare7" width="120"/>
|
||||
<el-table-column label="体积(m³)" align="right" prop="spare8" width="120"/>
|
||||
<el-table-column label="单价(元)" align="right" prop="price" width="120"/>
|
||||
<el-table-column label="备注" align="left" prop="remark" width="120"/>
|
||||
<!-- <el-table-column label="单件净重" align="right" prop="spare2" width="120"/> -->
|
||||
<!-- <el-table-column label="颜色" align="left" prop="spare3" width="120"/> -->
|
||||
<!-- <el-table-column label="序列号" align="left" prop="spare4" width="120"/> -->
|
||||
<!-- <el-table-column label="电压" align="left" prop="spare5" width="120"/> -->
|
||||
<!-- <el-table-column label="功率" align="left" prop="spare6" width="120"/> -->
|
||||
<!-- <el-table-column label="相位" align="left" prop="spare7" width="120"/> -->
|
||||
<!-- <el-table-column label="毛重" align="right" prop="spare8" width="120"/> -->
|
||||
<el-table-column label="NC号" align="left" prop="spare9" width="120"/>
|
||||
<el-table-column label="电源线" align="left" prop="spare10" width="120"/>
|
||||
<el-table-column label="插头" align="left" prop="spare11" width="120"/>
|
||||
<el-table-column label="接嘴" align="left" prop="spare12" width="120"/>
|
||||
<el-table-column label="快捷码" align="left" prop="spare13" width="120"/>
|
||||
<el-table-column label="库存单位编号" align="left" prop="spare14" width="120"/>
|
||||
<el-table-column label="库存单位名称" align="left" prop="spare15" width="120"/>
|
||||
<el-table-column label="品号群组" align="left" prop="spare16" width="120"/>
|
||||
<el-table-column label="归类品" align="left" prop="spare17" width="120"/>
|
||||
<el-table-column label="计量体系" align="left" prop="spare18" width="120"/>
|
||||
<el-table-column label="群组名称" align="left" prop="spare19" width="120"/>
|
||||
<el-table-column label="批号管理" align="left" prop="spare20" width="120"/>
|
||||
<el-table-column label="状态" align="left" prop="spare21" width="120"/>
|
||||
<el-table-column label="产品大类" align="left" prop="spare22" width="120"/>
|
||||
<el-table-column label="产品二类" align="left" prop="spare23" width="120"/>
|
||||
<el-table-column label="产品线/产品系列" align="left" prop="spare24" width="120"/>
|
||||
<el-table-column label="BOM状态" align="left" prop="spare25" width="120"/>
|
||||
<el-table-column label="产品定位" align="left" prop="spare26" width="120"/>
|
||||
<el-table-column label="电脑板型号" align="left" prop="spare27" width="120"/>
|
||||
<el-table-column label="非标要求" align="left" prop="spare28" width="120"/>
|
||||
<el-table-column label="品牌" align="left" prop="spare29" width="120"/>
|
||||
<el-table-column label="非标颜色" align="left" prop="spare30" width="120"/>
|
||||
<el-table-column label="主颜色" align="left" prop="spare31" width="120"/>
|
||||
<el-table-column label="辅助颜色" align="left" prop="spare32" width="120"/>
|
||||
<el-table-column label="是否标准款" align="left" prop="spare33" width="120"/>
|
||||
<el-table-column label="包装方式" align="left" prop="spare34" width="120"/>
|
||||
<el-table-column label="主要包装方式" align="left" prop="spare35" width="120"/>
|
||||
<el-table-column label="长" align="right" prop="spare36" width="120"/>
|
||||
<el-table-column label="宽" align="right" prop="spare37" width="120"/>
|
||||
<el-table-column label="高" align="right" prop="spare38" width="120"/>
|
||||
<el-table-column label="包装材积" align="right" prop="spare39" width="120"/>
|
||||
<el-table-column label="描述" align="left" prop="remark" width="120"/>
|
||||
<!-- <el-table-column label="操作" align="center" class-name="small-padding fixed-width">-->
|
||||
<!-- <template slot-scope="scope">-->
|
||||
<!-- <el-button-->
|
||||
@@ -423,16 +342,62 @@ export default {
|
||||
stockinDetailId: null,
|
||||
inDate: null,
|
||||
warehouseId: null,
|
||||
warehouseName: null,
|
||||
stackingId: null,
|
||||
cargoSpaceName: null,
|
||||
roadwayId: null,
|
||||
cargoSpaceStatus: null,
|
||||
stockStatus: null,
|
||||
productStatus: null,
|
||||
locked: null,
|
||||
productGuid: null,
|
||||
productId: null,
|
||||
productName: null,
|
||||
spec: null,
|
||||
unit: null,
|
||||
price: null
|
||||
price: null,
|
||||
parentId: null,
|
||||
cargoNo: null,
|
||||
spare1: null,
|
||||
spare2: null,
|
||||
spare3: null,
|
||||
spare4: null,
|
||||
spare5: null,
|
||||
spare6: null,
|
||||
spare7: null,
|
||||
spare8: null,
|
||||
spare9: null,
|
||||
spare10: null,
|
||||
spare11: null,
|
||||
spare12: null,
|
||||
spare13: null,
|
||||
spare14: null,
|
||||
spare15: null,
|
||||
spare16: null,
|
||||
spare17: null,
|
||||
spare18: null,
|
||||
spare19: null,
|
||||
spare20: null,
|
||||
spare21: null,
|
||||
spare22: null,
|
||||
spare23: null,
|
||||
spare24: null,
|
||||
spare25: null,
|
||||
spare26: null,
|
||||
spare27: null,
|
||||
spare28: null,
|
||||
spare29: null,
|
||||
spare30: null,
|
||||
spare31: null,
|
||||
spare32: null,
|
||||
spare33: null,
|
||||
spare34: null,
|
||||
spare35: null,
|
||||
spare36: null,
|
||||
spare37: null,
|
||||
spare38: null,
|
||||
spare39: null,
|
||||
remark: null
|
||||
},
|
||||
// 表单参数
|
||||
form: {},
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user