|
@@ -24,7 +24,7 @@
|
|
|
:showAction="false"
|
|
|
@search="onRefresh"
|
|
|
@clear="onRefresh"
|
|
|
- v-model="queryFilterValues.number"
|
|
|
+ v-model="number"
|
|
|
></u-search>
|
|
|
<view class="scan-icon flex_box flex_row_center" @click="scanCode">
|
|
|
<image src="@/static/image/scan-icon-2.png" mode=""></image>
|
|
@@ -285,8 +285,8 @@ export default {
|
|
|
userIdList: [], // 盘点负责人id
|
|
|
categoryIdList: [], // 类目
|
|
|
positionList: [], // 库位
|
|
|
- number: "",
|
|
|
},
|
|
|
+ number: "",
|
|
|
actionPop: {
|
|
|
// 盘点数量弹框状态
|
|
|
showNumPop: false,
|
|
@@ -325,7 +325,7 @@ export default {
|
|
|
},
|
|
|
onShow() {
|
|
|
uni.$on("scanFinish", (data) => {
|
|
|
- this.queryFilterValues.number = data;
|
|
|
+ this.number = data;
|
|
|
this.onRefresh();
|
|
|
});
|
|
|
},
|
|
@@ -369,7 +369,9 @@ export default {
|
|
|
const params = {
|
|
|
taskId,
|
|
|
...this.queryFilterValues,
|
|
|
+ number: this.number,
|
|
|
};
|
|
|
+ console.log("getTaskStocktakingItemList======", params);
|
|
|
const res = await taskStocktakingItemList(params);
|
|
|
const { total, rows } = res.data;
|
|
|
rows.forEach((item) => {
|