|
|
@ -33,22 +33,22 @@
|
|
|
|
@keyup.enter.native="handleQuery"
|
|
|
|
@keyup.enter.native="handleQuery"
|
|
|
|
/>
|
|
|
|
/>
|
|
|
|
</el-form-item>
|
|
|
|
</el-form-item>
|
|
|
|
<el-form-item label="库位编码" prop="wlCode">
|
|
|
|
<!-- <el-form-item label="库位编码" prop="wlCode">-->
|
|
|
|
<el-input
|
|
|
|
<!-- <el-input-->
|
|
|
|
v-model="queryParams.wlCode"
|
|
|
|
<!-- v-model="queryParams.wlCode"-->
|
|
|
|
placeholder="请输入库位编码"
|
|
|
|
<!-- placeholder="请输入库位编码"-->
|
|
|
|
clearable
|
|
|
|
<!-- clearable-->
|
|
|
|
@keyup.enter.native="handleQuery"
|
|
|
|
<!-- @keyup.enter.native="handleQuery"-->
|
|
|
|
/>
|
|
|
|
<!-- />-->
|
|
|
|
</el-form-item>
|
|
|
|
<!-- </el-form-item>-->
|
|
|
|
<el-form-item label="库位名称" prop="wlName">
|
|
|
|
<!-- <el-form-item label="库位名称" prop="wlName">-->
|
|
|
|
<el-input
|
|
|
|
<!-- <el-input-->
|
|
|
|
v-model="queryParams.wlName"
|
|
|
|
<!-- v-model="queryParams.wlName"-->
|
|
|
|
placeholder="请输入库位名称"
|
|
|
|
<!-- placeholder="请输入库位名称"-->
|
|
|
|
clearable
|
|
|
|
<!-- clearable-->
|
|
|
|
@keyup.enter.native="handleQuery"
|
|
|
|
<!-- @keyup.enter.native="handleQuery"-->
|
|
|
|
/>
|
|
|
|
<!-- />-->
|
|
|
|
</el-form-item>
|
|
|
|
<!-- </el-form-item>-->
|
|
|
|
<el-form-item label="产品编码" prop="productCode">
|
|
|
|
<el-form-item label="产品编码" prop="productCode">
|
|
|
|
<el-input
|
|
|
|
<el-input
|
|
|
|
v-model="queryParams.productCode"
|
|
|
|
v-model="queryParams.productCode"
|
|
|
@ -65,30 +65,10 @@
|
|
|
|
@keyup.enter.native="handleQuery"
|
|
|
|
@keyup.enter.native="handleQuery"
|
|
|
|
/>
|
|
|
|
/>
|
|
|
|
</el-form-item>
|
|
|
|
</el-form-item>
|
|
|
|
<el-form-item label="总数量" prop="amount">
|
|
|
|
|
|
|
|
<el-input
|
|
|
|
|
|
|
|
v-model="queryParams.amount"
|
|
|
|
|
|
|
|
placeholder="请输入总数量"
|
|
|
|
|
|
|
|
clearable
|
|
|
|
|
|
|
|
@keyup.enter.native="handleQuery"
|
|
|
|
|
|
|
|
/>
|
|
|
|
|
|
|
|
</el-form-item>
|
|
|
|
|
|
|
|
<el-form-item label="冻结数量" prop="storageAmount">
|
|
|
|
|
|
|
|
<el-input
|
|
|
|
|
|
|
|
v-model="queryParams.storageAmount"
|
|
|
|
|
|
|
|
placeholder="请输入冻结数量"
|
|
|
|
|
|
|
|
clearable
|
|
|
|
|
|
|
|
@keyup.enter.native="handleQuery"
|
|
|
|
|
|
|
|
/>
|
|
|
|
|
|
|
|
</el-form-item>
|
|
|
|
|
|
|
|
<el-form-item label="占用数量" prop="occupyAmount">
|
|
|
|
|
|
|
|
<el-input
|
|
|
|
|
|
|
|
v-model="queryParams.occupyAmount"
|
|
|
|
|
|
|
|
placeholder="请输入占用数量"
|
|
|
|
|
|
|
|
clearable
|
|
|
|
|
|
|
|
@keyup.enter.native="handleQuery"
|
|
|
|
|
|
|
|
/>
|
|
|
|
|
|
|
|
</el-form-item>
|
|
|
|
|
|
|
|
<!-- <el-form-item label="LPN" prop="lpn">-->
|
|
|
|
<!-- <el-form-item label="LPN" prop="lpn">-->
|
|
|
|
<!-- <el-input-->
|
|
|
|
<!-- <el-input-->
|
|
|
|
<!-- v-model="queryParams.lpn"-->
|
|
|
|
<!-- v-model="queryParams.lpn"-->
|
|
|
@ -105,14 +85,14 @@
|
|
|
|
<!-- @keyup.enter.native="handleQuery"-->
|
|
|
|
<!-- @keyup.enter.native="handleQuery"-->
|
|
|
|
<!-- />-->
|
|
|
|
<!-- />-->
|
|
|
|
<!-- </el-form-item>-->
|
|
|
|
<!-- </el-form-item>-->
|
|
|
|
<el-form-item label="入库时间" prop="receiveDate">
|
|
|
|
<!-- <el-form-item label="入库时间" prop="receiveDate">-->
|
|
|
|
<el-date-picker clearable
|
|
|
|
<!-- <el-date-picker clearable-->
|
|
|
|
v-model="queryParams.receiveDate"
|
|
|
|
<!-- v-model="queryParams.receiveDate"-->
|
|
|
|
type="date"
|
|
|
|
<!-- type="date"-->
|
|
|
|
value-format="yyyy-MM-dd"
|
|
|
|
<!-- value-format="yyyy-MM-dd"-->
|
|
|
|
placeholder="请选择入库时间">
|
|
|
|
<!-- placeholder="请选择入库时间">-->
|
|
|
|
</el-date-picker>
|
|
|
|
<!-- </el-date-picker>-->
|
|
|
|
</el-form-item>
|
|
|
|
<!-- </el-form-item>-->
|
|
|
|
<!-- <el-form-item label="生产时间" prop="productDate">-->
|
|
|
|
<!-- <el-form-item label="生产时间" prop="productDate">-->
|
|
|
|
<!-- <el-date-picker clearable-->
|
|
|
|
<!-- <el-date-picker clearable-->
|
|
|
|
<!-- v-model="queryParams.productDate"-->
|
|
|
|
<!-- v-model="queryParams.productDate"-->
|
|
|
@ -201,14 +181,14 @@
|
|
|
|
<!-- @keyup.enter.native="handleQuery"-->
|
|
|
|
<!-- @keyup.enter.native="handleQuery"-->
|
|
|
|
<!-- />-->
|
|
|
|
<!-- />-->
|
|
|
|
<!-- </el-form-item>-->
|
|
|
|
<!-- </el-form-item>-->
|
|
|
|
<el-form-item label="创建时间" prop="gmtCreate">
|
|
|
|
<!-- <el-form-item label="创建时间" prop="gmtCreate">-->
|
|
|
|
<el-date-picker clearable
|
|
|
|
<!-- <el-date-picker clearable-->
|
|
|
|
v-model="queryParams.gmtCreate"
|
|
|
|
<!-- v-model="queryParams.gmtCreate"-->
|
|
|
|
type="date"
|
|
|
|
<!-- type="date"-->
|
|
|
|
value-format="yyyy-MM-dd"
|
|
|
|
<!-- value-format="yyyy-MM-dd"-->
|
|
|
|
placeholder="请选择创建时间">
|
|
|
|
<!-- placeholder="请选择创建时间">-->
|
|
|
|
</el-date-picker>
|
|
|
|
<!-- </el-date-picker>-->
|
|
|
|
</el-form-item>
|
|
|
|
<!-- </el-form-item>-->
|
|
|
|
<!-- <el-form-item label="最后更新人" prop="lastModifiedBy">-->
|
|
|
|
<!-- <el-form-item label="最后更新人" prop="lastModifiedBy">-->
|
|
|
|
<!-- <el-input-->
|
|
|
|
<!-- <el-input-->
|
|
|
|
<!-- v-model="queryParams.lastModifiedBy"-->
|
|
|
|
<!-- v-model="queryParams.lastModifiedBy"-->
|
|
|
@ -305,30 +285,19 @@
|
|
|
|
<el-table v-loading="loading" :data="majorList" @selection-change="handleSelectionChange">
|
|
|
|
<el-table v-loading="loading" :data="majorList" @selection-change="handleSelectionChange">
|
|
|
|
<el-table-column type="selection" width="55" align="center" />
|
|
|
|
<el-table-column type="selection" width="55" align="center" />
|
|
|
|
<el-table-column label="唯一序列" align="center" prop="storageId" v-if="false" />
|
|
|
|
<el-table-column label="唯一序列" align="center" prop="storageId" v-if="false" />
|
|
|
|
|
|
|
|
<el-table-column label="产品编码" align="center" prop="productCode" width="150"/>
|
|
|
|
|
|
|
|
<el-table-column label="产品名称" align="center" prop="productName" width="250"/>
|
|
|
|
|
|
|
|
<el-table-column label="工厂号" align="center" prop="factoryCode" />
|
|
|
|
<el-table-column label="仓库编码" align="center" prop="whCode" />
|
|
|
|
<el-table-column label="仓库编码" align="center" prop="whCode" />
|
|
|
|
<el-table-column label="区域编号" align="center" prop="regionCode" />
|
|
|
|
<el-table-column label="区域编号" align="center" prop="regionCode" />
|
|
|
|
<el-table-column label="库区编码" align="center" prop="waCode" />
|
|
|
|
<el-table-column label="库区编码" align="center" prop="waCode" />
|
|
|
|
<el-table-column label="库存类型:CP-成品" align="center" prop="storageType" />
|
|
|
|
<el-table-column label="单位" align="center" prop="userDefined1" />
|
|
|
|
<el-table-column label="库位编码" align="center" prop="wlCode" />
|
|
|
|
<el-table-column label="非限制使用的库存" align="center" prop="amount" />
|
|
|
|
<el-table-column label="产品编码" align="center" prop="productCode" />
|
|
|
|
<el-table-column label="冻结数量" align="center" prop="storageAmount" />
|
|
|
|
<el-table-column label="产品名称" align="center" prop="productName" />
|
|
|
|
<el-table-column label="占用数量" align="center" prop="occupyAmount" />
|
|
|
|
<el-table-column label="总数量" align="center" prop="amount" />
|
|
|
|
<el-table-column label="总数量" align="center" prop="amount" />
|
|
|
|
<el-table-column label="冻结数量" align="center" prop="storageAmount" />
|
|
|
|
<el-table-column label="批次" align="center" prop="productBatch" />
|
|
|
|
<el-table-column label="占用数量" align="center" prop="occupyAmount" />
|
|
|
|
<el-table-column label="SAP库位" align="center" prop="userDefined2" v-if="false" />
|
|
|
|
<el-table-column label="LPN" align="center" prop="lpn" />
|
|
|
|
|
|
|
|
<!-- <el-table-column label="入库批次号" align="center" prop="productBatch" />-->
|
|
|
|
|
|
|
|
<el-table-column label="入库时间" align="center" prop="receiveDate" width="180">
|
|
|
|
|
|
|
|
<template slot-scope="scope">
|
|
|
|
|
|
|
|
<span>{{ parseTime(scope.row.receiveDate, '{y}-{m}-{d}') }}</span>
|
|
|
|
|
|
|
|
</template>
|
|
|
|
|
|
|
|
</el-table-column>
|
|
|
|
|
|
|
|
<!-- <el-table-column label="生产时间" align="center" prop="productDate" width="180">-->
|
|
|
|
|
|
|
|
<!-- <template slot-scope="scope">-->
|
|
|
|
|
|
|
|
<!-- <span>{{ parseTime(scope.row.productDate, '{y}-{m}-{d}') }}</span>-->
|
|
|
|
|
|
|
|
<!-- </template>-->
|
|
|
|
|
|
|
|
<!-- </el-table-column>-->
|
|
|
|
|
|
|
|
<el-table-column label="单位" align="center" prop="userDefined1" />
|
|
|
|
|
|
|
|
<el-table-column label="SAP库位" align="center" prop="userDefined2" />
|
|
|
|
|
|
|
|
<el-table-column label="备用3" align="center" prop="userDefined3" v-if="false" />
|
|
|
|
<el-table-column label="备用3" align="center" prop="userDefined3" v-if="false" />
|
|
|
|
<el-table-column label="备用4" align="center" prop="userDefined4" v-if="false" />
|
|
|
|
<el-table-column label="备用4" align="center" prop="userDefined4" v-if="false" />
|
|
|
|
<el-table-column label="备用5" align="center" prop="userDefined5" v-if="false" />
|
|
|
|
<el-table-column label="备用5" align="center" prop="userDefined5" v-if="false" />
|
|
|
@ -337,21 +306,21 @@
|
|
|
|
<el-table-column label="备用8" align="center" prop="userDefined8" v-if="false" />
|
|
|
|
<el-table-column label="备用8" align="center" prop="userDefined8" v-if="false" />
|
|
|
|
<el-table-column label="备用9" align="center" prop="userDefined9" v-if="false" />
|
|
|
|
<el-table-column label="备用9" align="center" prop="userDefined9" v-if="false" />
|
|
|
|
<el-table-column label="备用10" align="center" prop="userDefined10" v-if="false" />
|
|
|
|
<el-table-column label="备用10" align="center" prop="userDefined10" v-if="false" />
|
|
|
|
<el-table-column label="创建时间" align="center" prop="gmtCreate" width="180">
|
|
|
|
<!-- <el-table-column label="创建时间" align="center" prop="gmtCreate" width="180">-->
|
|
|
|
<template slot-scope="scope">
|
|
|
|
<!-- <template slot-scope="scope">-->
|
|
|
|
<span>{{ parseTime(scope.row.gmtCreate, '{y}-{m}-{d}') }}</span>
|
|
|
|
<!-- <span>{{ parseTime(scope.row.gmtCreate, '{y}-{m}-{d}') }}</span>-->
|
|
|
|
</template>
|
|
|
|
<!-- </template>-->
|
|
|
|
</el-table-column>
|
|
|
|
<!-- </el-table-column>-->
|
|
|
|
<el-table-column label="最后更新人" align="center" prop="lastModifiedBy" />
|
|
|
|
<!-- <el-table-column label="最后更新人" align="center" prop="lastModifiedBy" />-->
|
|
|
|
<el-table-column label="最后更新时间" align="center" prop="gmtModified" width="180">
|
|
|
|
<!-- <el-table-column label="最后更新时间" align="center" prop="gmtModified" width="180">-->
|
|
|
|
<template slot-scope="scope">
|
|
|
|
<!-- <template slot-scope="scope">-->
|
|
|
|
<span>{{ parseTime(scope.row.gmtModified, '{y}-{m}-{d}') }}</span>
|
|
|
|
<!-- <span>{{ parseTime(scope.row.gmtModified, '{y}-{m}-{d}') }}</span>-->
|
|
|
|
</template>
|
|
|
|
<!-- </template>-->
|
|
|
|
</el-table-column>
|
|
|
|
<!-- </el-table-column>-->
|
|
|
|
<el-table-column label="有效标记" align="center" prop="activeFlag" />
|
|
|
|
<!-- <el-table-column label="有效标记" align="center" prop="activeFlag" />-->
|
|
|
|
<el-table-column label="工厂号" align="center" prop="factoryCode" />
|
|
|
|
|
|
|
|
<el-table-column label="SAP工厂号" align="center" prop="sapFactoryCode" />
|
|
|
|
<!-- <el-table-column label="SAP工厂号" align="center" prop="sapFactoryCode" />-->
|
|
|
|
<el-table-column label="库位名称" align="center" prop="wlName" />
|
|
|
|
<!-- <el-table-column label="库位名称" align="center" prop="wlName" />-->
|
|
|
|
<!-- <el-table-column label="操作" align="center" class-name="small-padding fixed-width">-->
|
|
|
|
<!-- <el-table-column label="操作" align="center" class-name="small-padding fixed-width">-->
|
|
|
|
<!-- <template slot-scope="scope">-->
|
|
|
|
<!-- <template slot-scope="scope">-->
|
|
|
|
<!-- <el-button-->
|
|
|
|
<!-- <el-button-->
|
|
|
@ -419,14 +388,14 @@
|
|
|
|
<!-- <el-form-item label="入库批次号" prop="productBatch">-->
|
|
|
|
<!-- <el-form-item label="入库批次号" prop="productBatch">-->
|
|
|
|
<!-- <el-input v-model="form.productBatch" placeholder="请输入入库批次号" />-->
|
|
|
|
<!-- <el-input v-model="form.productBatch" placeholder="请输入入库批次号" />-->
|
|
|
|
<!-- </el-form-item>-->
|
|
|
|
<!-- </el-form-item>-->
|
|
|
|
<el-form-item label="入库时间" prop="receiveDate">
|
|
|
|
<!-- <el-form-item label="入库时间" prop="receiveDate">-->
|
|
|
|
<el-date-picker clearable
|
|
|
|
<!-- <el-date-picker clearable-->
|
|
|
|
v-model="form.receiveDate"
|
|
|
|
<!-- v-model="form.receiveDate"-->
|
|
|
|
type="date"
|
|
|
|
<!-- type="date"-->
|
|
|
|
value-format="yyyy-MM-dd"
|
|
|
|
<!-- value-format="yyyy-MM-dd"-->
|
|
|
|
placeholder="请选择入库时间">
|
|
|
|
<!-- placeholder="请选择入库时间">-->
|
|
|
|
</el-date-picker>
|
|
|
|
<!-- </el-date-picker>-->
|
|
|
|
</el-form-item>
|
|
|
|
<!-- </el-form-item>-->
|
|
|
|
<!-- <el-form-item label="生产时间" prop="productDate">-->
|
|
|
|
<!-- <el-form-item label="生产时间" prop="productDate">-->
|
|
|
|
<!-- <el-date-picker clearable-->
|
|
|
|
<!-- <el-date-picker clearable-->
|
|
|
|
<!-- v-model="form.productDate"-->
|
|
|
|
<!-- v-model="form.productDate"-->
|
|
|
|