#
whycq
2024-03-09 6bbb67d65a2b66a9c3f747650ab78f37efe10b3c
#
1个文件已修改
1个文件已添加
40 ■■■■ 已修改文件
Monitor-APP/pages/home/home.vue 40 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
Monitor-APP/static/DENSO_logo.png 补丁 | 查看 | 原始文档 | blame | 历史
Monitor-APP/pages/home/home.vue
@@ -4,11 +4,15 @@
        <uni-transition :duration="duration" :mode-class="infoMode" :show="infoViewShow">
            <view class="home-view">
                <view class="head">
                    <view class="head-left" @click="ejected()"></view>
                    <view class="head-left" @click="ejected()">
                        <view class="logo"></view>
                    </view>
                    <view class="head-mid">
                        <text style="z-index: 999;">补货单列表</text>
                    </view>
                    <view class="head-right"></view>
                    <view class="head-right">
                        <view class="time-tools">{{calendar}}</view>
                    </view>
                </view>
                <!-- 日历 -->
                <!-- <view class="time-tools">{{calendar}}</view> -->
@@ -22,8 +26,8 @@
                            <view class="text-content">
                                <!-- head -->
                                <view class="swiper-head">
                                    <view class="item-box1" style="width: 5%;">序号</view>
                                    <view class="item-box1" style="width: 20%;">品番</view>
                                    <view class="item-box1" style="width: 10%;">工单编号</view>
                                    <view class="item-box1" style="width: 15%;">品番</view>
                                    <view class="item-box1" style="width: 15%;">待补货数量</view>
                                    <view class="item-box1" style="width: 15%;">已补货数量</view>
                                    <view class="item-box1" style="width: 15%;">补货状态</view>
@@ -41,8 +45,8 @@
                                    display-multiple-items="10"
                                    circular="true" :autoplay="true" :interval="3000" :duration="1000" disable-touch='true'>
                                        <swiper-item :class="item.inspectSts" class="swiper-item"  v-for="(item,i) in swiperList" :key="i">
                                            <view class="item-box" style="width: 5%;" >{{i+1}}</view>
                                            <view class="item-box" style="width: 20%;">{{item.maktx}}</view>
                                            <view class="item-box" style="width: 10%;" >{{item.suppCode ? item.suppCode : '--'}}</view>
                                            <view class="item-box" style="width: 15%;">{{item.maktx}}</view>
                                            <view class="item-box" style="width: 15%;">{{item.storeReplenishment}}</view>
                                            <view class="item-box" style="width: 15%;">
                                                
@@ -261,12 +265,12 @@
        onLoad() {
            setInterval(()=>{
                // this.getServerData()
                // this.getDate2()
                // this.getUrl()
                // this.getInfo()
                // this.getError()
                // this.getInfo2()
                // this.getError2()
                this.getDate2()
                this.getInfo3()
                // this.getInfo4()
                // this.controller()
@@ -291,12 +295,12 @@
                    return
                }
                uni.request({
                    url: that.commonUrl + "/monitor/date",
                    url: that.commonUrl + "/mobile/date",
                    method:"GET",
                    success(result) {
                        // console.log(result);
                        var res = result.data.data
                        that.calendar = res.year + "年" + res.month + "月" + res.day + "日 " + res.hour + ":" + res.minute + ":" + res.second + " " + res.week
                        that.calendar = res.hour + ":" + res.minute + ":" + res.second + " " + res.year + "-" + res.month + "-" + res.day
                        that.currDate = res.year + "/" + res.month + "/" + res.day
                    },
                    fail(res) {
@@ -776,11 +780,23 @@
        background-image: url(../../static/headleft.png);
        background-size: 110% 100%;
    }
    .logo {
        position: absolute;
        left: 30%;
        top: 90%;
        width: 60%;
        height: 110%;
        background-image: url(../../static/DENSO_logo.png);
        background-size: 60% 60%;
        /* background-color: #55ff7f; */
        background-repeat: no-repeat;
        transform: scaleX(-1);
    }
    .time-tools {
        position: absolute;
        right: 2%;
        top: 2%;
        font-size:1vw;
        right: 4%;
        top: 6%;
        font-size:1.2vw;
        transform: scale(0.8);
    }
    .button-left {
Monitor-APP/static/DENSO_logo.png