Commit 48cd7771 by LJM

bug

parent 83bac40f
...@@ -188,15 +188,17 @@ ...@@ -188,15 +188,17 @@
</view> </view>
</view> </view>
</view> </view>
<view class="fix-btn row verCenter"><view class="btn1 row rowCenter verCenter" @click="stockShelfByBatchSnAction()">上 架</view></view> <view class="fix-btn row verCenter">
<view class="btn1 row rowCenter verCenter" @click="stockShelfByBatchSnAction()">上 架</view>
</view>
</view> </view>
</template> </template>
<script> <script>
import { API } from '@/util/api.js'; import { API } from '@/util/api.js';
import debounce from 'lodash/debounce'; import debounce from 'lodash/debounce';
export default { export default {
data() { data() {
return { return {
isZY: false, //区分是否自营 isZY: false, //区分是否自营
...@@ -347,7 +349,14 @@ export default { ...@@ -347,7 +349,14 @@ export default {
num: this.formParams.qty_on_shelf, num: this.formParams.qty_on_shelf,
warehouse_id: this.detail.warehouse_id, warehouse_id: this.detail.warehouse_id,
com_name: this.detail.com_name, com_name: this.detail.com_name,
supplier_name: this.detail.supplier_name supplier_name: this.detail.supplier_name,
stock_type: this.detail.stock_type || '',
sku_id: this.detail.sku_id || '',
picking_other_attr: this.detail.picking_other_attr || '',
picking_mode: this.detail.picking_mode || '',
packing: this.detail.packing || '',
encap: this.detail.encap || '',
stock_in_batch_sn: this.detail.stock_in_batch_sn || ''
}; };
this.request(API.getWorkingRuleList, 'POST', params, false).then(res => { this.request(API.getWorkingRuleList, 'POST', params, false).then(res => {
if (res.code === 0) { if (res.code === 0) {
...@@ -424,9 +433,9 @@ export default { ...@@ -424,9 +433,9 @@ export default {
}); });
} }
} }
}; };
</script> </script>
<style scoped lang="scss"> <style scoped lang="scss">
@import '@/assets/css/putaway/single.scss'; @import '@/assets/css/putaway/single.scss';
</style> </style>
\ No newline at end of file
...@@ -44,7 +44,9 @@ ...@@ -44,7 +44,9 @@
</view> </view>
</template> </template>
<template v-else-if="curr == 1"> <template v-else-if="curr == 1">
<view class="box-info row bothSide"><view class="title row bothSide verCenter">容器:</view></view> <view class="box-info row bothSide">
<view class="title row bothSide verCenter">容器:</view>
</view>
<view class="search-bar row bothSide verCenter"> <view class="search-bar row bothSide verCenter">
<view class="row verCenter"> <view class="row verCenter">
<text class="iconfont icon-juxing1"></text> <text class="iconfont icon-juxing1"></text>
...@@ -133,7 +135,9 @@ ...@@ -133,7 +135,9 @@
<text class="label">仓库备注:</text> <text class="label">仓库备注:</text>
<text class="desc">{{ item.remark }}</text> <text class="desc">{{ item.remark }}</text>
</view> </view>
<view class="row" style="justify-content: flex-end;width: 100%;"><view class="btn row rowCenter verCenter" @click="showDrawer(1, item)">选择</view></view> <view class="row" style="justify-content: flex-end;width: 100%;">
<view class="btn row rowCenter verCenter" @click="showDrawer(1, item)">选择</view>
</view>
</view> </view>
</view> </view>
<!-- 无数据展示 --> <!-- 无数据展示 -->
...@@ -612,11 +616,11 @@ ...@@ -612,11 +616,11 @@
</template> </template>
<script> <script>
import { API } from '@/util/api.js'; import { API } from '@/util/api.js';
import { createArray } from '@/util/util.js'; import { createArray } from '@/util/util.js';
import debounce from 'lodash/debounce'; import debounce from 'lodash/debounce';
export default { export default {
data() { data() {
return { return {
isFocus: true, isFocus: true,
...@@ -763,6 +767,7 @@ export default { ...@@ -763,6 +767,7 @@ export default {
//搜索之后添加选择状态 //搜索之后添加选择状态
this.getData(data => { this.getData(data => {
console.log(data)
if (data.length > 0) { if (data.length > 0) {
const list = data; const list = data;
list.forEach((item, index) => { list.forEach((item, index) => {
...@@ -1297,9 +1302,9 @@ export default { ...@@ -1297,9 +1302,9 @@ export default {
} }
} }
} }
}; };
</script> </script>
<style scoped lang="scss"> <style scoped lang="scss">
@import '@/assets/css/stockRecheck/sort.scss'; @import '@/assets/css/stockRecheck/sort.scss';
</style> </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