This commit is contained in:
Teng 2025-10-23 16:32:48 +08:00
commit dae4140e90
60 changed files with 1689 additions and 440 deletions

View File

@ -58,6 +58,48 @@ export const queryWlInfoByWlId = (params) => {
data: params,
})
}
export const addShoppingCartList = (params) => {
return request({
url: `${uni.getStorageSync('serverUrl')}/api/pad/invoicing/addShoppingCartList`,
method: 'post',
data: params,
})
}
export const queryShoppingCartList = (params) => {
return request({
url: `${uni.getStorageSync('serverUrl')}/api/pad/invoicing/queryShoppingCartList`,
method: 'get',
data: params,
})
}
export const generatedPurchaseOrder = (params) => {
return request({
url: `${uni.getStorageSync('serverUrl')}/api/pad/invoicing/generatedPurchaseOrder`,
method: 'post',
data: params,
})
}
export const generatedPurchaseViewOrder = (params) => {
return request({
url: `${uni.getStorageSync('serverUrl')}/api/pad/invoicing/generatedPurchaseViewOrder`,
method: 'post',
data: params,
})
}
export const deleteQgInfoById = (params) => {
return request({
url: `${uni.getStorageSync('serverUrl')}/api/pad/invoicing/deleteQgInfoById?id=`+params,
method: 'DELETE'
})
}
export const emptiedQgInfo = (params) => {
return request({
url: `${uni.getStorageSync('serverUrl')}/api/pad/invoicing/emptiedQgInfo`,
method: 'DELETE'
})
}
// 作废
export const voidedCgdMain = (params) => {
return request({
@ -65,4 +107,4 @@ export const voidedCgdMain = (params) => {
method: 'post',
data: params,
})
}
}

View File

@ -2,15 +2,15 @@
<view>
<!-- 采购 -->
<view class="box">
<view class="leftr" v-if="shyp">
<view class="leftr" v-if="lie">
<scroll-view scroll-y="true" scroll-with-animation :scroll-top="scrolltop" class="scroll-Y"
@scrolltolower="scrolltolower" :lower-threshold="400" @scroll="scrollview">
<view class="boxibigtem" v-for="(v,i) in InvoicingList" :key='i'
:class="{'yujing':Number(v.lowerLimit)>=Number(v.kcsl),'active':shopitem==i}"
@click="shopclick(i,2)">
<view>{{v.materialName}}</view>
<view>规格型号: {{v.specificationModel}}</view>
<view>采购单位 {{v.materialUnits}}</view>
<view>{{v.wlName}}</view>
<view>规格型号: {{v.wlSpecificationModel}}</view>
<view>采购单位 {{v.wlUnits}}</view>
<view>
<view class="carditem" :class="{'hl':v.tagType==1,'yl':v.tagType==2,'bj':v.tagType>2}">
<image src="/static/index/warehouse/procurement/hl.png" mode="aspectFill"
@ -44,15 +44,15 @@
</view>
</view>
<view class="lefts" v-if="!shyp">
<view class="lefts" v-if="!lie">
<scroll-view scroll-y="true" scroll-with-animation :scroll-top="scrolltop" class="scroll-Y"
@scrolltolower="scrolltolower" :lower-threshold="200" @scroll="scrollview">
<view class="boxitem" v-for="(v,i) in InvoicingList" :key='i'
:class="{'yujing':Number(v.lowerLimit)>=Number(v.kcsl),'active':shopitem==i}"
@click="shopclick(i)">
<view>{{v.materialName}}</view>
<view>规格型号: {{v.specificationModel}}</view>
<view>采购单位 {{v.materialUnits}}</view>
<view>{{v.wlName}}</view>
<view>规格型号: {{v.wlSpecificationModel}}</view>
<view>采购单位 {{v.wlUnits}}</view>
<view>库存数量 {{v.kcsl}}</view>
<view>
<view class="carditem" :class="{'hl':v.tagType==1,'yl':v.tagType==2,'bj':v.tagType>2}">
@ -72,10 +72,10 @@
</view>
<view class="dbgys">
<view>
<view>采购数量<text>50</text></view>
<view>供应商长春市天林商贸有限公司</view>
<view>采购数量<text>{{v.purchaseQuantity}}</text></view>
<view>供应商{{v.suppliersName}}</view>
</view>
<view :class="v.flag?'act':''">
<view :class="v.flag?'act':''" @click.stop="xuanzhong(v)">
<image src="/static/index/warehouse/procurement/d.png" mode="aspectFill" v-if="v.flag"></image>
<image src="/static/index/warehouse/procurement/da.png" mode="aspectFill" v-else></image>
</view>
@ -102,7 +102,7 @@
<view class="guodu"></view>
</view>
<text>
{{!shyp?'两列':'三列'}}
{{!shyp?'停用':'启用'}}
</text>
</view>
</view>
@ -120,6 +120,16 @@
<text>{{cellobj?.fzrTel?cellobj?.fzrTel:'-'}}</text>
</view>
</view>
<view style="display: flex;flex-direction: column;align-items: center;margin-left: 3.8vw;">
<view class="swsh guodu" :class="lie?'act':''" @click="lie=!lie">
<view class="guodu"></view>
</view>
<text style=" white-space: nowrap;
font-weight: 400;
font-size: 1vw;
color: #666666;">{{lie?'三列':'两列'}}</text>
</view>
</view>
</view>
@ -161,9 +171,8 @@
<view class="anmikc">
<view v-for="(v,i) in animArray" :key="i" @click="admiclick(i)">
<view>
<image :src="v.imgurl" mode="aspectFill" v-if="anmidex!=i"></image>
<donghua width="2vw" height="2vw" :links="v.url" :playing="i === anmidex"
v-show="i === anmidex" class="donghua" />
class="donghua" />
</view>
<text>
@ -186,100 +195,120 @@
</view>
<view class="mengban" v-if="wlxq" @click="qingkong"></view>
<view class="wuliao guodu" :class="wlxq?'':'uncrkcard'">
<view class="name">纸尿裤-拉拉裤纸尿裤-拉拉裤纸尿裤-拉拉裤纸尿裤-拉拉裤</view>
<view class="name">{{wuliaoobj.materialName}}</view>
<view class="znk tp">
<image :src=" '/static/index/warehouse/procurement/k.png'" mode="aspectFill"></image>
<image class="crkcard-img"
:src="wuliaoobj.materialImg?serverUrl + wuliaoobj.materialImg : '/static/index/warehouse/procurement/k.png'"
mode="aspectFill"></image>
</view>
<view class="life">
<view>生活用品</view>
<view>照护用品</view>
<view v-if="wuliaoobj.categoryName">{{wuliaoobj.categoryName}}</view>
<view v-if="wuliaoobj.typeName">{{wuliaoobj.typeName}}</view>
<view v-if="wuliaoobj.medicationName">{{wuliaoobj.medicationName}}</view>
</view>
<view class="zil">
物料编码: ZHYP044
物料编码: {{ wuliaoobj.materialNo }}
</view>
<view class="zil">
规格型号: XL800mm*690mm
规格型号: {{ wuliaoobj.specificationModel }}
</view>
<view class="zil">
物料小类: ZHYP044
物料小类: {{wuliaoobj.tagName}}
</view>
<view class="zil">
物料单位:
物料单位: {{wuliaoobj.materialUnits}}
</view>
<view class="zil">
医保报销:
医保报销: {{ wuliaoobj.izYbbxName }}
</view>
<view class="zil">
机构优惠:
机构优惠: {{ wuliaoobj.izJgyhName }}
</view>
<view class="dibu">
<view>
<text>853</text>
<text>{{ wuliaoobj.kcsl }}</text>
<text>库存数量</text>
</view>
<view>
<text>4000</text>
<text>{{ wuliaoobj.upperLimit }}</text>
<text>物料上限 <text class="l"> </text></text>
</view>
<view style="align-items: end;">
<text>4000</text>
<text>{{ wuliaoobj.lowerLimit }}</text>
<text><text class="f"> </text>物料下限 </text>
</view>
</view>
</view>
<view class="mengban" v-if="cgd" @click="qingkong"></view>
<view class="caigoudan guodu" :class="cgd?'':'uncgd'">
<view class="title">采购单</view>
<scroll-view scroll-y="true" class="cgdscroll">
<view class="cardcd">
<view class="gys">供应商:长春市天林商贸有限公司</view>
<view class="cardcd" v-for="(v,i) in generatedOrder" :key='i'>
<view class="gys">供应商:{{v.gysName}}</view>
<view class="cgdh">
<view>采购单号:A0120251010001</view>
<view>采购人:梁嘉豪 </view>
<view>采购金额<text>1356.82</text></view>
<view>采购单号:{{v.cgdNo}}</view>
<view>采购人:{{v.qgBy}} </view>
<view>采购金额<text>{{v.totalPrice}}</text></view>
</view>
<view class="boxitem" v-for="(v,i) in InvoicingList" :key='i' >
<view>{{v.materialName}}</view>
<view>规格型号: {{v.specificationModel}}</view>
<view>采购单位 {{v.materialUnits}}</view>
<view>库存数量 {{v.kcsl}}</view>
<view class="boxitem" v-for="(f,l) in v.cgdInfoList" :key='i' >
<view>{{f.wlName}}</view>
<view style="white-space: nowrap;">规格型号{{f.wlSpecificationModel}}</view>
<view>采购单位{{f.wlUnits}}</view>
<view>库存数量{{f.kcsl}}</view>
<view>
<view class="carditem" :class="{'hl':v.tagType==1,'yl':v.tagType==2,'bj':v.tagType>2}">
<view class="carditem" :class="{'hl':f.tagType==1,'yl':f.tagType==2,'bj':f.tagType>2}">
<image src="/static/index/warehouse/procurement/hl.png" mode="aspectFill"
v-if="v.tagType==1"></image>
v-if="f.tagType==1"></image>
<image src="/static/index/warehouse/procurement/yl.png" mode="aspectFill"
v-if="v.tagType==2"></image>
v-if="f.tagType==2"></image>
<image src="/static/index/warehouse/procurement/bj.png" mode="aspectFill"
v-if="v.tagType>2"></image>
{{v.tagName}}
v-if="f.tagType>2"></image>
{{f.tagName}}
</view>
<view class="znk">
<image
:src="v.materialImg?serverUrl + v.materialImg : '/static/index/warehouse/procurement/k.png'"
:src="f.materialImg?serverUrl + f.materialImg : '/static/index/warehouse/procurement/k.png'"
mode="aspectFill"></image>
</view>
</view>
<view class="dbgys">
<view>
<view>
<view>采购数量<text>50</text></view>
<view>采购金额<text>50</text></view>
<view style="width: 100%;">
<view style="width: 100%;justify-content: space-between;">
<view style="width: 50%;">采购数量<text>{{f.purchaseQuantity}}</text></view>
<view style="width: 50%;justify-content: flex-end;">采购金额<text>{{f.procurementPrice}}</text></view>
</view>
<view>供应商长春市天林商贸有限公司</view>
<view style="width: 100%;white-space: nowrap;text-overflow: ellipsis;overflow: hidden;height: 1.2vw;display: block;">供应商{{f.suppliersName}}</view>
</view>
</view>
</view>
</view>
</scroll-view>
<view class="tj">
<text @click="connfig">确定</text>
</view>
</view>
<view class="mengban" v-if="tost" @click="qingkong"></view>
<view class="toast guodu" v-if="tost" >
<view class="tit">提示</view>
<view class="cont">
<view v-html="delstr" v-if="anmidex==3"></view>
<view v-html="delstr" v-if="anmidex==4"></view>
</view>
<view class="cfg">
<view @click="qingkong">取消</view>
<view @click="del(3)" v-if="anmidex==3">确认</view>
<view @click="del(4)" v-if="anmidex==4">确认</view>
</view>
</view>
</view>
</template>
<script setup lang="ts">
import { ref, onMounted, reactive, onBeforeUnmount, computed, nextTick, defineProps } from 'vue';
import { queryInvoicingList, getMaterialTreeData, queryNuInfoByNuId, updateKfstatus } from './api/lunpan.js'
import { queryShoppingCartList, getMaterialTreeData, queryNuInfoByNuId, updateKfstatus,deleteQgInfoById,emptiedQgInfo ,queryWlInfoByWlId,generatedPurchaseOrder,generatedPurchaseViewOrder } from './api/lunpan.js'
import { onShow, onLoad, onHide, onPageScroll } from "@dcloudio/uni-app"
import shadowview from './components/ShadowView.vue';
import calculator from './components/calculator.vue';
@ -287,7 +316,8 @@
const InvoicingList = ref([]);
const TreeData = ref([]);
const cellobj = ref({});
const wuliaoobj = ref({});
const serverUrl = ref('');
const scrolltop = ref(0)
const shopitem = ref(0)
@ -297,7 +327,8 @@
const wlxq = ref(false);
const cgd = ref(false);
const tost = ref(false);
const lie = ref(false)
const scrollnum = ref(0);
@ -330,7 +361,31 @@
}
})
}
const shopclick = (i : number, k : number) => {
const timerflag = ref(true);
const connfig = () =>{
if(timerflag.value==false){return}
timerflag.value = false;
generatedPurchaseOrder(generatedOrder.value).then(res=>{
uni.showToast({
icon:res.success?'success':'error',
title:res.message
})
setTimeout(()=>{
if(res.success){
InvoicingList.value = [];
form.pageNo = 1;
qingkong()
queryInvo()
timerflag.value = true;
}
},700)
})
}
const shopclick = (i : number, k : number,flag:boolean) => {
if(i==shopitem.value&&!flag){
InvoicingList.value[shopitem.value].flag = !InvoicingList.value[shopitem.value].flag;
}
if (k == 2) {
let num = Math.ceil((i + 1) / 2)
scrolltop.value = (num - 2) * 270;
@ -342,6 +397,9 @@
}
}
const xuanzhong = (o:any)=>{
o.flag = !o.flag
}
const typescroll = (e : number, i : number, v : object) => {
if (e == 1) {
@ -398,6 +456,7 @@
anmidex.value = -1;
wlxq.value = false;
cgd.value = false;
tost.value = false;
}
const cell = () => {
queryNuInfoByNuId(form).then(res => {
@ -438,7 +497,7 @@
scrollnum.value = e.detail.scrollTop;
}
const queryInvo = () => {
queryInvoicingList(form).then(res => {
queryShoppingCartList(form).then(res => {
res.result.records.forEach((item,i)=>{
item.flag = false
if(i==0){
@ -470,7 +529,7 @@
break;
case 4:
//
InvoicingList.value[shopitem.value].flag = !InvoicingList.value[shopitem.value].flag;
break;
case 5:
//
@ -482,28 +541,28 @@
default:
break;
}
shopclick(shopitem.value, 2)
shopclick(shopitem.value, 2,true)
} else {
switch (type) {
case 0:
//
shopitem.value = shopitem.value < 2 ? shopitem.value = 0 : shopitem.value - 3
shopitem.value = shopitem.value < 3 ? shopitem.value = 0 : shopitem.value - 3
break;
case 1:
//
shopitem.value = shopitem.value > InvoicingList.value.length ? shopitem.value = 0 : shopitem.value + 1
shopitem.value = shopitem.value >= InvoicingList.value.length-1 ? shopitem.value = 0 : shopitem.value + 1
break;
case 2:
//
shopitem.value = shopitem.value > InvoicingList.value.length ? shopitem.value = 0 : shopitem.value + 3
shopitem.value = shopitem.value >= InvoicingList.value.length-3 ? shopitem.value = InvoicingList.value.length-1 : shopitem.value + 3
break;
case 3:
shopitem.value = shopitem.value == 0 ? shopitem.value = InvoicingList.value.length : shopitem.value - 1
shopitem.value = shopitem.value == 0 ? shopitem.value = InvoicingList.value.length-1 : shopitem.value - 1
//
break;
case 4:
//
InvoicingList.value[shopitem.value].flag = !InvoicingList.value[shopitem.value].flag;
break;
case 5:
//
@ -515,7 +574,7 @@
default:
break;
}
shopclick(shopitem.value, 0)
shopclick(shopitem.value, 0,true)
}
}
@ -529,6 +588,8 @@
})
}
const anmidex = ref(-1)
const generatedOrder = ref([])
const delstr = ref('')
const admiclick = (i : number) => {
if (anmidex.value == 2) {
anmidex.value = -1
@ -543,16 +604,49 @@
break;
case 1:
let arr = [];
InvoicingList.value.forEach(item=>{
if(item.flag){
arr.push(item)
}
})
generatedPurchaseViewOrder(arr).then(res=>{
generatedOrder.value = res.result
})
cgd.value = true
break;
case 2:
wlxq.value = true
queryWlInfo();
break;
case 3:
let str = ''
let a = []
InvoicingList.value.forEach((item,i)=>{
if(item.flag){
str+='<br />'+' · '+item.wlName;
a.push(item)
}
})
if(a.length==0){
uni.showToast({
title:'购物车暂无物料~',
icon:'none'
})
return
}
delstr.value = '<view style="font-weight: 600 ">是否删除</view>'+str
tost.value = true;
break;
case 4:
if(InvoicingList.value.length==0){
uni.showToast({
title:'购物车已清空~',
icon:'none'
})
return
}
delstr.value = ' 是否清空购物车? '
tost.value = true;
break;
case 5:
uni.navigateTo({
@ -565,18 +659,68 @@
}
}
}
const del = (e:number)=>{
if(e==3){
let arr = [];
let delstr = '';
InvoicingList.value.forEach((item,i)=>{
if(item.flag){
delstr+=item.id+','
arr.push(i)
}
})
if(delstr.indexOf(",")>-1) delstr = delstr.substring(0,delstr.length-1)
arr.sort((a, b) => b - a)
deleteQgInfoById(delstr).then(res=>{
uni.showToast({
icon:res.success?'success':'none',
title:res.message
})
if(res.success){
arr.forEach(item=>{
InvoicingList.value.splice(item,1)
})
qingkong()
}
})
}else{
emptiedQgInfo().then(res=>{
if(res.success){
InvoicingList.value = [];
queryInvo()
qingkong()
}
uni.showToast({
icon:res.success?'success':'none',
title:res.message
})
})
}
}
//
const queryWlInfo = ()=>{
let obj = {
wlId:InvoicingList.value[shopitem.value].wlId,
nuId:form.nuId
}
queryWlInfoByWlId(obj).then(res=>{
wuliaoobj.value = res.result;
wlxq.value = true
})
}
const animArray = ref([
{
url: genPaths(
'/static/index/warehouse/procurement/store',
'store0',
'/static/index/warehouse/procurement/select',
'select',
8, //
'png',
1, // 1
false //
),
name: '选择/取消',
imgurl: '/static/index/warehouse/procurement/store/store01.png'
imgurl: '/static/index/warehouse/procurement/select/select1.png'
},
{
url: genPaths(
@ -604,32 +748,84 @@
},
{
url: genPaths(
'/static/index/warehouse/procurement/bound',
'bound0',
11, //
'/static/index/warehouse/procurement/del',
'del',
9, //
'png',
1, // 1
false //
),
name: '删除',
imgurl: '/static/index/warehouse/procurement/bound/bound01.png'
imgurl: '/static/index/warehouse/procurement/del/del1.png'
},
{
url: genPaths(
'/static/index/warehouse/procurement/Cart',
'Cart0',
10, //
'/static/index/warehouse/procurement/dele',
'del',
8, //
'png',
1, // 1
false //
),
name: '清空',
imgurl: '/static/index/warehouse/procurement/Cart/Cart01.png'
imgurl: '/static/index/warehouse/procurement/dele/del1.png'
}
])
</script>
<style scoped lang="less">
.toast{
width: 26vw;
max-height: 40vh;
position: fixed;
z-index: 105;
right: 1.5vw;
bottom: 1.5vw;
background: #fff;
border-radius: 1.6vw;
padding: 2vw 1vw 5vw;
.cfg{
width: 100%;
height: 3.5vw;
display: flex;
position: absolute;
bottom: 0;
left: 0vw;
>view{
width: 50%;
height: 100%;
display: flex;
justify-content: center;
align-items: center;
font-size: 1.2vw;
font-weight: 600;
border-top: 1px solid rgba(239, 240, 244, 1);
&:nth-child(2){
color:rgba(3, 133, 250, 1);
border-left: 1px solid rgba(239, 240, 244, 1);
}
}
}
.cont{
width: 100%;
font-size: 1.3vw;
margin: 0.5vw auto 0;
overflow-y: scroll;
max-height: 23.5vh;
text-align: center;
}
.tit{
width: 100%;
height: 3vw;
display: flex;
justify-content: center;
align-items: center;
font-size: 1.4vw;
font-weight: bolder;
letter-spacing: 0.3vw;
}
}
.uncgd{
bottom: -96vh !important;
}
@ -643,9 +839,10 @@
bottom: 1.5vw;
left: 22vw;
padding:1.5vw 2vw 0;
.cgdscroll{
width: 100%;
height: calc(95vh - 3.5vw);
height: calc(95vh - 7vw);
.cardcd{
>.boxitem {
width: 22vw;
@ -667,13 +864,14 @@
border-radius:0 0 1.6vw 1.6vw;
border: 2px solid rgba(239, 240, 244, 1);
display: flex;
padding: 0.6vw 1.5vw;
padding: 0.6vw 1.5vw 0;
justify-content: space-between;
.act{
background: rgba(231, 240, 251, 1) !important;
border: 1px solid rgba(0, 118, 214, 1) !important;
}
>view{
white-space: nowrap;
&:nth-child(1){
display: flex;
flex-direction: column;
@ -682,7 +880,6 @@
color: #888888;
view{
display: flex;
justify-content: space-between;
align-items: center;
}
text{
@ -805,6 +1002,30 @@
}
}
}
.tj {
width: 100%;
height: 3.5vw;
display: flex;
justify-content: flex-end;
align-items: center;
>text {
&:nth-child(1) {
width: 5.2vw;
height: 2.2vw;
display: inline-block;
text-align: center;
line-height: 2.2vw;
font-weight: 400;
font-size: 1vw;
color: #5C7992;
background: linear-gradient(-61deg, #EAF5FF, #CBE7FF) !important;
border-radius: 1.1vw;
}
}
}
.title{
height: 2vw;
font-weight: 400;
@ -827,13 +1048,13 @@
bottom: 11vw;
right: 1.5vw;
z-index: 103;
padding: 4vw 2.2vw 2vw;
padding: 2vw 2.2vw 2vw;
.dibu {
width: 100%;
display: flex;
justify-content: space-between;
margin: 2vw auto 0;
margin: 3vw auto 0;
view {
width: 4vw;
@ -1260,20 +1481,21 @@
margin: 0 1.3vw 1.2vw 0;
border: 2px dashed #fff;
display: inline-block;
padding:1.5vw 2.3vw 2.3vw;
padding:1vw 2.3vw 2.3vw;
position: relative;
.dbgys{
width: 100%;
height: 4.3vw;
height: 5.3vw;
position: absolute;
left: 0;
bottom: 0vw;
background: rgba(239, 240, 244, 1);
background: #f7f7fa;
border-radius:0 0 1.6vw 1.6vw;
border: 2px solid rgba(239, 240, 244, 1);
display: flex;
padding: 0.6vw 1.5vw;
padding: 0.4vw 1.5vw 0;
justify-content: space-between;
align-items: center;
.act{
background: rgba(231, 240, 251, 1) !important;
border: 1px solid rgba(0, 118, 214, 1) !important;
@ -1300,6 +1522,7 @@
font-weight: 400;
font-size: 1vw;
color: #888888;
width: 14vw;
text{
font-weight: bold;
font-size: 1.4vw;
@ -1362,7 +1585,7 @@
height: 7vw;
position: absolute;
right: 1vw;
bottom: 4.3vw;
bottom: 5.3vw;
image {
width: 100%;

View File

@ -2,7 +2,7 @@
<view>
<!-- 采购 -->
<view class="box">
<view class="leftr" v-if="shyp">
<view class="leftr" v-if="lie">
<scroll-view scroll-y="true" scroll-with-animation :scroll-top="scrolltop" class="scroll-Y"
@scrolltolower="scrolltolower" :lower-threshold="400" @scroll="scrollview">
<view class="boxibigtem" v-for="(v,i) in InvoicingList" :key='i'
@ -44,7 +44,7 @@
</view>
</view>
<view class="lefts" v-if="!shyp">
<view class="lefts" v-if="!lie">
<scroll-view scroll-y="true" scroll-with-animation :scroll-top="scrolltop" class="scroll-Y"
@scrolltolower="scrolltolower" :lower-threshold="200" @scroll="scrollview">
<view class="boxitem" v-for="(v,i) in InvoicingList" :key='i'
@ -95,7 +95,7 @@
<view class="guodu"></view>
</view>
<text>
{{!shyp?'两列':'三列'}}
{{!shyp?'停用':'启用'}}
</text>
</view>
</view>
@ -113,6 +113,15 @@
<text>{{cellobj?.fzrTel?cellobj?.fzrTel:'-'}}</text>
</view>
</view>
<view style="display: flex;flex-direction: column;align-items: center;margin-left: 3.8vw;">
<view class="swsh guodu" :class="lie?'act':''" @click="lie=!lie">
<view class="guodu"></view>
</view>
<text style=" white-space: nowrap;
font-weight: 400;
font-size: 1vw;
color: #666666;">{{lie?'三列':'两列'}}</text>
</view>
</view>
</view>
@ -153,15 +162,14 @@
<view class="anmikc">
<view v-for="(v,i) in animArray" :key="i" @click="admiclick(i)">
<view>
<image :src="v.imgurl" mode="aspectFill" v-if="anmidex!=i"></image>
<donghua width="2vw" height="2vw" :links="v.url" :playing="i === anmidex"
v-show="i === anmidex" class="donghua" />
<view>
<donghua width="2vw" height="2vw" :links="v.url" :playing="i === anmidex" class="donghua" />
</view>
<text>
{{v.name}}
</text>
<view class="dot" v-if="carnum>0&&i==5">{{carnum<=99?carnum:'99+'}}</view>
</view>
</view>
<view class="serchs">
@ -182,26 +190,34 @@
<view class="rigbot guodu" :class="gys?'':'unrigbot'">
<view>
供应商
<text>选择</text>
<text @click="gysflag = true">选择</text>
</view>
<view>
请选择供应商
<view @click="gysflag = true">
{{gysarr[gysidnum]?.name}}
</view>
<view>
<text>采购数量</text>
<view class="jj">
<view class="jj" @click="jjnum(-1)">
-
</view>
<view class="num" @click="colse">
1500
{{caigouobj.Limitnum}}
</view>
<view class="jj">
<view class="jj" @click="jjnum(1)">
+
</view>
</view>
<view class="tanchu" v-if="gysflag">
<scroll-view scroll-y="true" class="gysscrol">
<view v-for="(v,i) in gysarr" :key='i' :class="gysidnum==i?'acts':''" @click="gysid(i)">
<text>{{v.name}}</text>
<image src="/static/index/warehouse/procurement/d.png" mode="aspectFill"></image>
</view>
</scroll-view>
</view>
</view>
<view class="shuru guodu" :class="gysnum?'':'unrigbot'">
<calculator :translateNumber="0" @colse="colse"></calculator>
<calculator :translateNumber="caigouobj.Limitnum" :doOnce="caigouobj.Limitnum" @colse="colse" @right="right"></calculator>
</view>
<view class="cgou guodu" :class="gys?'':'uncg'">
<view class="topcont">
@ -211,42 +227,42 @@
</view>
<view class="rightcont">
<view>
<text>纸尿裤-拉拉裤纸尿裤-拉拉裤拉拉裤拉拉裤拉拉裤拉拉裤</text>
<text>{{caigouobj.materialName}}</text>
<view class="swsh guodu" :class="shyp?'act':''" @click="switchshyp">
<view class="guodu"></view>
</view>
</view>
<view>
<view>物料编码: ZHYP044</view>
<text>物料小类: ZHYP044</text>
<view>物料编码: {{caigouobj.materialNo}}</view>
<text>物料小类: {{caigouobj.tagName}}</text>
</view>
<view>
<view>规格型号: XL800mm*690mm</view>
<text>物料单位: </text>
<view>规格型号: {{ caigouobj.specificationModel }}</view>
<text>物料单位: {{ caigouobj.materialUnits}}</text>
</view>
<view>
<view>医保报销: </view>
<text>机构优惠: </text>
<view>医保报销: {{ caigouobj.izYbbxName }}</view>
<text>机构优惠: {{ caigouobj.izJgyhName }}</text>
</view>
</view>
</view>
<view class="life">
<view>
<view>生活用品</view>
<view>照护用品</view>
<view v-if="caigouobj.categoryId_dictText">{{caigouobj.categoryId_dictText}}</view>
<view v-if="caigouobj.categoryId_dictText">{{caigouobj.typeId_dictText}}</view>
<view>
<text>853</text>
<text>{{caigouobj.kcsl}}</text>
<text>库存数量</text>
</view>
</view>
<view>
<view>
<text>4000</text>
<text>{{caigouobj.upperLimit}}</text>
<text>物料上限 <text class="l"> </text></text>
</view>
<view>
<text style="text-align: right;">4000</text>
<text style="text-align: right;">{{caigouobj.lowerLimit}}</text>
<text><text class="f"> </text>物料下限 </text>
</view>
</view>
@ -255,25 +271,25 @@
<view class="gyscont">
<view>
<text>供应商</text>
<text> 长春市天林商贸有限公司</text>
<text> {{gysarr[gysidnum]?.name}}</text>
</view>
<view>
<text>采购数量</text>
<view class="jj">
<view class="jj" @click="jjnum(-1)">
-
</view>
<view class="num">
1500
{{caigouobj.Limitnum}}
</view>
<view class="jj">
<view class="jj" @click="jjnum(1)">
+
</view>
</view>
</view>
<view class="tj">
<text @click="qingkong">确定</text>
<text @click="connfig">确定</text>
<text>
采购数量1500
采购数量 {{caigouobj.Limitnum}}
</text>
</view>
</view>
@ -324,43 +340,46 @@
</view>
<view class="mengban" v-if="wlxq" @click="qingkong"></view>
<view class="wuliao guodu" :class="wlxq?'':'uncrkcard'">
<view class="name">纸尿裤-拉拉裤纸尿裤-拉拉裤纸尿裤-拉拉裤纸尿裤-拉拉裤</view>
<view class="name">{{wuliaoobj.materialName}}</view>
<view class="znk tp">
<image :src=" '/static/index/warehouse/procurement/k.png'" mode="aspectFill"></image>
<image class="crkcard-img"
:src="wuliaoobj.materialImg?serverUrl + wuliaoobj.materialImg : '/static/index/warehouse/procurement/k.png'"
mode="aspectFill"></image>
</view>
<view class="life">
<view>生活用品</view>
<view>照护用品</view>
<view v-if="wuliaoobj.categoryName">{{wuliaoobj.categoryName}}</view>
<view v-if="wuliaoobj.typeName">{{wuliaoobj.typeName}}</view>
<view v-if="wuliaoobj.medicationName">{{wuliaoobj.medicationName}}</view>
</view>
<view class="zil">
物料编码: ZHYP044
物料编码: {{ wuliaoobj.materialNo }}
</view>
<view class="zil">
规格型号: XL800mm*690mm
规格型号: {{ wuliaoobj.specificationModel }}
</view>
<view class="zil">
物料小类: ZHYP044
物料小类: {{wuliaoobj.tagName}}
</view>
<view class="zil">
物料单位:
物料单位: {{wuliaoobj.materialUnits}}
</view>
<view class="zil">
医保报销:
医保报销: {{ wuliaoobj.izYbbxName }}
</view>
<view class="zil">
机构优惠:
机构优惠: {{ wuliaoobj.izJgyhName }}
</view>
<view class="dibu">
<view>
<text>853</text>
<text>{{ wuliaoobj.kcsl }}</text>
<text>库存数量</text>
</view>
<view>
<text>4000</text>
<text>{{ wuliaoobj.upperLimit }}</text>
<text>物料上限 <text class="l"> </text></text>
</view>
<view style="align-items: end;">
<text>4000</text>
<text>{{ wuliaoobj.lowerLimit }}</text>
<text><text class="f"> </text>物料下限 </text>
</view>
</view>
@ -370,7 +389,7 @@
<script setup lang="ts">
import { ref, onMounted, reactive, onBeforeUnmount, computed, nextTick, defineProps } from 'vue';
import { queryInvoicingList, getMaterialTreeData, queryNuInfoByNuId, updateKfstatus } from './api/lunpan.js'
import { queryInvoicingList, getMaterialTreeData, queryNuInfoByNuId, updateKfstatus,queryWlInfoByWlId,addShoppingCartList,queryShoppingCartList } from './api/lunpan.js'
import { onShow, onLoad, onHide, onPageScroll } from "@dcloudio/uni-app"
import shadowview from './components/ShadowView.vue';
import calculator from './components/calculator.vue';
@ -378,6 +397,7 @@
const InvoicingList = ref([]);
const TreeData = ref([]);
const cellobj = ref({});
const wuliaoobj = ref({});
const serverUrl = ref('');
const scrolltop = ref(0)
@ -389,7 +409,7 @@
const gys = ref(false);
const crk = ref(false);
const wlxq = ref(false);
const lie = ref(false)
const scrollnum = ref(0);
@ -485,17 +505,35 @@
queryInvo();
cell();
})
onShow(()=>{
shoppcar()
})
const qingkong = () => {
gys.value = false;
anmidex.value = -1;
crk.value = false;
wlxq.value = false;
gysnum.value = false;
}
const colse = () => {
gysnum.value = !gysnum.value
}
const right = (n:number) => {
let d = Number(caigouobj.value.upperLimit)-Number(caigouobj.value.kcsl)
if(d>=n){
caigouobj.value.Limitnum = n;
}else{
caigouobj.value.Limitnum = d;
}
if(n<1){
caigouobj.value.Limitnum = 1;
}
gysnum.value = false;
}
const cell = () => {
queryNuInfoByNuId(form).then(res => {
cellobj.value = res.result;
@ -619,7 +657,16 @@
return `${base}/${prefix}${idx}.${ext}`
})
}
const jjnum = (e:number) =>{
let n = Number(caigouobj.value.upperLimit)-Number(caigouobj.value.kcsl)
if(n==caigouobj.value.Limitnum&&e==1){return}
if(caigouobj.value.Limitnum==1&&e==-1){return}
caigouobj.value.Limitnum+=e;
}
const anmidex = ref(-1)
const caigouobj = ref({})
const gysarr = ref([])
const admiclick = (i : number) => {
if(i==5){
uni.navigateTo({
@ -635,6 +682,15 @@
case 0:
break;
case 1:
caigouobj.value = InvoicingList.value[shopitem.value];
caigouobj.value.Limitnum = Number(caigouobj.value.upperLimit)-Number(caigouobj.value.kcsl);
let n = [];
let id = [];
n = caigouobj.value.suppliers_dictText.split(/[, ]+/);
id = caigouobj.value.suppliers.split(/[, ]+/);
n.forEach((item,i)=>{
gysarr.value.push({'name':item,'id':id[i]})
})
gys.value = true
break;
case 2:
@ -644,7 +700,14 @@
break;
case 3:
let obj = {
wlId:InvoicingList.value[shopitem.value].wlId,
nuId:form.nuId
}
queryWlInfoByWlId(obj).then(res=>{
wuliaoobj.value = res.result;
wlxq.value = true
})
break;
case 4:
crk.value = true
@ -660,6 +723,43 @@
}
}
}
const gysidnum = ref(0)
const gysflag = ref(false)
const gysid = (i:number)=>{
gysidnum.value = i;
gysflag.value = false;
}
const timers = ref(true)
const connfig = () =>{
if(timers.value==false){return}
timers.value=false;
let dt = {
nuId:form.nuId,
purchaseQuantity:caigouobj.value.Limitnum,
suppliersId:gysarr.value[gysidnum.value].id,
suppliersName:gysarr.value[gysidnum.value].name,
wlId:caigouobj.value.wlId
}
addShoppingCartList([dt]).then(res=>{
uni.showToast({
icon:res.success?'success':'none',
title:res.message
})
setTimeout(()=>{
timers.value=true;
if(res.success){
qingkong()
shoppcar()
}
},700)
})
}
const carnum = ref(0)
const shoppcar=()=>{
queryShoppingCartList(form).then(resr=>{
carnum.value = resr.result.total
})
}
const animArray = ref([
{
url: genPaths(
@ -747,13 +847,13 @@
bottom: 11vw;
right: 1.5vw;
z-index: 103;
padding: 4vw 2.2vw 2vw;
padding: 2vw 2.2vw 2vw;
.dibu {
width: 100%;
display: flex;
justify-content: space-between;
margin: 2vw auto 0;
margin: 3vw auto 0;
view {
width: 4vw;
@ -1046,7 +1146,7 @@
}
.rigbot {
width: 24.5vw;
width: 25.5vw;
height: 13vw;
background: #FFFFFF;
border-radius: 1.6vw;
@ -1058,10 +1158,50 @@
display: flex;
flex-direction: column;
justify-content: space-between;
view {
>.tanchu{
width: 22vw;
height: 7vw;
background: #FFFFFF;
box-shadow: 0rpx 0rpx 0.5vw 0rpx rgba(174,175,176,0.35);
border-radius: 1.1vw;
padding: 0 1.4vw;
position: absolute;
right: 1.2vw;
bottom: 1.2vw;
.gysscrol{
width: 100%;
height: 7vw;
.acts{
color: #0385FA !important;
image{
display: block;
}
}
view{
display: flex;
justify-content: space-between;
align-items: center;
font-weight: 400;
font-size: 1vw;
color: #666666;
margin-bottom: 0.9vw;
&:nth-child(1){
margin-top: 0.9vw;
}
image{
width: 1vw !important;
height: 0.7vw !important;
display: none;
}
}
}
}
>view {
display: flex;
align-items: center;
&:nth-child(3) {
align-items: center;
@ -1109,7 +1249,7 @@
}
&:nth-child(2) {
width: 21.6vw;
width: 100%;
height: 3.0vw;
background: rgba(85, 85, 85, 0.1);
border-radius: 1.0vw;
@ -1533,6 +1673,23 @@
background: #FFFFFF;
margin: 0.25vw 0;
border-radius: 1.6vw;
position: relative;
.dot{
position: absolute;
right: 0;
top: -0.5vw;
min-width: 1.5vw;
height: 1.5vw;
border-radius: 0.75vw;
display: flex;
justify-content: center;
align-items: center;
background: red;
color: #fff;
font-size: 1vw;
margin: 0 !important;
padding: 0 0.25vw;
}
view {
margin-right: .4vw;

View File

@ -240,6 +240,7 @@
</view>
<view class="bottom-card-bian"></view>
</view>
<view class="bottom-card">
<view class="bottom-card-font">
{{ savedetail.lowerLimit }}

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.6 KiB

View File

@ -575,7 +575,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/pages/camera.nvue"]]);
const camera = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render], ["styles", [_style_0]], ["__file", "D:/项目/hldy_app/pages/camera.nvue"]]);
export {
camera as default
};

File diff suppressed because it is too large Load Diff

View File

@ -171,6 +171,57 @@ to {
height: 16vw !important;
}
.toast[data-v-29da2345] {
width: 26vw;
max-height: 40vh;
position: fixed;
z-index: 105;
right: 1.5vw;
bottom: 1.5vw;
background: #fff;
border-radius: 1.6vw;
padding: 2vw 1vw 5vw;
}
.toast .cfg[data-v-29da2345] {
width: 100%;
height: 3.5vw;
display: flex;
position: absolute;
bottom: 0;
left: 0vw;
}
.toast .cfg > uni-view[data-v-29da2345] {
width: 50%;
height: 100%;
display: flex;
justify-content: center;
align-items: center;
font-size: 1.2vw;
font-weight: 600;
border-top: 1px solid #eff0f4;
}
.toast .cfg > uni-view[data-v-29da2345]:nth-child(2) {
color: #0385fa;
border-left: 1px solid #eff0f4;
}
.toast .cont[data-v-29da2345] {
width: 100%;
font-size: 1.3vw;
margin: 0.5vw auto 0;
overflow-y: scroll;
max-height: 23.5vh;
text-align: center;
}
.toast .tit[data-v-29da2345] {
width: 100%;
height: 3vw;
display: flex;
justify-content: center;
align-items: center;
font-size: 1.4vw;
font-weight: bolder;
letter-spacing: 0.3vw;
}
.uncgd[data-v-29da2345] {
bottom: -96vh !important;
}
@ -187,7 +238,7 @@ to {
}
.caigoudan .cgdscroll[data-v-29da2345] {
width: 100%;
height: calc(95vh - 3.5vw);
height: calc(95vh - 7vw);
}
.caigoudan .cgdscroll .cardcd > .boxitem[data-v-29da2345] {
width: 22vw;
@ -210,13 +261,16 @@ to {
border-radius: 0 0 1.6vw 1.6vw;
border: 2px solid #eff0f4;
display: flex;
padding: 0.6vw 1.5vw;
padding: 0.6vw 1.5vw 0;
justify-content: space-between;
}
.caigoudan .cgdscroll .cardcd > .boxitem .dbgys .act[data-v-29da2345] {
background: #e7f0fb !important;
border: 1px solid #0076d6 !important;
}
.caigoudan .cgdscroll .cardcd > .boxitem .dbgys > uni-view[data-v-29da2345] {
white-space: nowrap;
}
.caigoudan .cgdscroll .cardcd > .boxitem .dbgys > uni-view[data-v-29da2345]:nth-child(1) {
display: flex;
flex-direction: column;
@ -226,7 +280,6 @@ to {
}
.caigoudan .cgdscroll .cardcd > .boxitem .dbgys > uni-view:nth-child(1) uni-view[data-v-29da2345] {
display: flex;
justify-content: space-between;
align-items: center;
}
.caigoudan .cgdscroll .cardcd > .boxitem .dbgys > uni-view:nth-child(1) uni-text[data-v-29da2345] {
@ -324,6 +377,25 @@ to {
padding-right: 0.8vw;
line-height: 2vw;
}
.caigoudan .tj[data-v-29da2345] {
width: 100%;
height: 3.5vw;
display: flex;
justify-content: flex-end;
align-items: center;
}
.caigoudan .tj > uni-text[data-v-29da2345]:nth-child(1) {
width: 5.2vw;
height: 2.2vw;
display: inline-block;
text-align: center;
line-height: 2.2vw;
font-weight: 400;
font-size: 1vw;
color: #5C7992;
background: linear-gradient(-61deg, #EAF5FF, #CBE7FF) !important;
border-radius: 1.1vw;
}
.caigoudan .title[data-v-29da2345] {
height: 2vw;
font-weight: 400;
@ -343,13 +415,13 @@ to {
bottom: 11vw;
right: 1.5vw;
z-index: 103;
padding: 4vw 2.2vw 2vw;
padding: 2vw 2.2vw 2vw;
}
.wuliao .dibu[data-v-29da2345] {
width: 100%;
display: flex;
justify-content: space-between;
margin: 2vw auto 0;
margin: 3vw auto 0;
}
.wuliao .dibu uni-view[data-v-29da2345] {
width: 4vw;
@ -708,21 +780,22 @@ to {
margin: 0 1.3vw 1.2vw 0;
border: 2px dashed #fff;
display: inline-block;
padding: 1.5vw 2.3vw 2.3vw;
padding: 1vw 2.3vw 2.3vw;
position: relative;
}
.box .lefts .boxitem .dbgys[data-v-29da2345] {
width: 100%;
height: 4.3vw;
height: 5.3vw;
position: absolute;
left: 0;
bottom: 0vw;
background: #eff0f4;
background: #f7f7fa;
border-radius: 0 0 1.6vw 1.6vw;
border: 2px solid #eff0f4;
display: flex;
padding: 0.6vw 1.5vw;
padding: 0.4vw 1.5vw 0;
justify-content: space-between;
align-items: center;
}
.box .lefts .boxitem .dbgys .act[data-v-29da2345] {
background: #e7f0fb !important;
@ -749,6 +822,7 @@ to {
font-weight: 400;
font-size: 1vw;
color: #888888;
width: 14vw;
}
.box .lefts .boxitem .dbgys > uni-view:nth-child(1) uni-text[data-v-29da2345] {
font-weight: bold;
@ -798,7 +872,7 @@ to {
height: 7vw;
position: absolute;
right: 1vw;
bottom: 4.3vw;
bottom: 5.3vw;
}
.box .lefts .boxitem > uni-view .znk uni-image[data-v-29da2345] {
width: 100%;

View File

@ -276,13 +276,13 @@ to {
bottom: 11vw;
right: 1.5vw;
z-index: 103;
padding: 4vw 2.2vw 2vw;
padding: 2vw 2.2vw 2vw;
}
.wuliao .dibu {
width: 100%;
display: flex;
justify-content: space-between;
margin: 2vw auto 0;
margin: 3vw auto 0;
}
.wuliao .dibu uni-view {
width: 4vw;
@ -521,7 +521,7 @@ to {
right: -25vw !important;
}
.rigbot {
width: 24.5vw;
width: 25.5vw;
height: 13vw;
background: #FFFFFF;
border-radius: 1.6vw;
@ -534,22 +534,60 @@ to {
flex-direction: column;
justify-content: space-between;
}
.rigbot uni-view {
.rigbot > .tanchu {
width: 22vw;
height: 7vw;
background: #FFFFFF;
box-shadow: 0 0 0.5vw 0 rgba(174, 175, 176, 0.35);
border-radius: 1.1vw;
padding: 0 1.4vw;
position: absolute;
right: 1.2vw;
bottom: 1.2vw;
}
.rigbot > .tanchu .gysscrol {
width: 100%;
height: 7vw;
}
.rigbot > .tanchu .gysscrol .acts {
color: #0385FA !important;
}
.rigbot > .tanchu .gysscrol .acts uni-image {
display: block;
}
.rigbot > .tanchu .gysscrol uni-view {
display: flex;
justify-content: space-between;
align-items: center;
font-weight: 400;
font-size: 1vw;
color: #666666;
margin-bottom: 0.9vw;
}
.rigbot > .tanchu .gysscrol uni-view:nth-child(1) {
margin-top: 0.9vw;
}
.rigbot > .tanchu .gysscrol uni-view uni-image {
width: 1vw !important;
height: 0.7vw !important;
display: none;
}
.rigbot > uni-view {
display: flex;
align-items: center;
}
.rigbot uni-view:nth-child(3) {
.rigbot > uni-view:nth-child(3) {
align-items: center;
white-space: nowrap;
}
.rigbot uni-view:nth-child(3) uni-text {
.rigbot > uni-view:nth-child(3) uni-text {
font-weight: 400;
font-size: 1.1vw;
color: #555555;
white-space: nowrap;
margin-right: 1.2vw;
}
.rigbot uni-view:nth-child(3) .jj {
.rigbot > uni-view:nth-child(3) .jj {
width: 3.5vw;
height: 3.5vw;
background: rgba(85, 85, 85, 0.1);
@ -561,13 +599,13 @@ to {
position: relative;
padding: 0 !important;
}
.rigbot uni-view:nth-child(3) .jj:active {
.rigbot > uni-view:nth-child(3) .jj:active {
content: '';
width: 3.5vw;
height: 3.5vw;
background: linear-gradient(-61deg, #EAF5FF, #CBE7FF) !important;
}
.rigbot uni-view:nth-child(3) .num {
.rigbot > uni-view:nth-child(3) .num {
width: 6.5vw;
height: 3.5vw;
border-radius: 1vw;
@ -577,20 +615,20 @@ to {
align-items: center;
margin: 0 0 0 1vw;
}
.rigbot uni-view:nth-child(2) {
width: 21.6vw;
.rigbot > uni-view:nth-child(2) {
width: 100%;
height: 3vw;
background: rgba(85, 85, 85, 0.1);
border-radius: 1vw;
padding-left: 1.5vw;
}
.rigbot uni-view:nth-child(1) {
.rigbot > uni-view:nth-child(1) {
justify-content: space-between;
font-weight: 400;
font-size: 1.1vw;
color: #555555;
}
.rigbot uni-view:nth-child(1) uni-text {
.rigbot > uni-view:nth-child(1) uni-text {
width: 5.2vw;
height: 2.2vw;
display: inline-block;
@ -942,6 +980,23 @@ to {
background: #FFFFFF;
margin: 0.25vw 0;
border-radius: 1.6vw;
position: relative;
}
.box .rights .anmikc > uni-view .dot {
position: absolute;
right: 0;
top: -0.5vw;
min-width: 1.5vw;
height: 1.5vw;
border-radius: 0.75vw;
display: flex;
justify-content: center;
align-items: center;
background: red;
color: #fff;
font-size: 1vw;
margin: 0 !important;
padding: 0 0.25vw;
}
.box .rights .anmikc > uni-view uni-view {
margin-right: 0.4vw;

View File

@ -63,7 +63,11 @@ if (typeof uni !== 'undefined' && uni && uni.requireGlobal) {
}
});
<<<<<<< HEAD
// ../../../../hldy_app/unpackage/dist/dev/.nvue/_plugin-vue_export-helper.js
=======
// ../../../../项目/hldy_app/unpackage/dist/dev/.nvue/pages/camera.js
>>>>>>> cf031622d443095c94b8a2081244ea84d77917d9
var import_vue = __toESM(require_vue());
function requireNativePlugin(name) {
return weex.requireModule(name);
@ -660,7 +664,7 @@ if (typeof uni !== 'undefined' && uni && uni.requireGlobal) {
)
]);
}
var camera = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render], ["styles", [_style_0]], ["__file", "D:/hldy_app/pages/camera.nvue"]]);
var camera = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render], ["styles", [_style_0]], ["__file", "D:/\u9879\u76EE/hldy_app/pages/camera.nvue"]]);
// <stdin>
var webview = plus.webview.currentWebview();

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.6 KiB

File diff suppressed because one or more lines are too long