修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" : ""
}
},
{
"path" : "pages/procurement/inventory",
"style" :
{
"navigationBarTitleText" : ""
}
},
{
"path" : "pages/Warehouse/warehome"
},

View File

@ -127,12 +127,13 @@
const qglog = ()=>{
let obj = {
nuId:uni.getStorageSync('nuId'),
elderId:uni.getStorageSync('NUall').id,
elderId:uni.getStorageSync('NUall').elderId,
wlId:props.objtake.wlId,
pageNo:pageNo.value,
pageSize:20
}
queryQlwcLog(obj).then(res=>{
console.log("咋没有",obj,res)
wcLog.value.push(...res.result.records);
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'"
mode="aspectFill"></image>
<view class="left-tages" style="margin-top: -15rpx;">
耗材用品
{{ item.materialInfo.categoryName}}
</view>
<view class="left-tages">
支架
{{ item.materialInfo.typeName}}
</view>
</view>
<view class="right-one-right">
@ -221,7 +221,8 @@
import defaultr from '../common/default.vue'
const props = defineProps({
isShow: {
type: Boolean
type: Boolean,
required: true,
},
});
const tagsarray = ref(["全部", "待出库", "已出库", "已收货 ", "已作废"])
@ -234,6 +235,7 @@
// falsetrue0.2
if (newVal) {
transition.value = false;
chongzhi()
firstgetqueryCgdList();
setTimeout(() => {
transition.value = true;
@ -349,6 +351,7 @@
queryQldWlInfo({ qldNo: res.result.records[0].qldNo }).then((element : any) => {
rightarray.value = []
console.log("////",element.result)
rightarray.value.push(...element.result)
rightdonghua.value = true;
})

View File

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

View File

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

View File

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

View File

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

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 {
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 {
fullcamera as default
};