This commit is contained in:
parent
53f694b33c
commit
e18c15bc0f
|
|
@ -46,7 +46,7 @@
|
|||
</view>
|
||||
<view class="dot">
|
||||
<view style="text-align: right;">{{v?.pdsl?v?.pdsl:'--'}}</view>
|
||||
<text>盘点数量</text>
|
||||
<text style="text-align: right;">盘点数量</text>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
|
|
@ -57,10 +57,11 @@
|
|||
</view>
|
||||
|
||||
</view>
|
||||
<defaultr cont="暂无数据" v-if="pddlist.length==0 " style="position: absolute;width: 10vw;height: 10vw;"></defaultr>
|
||||
</view>
|
||||
</scroll-view>
|
||||
<view class="submit">
|
||||
<view>取消</view>
|
||||
<view @click="emit('close')">取消</view>
|
||||
<view @click="subits">确定</view>
|
||||
</view>
|
||||
</view>
|
||||
|
|
@ -72,6 +73,7 @@
|
|||
import { ref, onMounted, onBeforeUnmount, computed, nextTick, watch, reactive } from 'vue';
|
||||
import { onShow, onLoad, onHide, onPageScroll } from "@dcloudio/uni-app"
|
||||
import { queryPddInfoList,editPddInfo,submitPddMain } from '../api/lunpan.js'
|
||||
import defaultr from '../components/default.vue'
|
||||
const selectType = ref(0);
|
||||
const scrolltop = ref(0);
|
||||
const tagsarray = ref(["全部", "盘盈", "盘亏"]);
|
||||
|
|
@ -92,6 +94,7 @@
|
|||
()=>props.show,
|
||||
()=>{
|
||||
if(props.show){
|
||||
pddlist.value = [];
|
||||
pandian();
|
||||
setTimeout(()=>{
|
||||
showbox.value = true;
|
||||
|
|
@ -267,14 +270,14 @@
|
|||
top: 0;
|
||||
|
||||
.wltwo {
|
||||
width: 11vw;
|
||||
width: 18vw;
|
||||
height: 3.7vw;
|
||||
display: flex;
|
||||
margin-top: 1.2vw;
|
||||
justify-content: space-between;
|
||||
|
||||
>view {
|
||||
// min-width: 5vw;
|
||||
width: 50%;
|
||||
height: 100%;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
|
|
|
|||
|
|
@ -27,7 +27,6 @@
|
|||
<view class="cardp">
|
||||
<view v-if="v.materialInfo?.categoryName">{{v.materialInfo?.categoryName}}</view>
|
||||
<view v-if="v.materialInfo?.typeName">{{v.materialInfo?.typeName}}</view>
|
||||
<view v-if="v.materialInfo?.typeName">{{v.materialInfo?.typeName}}</view>
|
||||
<view v-if="v.materialInfo?.medicationName">{{v.materialInfo?.medicationName}}</view>
|
||||
</view>
|
||||
</view>
|
||||
|
|
|
|||
|
|
@ -51,7 +51,7 @@
|
|||
<image class="guodu" :style="v.zk?'transform: rotate(180deg);':''" :src="'/static/index/procurement/l.png'" mode="aspectFill"></image>
|
||||
</view>
|
||||
<view class="zkadd guodu" :class="v.isAdd==1?'zkf':''">
|
||||
<view @click.stop @touchend.stop>出入库</view>
|
||||
<view @click.stop="crk(v,index)" @touchend.stop>出入库</view>
|
||||
<view @click.stop="addcar(v)" v-if="v.isAdd!=1" @touchend.stop>
|
||||
<view>
|
||||
加购物车
|
||||
|
|
@ -89,11 +89,14 @@
|
|||
props.InvoicingList[0].scrollleft = 0;
|
||||
}
|
||||
})
|
||||
const emit = defineEmits(['addcartory','tolower','solleft'])
|
||||
const emit = defineEmits(['addcartory','tolower','solleft','crk'])
|
||||
const serverUrl = ref('')
|
||||
onMounted(()=>{
|
||||
serverUrl.value = uni.getStorageSync('serverUrl') + '/sys/common/static/';
|
||||
})
|
||||
const crk=(v,i)=>{
|
||||
emit('crk',v,i)
|
||||
}
|
||||
const setout1 = ref(true)
|
||||
const scrolltolower = () => {
|
||||
emit('tolower')
|
||||
|
|
|
|||
|
|
@ -113,10 +113,10 @@
|
|||
<!-- more -->
|
||||
<view class="mengban" v-if="Invenshow" @click="Invenshow = false;moredex=0"></view>
|
||||
<Inventory @addcartory="addcartory" :show="Invenshow" :InvoicingList="Material" :status="statustory"
|
||||
@tolower="scrolltolower(1)"></Inventory>
|
||||
@tolower="scrolltolower(1)" @crk="crk"></Inventory>
|
||||
|
||||
<view class="mengban" v-if="detailsshow" @click="detailsshow = false"></view>
|
||||
<detail :InvoicingList="[caigouobj]" @addcartory="addcartory" :show="detailsshow"></detail>
|
||||
<detail :InvoicingList="[caigouobj]" @addcartory="addcartory" :show="detailsshow" @crk="crk"></detail>
|
||||
|
||||
<view class="mengban" v-if="crkflag" @click="crkflag = false"></view>
|
||||
<inboundoutbound :show="crkflag" :wl="crkobj"></inboundoutbound>
|
||||
|
|
|
|||
Loading…
Reference in New Issue