diff --git a/component/public/Drawer.vue b/component/public/Drawer.vue index e798a26..83bf33e 100644 --- a/component/public/Drawer.vue +++ b/component/public/Drawer.vue @@ -1,13 +1,13 @@ - \ No newline at end of file diff --git a/component/storeroom/drawer/picking/index.vue b/component/storeroom/drawer/picking/index.vue new file mode 100644 index 0000000..c87303d --- /dev/null +++ b/component/storeroom/drawer/picking/index.vue @@ -0,0 +1,683 @@ + + + + + + \ No newline at end of file diff --git a/component/storeroom/drawer/pickingGood/index.vue b/component/storeroom/drawer/pickingGood/index.vue new file mode 100644 index 0000000..0898b86 --- /dev/null +++ b/component/storeroom/drawer/pickingGood/index.vue @@ -0,0 +1,1057 @@ + + + + + + \ No newline at end of file diff --git a/component/storeroom/drawer/suixing/index.vue b/component/storeroom/drawer/suixing/index.vue index 774a68b..9bca452 100644 --- a/component/storeroom/drawer/suixing/index.vue +++ b/component/storeroom/drawer/suixing/index.vue @@ -71,12 +71,12 @@ - - + + - + - + 上传人: @@ -117,6 +117,7 @@ }); const postItems = ref(0); + const photoArray = ref([`https://img-s.msn.cn/tenant/amp/entityid/AA1ECZ6y.img?w=768&h=960&m=6&x=355&y=171&s=47&d=47`, `https://img-s.msn.cn/tenant/amp/entityid/AA1ECtEb.img?w=768&h=436&m=6&x=280&y=134&s=200&d=200`,"/static/index/addphoto.png"]) // const stateArray = ['已作废', '未确认', '已确认', '未完结', '待结账', '已结账']; // 初始化左侧菜单列表 const buttonList = ref([ @@ -124,6 +125,28 @@ { url: '/static/index/Warehousing/chongzhi.png', name: '重置' }, ]); + const chooseImages = () => { + uni.chooseImage({ + count: 9, // 最多可选9张 + sizeType: ['original', 'compressed'], // 原图或压缩图 + sourceType: ['album', 'camera'], // 从相册或相机 + success: (res) => { + photoArray.value.pop() + photoArray.value = [...photoArray.value, ...res.tempFilePaths]; + photoArray.value.push("/static/index/addphoto.png") + } + }); + }; + const openPhoto = (index : number) => { + if (index == photoArray.value.length - 1) { + chooseImages() + } else { + uni.previewImage({ + urls: photoArray.value.slice(0, -1), + current: photoArray.value[index], + }) + } + } // const emit = defineEmits(['opendetail']) const calendarchange = (e : any) => { stateTarget.value = e.result diff --git a/component/storeroom/index.vue b/component/storeroom/index.vue index 0fff84d..3ba4525 100644 --- a/component/storeroom/index.vue +++ b/component/storeroom/index.vue @@ -144,7 +144,7 @@ - + @@ -298,6 +298,7 @@ }, 100) } const openBuy = () => { + detailisopen.value=false plsBuyIsopen.value = true; plsBuyisopacity.value = false; setTimeout(() => { @@ -311,6 +312,7 @@ goshopdrawer.value.openDrawer(); } const clickgoback = () => { + detailisopen.value=false gobackdrawer.value.openDrawer(); } // 记录序列号 @@ -581,7 +583,7 @@ /* 添加毛玻璃效果 */ z-index: 999; - + overflow: hidden; .popup-detail-content-plsbuy { position: absolute; left: 350rpx; @@ -615,6 +617,7 @@ border-radius: 30rpx; box-shadow: 10rpx 10rpx 20rpx rgba(0, 0, 0, 0.1); transition: opacity 0.4s ease; + overflow: hidden; } } diff --git a/component/storeroom/orders.vue b/component/storeroom/orders.vue index ad785d8..c6cb88e 100644 --- a/component/storeroom/orders.vue +++ b/component/storeroom/orders.vue @@ -146,7 +146,8 @@ 结账 + v-show="item.cardType==3||item.cardType==2" + @click="pickingGoodclick"> 拣货 + - + + + + + + + +