Commit c765edfd by LJM

移动端一键理货容器为空异常

parent e1972a83
......@@ -90,7 +90,7 @@
array: ['出库单号'],
list: [],
page: 1,
limit: 20,
limit: 100,
hasMoreData: true, //是否分页加载
searchParams: {
stock_out_sn: '' //出库单号
......
......@@ -47,9 +47,6 @@
</view>
<view>
<text class="iconfont icon-juxing3" @click="createTallyContainer()"></text>
<!--
<text class="iconfont icon-zimu-M" @click="createTallyContainer(1)"></text>
-->
<text class="iconfont icon-a-juxing11" @click="clearInput(2)" v-if="input_contaion"></text>
</view>
</view>
......@@ -119,7 +116,9 @@
<text class="label">待理货数量:</text>
<text class="ttt">{{ item.wait_tally_qty }}</text>
</view>
<navigator class="btn-box row" :url="'/pages/tallyReceive/operate?stock_in_item_id=' + item.stock_in_item_id + '&stock_in_id=' + item.stock_in_id + '&container_id=' + searchParams.container_id + '&container_name=' + searchParams.container_name" hover-class="none"><view class="btn row rowCenter verCenter">理货</view></navigator>
<navigator class="btn-box row" :url="'/pages/tallyReceive/operate?stock_in_item_id=' + item.stock_in_item_id + '&stock_in_id=' + item.stock_in_id + '&container_id=' + searchParams.container_id + '&container_name=' + searchParams.container_name" hover-class="none">
<view class="btn row rowCenter verCenter">理货</view>
</navigator>
</view>
</view>
<view class="no-date column rowCenter verCenter" v-else>
......@@ -194,11 +193,11 @@
</template>
<script>
import { API } from '@/util/api.js';
import { createArray } from '@/util/util.js';
import debounce from 'lodash/debounce';
import { API } from '@/util/api.js';
import { createArray } from '@/util/util.js';
import debounce from 'lodash/debounce';
export default {
export default {
data() {
return {
timer: null, // 用于存储计时器
......@@ -429,6 +428,7 @@ export default {
this.input_flag = true;
this.getData();
} else if (type == 3) {
//一键理货的容器监听
this.searchParams.container_name = val;
this.input_contaion = true;
this.getTallyContainer();
......@@ -439,6 +439,9 @@ export default {
this.input_flag = false;
this.getData();
} else if (type == 3) {
//容器为空的时候清除值
this.formParams.container_id = '';
this.searchParams.container_id = '';
this.input_contaion = false;
}
}
......@@ -781,9 +784,9 @@ export default {
this.page = 1;
}
}
};
};
</script>
<style scoped lang="scss">
@import '@/assets/css/tallyReceive/index.scss';
@import '@/assets/css/tallyReceive/index.scss';
</style>
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment