Commit 48cd7771 by LJM

bug

parent 83bac40f
......@@ -188,15 +188,17 @@
</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>
</template>
<script>
import { API } from '@/util/api.js';
import debounce from 'lodash/debounce';
import { API } from '@/util/api.js';
import debounce from 'lodash/debounce';
export default {
export default {
data() {
return {
isZY: false, //区分是否自营
......@@ -347,7 +349,14 @@ export default {
num: this.formParams.qty_on_shelf,
warehouse_id: this.detail.warehouse_id,
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 => {
if (res.code === 0) {
......@@ -424,9 +433,9 @@ export default {
});
}
}
};
};
</script>
<style scoped lang="scss">
@import '@/assets/css/putaway/single.scss';
@import '@/assets/css/putaway/single.scss';
</style>
\ No newline at end of file
......@@ -44,7 +44,9 @@
</view>
</template>
<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="row verCenter">
<text class="iconfont icon-juxing1"></text>
......@@ -133,7 +135,9 @@
<text class="label">仓库备注:</text>
<text class="desc">{{ item.remark }}</text>
</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>
<!-- 无数据展示 -->
......@@ -612,11 +616,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 {
isFocus: true,
......@@ -763,6 +767,7 @@ export default {
//搜索之后添加选择状态
this.getData(data => {
console.log(data)
if (data.length > 0) {
const list = data;
list.forEach((item, index) => {
......@@ -1297,9 +1302,9 @@ export default {
}
}
}
};
};
</script>
<style scoped lang="scss">
@import '@/assets/css/stockRecheck/sort.scss';
@import '@/assets/css/stockRecheck/sort.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