Commit a807ea0e authored by 何远江's avatar 何远江

完工入库仓库别bug 修改

parent 0b30b8ee
......@@ -2,16 +2,16 @@
<view class="page">
<StickyNavBar>
<NavBar title="完工入库扫描"></NavBar>
<FactorySelect v-model="warehouseCode" />
<FactorySelect v-model="LGOBE" @change="actionSheetCallback" />
<view class="selectSheet">
<!-- <view class="selectSheet">
<u-row >
<u-col span="12">
<u-picker v-model="depotShow" mode="selector" :default-selector="[0]" range-key="text" :range="depotLists" @confirm="actionSheetCallback"></u-picker>
<u-input v-model="LGOBE" placeholder="请选择仓库别" :type="type" :border="border" @click="depotShow = true" />
</u-col>
</u-row>
</view>
</view> -->
<view class="btn">
<uni-easyinput prefixIcon="search" class="topSearch" v-model="nlpla" focus placeholder="请扫描库位" @change="handleInputNlpla"></uni-easyinput>
<uni-easyinput
......@@ -94,7 +94,7 @@ export default {
};
},
created() {
this.getDepotLists();
// this.getDepotLists();
// 二维码包含:10位物料号(右对齐不足补充为0)物料号12位生产单号(右对齐不足补充为0),
// 10位批次号(右对齐不足补充为0),8位数量(100000.0)(右对齐不足补充为0)
// this.getPlnr('006000000100100000000300000501001');
......@@ -127,10 +127,8 @@ export default {
});
},
// 点击actionSheet回调
actionSheetCallback(index) {
console.log(index, 'index');
this.LGOBE = this.depotLists[index].LGOBE;
this.LGORT = this.depotLists[index].LGORT;
actionSheetCallback(item) {
this.LGORT = item?.LGORT || "";
},
deleGonds(idx) {
this.goodsList.splice(idx, 1);
......
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 to comment