|
@@ -43,7 +43,7 @@
|
|
|
|
|
|
|
|
<!-- 底部扫码输入框 -->
|
|
<!-- 底部扫码输入框 -->
|
|
|
<view class="fixed-bottom pad-20" style="background: #ffffff;">
|
|
<view class="fixed-bottom pad-20" style="background: #ffffff;">
|
|
|
- <u-search placeholder="请输入/扫描条码" :searchIconSize="24" bgColor="#f6f7f6"
|
|
|
|
|
|
|
+ <u-search placeholder="请输入物流单号" :searchIconSize="24" bgColor="#f6f7f6"
|
|
|
@search="getDetailByCode(waybillCode)" v-model="waybillCode" custom-style="font-size:32rpx"
|
|
@search="getDetailByCode(waybillCode)" v-model="waybillCode" custom-style="font-size:32rpx"
|
|
|
placeholder-style="font-size:32rpx" :clearabled="true" :focus="false" :showAction="false"
|
|
placeholder-style="font-size:32rpx" :clearabled="true" :focus="false" :showAction="false"
|
|
|
:height="42"></u-search>
|
|
:height="42"></u-search>
|
|
@@ -116,7 +116,7 @@ const goBack = () => {
|
|
|
};
|
|
};
|
|
|
|
|
|
|
|
const onSubmit = () => {
|
|
const onSubmit = () => {
|
|
|
- if(!formData.godownId || !formData.positionCode){
|
|
|
|
|
|
|
+ if (!formData.godownId || !formData.positionCode) {
|
|
|
uni.$u.toast('请先选择仓库和库位')
|
|
uni.$u.toast('请先选择仓库和库位')
|
|
|
uni.$u.ttsModule.speak('请先选择仓库和库位')
|
|
uni.$u.ttsModule.speak('请先选择仓库和库位')
|
|
|
return
|
|
return
|
|
@@ -154,7 +154,7 @@ const handleSubmitConfirm = async () => {
|
|
|
uni.$u.http.post('/app/stock/addBatch', {
|
|
uni.$u.http.post('/app/stock/addBatch', {
|
|
|
godownId: formData.godownId,
|
|
godownId: formData.godownId,
|
|
|
positionCode: formData.positionCode,
|
|
positionCode: formData.positionCode,
|
|
|
- orderInfo
|
|
|
|
|
|
|
+ orderInfo
|
|
|
}).then(res => {
|
|
}).then(res => {
|
|
|
if (res.code == 200) {
|
|
if (res.code == 200) {
|
|
|
uni.$u.toast('入库成功')
|
|
uni.$u.toast('入库成功')
|
|
@@ -262,7 +262,7 @@ const handleRemarkConfirm = (remark) => {
|
|
|
// 打开仓库选择页面
|
|
// 打开仓库选择页面
|
|
|
const selectWarehouse = () => {
|
|
const selectWarehouse = () => {
|
|
|
uni.navigateTo({
|
|
uni.navigateTo({
|
|
|
- url: '/pages/index/wms/warehouse-select'
|
|
|
|
|
|
|
+ url: '/pages/index/wms/warehouse-select?godownId=' + formData.godownId
|
|
|
})
|
|
})
|
|
|
}
|
|
}
|
|
|
</script>
|
|
</script>
|