盘点审核新增库存

This commit is contained in:
liuhanqing
2025-11-04 16:03:32 +08:00
parent 77c68b95d7
commit ac0cf1b44d
15 changed files with 1039 additions and 63 deletions

View File

@@ -375,7 +375,7 @@
var param = {
pageNum:1,
pageSize:99,
typeData:['1','2']
typeData:['1']
}
listWarehouse(param).then(response => {
this.warehouseOptions = response.rows;
@@ -394,12 +394,11 @@
if (this.formData.checkType==='1'){
this.materialDialogByProduct = true;
// 设置查询参数中的仓库ID为主表选择的仓库
this.queryParams.warehouseId = "01";
this.queryParams.warehouseId = this.formData.warehouseId;
this.getMaterialList();
}else if (this.formData.checkType==='2'){
this.materialDialogByTrayCode = true;
// 设置查询参数中的仓库ID为主表选择的仓库
this.queryParams.warehouseId = "01";
this.getMaterialByTrayCodeList();
}
},
@@ -418,7 +417,7 @@
getMaterialByTrayCodeList(){
this.trayLoading = true;
if (this.formData.checkType==='2'){
this.trayQueryParams.warehouseId = "01";
this.trayQueryParams.warehouseId = this.formData.warehouseId;
this.trayQueryParams.status = 2;
this.trayQueryParams.locked='N';
this.trayQueryParams.spare7='0';

View File

@@ -330,7 +330,7 @@ export default {
/** 获取仓库列表 */
getWarehouseList() {
var data = {
"typeData": ["3"]
"typeData": ["2"]
}
listWarehouse(data).then(response => {
this.warehouseOptions = response.rows;

View File

@@ -17,14 +17,14 @@
@keyup.enter.native="handleQuery"
/>
</el-form-item>-->
<el-form-item label="物品名称" prop="productName"> <!-- 物品名称 -->
<!-- <el-form-item label="物品名称" prop="productName"> &lt;!&ndash; 物品名称 &ndash;&gt;
<el-input
v-model="queryParams.productName"
placeholder="请输入物品名称"
clearable
@keyup.enter.native="handleQuery"
/>
</el-form-item>
</el-form-item>-->
<!-- <el-form-item label="仓库" prop="warehouseId"> &lt;!&ndash; 仓库 &ndash;&gt;
<el-select v-model="queryParams.warehouseId" placeholder="请选择仓库">
<el-option
@@ -72,7 +72,7 @@
</template>
</el-table-column><!-- 现库位状态 -->
<!-- <el-table-column label="操作" align="left" prop="method" /> &lt;!&ndash; 操作 &ndash;&gt;-->
<!-- <el-table-column label="仓库" align="left" prop="warehouseName" /> &lt;!&ndash; 仓库 &ndash;&gt;-->
<el-table-column label="仓库" align="left" prop="warehouseName" /> <!-- 仓库 -->
<el-table-column label="创建时间" align="left" prop="createTime" /> <!-- 创建时间 -->
<!-- <el-table-column label="操作" align="center" class-name="small-padding fixed-width"> &lt;!&ndash; 操作 &ndash;&gt;-->
<!-- <template slot-scope="scope">-->

View File

@@ -33,14 +33,14 @@
@keyup.enter.native="handleQuery"
/>
</el-form-item>
<el-form-item label="批号" prop="lotNo"> <!-- 批号 -->
<!-- <el-form-item label="批号" prop="lotNo"> &lt;!&ndash; 批号 &ndash;&gt;
<el-input
v-model="queryParams.lotNo"
placeholder="请输入批号"
clearable
@keyup.enter.native="handleQuery"
/>
</el-form-item>
</el-form-item>-->
<!-- <el-form-item label="操作" prop="method"> &lt;!&ndash; 操作 &ndash;&gt;
<el-select v-model="queryParams.method" placeholder="请选择操作" clearable>