Browse Source

盘点条件查询

fix_bug_pro20231227
马远东 1 year ago
parent
commit
38c12bf08f
  1. 9
      src/api/distribution/createTask.js
  2. 6
      src/views/basicdata/warehouse/goodsAllocation/BasicdataGoodsAllocation.vue
  3. 23
      src/views/distribution/checkInventoryTask/createTask.vue

9
src/api/distribution/createTask.js

@ -74,7 +74,14 @@ export const $_getDetailInfo = params => {
});
};
// 查询货位信息
export const $_getList = ( params) => {
return request({
url: '/api/logpm-basicdata/goodsAllocation/list',
method: 'get',
params
})
}
/**
* 盘点状态修改

6
src/views/basicdata/warehouse/goodsAllocation/BasicdataGoodsAllocation.vue

@ -586,4 +586,10 @@ export default {
margin-right: 0;
}
}
:deep(.el-card){
height: 100%;
.el-card__body{
height: 100%;
}
}
</style>

23
src/views/distribution/checkInventoryTask/createTask.vue

@ -202,7 +202,7 @@
:data="TcPD"
row-key="name"
border
height="700"
height="600"
style="width: 100%"
@select-all="TcselectAll"
@select="TcselectChange"
@ -652,6 +652,7 @@ import {
$_submit,
$_questDetailIds,
$_exportGetContrastInfo,
$_getList,
} from '@/api/distribution/createTask';
import { ElMessage } from 'element-plus';
import { downloadXls } from '@/utils/util';
@ -924,7 +925,7 @@ const InventoryDetails = ref([
{
prop: 'positionCode',
label: '货位',
type: 4,
type: 5,
values: '',
width: '260',
checkarr: [],
@ -1686,7 +1687,6 @@ const ViewEvent = val => {
item.values=null
})
InventoryState.value=false;//
TcFrom.value={};//
TccurrentPage.value = 1; //
NotCounted.value = false; //
row.value = val;
@ -1998,6 +1998,15 @@ const Tclist = val => {
};
//
const InventoryEditing = val => {
$_getList({
current: 1, //
size: 10000, //
warehouseId:val.warehouseId,
}).then(res=>{
console.log(res);
})
counting.value = {}; //
WrapBarEditing.value.radio = null;
readList.value = [];
@ -2101,13 +2110,17 @@ const TcChenge = (event, val) => {
console.log(event, val);
TcPdloading.value = true;
console.log(row.value,'必须参数');
console.log(row.value.questNum,'questNum');
let quest=row.value.questNum
let qstId=row.value.id
let data = {
questNum: UncheckedRow.value.questNum,
questId: UncheckedRow.value.id,
current: TccurrentPage.value, //
size: TcpageSize.value, //
...TcFrom.value,
questNum:quest,
questId:qstId,
};
console.log(data, '要提交的数据');
$_getDetailInfo(data).then(res => {

Loading…
Cancel
Save