修bug,加模块

This commit is contained in:
Teng 2025-12-10 16:29:41 +08:00
parent f3b69d648f
commit f0b11cbe1b
12 changed files with 1916 additions and 25 deletions

View File

@ -148,6 +148,13 @@
"navigationBarTitleText" : "" "navigationBarTitleText" : ""
} }
}, },
{
"path" : "pages/procurement/inventory",
"style" :
{
"navigationBarTitleText" : ""
}
},
{ {
"path" : "pages/Warehouse/warehome" "path" : "pages/Warehouse/warehome"
}, },

View File

@ -127,12 +127,13 @@
const qglog = ()=>{ const qglog = ()=>{
let obj = { let obj = {
nuId:uni.getStorageSync('nuId'), nuId:uni.getStorageSync('nuId'),
elderId:uni.getStorageSync('NUall').id, elderId:uni.getStorageSync('NUall').elderId,
wlId:props.objtake.wlId, wlId:props.objtake.wlId,
pageNo:pageNo.value, pageNo:pageNo.value,
pageSize:20 pageSize:20
} }
queryQlwcLog(obj).then(res=>{ queryQlwcLog(obj).then(res=>{
console.log("咋没有",obj,res)
wcLog.value.push(...res.result.records); wcLog.value.push(...res.result.records);
status.value = (res.result.total == wcLog.value.length ? 'nomore' : 'loadmore') status.value = (res.result.total == wcLog.value.length ? 'nomore' : 'loadmore')
}) })

View File

@ -166,10 +166,10 @@
:src="item.materialInfo.materialImg?serverUrl+item.materialInfo.materialImg:'/static/index/procurement/k.png'" :src="item.materialInfo.materialImg?serverUrl+item.materialInfo.materialImg:'/static/index/procurement/k.png'"
mode="aspectFill"></image> mode="aspectFill"></image>
<view class="left-tages" style="margin-top: -15rpx;"> <view class="left-tages" style="margin-top: -15rpx;">
耗材用品 {{ item.materialInfo.categoryName}}
</view> </view>
<view class="left-tages"> <view class="left-tages">
支架 {{ item.materialInfo.typeName}}
</view> </view>
</view> </view>
<view class="right-one-right"> <view class="right-one-right">
@ -221,7 +221,8 @@
import defaultr from '../common/default.vue' import defaultr from '../common/default.vue'
const props = defineProps({ const props = defineProps({
isShow: { isShow: {
type: Boolean type: Boolean,
required: true,
}, },
}); });
const tagsarray = ref(["全部", "待出库", "已出库", "已收货 ", "已作废"]) const tagsarray = ref(["全部", "待出库", "已出库", "已收货 ", "已作废"])
@ -234,6 +235,7 @@
// falsetrue0.2 // falsetrue0.2
if (newVal) { if (newVal) {
transition.value = false; transition.value = false;
chongzhi()
firstgetqueryCgdList(); firstgetqueryCgdList();
setTimeout(() => { setTimeout(() => {
transition.value = true; transition.value = true;
@ -349,6 +351,7 @@
queryQldWlInfo({ qldNo: res.result.records[0].qldNo }).then((element : any) => { queryQldWlInfo({ qldNo: res.result.records[0].qldNo }).then((element : any) => {
rightarray.value = [] rightarray.value = []
console.log("////",element.result)
rightarray.value.push(...element.result) rightarray.value.push(...element.result)
rightdonghua.value = true; rightdonghua.value = true;
}) })

View File

@ -87,11 +87,9 @@
</view> </view>
<view class="middle-heng-father"> <view class="middle-heng-father">
<image class="middle-ball-img" style="width: 32rpx;height: 32rpx;" v-if="v?.status === '2' || v?.status === '3'" src="/static/index/requestform/iserror.png" /> <image class="middle-ball-img" style="width: 32rpx;height: 32rpx;" v-if="v?.status === '2' || v?.status === '3'" src="/static/index/requestform/iserror.png" />
<!-- <view class="middle-ball" style="background-color: #1083F8;" <view class="middle-ball" style="background-color: #1083F8;" v-else >
:style=" v?.status === '2' || v?.status === '3' ?{backgroundColor:`#FF5757`}:{}" </view>
v-if="Number(v.status)<4"> <!-- <image class="middle-ball-img" v-else src="/static/index/requestform/isok.png" /> -->
</view> -->
<image class="middle-ball-img" v-else src="/static/index/requestform/isok.png" />
</view> </view>
<view class="end-font"> <view class="end-font">

View File

@ -422,8 +422,8 @@
</view> </view>
<view class="bottom-right" @click="openselect=false"> <view class="bottom-right" @click="openselect=false">
确定 确定
<text style="font-size: 25rpx;margin-top: 5rpx;" v-if="alltotal>=99"> <text style="font-size: 25rpx;margin-top: 5rpx;" v-if="alltotal">
(99+采购单) {{ alltotal }}采购单
</text> </text>
</view> </view>
</view> </view>

View File

@ -52,10 +52,10 @@
<view class="jianhuo tp"> <view class="jianhuo tp">
<donghua width="40vw" height="40vw" :interval="150" :links="jianhuoarray" :playing="playall" :loop="true" /> <donghua width="40vw" height="40vw" :interval="150" :links="jianhuoarray" :playing="playall" :loop="true" />
</view> </view>
<view class="pandan tp"> <view class="pandan tp" @click="housactive(5)">
<image src="/static/index/warehouse/newhome/count.png" mode="widthFix"></image> <image src="/static/index/warehouse/newhome/count.png" mode="widthFix"></image>
</view> </view>
<view class="pandantag tp"> <view class="pandantag tp" @click="housactive(5)">
<view class="gray-bgc"> <view class="gray-bgc">
库存盘点 库存盘点
<view class="triangle-left"></view> <view class="triangle-left"></view>
@ -206,8 +206,8 @@
url: '/' + navurl.value url: '/' + navurl.value
}) })
} }
if (index == 8) { if (index == 5) {
navurl.value = 'pages/procurement/retstock' navurl.value = 'pages/procurement/inventory'
uni.navigateTo({ uni.navigateTo({
url: '/' + navurl.value url: '/' + navurl.value
}) })
@ -218,6 +218,13 @@
url: '/' + navurl.value url: '/' + navurl.value
}) })
} }
if (index == 8) {
navurl.value = 'pages/procurement/retstock'
uni.navigateTo({
url: '/' + navurl.value
})
}
} }

View File

@ -219,6 +219,7 @@
}) })
} else { } else {
uni.setStorageSync('serverUrl', ""); uni.setStorageSync('serverUrl', "");
uni.setStorageSync('orgList', []);
uni.setStorageSync('orgListName', ""); uni.setStorageSync('orgListName', "");
uni.setStorageSync('orgListCode', ""); uni.setStorageSync('orgListCode', "");
allserve.value = []; allserve.value = [];

File diff suppressed because it is too large Load Diff

View File

@ -185,10 +185,10 @@
:src="item.materialInfo.materialImg?serverUrl+item.materialInfo.materialImg:'/static/index/procurement/k.png'" :src="item.materialInfo.materialImg?serverUrl+item.materialInfo.materialImg:'/static/index/procurement/k.png'"
mode="aspectFill"></image> mode="aspectFill"></image>
<view class="left-tages" style="margin-top: -15rpx;"> <view class="left-tages" style="margin-top: -15rpx;">
耗材用品 {{ item.materialInfo.categoryName}}
</view> </view>
<view class="left-tages"> <view class="left-tages">
支架 {{ item.materialInfo.typeName}}
</view> </view>
</view> </view>
<view class="right-one-right"> <view class="right-one-right">
@ -241,6 +241,7 @@
</view> </view>
<errorshow :show="openerror" font="注意:只能选择待出库的请领单" @close="openerror=false" /> <errorshow :show="openerror" font="注意:只能选择待出库的请领单" @close="openerror=false" />
<errorshow :show="qinglingshow" font="注意:批量选择模式请选择一项或以上的请领单" @close="qinglingshow=false" /> <errorshow :show="qinglingshow" font="注意:批量选择模式请选择一项或以上的请领单" @close="qinglingshow=false" />
<errorshow :show="chukuerror" :font="chukuvalue" @close="chukuerror=false" />
</template> </template>
<script setup lang="ts"> <script setup lang="ts">
@ -551,6 +552,9 @@
// } // }
const chukushow = ref(false); const chukushow = ref(false);
const qinglingshow = ref(false) const qinglingshow = ref(false)
const chukuerror = ref(false);
const chukuvalue = ref("")
const chukuclick = () => { const chukuclick = () => {
if(manyselect.value && !selectarray.value.length){ if(manyselect.value && !selectarray.value.length){
qinglingshow.value = true qinglingshow.value = true
@ -569,13 +573,23 @@
}, 50) }, 50)
lefttarget.value = 0 lefttarget.value = 0
firstgetqueryCgdList(); firstgetqueryCgdList();
console.log("!!!!!!",res)
setTimeout(() => { setTimeout(() => {
uni.showToast({ if(res.result.status=="success"){
title: res.success ? res.result.message : res.message, uni.showToast({
icon: 'none', // 'none' title: res.result.message,
duration: 3000 icon: 'none', // 'none'
}) duration: 3000
})
}else{
chukuerror.value = true;
chukuvalue.value = res.result.message;
}
// uni.showToast({
// title: res.success ? res.result.message : res.message,
// icon: 'none', // 'none'
// duration: 3000
// })
}, 300) }, 300)
}) })

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.2 KiB

View File

@ -574,7 +574,7 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
) )
]); ]);
} }
const camera = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render], ["styles", [_style_0]], ["__file", "D:/项目/hldy_app_mini/pages/camera.nvue"]]); const camera = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render], ["styles", [_style_0]], ["__file", "D:/hldy_app_mini/pages/camera.nvue"]]);
export { export {
camera as default camera as default
}; };

View File

@ -577,7 +577,7 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
) )
]); ]);
} }
const fullcamera = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render], ["styles", [_style_0]], ["__file", "D:/项目/hldy_app_mini/pages/fullcamera.nvue"]]); const fullcamera = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render], ["styles", [_style_0]], ["__file", "D:/hldy_app_mini/pages/fullcamera.nvue"]]);
export { export {
fullcamera as default fullcamera as default
}; };