This commit is contained in:
parent
21416aaf1b
commit
48514d94be
|
|
@ -119,7 +119,7 @@
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
<view class="mengban" v-if="jszlshow" @click="jszlshow = false"></view>
|
<view class="mengban" v-if="jszlshow" @click="jszlshow = false" ></view>
|
||||||
<view class="photo-father">
|
<view class="photo-father">
|
||||||
<view class="juzhong" style="margin-left: -30rpx;" :style="indexmessage?.startTime?{}:{filter: `grayscale(60%)`}">
|
<view class="juzhong" style="margin-left: -30rpx;" :style="indexmessage?.startTime?{}:{filter: `grayscale(60%)`}">
|
||||||
<donghua :width="`1300rpx`" :height="`900rpx`" :links="blueArray" :playing="photoplay" :loop="true"
|
<donghua :width="`1300rpx`" :height="`900rpx`" :links="blueArray" :playing="photoplay" :loop="true"
|
||||||
|
|
@ -140,11 +140,12 @@
|
||||||
<view class="pao-father" v-show="indexmessage?.startTime">
|
<view class="pao-father" v-show="indexmessage?.startTime">
|
||||||
<image class="pao-img" :src="`/static/index/newindex/states/pao.png`" />
|
<image class="pao-img" :src="`/static/index/newindex/states/pao.png`" />
|
||||||
<view style="z-index: 1;">
|
<view style="z-index: 1;">
|
||||||
待执行
|
{{indexmessage?.izStart=='N'?'待执行':'执行中'}}
|
||||||
</view>
|
</view>
|
||||||
|
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
|
<tanchuang :show="open==3" font="是否结束服务指令?" @back="open = 0" @right="ends()"> </tanchuang>
|
||||||
<image class="big-img" v-if="topbuttontarget==0" :style="!indexmessage?.previewFile?'width: 450rpx':''"
|
<image class="big-img" v-if="topbuttontarget==0" :style="!indexmessage?.previewFile?'width: 450rpx':''"
|
||||||
:src="indexmessage?.previewFile? 'https://www.focusnu.com/media/upFiles/' + indexmessage?.previewFile: `/static/index/newindex/wendu/2.png`" mode="aspectFill"/>
|
:src="indexmessage?.previewFile? 'https://www.focusnu.com/media/upFiles/' + indexmessage?.previewFile: `/static/index/newindex/wendu/2.png`" mode="aspectFill"/>
|
||||||
<view style="display: flex;align-items: center;">
|
<view style="display: flex;align-items: center;">
|
||||||
|
|
@ -152,14 +153,14 @@
|
||||||
{{ indexmessage?.directiveName }}
|
{{ indexmessage?.directiveName }}
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
<view style="display: flex;margin-top: 40rpx;">
|
<view style="display: flex;margin-top: 40rpx;" v-if="indexmessage?.startTime">
|
||||||
<view style="width: 240rpx;height: 90rpx;margin-right: 40rpx;">
|
<view style="width: 240rpx;height: 90rpx;margin-right: 40rpx;">
|
||||||
<view :class="indexmessage?.izStart=='N'?'start-button':'end-button'" v-show="indexmessage?.startTime" @click="start(indexmessage)">
|
<view :class="indexmessage?.izStart=='N'?'start-button':'end-button'" v-show="indexmessage?.startTime" @click="start(indexmessage)">
|
||||||
开始服务
|
开始服务
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
<view style="width: 240rpx;height: 90rpx;">
|
<view style="width: 240rpx;height: 90rpx;">
|
||||||
<view :class="(indexmessage?.izStart=='Y'&& indexmessage?.izFinish=='N')?'start-button':'end-button'" v-show="indexmessage?.startTime" @click="end(indexmessage)">
|
<view :class="(indexmessage?.izStart=='Y'&& indexmessage?.izFinish=='N')?'start-button':'end-button'" @click="end(indexmessage)">
|
||||||
结束服务
|
结束服务
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
|
|
@ -349,32 +350,35 @@
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
<view class="fixed-card" :style="openleft?{}:{right:`-33vw`}">
|
<view class="fixed-card" :style="openleft?{}:{right:`-33vw`}" v-show="indexmessage?.startTime">
|
||||||
<view class="fixed-card-left">
|
<view class="fixed-card-left">
|
||||||
<image class="card-left-img" :src="`/static/index/newindex/wendu/2.png`" />
|
<image class="card-left-img" v-if="topbuttontarget==0" :style="!indexmessage?.previewFile?'width: 450rpx':''"
|
||||||
|
:src="indexmessage?.previewFile? 'https://www.focusnu.com/media/upFiles/' + indexmessage?.previewFile: `/static/index/newindex/wendu/2.png`" mode="aspectFill"/>
|
||||||
<view class="">
|
<view class="">
|
||||||
库存盘点
|
{{ indexmessage?.directiveName }}
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
<view>
|
<view>
|
||||||
<view class="big-time">
|
<view class="big-time" v-if="indexmessage?.startTime">
|
||||||
10:00 - 10:10
|
{{ indexmessage?.startTime.slice(11, 16) }}
|
||||||
|
-
|
||||||
|
{{ indexmessage?.endTime.slice(11, 16) }}
|
||||||
</view>
|
</view>
|
||||||
<view class="icon-people">
|
<view class="icon-people">
|
||||||
<image class="people-img" src="/static/index/newindex/leftmenu/iconleft.png" />
|
<image class="people-img" src="/static/index/newindex/leftmenu/iconleft.png" />
|
||||||
单人执行
|
单人执行
|
||||||
<image style="margin-left: 1vw;" class="people-img"
|
<image style="margin-left: 1vw;" class="people-img"
|
||||||
src="/static/index/newindex/leftmenu/iconright.png" />
|
src="/static/index/newindex/leftmenu/iconright.png" />
|
||||||
王金福
|
{{indexmessage.employeeName}}
|
||||||
</view>
|
</view>
|
||||||
<view style="color: #555555;">
|
<!-- <view style="color: #555555;">
|
||||||
业务单号:P10120251010001
|
业务单号:P10120251010001
|
||||||
</view>
|
</view> -->
|
||||||
<view class="icon-button">
|
<view class="icon-button">
|
||||||
<view class="button-left">
|
<view :class="indexmessage?.izStart=='N'?'button-right':'button-left'" @click="start(indexmessage)">
|
||||||
开始服务
|
开始服务
|
||||||
</view>
|
</view>
|
||||||
<view class="button-right">
|
<view :class="(indexmessage?.izStart=='Y'&& indexmessage?.izFinish=='N')?'button-right':'button-left'" @click="end(indexmessage)">
|
||||||
结束服务
|
结束服务
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
|
|
@ -418,7 +422,7 @@
|
||||||
height: 1.4vw;"></image>
|
height: 1.4vw;"></image>
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
<view v-if="topbuttontarget==2" style="width: 100%;height: 70%;border-radius: 30rpx ;position: relative;" @click="clik(serverUrl + item)">
|
<view v-if="topbuttontarget==2" style="width: 100%;height: 70%;border-radius: 30rpx ;position: relative;" >
|
||||||
<video style="width: 100%;height: 100%;border-radius: 30rpx;" :id="'myVideo'+index"
|
<video style="width: 100%;height: 100%;border-radius: 30rpx;" :id="'myVideo'+index"
|
||||||
:src="servervideoUrl+item"
|
:src="servervideoUrl+item"
|
||||||
mode="aspectFill" ></video>
|
mode="aspectFill" ></video>
|
||||||
|
|
@ -478,12 +482,25 @@
|
||||||
</view>
|
</view>
|
||||||
</scroll-view>
|
</scroll-view>
|
||||||
<view style="position: absolute;right: 2vw;bottom: 0.8vw;height: 4vw;" v-if="topbuttontarget>0&&(listobj.izStart=='Y'&& listobj.izFinish=='N')">
|
<view style="position: absolute;right: 2vw;bottom: 0.8vw;height: 4vw;" v-if="topbuttontarget>0&&(listobj.izStart=='Y'&& listobj.izFinish=='N')">
|
||||||
<button type="primary" style="width: 9vw; position: absolute;right: 0vw;bottom: 0.vw;" @click="submit" >确定</button>
|
<view
|
||||||
|
style="width: 8.2vw;
|
||||||
|
height: 3.3vw;
|
||||||
|
background: #EDEDEF;
|
||||||
|
border-radius: 1.6vw;
|
||||||
|
font-weight: 400;
|
||||||
|
font-size: 1.6vw;
|
||||||
|
color: #888888;
|
||||||
|
display: flex;
|
||||||
|
justify-content: center;
|
||||||
|
align-items: center;
|
||||||
|
border: 1px solid #EDEDEF;
|
||||||
|
background: linear-gradient(0deg, #CAE0F9, #E9F4FF);
|
||||||
|
border: 1px solid rgba(3,133,250,0.34);
|
||||||
|
color: #0385FA;" @click="submit" >确定</view>
|
||||||
|
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
<tanchuang :show="open==1" font="是否删除此图片" @back="open = 0" @right="del1()"> </tanchuang>
|
<tanchuang :show="open==1" font="是否删除此图片" @back="open = 0" @right="del1()"> </tanchuang>
|
||||||
|
|
||||||
|
|
||||||
</view>
|
</view>
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
|
|
@ -494,7 +511,8 @@
|
||||||
// import {startOrder,endOrder} from './doctorask/api/api.js'
|
// import {startOrder,endOrder} from './doctorask/api/api.js'
|
||||||
import {queryOrderList,queryOrderInfoList,startOrder,endOrder,editSubPicPath,editSubMp4} from '../component/doctorask/api/api.js'
|
import {queryOrderList,queryOrderInfoList,startOrder,endOrder,editSubPicPath,editSubMp4} from '../component/doctorask/api/api.js'
|
||||||
import { getNclist } from "./nurse/api.js";
|
import { getNclist } from "./nurse/api.js";
|
||||||
|
const serverUrl = ref(uni.getStorageSync('serverUrl') + '/sys/common/static/')
|
||||||
|
const servervideoUrl = ref(uni.getStorageSync('serverUrl') + '/sys/commonVideo/staticVideo/')
|
||||||
const form = reactive({
|
const form = reactive({
|
||||||
pageNo: 1,
|
pageNo: 1,
|
||||||
pageSize: 10,
|
pageSize: 10,
|
||||||
|
|
@ -512,17 +530,16 @@
|
||||||
if(res.result.records.length>0){
|
if(res.result.records.length>0){
|
||||||
clickLeftMenu(0,res.result.records[0])
|
clickLeftMenu(0,res.result.records[0])
|
||||||
}else{
|
}else{
|
||||||
indexmessage.value = [];
|
indexmessage.value = {};
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
const clickLeftMenu = (index : any, item : object) => {
|
const clickLeftMenu = (index : any, item : object) => {
|
||||||
queryOrderInfoList({ mainId: item.id }).then(res => {
|
queryOrderInfoList({ mainId: item.id }).then(res => {
|
||||||
console.log(res)
|
|
||||||
if(res.result.length>0){
|
if(res.result.length>0){
|
||||||
indexmessage.value = res.result[0]
|
indexmessage.value = res.result[0]
|
||||||
}else{
|
}else{
|
||||||
indexmessage.value = [];
|
indexmessage.value = {};
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|
@ -531,7 +548,6 @@
|
||||||
const topbuttontarget = ref(0);
|
const topbuttontarget = ref(0);
|
||||||
const ilanarr = ref([]);
|
const ilanarr = ref([]);
|
||||||
const listobj = ref({});
|
const listobj = ref({});
|
||||||
|
|
||||||
const ysptp = (v,i,r) =>{
|
const ysptp = (v,i,r) =>{
|
||||||
// v.manuallyPicPath
|
// v.manuallyPicPath
|
||||||
if(r == 1&&v.manuallyPicPath){
|
if(r == 1&&v.manuallyPicPath){
|
||||||
|
|
@ -625,7 +641,7 @@
|
||||||
if(res.success){
|
if(res.success){
|
||||||
topbuttontarget.value = 0;
|
topbuttontarget.value = 0;
|
||||||
donghuaopo.value = false;
|
donghuaopo.value = false;
|
||||||
clickLeftMenu(lefttarget.value,plsbuy.value[lefttarget.value])
|
clickLeftMenu(0,{id:indexmessage.value.mainId})
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
}else{
|
}else{
|
||||||
|
|
@ -633,7 +649,7 @@
|
||||||
if(res.success){
|
if(res.success){
|
||||||
topbuttontarget.value = 0;
|
topbuttontarget.value = 0;
|
||||||
donghuaopo.value = false;
|
donghuaopo.value = false;
|
||||||
clickLeftMenu(lefttarget.value,plsbuy.value[lefttarget.value])
|
clickLeftMenu(0,{id:indexmessage.value.mainId})
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|
@ -815,16 +831,20 @@
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
const end = (v)=>{
|
const end = (v)=>{
|
||||||
console.log(v)
|
if(indexmessage.value.izStart=='Y'&& indexmessage.value.izFinish=='N'){
|
||||||
if(v.izStart=='Y'&& v.izFinish=='N'){
|
open.value=3;
|
||||||
endOrder({id:v.id}).then(res=>{
|
}
|
||||||
console.log(res)
|
}
|
||||||
|
const ends = ()=>{
|
||||||
|
|
||||||
|
endOrder({id:indexmessage.value.id}).then(res=>{
|
||||||
if(res.success){
|
if(res.success){
|
||||||
|
open.value=0;
|
||||||
firstgetqueryCgdList(uni.getStorageSync('nuId'))
|
firstgetqueryCgdList(uni.getStorageSync('nuId'))
|
||||||
}else{
|
}else{
|
||||||
|
|
||||||
}
|
}
|
||||||
})}
|
})
|
||||||
|
|
||||||
}
|
}
|
||||||
// 通用的生成函数
|
// 通用的生成函数
|
||||||
|
|
@ -1751,12 +1771,12 @@
|
||||||
display: flex;
|
display: flex;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
transition: all 0.5s ease;
|
transition: all 0.5s ease;
|
||||||
|
padding:0 0 0 1.5vw;
|
||||||
.fixed-card-left {
|
.fixed-card-left {
|
||||||
display: flex;
|
display: flex;
|
||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
|
margin-right:1.2vw;
|
||||||
.card-left-img {
|
.card-left-img {
|
||||||
width: 12vw;
|
width: 12vw;
|
||||||
height: 8vw;
|
height: 8vw;
|
||||||
|
|
@ -1785,7 +1805,8 @@
|
||||||
display: flex;
|
display: flex;
|
||||||
margin-top: 1vw;
|
margin-top: 1vw;
|
||||||
font-size: 1.5vw;
|
font-size: 1.5vw;
|
||||||
|
width: 18.5vw;
|
||||||
|
justify-content: space-around;
|
||||||
.button-left {
|
.button-left {
|
||||||
width: 8.5vw;
|
width: 8.5vw;
|
||||||
height: 3.3vw;
|
height: 3.3vw;
|
||||||
|
|
@ -1808,7 +1829,6 @@
|
||||||
border-radius: 1.2vw;
|
border-radius: 1.2vw;
|
||||||
border: 1rpx solid #5AAEFF;
|
border: 1rpx solid #5AAEFF;
|
||||||
color: #249BFA;
|
color: #249BFA;
|
||||||
margin-left: 1vw;
|
|
||||||
background: linear-gradient(to bottom, #fff, #D1EAFF);
|
background: linear-gradient(to bottom, #fff, #D1EAFF);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -1,7 +1,7 @@
|
||||||
<template>
|
<template>
|
||||||
<view>
|
<view>
|
||||||
<view class="letbox" :style="style">
|
<view class="letbox" :style="style">
|
||||||
<view class="logomain tp">
|
<view class="logomain">
|
||||||
<image src="/static/shouye/logo2.png" mode="aspectFill"></image>
|
<image src="/static/shouye/logo2.png" mode="aspectFill"></image>
|
||||||
</view>
|
</view>
|
||||||
<view class="topcpnt">
|
<view class="topcpnt">
|
||||||
|
|
@ -47,10 +47,13 @@
|
||||||
},
|
},
|
||||||
style:{
|
style:{
|
||||||
type:String
|
type:String
|
||||||
|
},
|
||||||
|
userInfo:{
|
||||||
|
type:Object
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
const serverUrl = ref(uni.getStorageSync('serverUrl'))
|
const serverUrl = ref(uni.getStorageSync('serverUrl'))
|
||||||
const userInfo = uni.getStorageSync('userInfo');
|
// const userInfo = uni.getStorageSync('userInfo');
|
||||||
const emit = defineEmits(['navurl'])
|
const emit = defineEmits(['navurl'])
|
||||||
const dexleft = ref(0);
|
const dexleft = ref(0);
|
||||||
const scrolltop = ref(0)
|
const scrolltop = ref(0)
|
||||||
|
|
@ -142,10 +145,19 @@
|
||||||
margin-top: 0.6vw;
|
margin-top: 0.6vw;
|
||||||
color: #666666;
|
color: #666666;
|
||||||
}
|
}
|
||||||
|
.tp image{
|
||||||
|
width: 100%;
|
||||||
|
height: 100%;
|
||||||
|
border-radius: 50%;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
.logomain{
|
.logomain{
|
||||||
width: 6vw;
|
width: 6vw;
|
||||||
height: 6vw;
|
height: 6vw;
|
||||||
|
image{
|
||||||
|
width: 100%;
|
||||||
|
height: 100%;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
.topcpnt{
|
.topcpnt{
|
||||||
width: 6vw;
|
width: 6vw;
|
||||||
|
|
@ -240,11 +252,7 @@
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
.tp image{
|
|
||||||
width: 100%;
|
|
||||||
height: 100%;
|
|
||||||
border-radius: 50%;
|
|
||||||
}
|
|
||||||
.guodu {
|
.guodu {
|
||||||
transition: .4s;
|
transition: .4s;
|
||||||
-webkit-transform-style: preserve-3d;
|
-webkit-transform-style: preserve-3d;
|
||||||
|
|
|
||||||
|
|
@ -250,7 +250,7 @@
|
||||||
|
|
||||||
.leftbox {
|
.leftbox {
|
||||||
width: 13vw;
|
width: 13vw;
|
||||||
height: 12;
|
height: 12vw;
|
||||||
border-right: 2px solid #E5E5E5;
|
border-right: 2px solid #E5E5E5;
|
||||||
display: flex;
|
display: flex;
|
||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
|
|
|
||||||
|
|
@ -49,8 +49,7 @@
|
||||||
<addwl :Material="addMaterial" @delall="delall" @del="adddel" @submit="submit"></addwl>
|
<addwl :Material="addMaterial" @delall="delall" @del="adddel" @submit="submit"></addwl>
|
||||||
<carditem :InvoicingList="listarr" @scrolltolower="scrolltolower" :status="status" @comfig="comfig"></carditem>
|
<carditem :InvoicingList="listarr" @scrolltolower="scrolltolower" :status="status" @comfig="comfig"></carditem>
|
||||||
<takeing :show="takeshow" :objtake="objtake" @fill="takeshow = false" @right="right"></takeing>
|
<takeing :show="takeshow" :objtake="objtake" @fill="takeshow = false" @right="right"></takeing>
|
||||||
<cgdclass @confirm="confirm" :show="ification" :typenum="0" ref="classication" @fill="ification = false">
|
<cgdclass @confirm="confirm" :show="ification" :typenum="0" ref="classication" @fill="ification = false"> </cgdclass>
|
||||||
</cgdclass>
|
|
||||||
<medetails :show="detaishow" @fill="detaishow = false" @confirm="confirm" :objtake="objtake"></medetails>
|
<medetails :show="detaishow" @fill="detaishow = false" @confirm="confirm" :objtake="objtake"></medetails>
|
||||||
<tanchuang @back="tanshow = false" :show="tanshow" font="确定将该物料从本次请领清单中移除吗?" @right="del"></tanchuang>
|
<tanchuang @back="tanshow = false" :show="tanshow" font="确定将该物料从本次请领清单中移除吗?" @right="del"></tanchuang>
|
||||||
<takerecord :objtake="objtake" :show="recordshow" @fill="recordshow = false"></takerecord>
|
<takerecord :objtake="objtake" :show="recordshow" @fill="recordshow = false"></takerecord>
|
||||||
|
|
|
||||||
|
|
@ -8,8 +8,6 @@
|
||||||
{{ uni.getStorageSync('nuName')}}
|
{{ uni.getStorageSync('nuName')}}
|
||||||
</text>
|
</text>
|
||||||
<view class="right-icons">
|
<view class="right-icons">
|
||||||
<image class="right-icons-img" src="/static/index/requestform/touxiang.png" />
|
|
||||||
<view>{{uni.getStorageSync('realname')}}</view>
|
|
||||||
<image class="right-icons-img-back" src="/static/index/requestform/back.png" v-if="hometype>0" @click="hometype=0" />
|
<image class="right-icons-img-back" src="/static/index/requestform/back.png" v-if="hometype>0" @click="hometype=0" />
|
||||||
<view v-if="hometype>0" @click="hometype=0">返回</view>
|
<view v-if="hometype>0" @click="hometype=0">返回</view>
|
||||||
</view>
|
</view>
|
||||||
|
|
|
||||||
|
|
@ -1,7 +1,7 @@
|
||||||
<template>
|
<template>
|
||||||
<view class="backgroundContainer">
|
<view class="backgroundContainer">
|
||||||
<!-- 左侧菜单 -->
|
<!-- 左侧菜单 -->
|
||||||
<leftcontent :list="arrlist" @navurl="navurl"></leftcontent>
|
<leftcontent :list="arrlist" @navurl="navurl" :userInfo="userInfo"></leftcontent>
|
||||||
<!-- 主页 -->
|
<!-- 主页 -->
|
||||||
<index :isShow="menuIndex==0" v-if="swipedex==0" @swip="swip"/>
|
<index :isShow="menuIndex==0" v-if="swipedex==0" @swip="swip"/>
|
||||||
<!-- 户嘱页 -->
|
<!-- 户嘱页 -->
|
||||||
|
|
@ -270,6 +270,10 @@
|
||||||
messageopit.value = true;
|
messageopit.value = true;
|
||||||
}, 200)
|
}, 200)
|
||||||
}
|
}
|
||||||
|
const userInfo = ref({})
|
||||||
|
onShow(()=>{
|
||||||
|
userInfo.value = uni.getStorageSync('userInfo');
|
||||||
|
})
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<style lang="less" scoped>
|
<style lang="less" scoped>
|
||||||
|
|
|
||||||
|
|
@ -2,16 +2,16 @@
|
||||||
<view>
|
<view>
|
||||||
<view class="flex">
|
<view class="flex">
|
||||||
<view class="left">
|
<view class="left">
|
||||||
<leftcontent :list="arrlist" @navurl="navurl"></leftcontent>
|
<leftcontent :list="arrlist" @navurl="navurl" :userInfo="userInfo"></leftcontent>
|
||||||
</view>
|
</view>
|
||||||
<view class="boxrt">
|
<view class="boxrt">
|
||||||
<index :isShow="menuop == 0" v-if="swipdex == 0" @swip="swip"/>
|
<index :isShow="menuop == 0" v-if="swipdex == 0" @swip="swip"/>
|
||||||
<material :isShow="menuop == 1" v-if="swipdex == 1"></material>
|
<material :isShow="menuop == 1" v-if="swipdex == 1" ref="materials"></material>
|
||||||
<picking :isShow="menuop == 2" v-if="swipdex == 2"></picking>
|
<picking :isShow="menuop == 2" v-if="swipdex == 2"></picking>
|
||||||
<finish :isShow="menuop == 3" v-if="swipdex == 3"></finish>
|
<finish :isShow="menuop == 3" v-if="swipdex == 3"></finish>
|
||||||
<outbound :isShow="menuop == 4" v-if="swipdex == 4"></outbound>
|
<outbound :isShow="menuop == 4" v-if="swipdex == 4"></outbound>
|
||||||
<retstock :isShow="menuop == 5" v-if="swipdex == 5"></retstock>
|
<retstock :isShow="menuop == 5" v-if="swipdex == 5"></retstock>
|
||||||
<inventory :isShow="menuop == 6" v-if="swipdex == 6"></inventory>
|
<inventory :isShow="menuop == 6" v-if="swipdex == 6" ref="inventorys"></inventory>
|
||||||
<nurse :isshow="menuop == 7" v-if="swipdex==7&&uni.getStorageSync('nuId')" />
|
<nurse :isshow="menuop == 7" v-if="swipdex==7&&uni.getStorageSync('nuId')" />
|
||||||
<!-- <invoicing :isshow="menuop == 8" v-if="swipdex==8&&uni.getStorageSync('nuId')" /> -->
|
<!-- <invoicing :isshow="menuop == 8" v-if="swipdex==8&&uni.getStorageSync('nuId')" /> -->
|
||||||
<logistics :isshow="menuop == 9" v-if="swipdex==9&&uni.getStorageSync('nuId')" />
|
<logistics :isshow="menuop == 9" v-if="swipdex==9&&uni.getStorageSync('nuId')" />
|
||||||
|
|
@ -193,6 +193,18 @@
|
||||||
arrlist.value.push(...back);
|
arrlist.value.push(...back);
|
||||||
}))
|
}))
|
||||||
}
|
}
|
||||||
|
const materials = ref<InstanceType<typeof ChildComponent>>();
|
||||||
|
const inventorys = ref<InstanceType<typeof ChildComponent>>()
|
||||||
|
const userInfo = ref({})
|
||||||
|
onShow(()=>{
|
||||||
|
userInfo.value = uni.getStorageSync('userInfo');
|
||||||
|
if(menuop.value == 1){
|
||||||
|
materials.value.gwcsx();
|
||||||
|
}
|
||||||
|
if(menuop.value == 6){
|
||||||
|
inventorys.value.firstgetqueryCgdList()
|
||||||
|
}
|
||||||
|
})
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<style scoped lang="less">
|
<style scoped lang="less">
|
||||||
|
|
|
||||||
|
|
@ -49,7 +49,7 @@
|
||||||
bottom: 0;
|
bottom: 0;
|
||||||
margin: auto;
|
margin: auto;
|
||||||
padding: 2.8vw;
|
padding: 2.8vw;
|
||||||
z-index: 9120;
|
z-index: 9120000000000000000000000000000000000000000000000000000000;
|
||||||
|
|
||||||
>view {
|
>view {
|
||||||
&:nth-child(4) {
|
&:nth-child(4) {
|
||||||
|
|
|
||||||
|
|
@ -282,15 +282,7 @@
|
||||||
setTimeout(() => {
|
setTimeout(() => {
|
||||||
transition.value = true;
|
transition.value = true;
|
||||||
}, 50)
|
}, 50)
|
||||||
})
|
})
|
||||||
watch(
|
|
||||||
() => props.isShow,
|
|
||||||
(newVal, oldVal) => {
|
|
||||||
if (!oldVal && newVal) {
|
|
||||||
|
|
||||||
}
|
|
||||||
}
|
|
||||||
)
|
|
||||||
watch(
|
watch(
|
||||||
() => props.isShow,
|
() => props.isShow,
|
||||||
(newVal, oldVal) => {
|
(newVal, oldVal) => {
|
||||||
|
|
@ -586,6 +578,9 @@
|
||||||
console.log(v)
|
console.log(v)
|
||||||
uni.navigateTo({ url: '/pages/procurement/addtory?pddobj=' + JSON.stringify(v) })
|
uni.navigateTo({ url: '/pages/procurement/addtory?pddobj=' + JSON.stringify(v) })
|
||||||
}
|
}
|
||||||
|
defineExpose({
|
||||||
|
firstgetqueryCgdList
|
||||||
|
})
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<style scoped lang="less">
|
<style scoped lang="less">
|
||||||
|
|
|
||||||
|
|
@ -186,25 +186,25 @@
|
||||||
type: Boolean
|
type: Boolean
|
||||||
},
|
},
|
||||||
});
|
});
|
||||||
onMounted(()=>{
|
// onMounted(()=>{
|
||||||
form.pageNo = 1;
|
// form.pageNo = 1;
|
||||||
warn.pageNo = 1;
|
// warn.pageNo = 1;
|
||||||
Material.value = [];
|
// Material.value = [];
|
||||||
InvoicingList.value = [];
|
// InvoicingList.value = [];
|
||||||
moredex.value = 0;
|
// moredex.value = 0;
|
||||||
shoppcar();
|
// shoppcar();
|
||||||
getWaringMaterial()
|
// getWaringMaterial()
|
||||||
nextTick(() => {
|
// nextTick(() => {
|
||||||
chongzhi()
|
// chongzhi()
|
||||||
})
|
// })
|
||||||
setTimeout(()=>{
|
// setTimeout(()=>{
|
||||||
timeout.value = true
|
// timeout.value = true
|
||||||
},500)
|
// },500)
|
||||||
transition.value = false;
|
// transition.value = false;
|
||||||
setTimeout(() => {
|
// setTimeout(() => {
|
||||||
transition.value = true;
|
// transition.value = true;
|
||||||
}, 50)
|
// }, 50)
|
||||||
})
|
// })
|
||||||
watch(
|
watch(
|
||||||
() => props.isShow,
|
() => props.isShow,
|
||||||
(newVal, oldVal) => {
|
(newVal, oldVal) => {
|
||||||
|
|
@ -240,6 +240,7 @@
|
||||||
item.zk = false;
|
item.zk = false;
|
||||||
item.scrollleft = 0;
|
item.scrollleft = 0;
|
||||||
})
|
})
|
||||||
|
console.log(res.result.records)
|
||||||
Material.value.push(...res.result.records);
|
Material.value.push(...res.result.records);
|
||||||
statustory.value = (res.result.total == Material.value.length ? 'nomore' : 'loadmore')
|
statustory.value = (res.result.total == Material.value.length ? 'nomore' : 'loadmore')
|
||||||
setout1.value = (res.result.total == Material.value.length ? false : true)
|
setout1.value = (res.result.total == Material.value.length ? false : true)
|
||||||
|
|
@ -358,7 +359,7 @@
|
||||||
form.suppliers = '';
|
form.suppliers = '';
|
||||||
form.pageNo = 1;
|
form.pageNo = 1;
|
||||||
form.wlParamInfo = '',
|
form.wlParamInfo = '',
|
||||||
InvoicingList.value = [];
|
InvoicingList.value = [];
|
||||||
classication.value.typescroll(1, -1, {});
|
classication.value.typescroll(1, -1, {});
|
||||||
classication.value.qingkong();
|
classication.value.qingkong();
|
||||||
classication.value.config();
|
classication.value.config();
|
||||||
|
|
@ -501,6 +502,21 @@
|
||||||
crkobj.value = v;
|
crkobj.value = v;
|
||||||
crkflag.value = true
|
crkflag.value = true
|
||||||
}
|
}
|
||||||
|
const gwcsx=()=>{
|
||||||
|
form.pageNo = 1;
|
||||||
|
warn.pageNo = 1;
|
||||||
|
Material.value = [];
|
||||||
|
InvoicingList.value = [];
|
||||||
|
moredex.value = 0;
|
||||||
|
shoppcar();
|
||||||
|
getWaringMaterial()
|
||||||
|
nextTick(() => {
|
||||||
|
chongzhi()
|
||||||
|
})
|
||||||
|
}
|
||||||
|
defineExpose({
|
||||||
|
gwcsx
|
||||||
|
})
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<style scoped lang="less">
|
<style scoped lang="less">
|
||||||
|
|
@ -509,8 +525,8 @@
|
||||||
height: 12vw;
|
height: 12vw;
|
||||||
position: fixed;
|
position: fixed;
|
||||||
z-index: 200;
|
z-index: 200;
|
||||||
right: 2vw;
|
right: 0.8vw;
|
||||||
bottom: 6vw;
|
bottom: 8vw;
|
||||||
display: flex;
|
display: flex;
|
||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
justify-content: space-between;
|
justify-content: space-between;
|
||||||
|
|
|
||||||
|
|
@ -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
|
||||||
};
|
};
|
||||||
|
|
|
||||||
|
|
@ -578,7 +578,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
|
||||||
};
|
};
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue