fix: 冲突解决

This commit is contained in:
kun 2024-04-26 18:37:04 +08:00
commit ee18682dab
4 changed files with 295 additions and 239 deletions

View File

@ -11,11 +11,11 @@
待整改
</view>
<view class="info-item b-right">
<text>{{ statisticsData.checkNum }}</text>
<text>{{ statisticsData.reviewNum }}</text>
待复查
</view>
<view class="info-item b-right">
<text>{{ statisticsData.reviewNum }}</text>
<text>{{ statisticsData.checkNum }}</text>
待核验
</view>
<view class="info-item">

View File

@ -0,0 +1,50 @@
<template>
<view class="projectList">
<headers class="fixedheader" :themeType="true" :showBack="true">
<view class="headerName">
查看明细
</view>
</headers>
<view class="details">
</view>
</view>
</template>
<script>
import headers from '../../../components/headers/headers.vue'
export default {
data() {
return {
}
},
onShow() {
},
onLoad(vai) {
},
onReachBottom() {
},
onPullDownRefresh() {
},
methods: {
}
}
</script>
<style lang="scss" scoped>
.projectList{
min-height: 100%;
background: #f4f5fd;
.details{
margin: 10px;
background-color: #fff;
}
}
</style>

View File

@ -1,130 +1,133 @@
<template>
<view class="projectList">
<headers class="fixedheader" :themeType="true" :showBack="true">
<view class="headerName">
材料入场管理
</view>
</headers>
<view>
<view class="ukashList">
<view class="ukashList-what">
<span style="font-size: 14px;font-weight: 700;">0000</span>
<span class="ukashList-look">查看明细</span>
</view>
<view class="ukashList-time">型号: 2222s</view>
<view class="ukashList-time">规格: 2222s</view>
<view class="ukashList-time">单位: 2222s</view>
<view class="ukashList-time">数量: 2222s</view>
</view>
</view>
</view>
<view class="projectList">
<headers class="fixedheader" :themeType="true" :showBack="true">
<view class="headerName">
材料入场管理
</view>
</headers>
<view>
<view class="ukashList">
<view class="ukashList-what">
<span style="font-size: 14px;font-weight: 700;">0000</span>
<span class="ukashList-look">查看明细</span>
</view>
<view class="ukashList-time">型号: 2222s</view>
<view class="ukashList-time">规格: 2222s</view>
<view class="ukashList-time">单位: 2222s</view>
<view class="ukashList-time">数量: 2222s</view>
</view>
</view>
</view>
</template>
<script>
import headers from '../../../components/headers/headers.vue'
import headers from '../../../components/headers/headers.vue'
export default {
data() {
return {
search:'',
pageNo: 1,
pageSize: 10,
isLoadMore:false,
dataList:[],
id:''
}
},
onShow() {
this.queryList()
},
onLoad(vai) {
console.log(vai.itemS);
this.id = vai.itemS
},
onReachBottom() {
console.log(99999);
if (!this.isLoadMore) {
this.isLoadMore = true
this.pageNo + 1
this.queryList()
}
},
onPullDownRefresh() {
console.log(222);
this.pageNo = 1
this.dataList = []
this.queryList()
},
methods: {
queryList() {
let data = {
id:this.id
}
let _this = this
this.sendRequest({
url: 'xmgl/xzMaterial/queryById',
method: 'post',
data: data,
success: res => {
console.log(res);
// this.dataList =res.result.records
// if (res.result.records.length < this.pageSize) {
// //
// this.isLoadMore = true
// this.loadStatus = 'nomore'
// } else {
// this.isLoadMore = false
// // that.loadStatus='more'
// }
// uni.stopPullDownRefresh()
// // console.log(res.result)
}
})
},
}
}
export default {
data() {
return {
search: '',
pageNo: 1,
pageSize: 10,
isLoadMore: false,
dataList: [],
id: ''
}
},
onShow() {
this.queryList()
},
onLoad(vai) {
console.log(vai.itemS);
this.id = vai.itemS
},
onReachBottom() {
console.log(99999);
// if (!this.isLoadMore) {
// this.isLoadMore = true
// this.pageNo + 1
// this.queryList()
// }
},
onPullDownRefresh() {
console.log(222);
this.pageNo = 1
this.dataList = []
this.queryList()
},
methods: {
queryList() {
let data = {
id:this.id
}
let _this = this
this.sendRequest({
url: 'xmgl/xzMaterialDetail/queryById',
method: 'post',
data: data,
success: res => {
console.log(res);
// this.dataList =res.result.records
// if (res.result.records.length < this.pageSize) {
// //
// this.isLoadMore = true
// this.loadStatus = 'nomore'
// } else {
// this.isLoadMore = false
// // that.loadStatus='more'
// }
// uni.stopPullDownRefresh()
// // console.log(res.result)
}
})
},
}
}
</script>
<style lang="scss" scoped>
.projectList{
.projectList {
min-height: 100%;
background: #f4f5fd;
.uni-input {
border-radius: 10px;
margin: 10px 10px;
background-color: #e6e7ef;
height: 35px;
line-height: 30px;
padding: 0 20px;
font-size: 14px;
}
.ukashList{
height: 163px;
background-color: #fff;
margin: 10px 10px;
border-radius: 15px;
.ukashList-what{
display: flex;
justify-content: space-between;
margin: 0 15px;
padding-top: 10px;
.ukashList-look{
background-color: #5081f7;
border-radius: 10px;
padding: 0 4px;
font-size: 12px;
text-align: center;
color: #fff;
}
}
.ukashList-time{
margin-top: 15px;
margin-left: 15px;
font-size: 12px;
color: #b9bbc9;
}
}
}
.uni-input {
border-radius: 10px;
margin: 10px 10px;
background-color: #e6e7ef;
height: 35px;
line-height: 30px;
padding: 0 20px;
font-size: 14px;
}
.ukashList {
height: 163px;
background-color: #fff;
margin: 10px 10px;
border-radius: 15px;
.ukashList-what {
display: flex;
justify-content: space-between;
margin: 0 15px;
padding-top: 10px;
.ukashList-look {
background-color: #5081f7;
border-radius: 10px;
padding: 0 4px;
font-size: 12px;
text-align: center;
color: #fff;
}
}
.ukashList-time {
margin-top: 15px;
margin-left: 15px;
font-size: 12px;
color: #b9bbc9;
}
}
}
</style>

View File

@ -1,129 +1,132 @@
<template>
<view class="projectList">
<headers class="fixedheader" :themeType="true" :showBack="true">
<view class="headerName">
材料入场管理
</view>
</headers>
<input class="uni-input" name="searchName" v-model="search" placeholder="请搜索" />
<view>
<view class="ukashList" v-for="item in dataList" :key="item.id" @click="jobMaterials(item.id)">
<view class="ukashList-what">
<span style="font-size: 14px;font-weight: 700;">{{item.name}}</span>
<span class="ukashList-look">查看明细</span>
</view>
<view class="ukashList-time">入场时间: {{item.entryTime}}</view>
</view>
</view>
</view>
<view class="projectList">
<headers class="fixedheader" :themeType="true" :showBack="true">
<view class="headerName">
材料入场管理
</view>
</headers>
<input class="uni-input" name="searchName" v-model="search" placeholder="请搜索" />
<view>
<view class="ukashList" v-for="item in dataList" :key="item.id" @click="jobMaterials(item.id)">
<view class="ukashList-what">
<span style="font-size: 14px;font-weight: 700;">{{item.name}}</span>
<span class="ukashList-look">查看明细</span>
</view>
<view class="ukashList-time">入场时间: {{item.entryTime}}</view>
</view>
</view>
</view>
</template>
<script>
import headers from '../../../components/headers/headers.vue'
import headers from '../../../components/headers/headers.vue'
export default {
data() {
return {
search:'',
pageNo: 1,
pageSize: 10,
isLoadMore:false,
dataList:[]
}
},
onShow() {
this.queryList()
},
onReachBottom() {
console.log(99999);
if (!this.isLoadMore) {
this.isLoadMore = true
this.pageNo + 1
this.queryList()
}
},
onPullDownRefresh() {
console.log(222);
this.pageNo = 1
this.dataList = []
this.queryList()
},
methods: {
queryList() {
let data = {
pageNo: this.pageNo,
pageSize: this.pageSize
}
let _this = this
this.sendRequest({
url: 'xmgl/xzMaterial/page',
method: 'post',
data: data,
success: res => {
console.log(res);
this.dataList =res.result.records
if (res.result.records.length < this.pageSize) {
//
this.isLoadMore = true
this.loadStatus = 'nomore'
} else {
this.isLoadMore = false
// that.loadStatus='more'
}
uni.stopPullDownRefresh()
// console.log(res.result)
}
})
},
jobMaterials(id){
uni.navigateTo({
url: './materials?itemS=' + id
})
}
}
}
export default {
data() {
return {
search: '',
pageNo: 1,
pageSize: 10,
isLoadMore: false,
dataList: []
}
},
onShow() {
this.queryList()
},
onReachBottom() {
console.log(99999);
if (!this.isLoadMore) {
this.isLoadMore = true
this.pageNo + 1
this.queryList()
}
},
onPullDownRefresh() {
console.log(222);
this.pageNo = 1
this.dataList = []
this.queryList()
},
methods: {
queryList() {
let data = {
pageNo: this.pageNo,
pageSize: this.pageSize
}
let _this = this
this.sendRequest({
url: 'xmgl/xzMaterial/page',
method: 'post',
data: data,
success: res => {
console.log(res);
this.dataList = res.result.records
if (res.result.records.length < this.pageSize) {
//
this.isLoadMore = true
this.loadStatus = 'nomore'
} else {
this.isLoadMore = false
// that.loadStatus='more'
}
uni.stopPullDownRefresh()
// console.log(res.result)
}
})
},
jobMaterials(id) {
uni.navigateTo({
url: './materials?itemS=' + id
})
}
}
}
</script>
<style lang="scss" scoped>
.projectList{
.projectList {
min-height: 100%;
background: #f4f5fd;
.uni-input {
border-radius: 10px;
margin: 10px 10px;
background-color: #e6e7ef;
height: 35px;
line-height: 30px;
padding: 0 20px;
font-size: 14px;
}
.ukashList{
height: 90px;
background-color: #fff;
margin: 10px 10px;
border-radius: 15px;
.ukashList-what{
display: flex;
justify-content: space-between;
margin: 0 20px;
padding-top: 10px;
.ukashList-look{
background-color: #5081f7;
border-radius: 10px;
padding: 0 4px;
font-size: 12px;
text-align: center;
color: #fff;
}
}
.ukashList-time{
margin-top: 20px;
margin-left: 20px;
font-size: 12px;
color: #b9bbc9;
}
}
}
.uni-input {
border-radius: 10px;
margin: 10px 10px;
background-color: #e6e7ef;
height: 35px;
line-height: 30px;
padding: 0 20px;
font-size: 14px;
}
.ukashList {
height: 90px;
background-color: #fff;
margin: 10px 10px;
border-radius: 15px;
.ukashList-what {
display: flex;
justify-content: space-between;
margin: 0 20px;
padding-top: 10px;
.ukashList-look {
background-color: #5081f7;
border-radius: 10px;
padding: 0 4px;
font-size: 12px;
text-align: center;
color: #fff;
}
}
.ukashList-time {
margin-top: 20px;
margin-left: 20px;
font-size: 12px;
color: #b9bbc9;
}
}
}
</style>