盘点审核新增库存
This commit is contained in:
@@ -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';
|
||||
|
||||
@@ -330,7 +330,7 @@ export default {
|
||||
/** 获取仓库列表 */
|
||||
getWarehouseList() {
|
||||
var data = {
|
||||
"typeData": ["3"]
|
||||
"typeData": ["2"]
|
||||
}
|
||||
listWarehouse(data).then(response => {
|
||||
this.warehouseOptions = response.rows;
|
||||
|
||||
@@ -17,14 +17,14 @@
|
||||
@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="请输入物品名称"
|
||||
clearable
|
||||
@keyup.enter.native="handleQuery"
|
||||
/>
|
||||
</el-form-item>
|
||||
</el-form-item>-->
|
||||
<!-- <el-form-item label="仓库" prop="warehouseId"> <!– 仓库 –>
|
||||
<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" /> <!– 操作 –>-->
|
||||
<!-- <el-table-column label="仓库" align="left" prop="warehouseName" /> <!– 仓库 –>-->
|
||||
<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"> <!– 操作 –>-->
|
||||
<!-- <template slot-scope="scope">-->
|
||||
|
||||
@@ -33,14 +33,14 @@
|
||||
@keyup.enter.native="handleQuery"
|
||||
/>
|
||||
</el-form-item>
|
||||
<el-form-item label="批号" prop="lotNo"> <!-- 批号 -->
|
||||
<!-- <el-form-item label="批号" prop="lotNo"> <!– 批号 –>
|
||||
<el-input
|
||||
v-model="queryParams.lotNo"
|
||||
placeholder="请输入批号"
|
||||
clearable
|
||||
@keyup.enter.native="handleQuery"
|
||||
/>
|
||||
</el-form-item>
|
||||
</el-form-item>-->
|
||||
<!-- <el-form-item label="操作" prop="method"> <!– 操作 –>
|
||||
<el-select v-model="queryParams.method" placeholder="请选择操作" clearable>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user