baseline: 小军 WMS 二开代码原始快照(含 SynOABusiness.cs Debugger.Break)
This commit is contained in:
commit
c2b0e7be0d
6522 files changed
+3530643
No files matched your search
@@ -0,0 +1,228 @@
|
||||
<template>
|
||||
<view class="content">
|
||||
<view style="height: 32rpx;"></view>
|
||||
<view class="search">
|
||||
<input class="top-row-input-class" @tap="sourceClick" placeholder="输入搜索关键词" placeholder-class="placeholder"></input>
|
||||
<image class="image-barcode" src="../../../static/img/loupe.svg"></image>
|
||||
<view style="width: 32rpx;height: 80rpx;background-color: #F5F5F5;"></view>
|
||||
</view>
|
||||
|
||||
<view class="detail-table-class">
|
||||
<view class="table-title">
|
||||
<text class="table-title-name">资源名称</text>
|
||||
<view class="tool-colon">:</view>
|
||||
<text class="table-title-content">a</text>
|
||||
</view>
|
||||
<view class="detail-row-class" style="margin-top: 14rpx;">
|
||||
<text class="detail-row-title-class">资源代码</text><view class="tool-box"></view>
|
||||
<text class="detail-row-content-class">b</text>
|
||||
</view>
|
||||
<view class="detail-row-class">
|
||||
<text class="detail-row-title-class">工作中心代码</text><view class="tool-box"></view>
|
||||
<text class="detail-row-content-class">d</text>
|
||||
</view>
|
||||
<view class="detail-row-class">
|
||||
<text class="detail-row-title-class">工作中心名称</text><view class="tool-box"></view>
|
||||
<text class="detail-row-content-class">d</text>
|
||||
</view>
|
||||
</view>
|
||||
|
||||
</view>
|
||||
|
||||
</template>
|
||||
|
||||
<script>
|
||||
import Vue from 'vue';
|
||||
import {
|
||||
mapState,
|
||||
mapMutations
|
||||
} from 'vuex';
|
||||
|
||||
var commonUtil = require('../../../common/util.js');
|
||||
var _self;
|
||||
|
||||
export default {
|
||||
data() {
|
||||
return {
|
||||
scrollTop: 0,
|
||||
old: {
|
||||
scrollTop: 0
|
||||
},
|
||||
|
||||
taskList:[],
|
||||
pageIndex:1,
|
||||
pageSize:6,
|
||||
pageFlag:1,
|
||||
showTips:false,
|
||||
nextPage:"MESRESRE01Detail"
|
||||
}
|
||||
},
|
||||
|
||||
onLoad() {
|
||||
// this.getTaskList(1, this.pageSize);
|
||||
this.pageIndex = 1;
|
||||
console.log(commonUtil);
|
||||
_self = this;
|
||||
},
|
||||
|
||||
onPullDownRefresh:function(){
|
||||
_self.showTips = false;
|
||||
|
||||
this.getTaskList(1, this.pageSize);
|
||||
setTimeout(()=>{
|
||||
//停止下拉样式
|
||||
uni.stopPullDownRefresh();
|
||||
//隐藏标题读取
|
||||
uni.hideNavigationBarLoading();
|
||||
},
|
||||
500);
|
||||
},
|
||||
|
||||
onReachBottom:function(){
|
||||
if(!_self.showTips) {
|
||||
this.getTaskList(this.pageIndex, this.pageSize);
|
||||
}
|
||||
else {
|
||||
uni.showToast({
|
||||
icon: 'none',
|
||||
title: '已经到底了'
|
||||
});
|
||||
}
|
||||
},
|
||||
|
||||
onNavigationBarButtonTap:function(e){
|
||||
let navigateUrl = '../../views/MESRESRE01AddSource/MESRESRE01AddSource'
|
||||
uni.navigateTo({
|
||||
url: navigateUrl,
|
||||
});
|
||||
},
|
||||
|
||||
computed: {
|
||||
...mapState(['userInfo'])
|
||||
},
|
||||
|
||||
methods: {
|
||||
|
||||
}
|
||||
}
|
||||
</script>
|
||||
|
||||
<style>
|
||||
page{
|
||||
background-color: #F5F5F5;
|
||||
}
|
||||
.search{
|
||||
display: flex;
|
||||
position: relative;
|
||||
justify-content: flex-start;
|
||||
align-items: center;
|
||||
height: 72rpx;
|
||||
background: #FFFFFF;
|
||||
margin-left: 32rpx;
|
||||
margin-bottom: 16rpx;
|
||||
}
|
||||
.top-row-input-class{
|
||||
width: 144rpx;
|
||||
height: 72rpx;
|
||||
line-height: 72rpx;
|
||||
font-size: 28rpx;
|
||||
font-family: MicrosoftYaHei;
|
||||
color: #333333;
|
||||
flex-shrink: 1;
|
||||
flex-grow: 1;
|
||||
border-radius:10rpx;
|
||||
border: 1px solid #D8D8D8;
|
||||
padding-left: 24rpx;
|
||||
}
|
||||
.placeholder{
|
||||
font-size: 28rpx;
|
||||
font-family: MicrosoftYaHei;
|
||||
color: #CCCCCC;
|
||||
}
|
||||
.image-barcode{
|
||||
position: absolute;
|
||||
width: 40rpx;
|
||||
height: 40rpx;
|
||||
right: 56rpx;
|
||||
}
|
||||
.detail-table-class{
|
||||
height: 240rpx;
|
||||
box-shadow: 0px 0px 4px 0px rgba(0, 0, 0, 0.05);
|
||||
margin-top: 32rpx;
|
||||
margin-left: 32rpx;
|
||||
margin-right: 32rpx;
|
||||
margin-bottom: 32rpx;
|
||||
background-color: #FFFFFF;
|
||||
border-radius:10rpx;
|
||||
display: flex;
|
||||
flex-direction:column;
|
||||
flex-wrap: nowrap;
|
||||
justify-content: flex-start;
|
||||
flex-shrink: 1;
|
||||
flex-grow: 1;
|
||||
}
|
||||
.table-title{
|
||||
display: flex;
|
||||
align-items: center;
|
||||
flex-wrap: nowrap;
|
||||
justify-content: flex-start;
|
||||
height: 72rpx;
|
||||
margin-left: 24rpx;
|
||||
border-bottom: 2rpx solid #F8F8F8;
|
||||
}
|
||||
.table-title-name{
|
||||
height: 72rpx;
|
||||
line-height: 72rpx;
|
||||
font-size: 28rpx;
|
||||
font-family: MicrosoftYaHei;
|
||||
color: #3D3D3D;
|
||||
}
|
||||
.tool-colon{
|
||||
width: 32rpx;
|
||||
height: 72rpx;
|
||||
line-height: 72rpx;
|
||||
text-align: center;
|
||||
}
|
||||
.table-title-content{
|
||||
height: 72rpx;
|
||||
line-height: 72rpx;
|
||||
font-size: 28rpx;
|
||||
font-family: MicrosoftYaHei;
|
||||
color: #3D3D3D;
|
||||
}
|
||||
.detail-row-class{
|
||||
display: flex;
|
||||
flex-wrap: nowrap;
|
||||
justify-content: flex-start;
|
||||
align-items: center;
|
||||
height: 32rpx;
|
||||
line-height: 32rpx;
|
||||
margin-bottom: 16rpx;
|
||||
}
|
||||
.tool-box{
|
||||
width: 16rpx;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.detail-row-title-class{
|
||||
width: 170rpx;
|
||||
height: 32rpx;
|
||||
line-height: 32rpx;
|
||||
font-size: 24rpx;
|
||||
font-family: MicrosoftYaHei;
|
||||
color: #8F8F8F;
|
||||
margin-left: 24rpx;
|
||||
text-align: right;
|
||||
}
|
||||
|
||||
.detail-row-content-class{
|
||||
flex-shrink: 1;
|
||||
flex-grow: 1;
|
||||
height: 32rpx;
|
||||
line-height: 32rpx;
|
||||
font-size: 24rpx;
|
||||
font-family: MicrosoftYaHei;
|
||||
color: #505050;
|
||||
}
|
||||
|
||||
</style>
|
||||
Reference in new issue
Block a user