|
|
|
|
<template>
|
|
|
|
|
<basic-container>
|
|
|
|
|
<!-- 库存汇总 -->
|
|
|
|
|
<avue-crud :option="option" :table-loading="loading" :data="data" v-model="form" v-model:page="page" ref="crud"
|
|
|
|
|
@row-update="rowUpdate" @row-save="rowSave" @search-change="searchChange" @search-reset="searchReset"
|
|
|
|
|
@selection-change="selectionChange" @current-change="currentChange" @size-change="sizeChange"
|
|
|
|
|
@refresh-change="refreshChange" @on-load="onLoad">
|
|
|
|
|
<template #zyQuantity="scope">
|
|
|
|
|
<el-button type="text" size="mini" @click="detailList(scope.row.rlsId)">{{ scope.row.zyQuantity
|
|
|
|
|
}}</el-button>
|
|
|
|
|
</template>
|
|
|
|
|
|
|
|
|
|
<template #menu-left>
|
|
|
|
|
<el-button type="primary" @click="handlePrint">标签打印</el-button>
|
|
|
|
|
<el-button type="primary" @click="handlePrintCard">存料登记卡打印</el-button>
|
|
|
|
|
</template>
|
|
|
|
|
</avue-crud>
|
|
|
|
|
<el-dialog title="预占用详情" append-to-body v-model="detailOpen">
|
|
|
|
|
<el-table :data="detailData">
|
|
|
|
|
<el-table-column label="工作订单号" align="center" prop="woNo" min-width="150" />
|
|
|
|
|
<el-table-column label="占用数" align="center" prop="zyQuantity" min-width="150" />
|
|
|
|
|
<el-table-column label="占用时间" align="center" prop="generateTime" min-width="100" />
|
|
|
|
|
</el-table>
|
|
|
|
|
</el-dialog>
|
|
|
|
|
<el-dialog title="打印" append-to-body v-model="showPrint">
|
|
|
|
|
<el-form ref="printForm" :model="printForm" :rules="printRules">
|
|
|
|
|
<el-form-item label="数量" prop="quantity">
|
|
|
|
|
<el-input v-model.number="printForm.quantity" placeholder="请输入数量" type="default"
|
|
|
|
|
oninput="value=value.replace(/[^\d]/g,'')" />
|
|
|
|
|
</el-form-item>
|
|
|
|
|
</el-form>
|
|
|
|
|
<template #footer>
|
|
|
|
|
<span class="dialog-footer">
|
|
|
|
|
<el-button @click="showPrint = false">取 消</el-button>
|
|
|
|
|
<el-button type="primary" @click="submitPrint">确 定</el-button>
|
|
|
|
|
</span>
|
|
|
|
|
</template>
|
|
|
|
|
</el-dialog>
|
|
|
|
|
</basic-container>
|
|
|
|
|
</template>
|
|
|
|
|
|
|
|
|
|
<script>
|
|
|
|
|
import {getList} from "@/api/storeManagement/inventorySummary"
|
|
|
|
|
export default {
|
|
|
|
|
data() {
|
|
|
|
|
return {
|
|
|
|
|
detailOpen: false,
|
|
|
|
|
detailData: [],
|
|
|
|
|
showPrint: false,
|
|
|
|
|
printForm: {},
|
|
|
|
|
printRules: {
|
|
|
|
|
quantity: [{ required: true, message: '请输入数量', trigger: 'blur' }]
|
|
|
|
|
},
|
|
|
|
|
selectionList: [],
|
|
|
|
|
loading: false,
|
|
|
|
|
data: [],
|
|
|
|
|
form: {},
|
|
|
|
|
query:{},
|
|
|
|
|
page: {
|
|
|
|
|
pageSize: 10,
|
|
|
|
|
currentPage: 1,
|
|
|
|
|
total: 0,
|
|
|
|
|
},
|
|
|
|
|
option: {
|
|
|
|
|
height: 'auto',
|
|
|
|
|
align: 'center',
|
|
|
|
|
calcHeight: 32,
|
|
|
|
|
rowKey: 'rlsId',
|
|
|
|
|
tip: false,
|
|
|
|
|
size: 'medium',
|
|
|
|
|
simplePage: true,
|
|
|
|
|
searchShow: true,
|
|
|
|
|
searchMenuSpan: 6,
|
|
|
|
|
searchIcon: true,
|
|
|
|
|
searchIndex: 3,
|
|
|
|
|
tree: false,
|
|
|
|
|
border: true,
|
|
|
|
|
index: false,
|
|
|
|
|
selection: true,
|
|
|
|
|
viewBtn: false,
|
|
|
|
|
delBtn: false,
|
|
|
|
|
addBtn: false,
|
|
|
|
|
editBtn: false,
|
|
|
|
|
editBtnText: '修改',
|
|
|
|
|
addBtnIcon: ' ',
|
|
|
|
|
viewBtnIcon: ' ',
|
|
|
|
|
delBtnIcon: ' ',
|
|
|
|
|
editBtnIcon: ' ',
|
|
|
|
|
viewBtnText: '详情',
|
|
|
|
|
labelWidth: 120,
|
|
|
|
|
searchLabelWidth: 120,
|
|
|
|
|
menu: false,
|
|
|
|
|
menuWidth: 220,
|
|
|
|
|
dialogWidth: 1200,
|
|
|
|
|
dialogClickModal: false,
|
|
|
|
|
searchEnter: true,
|
|
|
|
|
excelBtn: false,
|
|
|
|
|
filterBtn: true,
|
|
|
|
|
searchShowBtn: false,
|
|
|
|
|
columnSort: true,
|
|
|
|
|
excelBtn: true,
|
|
|
|
|
columnSort: true,
|
|
|
|
|
showOverflowTooltip: true,
|
|
|
|
|
searchLabelPosition: 'left',
|
|
|
|
|
searchGutter: 24,
|
|
|
|
|
searchSpan: 6,
|
|
|
|
|
menuAlign: 'left',
|
|
|
|
|
gridBtn: false,
|
|
|
|
|
searchMenuPosition: 'right',
|
|
|
|
|
column: [
|
|
|
|
|
{
|
|
|
|
|
label: '库房编号',
|
|
|
|
|
prop: 'shCode',
|
|
|
|
|
// bind: 'coStorehouse.shCode',
|
|
|
|
|
width: 200,
|
|
|
|
|
search: true,
|
|
|
|
|
sortable: true,
|
|
|
|
|
overHidden: true,
|
|
|
|
|
rules: [
|
|
|
|
|
{
|
|
|
|
|
required: true,
|
|
|
|
|
message: '请输入库房编号',
|
|
|
|
|
trigger: 'blur',
|
|
|
|
|
},
|
|
|
|
|
],
|
|
|
|
|
},
|
|
|
|
|
// {
|
|
|
|
|
// label: '仓库',
|
|
|
|
|
// prop: 'shId',
|
|
|
|
|
// // bind: 'coStorehouse.shId',
|
|
|
|
|
// // type: 'select',
|
|
|
|
|
// width: 200,
|
|
|
|
|
// hide: true,
|
|
|
|
|
// search: true,
|
|
|
|
|
// sortable: true,
|
|
|
|
|
// overHidden: true,
|
|
|
|
|
// rules: [
|
|
|
|
|
// {
|
|
|
|
|
// required: true,
|
|
|
|
|
// message: '请输入仓库',
|
|
|
|
|
// trigger: 'blur',
|
|
|
|
|
// },
|
|
|
|
|
// ],
|
|
|
|
|
// },
|
|
|
|
|
{
|
|
|
|
|
label: '库位',
|
|
|
|
|
prop: 'location',
|
|
|
|
|
// bind: 'storageLocation.location',
|
|
|
|
|
width: 200,
|
|
|
|
|
search: true,
|
|
|
|
|
sortable: true,
|
|
|
|
|
overHidden: true,
|
|
|
|
|
rules: [
|
|
|
|
|
{
|
|
|
|
|
required: true,
|
|
|
|
|
message: '请输入库位',
|
|
|
|
|
trigger: 'blur',
|
|
|
|
|
},
|
|
|
|
|
],
|
|
|
|
|
},
|
|
|
|
|
// {
|
|
|
|
|
// label: '部门',
|
|
|
|
|
// prop: 'factoryId',
|
|
|
|
|
// type: 'select',
|
|
|
|
|
// width: 200,
|
|
|
|
|
// hide: true,
|
|
|
|
|
// search: false,
|
|
|
|
|
// sortable: true,
|
|
|
|
|
// overHidden: true,
|
|
|
|
|
// rules: [
|
|
|
|
|
// {
|
|
|
|
|
// required: true,
|
|
|
|
|
// message: '请输入部门',
|
|
|
|
|
// trigger: 'blur',
|
|
|
|
|
// },
|
|
|
|
|
// ],
|
|
|
|
|
// dicData: [
|
|
|
|
|
// {
|
|
|
|
|
// value: 5,
|
|
|
|
|
// label: '模塑分厂'
|
|
|
|
|
// },
|
|
|
|
|
// {
|
|
|
|
|
// value: 102,
|
|
|
|
|
// label: '热表分厂'
|
|
|
|
|
// }
|
|
|
|
|
// ]
|
|
|
|
|
// },
|
|
|
|
|
{
|
|
|
|
|
label: '物料编号',
|
|
|
|
|
prop: 'goodsCode',
|
|
|
|
|
// bind: 'coGoods.goodsCode',
|
|
|
|
|
width: 200,
|
|
|
|
|
search: true,
|
|
|
|
|
sortable: true,
|
|
|
|
|
overHidden: true,
|
|
|
|
|
rules: [
|
|
|
|
|
{
|
|
|
|
|
required: true,
|
|
|
|
|
message: '请输入物料编号',
|
|
|
|
|
trigger: 'blur',
|
|
|
|
|
},
|
|
|
|
|
],
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
label: '物料名称',
|
|
|
|
|
prop: 'goodsName',
|
|
|
|
|
// bind: 'coGoods.goodsName',
|
|
|
|
|
width: 200,
|
|
|
|
|
search: true,
|
|
|
|
|
sortable: true,
|
|
|
|
|
overHidden: true,
|
|
|
|
|
rules: [
|
|
|
|
|
{
|
|
|
|
|
required: true,
|
|
|
|
|
message: '请输入物料名称',
|
|
|
|
|
trigger: 'blur',
|
|
|
|
|
},
|
|
|
|
|
],
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
label: '单位',
|
|
|
|
|
prop: 'unitName',
|
|
|
|
|
// bind: 'coGoods.unitName',
|
|
|
|
|
width: 200,
|
|
|
|
|
search: false,
|
|
|
|
|
sortable: true,
|
|
|
|
|
overHidden: true,
|
|
|
|
|
rules: [
|
|
|
|
|
{
|
|
|
|
|
required: true,
|
|
|
|
|
message: '请输入单位',
|
|
|
|
|
trigger: 'blur',
|
|
|
|
|
},
|
|
|
|
|
],
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
label: '质量编号',
|
|
|
|
|
prop: 'checkCode',
|
|
|
|
|
width: 200,
|
|
|
|
|
search: false,
|
|
|
|
|
sortable: true,
|
|
|
|
|
overHidden: true,
|
|
|
|
|
rules: [
|
|
|
|
|
{
|
|
|
|
|
required: true,
|
|
|
|
|
message: '请输入质量编号',
|
|
|
|
|
trigger: 'blur',
|
|
|
|
|
},
|
|
|
|
|
],
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
label: '生产批次号',
|
|
|
|
|
prop: 'piNo',
|
|
|
|
|
width: 200,
|
|
|
|
|
search: true,
|
|
|
|
|
sortable: true,
|
|
|
|
|
overHidden: true,
|
|
|
|
|
rules: [
|
|
|
|
|
{
|
|
|
|
|
required: true,
|
|
|
|
|
message: '请输入生产批次号',
|
|
|
|
|
trigger: 'blur',
|
|
|
|
|
},
|
|
|
|
|
],
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
label: '炉批号',
|
|
|
|
|
prop: 'stovePiNo',
|
|
|
|
|
width: 200,
|
|
|
|
|
search: true,
|
|
|
|
|
sortable: true,
|
|
|
|
|
overHidden: true,
|
|
|
|
|
rules: [
|
|
|
|
|
{
|
|
|
|
|
required: true,
|
|
|
|
|
message: '请输入炉批号',
|
|
|
|
|
trigger: 'blur',
|
|
|
|
|
},
|
|
|
|
|
],
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
label: '现存数量',
|
|
|
|
|
prop: 'quantity',
|
|
|
|
|
width: 200,
|
|
|
|
|
search: false,
|
|
|
|
|
sortable: true,
|
|
|
|
|
overHidden: true,
|
|
|
|
|
rules: [
|
|
|
|
|
{
|
|
|
|
|
required: true,
|
|
|
|
|
message: '请输入现存数量',
|
|
|
|
|
trigger: 'blur',
|
|
|
|
|
},
|
|
|
|
|
],
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
label: '占用数量',
|
|
|
|
|
prop: 'occupyQuantity',
|
|
|
|
|
width: 200,
|
|
|
|
|
search: false,
|
|
|
|
|
sortable: true,
|
|
|
|
|
overHidden: true,
|
|
|
|
|
rules: [
|
|
|
|
|
{
|
|
|
|
|
required: true,
|
|
|
|
|
message: '请输入占用数量',
|
|
|
|
|
trigger: 'blur',
|
|
|
|
|
},
|
|
|
|
|
],
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
label: '到期日期',
|
|
|
|
|
prop: 'scrapCycle',
|
|
|
|
|
width: 200,
|
|
|
|
|
search: false,
|
|
|
|
|
sortable: true,
|
|
|
|
|
overHidden: true,
|
|
|
|
|
rules: [
|
|
|
|
|
{
|
|
|
|
|
required: true,
|
|
|
|
|
message: '请输入到期日期',
|
|
|
|
|
trigger: 'blur',
|
|
|
|
|
},
|
|
|
|
|
],
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
label: '型号/牌号',
|
|
|
|
|
prop: 'materialModel',
|
|
|
|
|
// bind: 'coGoods.mtltmrk',
|
|
|
|
|
width: 200,
|
|
|
|
|
search: false,
|
|
|
|
|
sortable: true,
|
|
|
|
|
overHidden: true,
|
|
|
|
|
rules: [
|
|
|
|
|
{
|
|
|
|
|
required: true,
|
|
|
|
|
message: '请输入型号/牌号',
|
|
|
|
|
trigger: 'blur',
|
|
|
|
|
},
|
|
|
|
|
],
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
label: '物料状态',
|
|
|
|
|
prop: 'goodsStatus',
|
|
|
|
|
width: 200,
|
|
|
|
|
type: 'select',
|
|
|
|
|
search: false,
|
|
|
|
|
sortable: true,
|
|
|
|
|
overHidden: true,
|
|
|
|
|
rules: [
|
|
|
|
|
{
|
|
|
|
|
required: true,
|
|
|
|
|
message: '请输入物料状态',
|
|
|
|
|
trigger: 'blur',
|
|
|
|
|
},
|
|
|
|
|
],
|
|
|
|
|
// /**
|
|
|
|
|
// * 需报料
|
|
|
|
|
// */
|
|
|
|
|
// public static Short NEED_REPORT = 1;
|
|
|
|
|
// /**
|
|
|
|
|
// * 需跟踪
|
|
|
|
|
// */
|
|
|
|
|
// public static Short NEED_TRACK = 2;
|
|
|
|
|
// /**
|
|
|
|
|
// * 待领料
|
|
|
|
|
// */
|
|
|
|
|
// public static Short TO_BE_PICKED = 3;
|
|
|
|
|
// /**
|
|
|
|
|
// * 正常
|
|
|
|
|
// */
|
|
|
|
|
// public static Short NORMAL = 4;
|
|
|
|
|
// /**
|
|
|
|
|
// * 长期未使用
|
|
|
|
|
// */
|
|
|
|
|
// public static Short NOT_USED = 5;
|
|
|
|
|
dicData:[
|
|
|
|
|
{label:'需报料',value:1},
|
|
|
|
|
{label:'需跟踪',value:2},
|
|
|
|
|
{label:'待领料',value:3},
|
|
|
|
|
{label:'正常',value:4},
|
|
|
|
|
{label:'长期未使用',value:5}
|
|
|
|
|
]
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
label: '生产标识',
|
|
|
|
|
prop: 'inQuantityLevel',
|
|
|
|
|
width: 200,
|
|
|
|
|
search: false,
|
|
|
|
|
sortable: true,
|
|
|
|
|
overHidden: true,
|
|
|
|
|
rules: [
|
|
|
|
|
{
|
|
|
|
|
required: true,
|
|
|
|
|
message: '请输入生产标识',
|
|
|
|
|
trigger: 'blur',
|
|
|
|
|
},
|
|
|
|
|
],
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
label: '物料规格',
|
|
|
|
|
prop: 'specifications',
|
|
|
|
|
// bind: 'coGoods.specifications',
|
|
|
|
|
width: 200,
|
|
|
|
|
search: false,
|
|
|
|
|
sortable: true,
|
|
|
|
|
overHidden: true,
|
|
|
|
|
rules: [
|
|
|
|
|
{
|
|
|
|
|
required: true,
|
|
|
|
|
message: '请输入物料规格',
|
|
|
|
|
trigger: 'blur',
|
|
|
|
|
},
|
|
|
|
|
],
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
label: '是否印字',
|
|
|
|
|
prop: 'printMark',
|
|
|
|
|
// bind: 'coGoods.isPrint',
|
|
|
|
|
width: 200,
|
|
|
|
|
search: false,
|
|
|
|
|
sortable: true,
|
|
|
|
|
overHidden: true,
|
|
|
|
|
type: 'select',
|
|
|
|
|
dicData: [
|
|
|
|
|
{
|
|
|
|
|
label: '是',
|
|
|
|
|
value: true,
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
label: '否',
|
|
|
|
|
value: false,
|
|
|
|
|
},
|
|
|
|
|
],
|
|
|
|
|
rules: [
|
|
|
|
|
{
|
|
|
|
|
required: true,
|
|
|
|
|
message: '请输入是否印字',
|
|
|
|
|
trigger: 'blur',
|
|
|
|
|
},
|
|
|
|
|
],
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
label: '粉重',
|
|
|
|
|
prop: 'powderWeight',
|
|
|
|
|
// bind: 'coGoods.weight',
|
|
|
|
|
width: 200,
|
|
|
|
|
search: false,
|
|
|
|
|
sortable: true,
|
|
|
|
|
rules: [
|
|
|
|
|
{
|
|
|
|
|
required: true,
|
|
|
|
|
message: '请输入粉重',
|
|
|
|
|
trigger: 'blur',
|
|
|
|
|
},
|
|
|
|
|
],
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
label: '材料号',
|
|
|
|
|
prop: 'materialNo',
|
|
|
|
|
// bind: 'coGoods.materialNo',
|
|
|
|
|
width: 200,
|
|
|
|
|
search: false,
|
|
|
|
|
sortable: true,
|
|
|
|
|
rules: [
|
|
|
|
|
{
|
|
|
|
|
required: true,
|
|
|
|
|
message: '请输入材料号',
|
|
|
|
|
trigger: 'blur',
|
|
|
|
|
},
|
|
|
|
|
],
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
label: '成型厚度',
|
|
|
|
|
prop: 'thickness',
|
|
|
|
|
// bind: 'coGoods.moldingThickness',
|
|
|
|
|
width: 200,
|
|
|
|
|
search: false,
|
|
|
|
|
sortable: true,
|
|
|
|
|
rules: [
|
|
|
|
|
{
|
|
|
|
|
required: true,
|
|
|
|
|
message: '请输入成型厚度',
|
|
|
|
|
trigger: 'blur',
|
|
|
|
|
},
|
|
|
|
|
],
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
label: '入库时间',
|
|
|
|
|
prop: 'inOutDate',
|
|
|
|
|
width: 200,
|
|
|
|
|
search: true,
|
|
|
|
|
sortable: true,
|
|
|
|
|
overHidden: true,
|
|
|
|
|
type: 'date',
|
|
|
|
|
format: 'YYYY-MM-DD',
|
|
|
|
|
valueFormat: 'YYYY-MM-DD',
|
|
|
|
|
startPlaceholder: '开始日期',
|
|
|
|
|
endPlaceholder: '结束日期',
|
|
|
|
|
searchRange: true,
|
|
|
|
|
rules: [
|
|
|
|
|
{
|
|
|
|
|
required: true,
|
|
|
|
|
message: '请输入入库时间',
|
|
|
|
|
trigger: 'blur',
|
|
|
|
|
},
|
|
|
|
|
],
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
label: '入库数量',
|
|
|
|
|
prop: 'inQuantity',
|
|
|
|
|
width: 200,
|
|
|
|
|
rules: [
|
|
|
|
|
{
|
|
|
|
|
required: true,
|
|
|
|
|
message: '请输入入库日期',
|
|
|
|
|
trigger: 'blur',
|
|
|
|
|
},
|
|
|
|
|
],
|
|
|
|
|
},
|
|
|
|
|
// {
|
|
|
|
|
// label: '入库时间',
|
|
|
|
|
// prop: 'inOutDate',
|
|
|
|
|
// width: 200,
|
|
|
|
|
// search: false,
|
|
|
|
|
// sortable: true,
|
|
|
|
|
// overHidden: true,
|
|
|
|
|
// rules: [
|
|
|
|
|
// {
|
|
|
|
|
// required: true,
|
|
|
|
|
// message: '请输入入库日期',
|
|
|
|
|
// trigger: 'blur',
|
|
|
|
|
// },
|
|
|
|
|
// ],
|
|
|
|
|
// },
|
|
|
|
|
|
|
|
|
|
{
|
|
|
|
|
label: '单价',
|
|
|
|
|
prop: 'balanceMoney',
|
|
|
|
|
width: 200,
|
|
|
|
|
search: false,
|
|
|
|
|
sortable: true,
|
|
|
|
|
overHidden: true,
|
|
|
|
|
rules: [
|
|
|
|
|
{
|
|
|
|
|
required: true,
|
|
|
|
|
message: '请输入单价',
|
|
|
|
|
trigger: 'blur',
|
|
|
|
|
},
|
|
|
|
|
],
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
label: '库存部门',
|
|
|
|
|
prop: 'deptName',
|
|
|
|
|
width: 200,
|
|
|
|
|
search: false,
|
|
|
|
|
sortable: true,
|
|
|
|
|
overHidden: true,
|
|
|
|
|
rules: [
|
|
|
|
|
{
|
|
|
|
|
required: true,
|
|
|
|
|
message: '请输入库存部门',
|
|
|
|
|
trigger: 'blur',
|
|
|
|
|
},
|
|
|
|
|
],
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
label: '供应商名称',
|
|
|
|
|
prop: 'splyCode',
|
|
|
|
|
width: 200,
|
|
|
|
|
search: false,
|
|
|
|
|
sortable: true,
|
|
|
|
|
overHidden: true,
|
|
|
|
|
rules: [
|
|
|
|
|
{
|
|
|
|
|
required: true,
|
|
|
|
|
message: '请输入供应商名称',
|
|
|
|
|
trigger: 'blur',
|
|
|
|
|
},
|
|
|
|
|
],
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
label: '保管员',
|
|
|
|
|
prop: 'keeperName',
|
|
|
|
|
// bind: 'coStorehouse.saveUser.userName',
|
|
|
|
|
// type: 'select',
|
|
|
|
|
width: 200,
|
|
|
|
|
search: true,
|
|
|
|
|
sortable: true,
|
|
|
|
|
overHidden: true,
|
|
|
|
|
rules: [
|
|
|
|
|
{
|
|
|
|
|
required: true,
|
|
|
|
|
message: '请输入保管员',
|
|
|
|
|
trigger: 'blur',
|
|
|
|
|
},
|
|
|
|
|
],
|
|
|
|
|
// props: {
|
|
|
|
|
// label: 'realName',
|
|
|
|
|
// value: 'id',
|
|
|
|
|
// },
|
|
|
|
|
// dicUrl:'/api/blade-system/user/list-all-by-role-alias?roleAlias=保管员'
|
|
|
|
|
},
|
|
|
|
|
]
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
mounted() {
|
|
|
|
|
|
|
|
|
|
},
|
|
|
|
|
methods: {
|
|
|
|
|
handlePrint() {
|
|
|
|
|
if (this.selectionList.length == 0) {
|
|
|
|
|
this.$message.error('请先选择数据')
|
|
|
|
|
return
|
|
|
|
|
}
|
|
|
|
|
this.showPrint = true
|
|
|
|
|
},
|
|
|
|
|
handlePrintCard() {
|
|
|
|
|
if (this.selectionList.length == 0) {
|
|
|
|
|
this.$message.error('请先选择数据')
|
|
|
|
|
return
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
searchChange(params, done){
|
|
|
|
|
this.query = params;
|
|
|
|
|
this.page.currentPage = 1
|
|
|
|
|
this.onLoad()
|
|
|
|
|
done()
|
|
|
|
|
},
|
|
|
|
|
searchReset(){
|
|
|
|
|
this.query = {}
|
|
|
|
|
this.onLoad()
|
|
|
|
|
},
|
|
|
|
|
currentChange(currentPage){
|
|
|
|
|
this.page.currentPage = currentPage
|
|
|
|
|
},
|
|
|
|
|
sizeChange(pageSize){
|
|
|
|
|
this.page.pageSize = pageSize
|
|
|
|
|
},
|
|
|
|
|
detailList() {
|
|
|
|
|
this.detailOpen = true
|
|
|
|
|
},
|
|
|
|
|
submitPrint() {
|
|
|
|
|
this.$refs.printForm.validate(valid => {
|
|
|
|
|
if (valid) {
|
|
|
|
|
this.showPrint = false
|
|
|
|
|
}
|
|
|
|
|
})
|
|
|
|
|
},
|
|
|
|
|
selectionChange(val) {
|
|
|
|
|
this.selectionList = val
|
|
|
|
|
},
|
|
|
|
|
onLoad() {
|
|
|
|
|
this.loading = true
|
|
|
|
|
let params = {
|
|
|
|
|
...this.query,
|
|
|
|
|
startInOutDate:this.query.inOutDate && this.query.inOutDate.length != 0 && this.query.inOutDate[0],
|
|
|
|
|
endInOutDate:this.query.inOutDate && this.query.inOutDate.length != 0 && this.query.inOutDate[0]
|
|
|
|
|
}
|
|
|
|
|
const {inOutDate,...invalideParams} = params
|
|
|
|
|
getList({
|
|
|
|
|
current:this.page.currentPage,
|
|
|
|
|
size:this.page.pageSize,
|
|
|
|
|
...invalideParams
|
|
|
|
|
}).then(res =>{
|
|
|
|
|
this.data = res.data.data.records
|
|
|
|
|
this.page.total = res.data.data.total
|
|
|
|
|
this.loading = false
|
|
|
|
|
})
|
|
|
|
|
// this.data = [
|
|
|
|
|
// {
|
|
|
|
|
// "allMoney": null,
|
|
|
|
|
// "balanceMoney": 20.0,
|
|
|
|
|
// "barCode": null,
|
|
|
|
|
// "checkCode": "CK001",
|
|
|
|
|
// "coGoods": {
|
|
|
|
|
// "allGoodsQuantity": null,
|
|
|
|
|
// "batch": null,
|
|
|
|
|
// "bomQuantity": null,
|
|
|
|
|
// "buyQuantity": null,
|
|
|
|
|
// "cavityno": null,
|
|
|
|
|
// "checkoutCode": "3333",
|
|
|
|
|
// "coGoodsClass": null,
|
|
|
|
|
// "coStorageLocation": null,
|
|
|
|
|
// "cplb": null,
|
|
|
|
|
// "createTime": "2023-07-15 16:18:30",
|
|
|
|
|
// "curQuantity": 684.0,
|
|
|
|
|
// "cycle": null,
|
|
|
|
|
// "deleted": false,
|
|
|
|
|
// "deliveryDate": null,
|
|
|
|
|
// "dept": null,
|
|
|
|
|
// "drawingNo": null,
|
|
|
|
|
// "ecnno": null,
|
|
|
|
|
// "enditem": 0,
|
|
|
|
|
// "erpQuantity": null,
|
|
|
|
|
// "goodsCode": "21E543-6108-B1-N",
|
|
|
|
|
// "goodsCodeAndGoodsName": "null——21E543-6108-B1-N——石墨模",
|
|
|
|
|
// "goodsId": 167,
|
|
|
|
|
// "goodsName": "石墨模",
|
|
|
|
|
// "grade": null,
|
|
|
|
|
// "houseQuantity": null,
|
|
|
|
|
// "lockQuantity": 0.0,
|
|
|
|
|
// "madeIn": null,
|
|
|
|
|
// "matbigclassify": null,
|
|
|
|
|
// "matsmallclassify": null,
|
|
|
|
|
// "maxNum": 300.0,
|
|
|
|
|
// "memo": null,
|
|
|
|
|
// "minNum": 50.0,
|
|
|
|
|
// "mtlsgrt": 0.0,
|
|
|
|
|
// "mtltmrk": "232",
|
|
|
|
|
// "mustCheck": null,
|
|
|
|
|
// "newGoodsName": null,
|
|
|
|
|
// "newSpecifications": null,
|
|
|
|
|
// "numAcc": null,
|
|
|
|
|
// "onthewayQuantity": 0.0,
|
|
|
|
|
// "partLink": null,
|
|
|
|
|
// "piNo": null,
|
|
|
|
|
// "price": null,
|
|
|
|
|
// "priority": null,
|
|
|
|
|
// "prtType": "零件",
|
|
|
|
|
// "prtrevedit": null,
|
|
|
|
|
// "prtstd": null,
|
|
|
|
|
// "prtwt": 0.0,
|
|
|
|
|
// "purchaseQuantity": 100.0,
|
|
|
|
|
// "releaseno": null,
|
|
|
|
|
// "releasenoTime": "2023-03-23 00:00:00",
|
|
|
|
|
// "remark": null,
|
|
|
|
|
// "rlsId": null,
|
|
|
|
|
// "singlePieceQuota": null,
|
|
|
|
|
// "source": null,
|
|
|
|
|
// "special": null,
|
|
|
|
|
// "specifications": null,
|
|
|
|
|
// "syQuantity": null,
|
|
|
|
|
// "trademark": null,
|
|
|
|
|
// "unitName": "每个",
|
|
|
|
|
// "updateTime": "2023-07-15 16:18:30",
|
|
|
|
|
// "used": true
|
|
|
|
|
// },
|
|
|
|
|
// "coStorehouse": {
|
|
|
|
|
// "codeAndName": null,
|
|
|
|
|
// "createTime": "2023-12-25 10:08:43",
|
|
|
|
|
// "deleted": false,
|
|
|
|
|
// "factoryId": 41,
|
|
|
|
|
// "memo": null,
|
|
|
|
|
// "saveUser": {
|
|
|
|
|
// "accountId": null,
|
|
|
|
|
// "card": null,
|
|
|
|
|
// "createTime": "2023-04-06",
|
|
|
|
|
// "curStatus": 1,
|
|
|
|
|
// "deleted": false,
|
|
|
|
|
// "deptName": null,
|
|
|
|
|
// "dimissionTime": null,
|
|
|
|
|
// "factoryId": 41,
|
|
|
|
|
// "head": 0,
|
|
|
|
|
// "jobName": "软件工程师",
|
|
|
|
|
// "keyValue": 521,
|
|
|
|
|
// "ldapName": null,
|
|
|
|
|
// "mail": null,
|
|
|
|
|
// "mobile": null,
|
|
|
|
|
// "pfDepartment": {
|
|
|
|
|
// "appLink": null,
|
|
|
|
|
// "createTime": "2022-08-31",
|
|
|
|
|
// "deleted": false,
|
|
|
|
|
// "deptCode": "001",
|
|
|
|
|
// "deptId": 1,
|
|
|
|
|
// "deptName": "MES开发部",
|
|
|
|
|
// "deptType": 1,
|
|
|
|
|
// "deptTypeTitle": "厂",
|
|
|
|
|
// "keyValue": 1,
|
|
|
|
|
// "memo": null,
|
|
|
|
|
// "orders": "00",
|
|
|
|
|
// "parentDeptId": null,
|
|
|
|
|
// "parentPath": null,
|
|
|
|
|
// "ucDeptId": null,
|
|
|
|
|
// "updateTime": "2022-08-31 16:32:46"
|
|
|
|
|
// },
|
|
|
|
|
// "ucUserId": null,
|
|
|
|
|
// "updateTime": "2023-04-06 16:23:38",
|
|
|
|
|
// "userCode": "0001",
|
|
|
|
|
// "userId": 521,
|
|
|
|
|
// "userName": "测试",
|
|
|
|
|
// "userSex": 1,
|
|
|
|
|
// "userSources": "测试",
|
|
|
|
|
// "userString": "521:A:测试",
|
|
|
|
|
// "userType": "A",
|
|
|
|
|
// "yearsOfService": null
|
|
|
|
|
// },
|
|
|
|
|
// "shCode": "RB001",
|
|
|
|
|
// "shId": 183,
|
|
|
|
|
// "shLevel": null,
|
|
|
|
|
// "shName": "石墨模",
|
|
|
|
|
// "toolingType": null,
|
|
|
|
|
// "toolingTypeStr": null,
|
|
|
|
|
// "type": 0,
|
|
|
|
|
// "typeStr": "模具库",
|
|
|
|
|
// "updateTime": null
|
|
|
|
|
// },
|
|
|
|
|
// "createTime": "2023-12-25 10:26:06",
|
|
|
|
|
// "facType": 0,
|
|
|
|
|
// "factoryId": 41,
|
|
|
|
|
// "goodsCodeAndGoodsName": null,
|
|
|
|
|
// "goodsId": null,
|
|
|
|
|
// "goodsStatus": 0,
|
|
|
|
|
// "inStoreDay": 675,
|
|
|
|
|
// "isApplyFor": false,
|
|
|
|
|
// "keeper": null,
|
|
|
|
|
// "memo": null,
|
|
|
|
|
// "modelOrBrandStr": "232/null",
|
|
|
|
|
// "moldBaseMaterial": false,
|
|
|
|
|
// "moldStock": null,
|
|
|
|
|
// "outQuantity": null,
|
|
|
|
|
// "piNo": "Y20231225001",
|
|
|
|
|
// "quantity": 684.0,
|
|
|
|
|
// "quantityLevel": "ddd",
|
|
|
|
|
// "rlsId": 221,
|
|
|
|
|
// "scrapCycle": "2025-10-24 00:00:00",
|
|
|
|
|
// "splyCode": null,
|
|
|
|
|
// "stayMaintainNum": 0,
|
|
|
|
|
// "stockSource": 0,
|
|
|
|
|
// "stopUse": false,
|
|
|
|
|
// "stopUseTitle": "合格",
|
|
|
|
|
// "storageLocation": {
|
|
|
|
|
// "coStorehouse": {
|
|
|
|
|
// "codeAndName": null,
|
|
|
|
|
// "createTime": "2023-12-25 10:08:43",
|
|
|
|
|
// "deleted": false,
|
|
|
|
|
// "factoryId": 41,
|
|
|
|
|
// "memo": null,
|
|
|
|
|
// "saveUser": {
|
|
|
|
|
// "accountId": null,
|
|
|
|
|
// "card": null,
|
|
|
|
|
// "createTime": "2023-04-06",
|
|
|
|
|
// "curStatus": 1,
|
|
|
|
|
// "deleted": false,
|
|
|
|
|
// "deptName": null,
|
|
|
|
|
// "dimissionTime": null,
|
|
|
|
|
// "factoryId": 41,
|
|
|
|
|
// "head": 0,
|
|
|
|
|
// "jobName": "软件工程师",
|
|
|
|
|
// "keyValue": 521,
|
|
|
|
|
// "ldapName": null,
|
|
|
|
|
// "mail": null,
|
|
|
|
|
// "mobile": null,
|
|
|
|
|
// "pfDepartment": {
|
|
|
|
|
// "appLink": null,
|
|
|
|
|
// "createTime": "2022-08-31",
|
|
|
|
|
// "deleted": false,
|
|
|
|
|
// "deptCode": "001",
|
|
|
|
|
// "deptId": 1,
|
|
|
|
|
// "deptName": "MES开发部",
|
|
|
|
|
// "deptType": 1,
|
|
|
|
|
// "deptTypeTitle": "厂",
|
|
|
|
|
// "keyValue": 1,
|
|
|
|
|
// "memo": null,
|
|
|
|
|
// "orders": "00",
|
|
|
|
|
// "parentDeptId": null,
|
|
|
|
|
// "parentPath": null,
|
|
|
|
|
// "ucDeptId": null,
|
|
|
|
|
// "updateTime": "2022-08-31 16:32:46"
|
|
|
|
|
// },
|
|
|
|
|
// "ucUserId": null,
|
|
|
|
|
// "updateTime": "2023-04-06 16:23:38",
|
|
|
|
|
// "userCode": "0001",
|
|
|
|
|
// "userId": 521,
|
|
|
|
|
// "userName": "测试",
|
|
|
|
|
// "userSex": 1,
|
|
|
|
|
// "userSources": "测试",
|
|
|
|
|
// "userString": "521:A:测试",
|
|
|
|
|
// "userType": "A",
|
|
|
|
|
// "yearsOfService": null
|
|
|
|
|
// },
|
|
|
|
|
// "shCode": "RB001",
|
|
|
|
|
// "shId": 183,
|
|
|
|
|
// "shLevel": null,
|
|
|
|
|
// "shName": "石墨模",
|
|
|
|
|
// "toolingType": null,
|
|
|
|
|
// "toolingTypeStr": null,
|
|
|
|
|
// "type": 0,
|
|
|
|
|
// "typeStr": "模具库",
|
|
|
|
|
// "updateTime": null
|
|
|
|
|
// },
|
|
|
|
|
// "cslId": 221,
|
|
|
|
|
// "deleted": false,
|
|
|
|
|
// "goodsCode": "21E543-6108-B1-N",
|
|
|
|
|
// "goodsName": null,
|
|
|
|
|
// "location": "RB001SM01",
|
|
|
|
|
// "mtltmrk": null,
|
|
|
|
|
// "specifications": null
|
|
|
|
|
// },
|
|
|
|
|
// "stovePiNo": null,
|
|
|
|
|
// "sumNum": 0,
|
|
|
|
|
// "thickness": null,
|
|
|
|
|
// "updateTime": null,
|
|
|
|
|
// "useQuantity": 683.0,
|
|
|
|
|
// "zyQuantity": 1.0
|
|
|
|
|
// },
|
|
|
|
|
// {
|
|
|
|
|
// "allMoney": null,
|
|
|
|
|
// "balanceMoney": 15.0,
|
|
|
|
|
// "barCode": null,
|
|
|
|
|
// "checkCode": "ck001",
|
|
|
|
|
// "coGoods": {
|
|
|
|
|
// "allGoodsQuantity": null,
|
|
|
|
|
// "batch": null,
|
|
|
|
|
// "bomQuantity": null,
|
|
|
|
|
// "buyQuantity": null,
|
|
|
|
|
// "cavityno": null,
|
|
|
|
|
// "checkoutCode": "2222",
|
|
|
|
|
// "coGoodsClass": null,
|
|
|
|
|
// "coStorageLocation": null,
|
|
|
|
|
// "cplb": null,
|
|
|
|
|
// "createTime": "2023-07-15 16:18:30",
|
|
|
|
|
// "curQuantity": 2999.0,
|
|
|
|
|
// "cycle": null,
|
|
|
|
|
// "deleted": false,
|
|
|
|
|
// "deliveryDate": null,
|
|
|
|
|
// "dept": null,
|
|
|
|
|
// "drawingNo": null,
|
|
|
|
|
// "ecnno": null,
|
|
|
|
|
// "enditem": 0,
|
|
|
|
|
// "erpQuantity": null,
|
|
|
|
|
// "goodsCode": "21E543-6108-B1",
|
|
|
|
|
// "goodsCodeAndGoodsName": "null——21E543-6108-B1——石墨模",
|
|
|
|
|
// "goodsId": 170,
|
|
|
|
|
// "goodsName": "石墨模",
|
|
|
|
|
// "grade": null,
|
|
|
|
|
// "houseQuantity": null,
|
|
|
|
|
// "lockQuantity": 0.0,
|
|
|
|
|
// "madeIn": null,
|
|
|
|
|
// "matbigclassify": null,
|
|
|
|
|
// "matsmallclassify": null,
|
|
|
|
|
// "maxNum": 300.0,
|
|
|
|
|
// "memo": null,
|
|
|
|
|
// "minNum": 50.0,
|
|
|
|
|
// "mtlsgrt": null,
|
|
|
|
|
// "mtltmrk": "4",
|
|
|
|
|
// "mustCheck": 0,
|
|
|
|
|
// "newGoodsName": null,
|
|
|
|
|
// "newSpecifications": null,
|
|
|
|
|
// "numAcc": null,
|
|
|
|
|
// "onthewayQuantity": 0.0,
|
|
|
|
|
// "partLink": null,
|
|
|
|
|
// "piNo": null,
|
|
|
|
|
// "price": null,
|
|
|
|
|
// "priority": null,
|
|
|
|
|
// "prtType": "零件",
|
|
|
|
|
// "prtrevedit": null,
|
|
|
|
|
// "prtstd": null,
|
|
|
|
|
// "prtwt": 0.0,
|
|
|
|
|
// "purchaseQuantity": 0.0,
|
|
|
|
|
// "releaseno": null,
|
|
|
|
|
// "releasenoTime": null,
|
|
|
|
|
// "remark": null,
|
|
|
|
|
// "rlsId": null,
|
|
|
|
|
// "singlePieceQuota": null,
|
|
|
|
|
// "source": null,
|
|
|
|
|
// "special": null,
|
|
|
|
|
// "specifications": null,
|
|
|
|
|
// "syQuantity": null,
|
|
|
|
|
// "trademark": null,
|
|
|
|
|
// "unitName": "每个",
|
|
|
|
|
// "updateTime": "2023-07-15 16:18:30",
|
|
|
|
|
// "used": true
|
|
|
|
|
// },
|
|
|
|
|
// "coStorehouse": {
|
|
|
|
|
// "codeAndName": null,
|
|
|
|
|
// "createTime": "2023-12-25 10:08:43",
|
|
|
|
|
// "deleted": false,
|
|
|
|
|
// "factoryId": 41,
|
|
|
|
|
// "memo": null,
|
|
|
|
|
// "saveUser": {
|
|
|
|
|
// "accountId": null,
|
|
|
|
|
// "card": null,
|
|
|
|
|
// "createTime": "2023-04-06",
|
|
|
|
|
// "curStatus": 1,
|
|
|
|
|
// "deleted": false,
|
|
|
|
|
// "deptName": null,
|
|
|
|
|
// "dimissionTime": null,
|
|
|
|
|
// "factoryId": 41,
|
|
|
|
|
// "head": 0,
|
|
|
|
|
// "jobName": "软件工程师",
|
|
|
|
|
// "keyValue": 521,
|
|
|
|
|
// "ldapName": null,
|
|
|
|
|
// "mail": null,
|
|
|
|
|
// "mobile": null,
|
|
|
|
|
// "pfDepartment": {
|
|
|
|
|
// "appLink": null,
|
|
|
|
|
// "createTime": "2022-08-31",
|
|
|
|
|
// "deleted": false,
|
|
|
|
|
// "deptCode": "001",
|
|
|
|
|
// "deptId": 1,
|
|
|
|
|
// "deptName": "MES开发部",
|
|
|
|
|
// "deptType": 1,
|
|
|
|
|
// "deptTypeTitle": "厂",
|
|
|
|
|
// "keyValue": 1,
|
|
|
|
|
// "memo": null,
|
|
|
|
|
// "orders": "00",
|
|
|
|
|
// "parentDeptId": null,
|
|
|
|
|
// "parentPath": null,
|
|
|
|
|
// "ucDeptId": null,
|
|
|
|
|
// "updateTime": "2022-08-31 16:32:46"
|
|
|
|
|
// },
|
|
|
|
|
// "ucUserId": null,
|
|
|
|
|
// "updateTime": "2023-04-06 16:23:38",
|
|
|
|
|
// "userCode": "0001",
|
|
|
|
|
// "userId": 521,
|
|
|
|
|
// "userName": "测试",
|
|
|
|
|
// "userSex": 1,
|
|
|
|
|
// "userSources": "测试",
|
|
|
|
|
// "userString": "521:A:测试",
|
|
|
|
|
// "userType": "A",
|
|
|
|
|
// "yearsOfService": null
|
|
|
|
|
// },
|
|
|
|
|
// "shCode": "RB001",
|
|
|
|
|
// "shId": 183,
|
|
|
|
|
// "shLevel": null,
|
|
|
|
|
// "shName": "石墨模",
|
|
|
|
|
// "toolingType": null,
|
|
|
|
|
// "toolingTypeStr": null,
|
|
|
|
|
// "type": 0,
|
|
|
|
|
// "typeStr": "模具库",
|
|
|
|
|
// "updateTime": null
|
|
|
|
|
// },
|
|
|
|
|
// "createTime": "2023-12-25 10:26:44",
|
|
|
|
|
// "facType": 0,
|
|
|
|
|
// "factoryId": 41,
|
|
|
|
|
// "goodsCodeAndGoodsName": null,
|
|
|
|
|
// "goodsId": null,
|
|
|
|
|
// "goodsStatus": 0,
|
|
|
|
|
// "inStoreDay": 675,
|
|
|
|
|
// "isApplyFor": false,
|
|
|
|
|
// "keeper": null,
|
|
|
|
|
// "memo": null,
|
|
|
|
|
// "modelOrBrandStr": "4/null",
|
|
|
|
|
// "moldBaseMaterial": false,
|
|
|
|
|
// "moldStock": null,
|
|
|
|
|
// "outQuantity": null,
|
|
|
|
|
// "piNo": "Y20231225001",
|
|
|
|
|
// "quantity": 2999.0,
|
|
|
|
|
// "quantityLevel": "ccc",
|
|
|
|
|
// "rlsId": 222,
|
|
|
|
|
// "scrapCycle": "2024-09-18 00:00:00",
|
|
|
|
|
// "splyCode": null,
|
|
|
|
|
// "stayMaintainNum": 0,
|
|
|
|
|
// "stockSource": 0,
|
|
|
|
|
// "stopUse": false,
|
|
|
|
|
// "stopUseTitle": "合格",
|
|
|
|
|
// "storageLocation": {
|
|
|
|
|
// "coStorehouse": {
|
|
|
|
|
// "codeAndName": null,
|
|
|
|
|
// "createTime": "2023-12-25 10:08:43",
|
|
|
|
|
// "deleted": false,
|
|
|
|
|
// "factoryId": 41,
|
|
|
|
|
// "memo": null,
|
|
|
|
|
// "saveUser": {
|
|
|
|
|
// "accountId": null,
|
|
|
|
|
// "card": null,
|
|
|
|
|
// "createTime": "2023-04-06",
|
|
|
|
|
// "curStatus": 1,
|
|
|
|
|
// "deleted": false,
|
|
|
|
|
// "deptName": null,
|
|
|
|
|
// "dimissionTime": null,
|
|
|
|
|
// "factoryId": 41,
|
|
|
|
|
// "head": 0,
|
|
|
|
|
// "jobName": "软件工程师",
|
|
|
|
|
// "keyValue": 521,
|
|
|
|
|
// "ldapName": null,
|
|
|
|
|
// "mail": null,
|
|
|
|
|
// "mobile": null,
|
|
|
|
|
// "pfDepartment": {
|
|
|
|
|
// "appLink": null,
|
|
|
|
|
// "createTime": "2022-08-31",
|
|
|
|
|
// "deleted": false,
|
|
|
|
|
// "deptCode": "001",
|
|
|
|
|
// "deptId": 1,
|
|
|
|
|
// "deptName": "MES开发部",
|
|
|
|
|
// "deptType": 1,
|
|
|
|
|
// "deptTypeTitle": "厂",
|
|
|
|
|
// "keyValue": 1,
|
|
|
|
|
// "memo": null,
|
|
|
|
|
// "orders": "00",
|
|
|
|
|
// "parentDeptId": null,
|
|
|
|
|
// "parentPath": null,
|
|
|
|
|
// "ucDeptId": null,
|
|
|
|
|
// "updateTime": "2022-08-31 16:32:46"
|
|
|
|
|
// },
|
|
|
|
|
// "ucUserId": null,
|
|
|
|
|
// "updateTime": "2023-04-06 16:23:38",
|
|
|
|
|
// "userCode": "0001",
|
|
|
|
|
// "userId": 521,
|
|
|
|
|
// "userName": "测试",
|
|
|
|
|
// "userSex": 1,
|
|
|
|
|
// "userSources": "测试",
|
|
|
|
|
// "userString": "521:A:测试",
|
|
|
|
|
// "userType": "A",
|
|
|
|
|
// "yearsOfService": null
|
|
|
|
|
// },
|
|
|
|
|
// "shCode": "RB001",
|
|
|
|
|
// "shId": 183,
|
|
|
|
|
// "shLevel": null,
|
|
|
|
|
// "shName": "石墨模",
|
|
|
|
|
// "toolingType": null,
|
|
|
|
|
// "toolingTypeStr": null,
|
|
|
|
|
// "type": 0,
|
|
|
|
|
// "typeStr": "模具库",
|
|
|
|
|
// "updateTime": null
|
|
|
|
|
// },
|
|
|
|
|
// "cslId": 222,
|
|
|
|
|
// "deleted": false,
|
|
|
|
|
// "goodsCode": "21E543-6108-B1",
|
|
|
|
|
// "goodsName": null,
|
|
|
|
|
// "location": "RB001SM02",
|
|
|
|
|
// "mtltmrk": null,
|
|
|
|
|
// "specifications": null
|
|
|
|
|
// },
|
|
|
|
|
// "stovePiNo": null,
|
|
|
|
|
// "sumNum": 0,
|
|
|
|
|
// "thickness": null,
|
|
|
|
|
// "updateTime": null,
|
|
|
|
|
// "useQuantity": 2999.0,
|
|
|
|
|
// "zyQuantity": 0.0
|
|
|
|
|
// },
|
|
|
|
|
// {
|
|
|
|
|
// "allMoney": null,
|
|
|
|
|
// "balanceMoney": 30.0,
|
|
|
|
|
// "barCode": null,
|
|
|
|
|
// "checkCode": "CK002",
|
|
|
|
|
// "coGoods": {
|
|
|
|
|
// "allGoodsQuantity": null,
|
|
|
|
|
// "batch": null,
|
|
|
|
|
// "bomQuantity": null,
|
|
|
|
|
// "buyQuantity": null,
|
|
|
|
|
// "cavityno": null,
|
|
|
|
|
// "checkoutCode": "1111",
|
|
|
|
|
// "coGoodsClass": null,
|
|
|
|
|
// "coStorageLocation": null,
|
|
|
|
|
// "cplb": null,
|
|
|
|
|
// "createTime": "2023-07-15 16:18:30",
|
|
|
|
|
// "curQuantity": 1950.0,
|
|
|
|
|
// "cycle": null,
|
|
|
|
|
// "deleted": false,
|
|
|
|
|
// "deliveryDate": null,
|
|
|
|
|
// "dept": null,
|
|
|
|
|
// "drawingNo": null,
|
|
|
|
|
// "ecnno": null,
|
|
|
|
|
// "enditem": 0,
|
|
|
|
|
// "erpQuantity": null,
|
|
|
|
|
// "goodsCode": "04-05-025",
|
|
|
|
|
// "goodsCodeAndGoodsName": "null——04-05-025——锡铂金",
|
|
|
|
|
// "goodsId": 169,
|
|
|
|
|
// "goodsName": "锡铂金",
|
|
|
|
|
// "grade": null,
|
|
|
|
|
// "houseQuantity": null,
|
|
|
|
|
// "lockQuantity": 0.0,
|
|
|
|
|
// "madeIn": null,
|
|
|
|
|
// "matbigclassify": null,
|
|
|
|
|
// "matsmallclassify": null,
|
|
|
|
|
// "maxNum": 300.0,
|
|
|
|
|
// "memo": null,
|
|
|
|
|
// "minNum": 50.0,
|
|
|
|
|
// "mtlsgrt": null,
|
|
|
|
|
// "mtltmrk": "23",
|
|
|
|
|
// "mustCheck": 0,
|
|
|
|
|
// "newGoodsName": null,
|
|
|
|
|
// "newSpecifications": null,
|
|
|
|
|
// "numAcc": null,
|
|
|
|
|
// "onthewayQuantity": 0.0,
|
|
|
|
|
// "partLink": null,
|
|
|
|
|
// "piNo": null,
|
|
|
|
|
// "price": null,
|
|
|
|
|
// "priority": null,
|
|
|
|
|
// "prtType": "零件",
|
|
|
|
|
// "prtrevedit": null,
|
|
|
|
|
// "prtstd": null,
|
|
|
|
|
// "prtwt": 0.0,
|
|
|
|
|
// "purchaseQuantity": 100.0,
|
|
|
|
|
// "releaseno": null,
|
|
|
|
|
// "releasenoTime": null,
|
|
|
|
|
// "remark": null,
|
|
|
|
|
// "rlsId": null,
|
|
|
|
|
// "singlePieceQuota": null,
|
|
|
|
|
// "source": null,
|
|
|
|
|
// "special": null,
|
|
|
|
|
// "specifications": "100克/瓶",
|
|
|
|
|
// "syQuantity": null,
|
|
|
|
|
// "trademark": null,
|
|
|
|
|
// "unitName": "每克",
|
|
|
|
|
// "updateTime": "2023-07-15 16:18:30",
|
|
|
|
|
// "used": true
|
|
|
|
|
// },
|
|
|
|
|
// "coStorehouse": {
|
|
|
|
|
// "codeAndName": null,
|
|
|
|
|
// "createTime": "2023-12-25 10:09:44",
|
|
|
|
|
// "deleted": false,
|
|
|
|
|
// "factoryId": 41,
|
|
|
|
|
// "memo": null,
|
|
|
|
|
// "saveUser": {
|
|
|
|
|
// "accountId": null,
|
|
|
|
|
// "card": null,
|
|
|
|
|
// "createTime": "2023-02-08",
|
|
|
|
|
// "curStatus": 1,
|
|
|
|
|
// "deleted": false,
|
|
|
|
|
// "deptName": null,
|
|
|
|
|
// "dimissionTime": null,
|
|
|
|
|
// "factoryId": 41,
|
|
|
|
|
// "head": 0,
|
|
|
|
|
// "jobName": "主任",
|
|
|
|
|
// "keyValue": 453,
|
|
|
|
|
// "ldapName": "00075",
|
|
|
|
|
// "mail": null,
|
|
|
|
|
// "mobile": null,
|
|
|
|
|
// "pfDepartment": {
|
|
|
|
|
// "appLink": null,
|
|
|
|
|
// "createTime": "2023-02-08",
|
|
|
|
|
// "deleted": false,
|
|
|
|
|
// "deptCode": "26",
|
|
|
|
|
// "deptId": 57,
|
|
|
|
|
// "deptName": "外协业务中心",
|
|
|
|
|
// "deptType": 1,
|
|
|
|
|
// "deptTypeTitle": "厂",
|
|
|
|
|
// "keyValue": 57,
|
|
|
|
|
// "memo": null,
|
|
|
|
|
// "orders": "26",
|
|
|
|
|
// "parentDeptId": 41,
|
|
|
|
|
// "parentPath": null,
|
|
|
|
|
// "ucDeptId": null,
|
|
|
|
|
// "updateTime": "2023-02-08 16:38:31"
|
|
|
|
|
// },
|
|
|
|
|
// "ucUserId": null,
|
|
|
|
|
// "updateTime": "2023-02-08 17:25:13",
|
|
|
|
|
// "userCode": "00075",
|
|
|
|
|
// "userId": 453,
|
|
|
|
|
// "userName": "测试1",
|
|
|
|
|
// "userSex": 1,
|
|
|
|
|
// "userSources": "测试1",
|
|
|
|
|
// "userString": "453:A:测试1",
|
|
|
|
|
// "userType": "A",
|
|
|
|
|
// "yearsOfService": null
|
|
|
|
|
// },
|
|
|
|
|
// "shCode": "RB002",
|
|
|
|
|
// "shId": 184,
|
|
|
|
|
// "shLevel": null,
|
|
|
|
|
// "shName": "锡铂金库",
|
|
|
|
|
// "toolingType": null,
|
|
|
|
|
// "toolingTypeStr": null,
|
|
|
|
|
// "type": 0,
|
|
|
|
|
// "typeStr": "模具库",
|
|
|
|
|
// "updateTime": "2023-12-25 10:09:58"
|
|
|
|
|
// },
|
|
|
|
|
// "createTime": "2023-12-25 10:28:24",
|
|
|
|
|
// "facType": 0,
|
|
|
|
|
// "factoryId": 41,
|
|
|
|
|
// "goodsCodeAndGoodsName": null,
|
|
|
|
|
// "goodsId": null,
|
|
|
|
|
// "goodsStatus": 0,
|
|
|
|
|
// "inStoreDay": 675,
|
|
|
|
|
// "isApplyFor": false,
|
|
|
|
|
// "keeper": null,
|
|
|
|
|
// "memo": null,
|
|
|
|
|
// "modelOrBrandStr": "23/null",
|
|
|
|
|
// "moldBaseMaterial": false,
|
|
|
|
|
// "moldStock": null,
|
|
|
|
|
// "outQuantity": null,
|
|
|
|
|
// "piNo": "Y20231225001",
|
|
|
|
|
// "quantity": 1950.0,
|
|
|
|
|
// "quantityLevel": "aaa",
|
|
|
|
|
// "rlsId": 223,
|
|
|
|
|
// "scrapCycle": "2024-09-18 00:00:00",
|
|
|
|
|
// "splyCode": null,
|
|
|
|
|
// "stayMaintainNum": 0,
|
|
|
|
|
// "stockSource": 0,
|
|
|
|
|
// "stopUse": false,
|
|
|
|
|
// "stopUseTitle": "合格",
|
|
|
|
|
// "storageLocation": {
|
|
|
|
|
// "coStorehouse": {
|
|
|
|
|
// "codeAndName": null,
|
|
|
|
|
// "createTime": "2023-12-25 10:09:44",
|
|
|
|
|
// "deleted": false,
|
|
|
|
|
// "factoryId": 41,
|
|
|
|
|
// "memo": null,
|
|
|
|
|
// "saveUser": {
|
|
|
|
|
// "accountId": null,
|
|
|
|
|
// "card": null,
|
|
|
|
|
// "createTime": "2023-02-08",
|
|
|
|
|
// "curStatus": 1,
|
|
|
|
|
// "deleted": false,
|
|
|
|
|
// "deptName": null,
|
|
|
|
|
// "dimissionTime": null,
|
|
|
|
|
// "factoryId": 41,
|
|
|
|
|
// "head": 0,
|
|
|
|
|
// "jobName": "主任",
|
|
|
|
|
// "keyValue": 453,
|
|
|
|
|
// "ldapName": "00075",
|
|
|
|
|
// "mail": null,
|
|
|
|
|
// "mobile": null,
|
|
|
|
|
// "pfDepartment": {
|
|
|
|
|
// "appLink": null,
|
|
|
|
|
// "createTime": "2023-02-08",
|
|
|
|
|
// "deleted": false,
|
|
|
|
|
// "deptCode": "26",
|
|
|
|
|
// "deptId": 57,
|
|
|
|
|
// "deptName": "外协业务中心",
|
|
|
|
|
// "deptType": 1,
|
|
|
|
|
// "deptTypeTitle": "厂",
|
|
|
|
|
// "keyValue": 57,
|
|
|
|
|
// "memo": null,
|
|
|
|
|
// "orders": "26",
|
|
|
|
|
// "parentDeptId": 41,
|
|
|
|
|
// "parentPath": null,
|
|
|
|
|
// "ucDeptId": null,
|
|
|
|
|
// "updateTime": "2023-02-08 16:38:31"
|
|
|
|
|
// },
|
|
|
|
|
// "ucUserId": null,
|
|
|
|
|
// "updateTime": "2023-02-08 17:25:13",
|
|
|
|
|
// "userCode": "00075",
|
|
|
|
|
// "userId": 453,
|
|
|
|
|
// "userName": "测试1",
|
|
|
|
|
// "userSex": 1,
|
|
|
|
|
// "userSources": "测试1",
|
|
|
|
|
// "userString": "453:A:测试1",
|
|
|
|
|
// "userType": "A",
|
|
|
|
|
// "yearsOfService": null
|
|
|
|
|
// },
|
|
|
|
|
// "shCode": "RB002",
|
|
|
|
|
// "shId": 184,
|
|
|
|
|
// "shLevel": null,
|
|
|
|
|
// "shName": "锡铂金库",
|
|
|
|
|
// "toolingType": null,
|
|
|
|
|
// "toolingTypeStr": null,
|
|
|
|
|
// "type": 0,
|
|
|
|
|
// "typeStr": "模具库",
|
|
|
|
|
// "updateTime": "2023-12-25 10:09:58"
|
|
|
|
|
// },
|
|
|
|
|
// "cslId": 223,
|
|
|
|
|
// "deleted": false,
|
|
|
|
|
// "goodsCode": "04-05-025",
|
|
|
|
|
// "goodsName": null,
|
|
|
|
|
// "location": "RB002XBJ01",
|
|
|
|
|
// "mtltmrk": null,
|
|
|
|
|
// "specifications": null
|
|
|
|
|
// },
|
|
|
|
|
// "stovePiNo": null,
|
|
|
|
|
// "sumNum": 0,
|
|
|
|
|
// "thickness": null,
|
|
|
|
|
// "updateTime": null,
|
|
|
|
|
// "useQuantity": 1950.0,
|
|
|
|
|
// "zyQuantity": 0.0
|
|
|
|
|
// }
|
|
|
|
|
// ]
|
|
|
|
|
// this.page.total = this.data.length
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
</script>
|
|
|
|
|
|
|
|
|
|
<style></style>
|