|
|
@ -7,15 +7,20 @@
|
|
|
|
<view class="entry-info">
|
|
|
|
<view class="entry-info">
|
|
|
|
<view style="margin-bottom: 30rpx;font-size: 16px;font-weight: 600;">请录入</view>
|
|
|
|
<view style="margin-bottom: 30rpx;font-size: 16px;font-weight: 600;">请录入</view>
|
|
|
|
<u-form labelPosition="left" labelWidth="90px" :model="ruleForm" :rules="rules" ref="ruleFormRef">
|
|
|
|
<u-form labelPosition="left" labelWidth="90px" :model="ruleForm" :rules="rules" ref="ruleFormRef">
|
|
|
|
|
|
|
|
|
|
|
|
<view style="margin-top: 10px;">
|
|
|
|
<view style="margin-top: 10px;">
|
|
|
|
<u-search :customStyle="{backgroundColor: '#F5F5F5'}" @clickIcon="input" @search="input"
|
|
|
|
<u-search :customStyle="{backgroundColor: '#F5F5F5'}" @clickIcon="input" @search="input"
|
|
|
|
@scanIcon="getLocationScanData" @change="input" @focus="show = true" @blur="blurData" clearable
|
|
|
|
@scanIcon="getLocationScanData" @change="input" @focus="show = true" @blur="blurData" clearable
|
|
|
|
placeholder="请输入库位号" v-model="location" shape="round" :showAction="false">
|
|
|
|
placeholder="请输入库位号" v-model="location" shape="round" :showAction="false">
|
|
|
|
</u-search>
|
|
|
|
</u-search>
|
|
|
|
</view>
|
|
|
|
</view>
|
|
|
|
|
|
|
|
<view style="margin-top: 10px;word-wrap: break-word;">
|
|
|
|
|
|
|
|
配载单号:<text>{{loadNo}}</text>
|
|
|
|
|
|
|
|
</view>
|
|
|
|
<fuzzy-list label-name="optionText" value-name="optionValue" align="center" no-data="暂无数据" :show="show"
|
|
|
|
<fuzzy-list label-name="optionText" value-name="optionValue" align="center" no-data="暂无数据" :show="show"
|
|
|
|
:list="list" :custom-style="{ fontSize: '30rpx' }" @select="select"></fuzzy-list>
|
|
|
|
:list="list" :custom-style="{ fontSize: '30rpx' }" @select="select"></fuzzy-list>
|
|
|
|
<u-form-item label="库位号" style="margin-top: 10px;">
|
|
|
|
<u-form-item label="库位号" style="margin-top: 10px;">
|
|
|
|
|
|
|
|
|
|
|
|
<view style="display: flex;flex-wrap: wrap;width: 60%;">
|
|
|
|
<view style="display: flex;flex-wrap: wrap;width: 60%;">
|
|
|
|
<view v-for="(item,index) in ruleForm.locationList" style="display: flex;align-items: center;">
|
|
|
|
<view v-for="(item,index) in ruleForm.locationList" style="display: flex;align-items: center;">
|
|
|
|
<view v-show="ruleForm.locationList.length">{{item}}</view>
|
|
|
|
<view v-show="ruleForm.locationList.length">{{item}}</view>
|
|
|
@ -75,12 +80,14 @@
|
|
|
|
list: [],
|
|
|
|
list: [],
|
|
|
|
selectData: null,
|
|
|
|
selectData: null,
|
|
|
|
selected: false,
|
|
|
|
selected: false,
|
|
|
|
|
|
|
|
loadNo:""
|
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
|
|
|
},
|
|
|
|
|
|
|
|
|
|
|
|
methods: {
|
|
|
|
methods: {
|
|
|
|
input(val) {
|
|
|
|
input(val) {
|
|
|
|
this.show = true
|
|
|
|
this.show = true
|
|
|
|
|
|
|
|
this.getLoadList(val)
|
|
|
|
debounce(this.getList, 500);
|
|
|
|
debounce(this.getList, 500);
|
|
|
|
},
|
|
|
|
},
|
|
|
|
blurData() {
|
|
|
|
blurData() {
|
|
|
@ -107,6 +114,16 @@
|
|
|
|
console.log(this.list, 'this.list');
|
|
|
|
console.log(this.list, 'this.list');
|
|
|
|
})
|
|
|
|
})
|
|
|
|
},
|
|
|
|
},
|
|
|
|
|
|
|
|
getLoadList(val) {
|
|
|
|
|
|
|
|
console.log('库位号',val)
|
|
|
|
|
|
|
|
Api.storge.queryLoadNoByOrder({
|
|
|
|
|
|
|
|
busNo: val,
|
|
|
|
|
|
|
|
}).then(({
|
|
|
|
|
|
|
|
data
|
|
|
|
|
|
|
|
}) => {
|
|
|
|
|
|
|
|
this.loadNo = data
|
|
|
|
|
|
|
|
})
|
|
|
|
|
|
|
|
},
|
|
|
|
async scanSuccess(code) {
|
|
|
|
async scanSuccess(code) {
|
|
|
|
this.pickerConfirm(code.trim())
|
|
|
|
this.pickerConfirm(code.trim())
|
|
|
|
},
|
|
|
|
},
|
|
|
@ -155,7 +172,9 @@
|
|
|
|
message: "提交入库成功",
|
|
|
|
message: "提交入库成功",
|
|
|
|
})
|
|
|
|
})
|
|
|
|
this.ruleForm.locationList = []
|
|
|
|
this.ruleForm.locationList = []
|
|
|
|
|
|
|
|
uni.navigateTo({
|
|
|
|
|
|
|
|
url: `/pages/outStock/forkliftWarehousing`
|
|
|
|
|
|
|
|
})
|
|
|
|
})
|
|
|
|
})
|
|
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
}
|
|
|
|