mirror of
https://gitee.com/java110/PropertyApp.git
synced 2026-02-24 05:46:09 +08:00
1、优化采购物品信息相关2、部分bug
This commit is contained in:
parent
b5f83acb3e
commit
c7b768f994
@ -3,11 +3,11 @@
|
|||||||
<view class="">
|
<view class="">
|
||||||
<checkbox-group @change="checkboxChange">
|
<checkbox-group @change="checkboxChange">
|
||||||
<view class="cu-list menu-avatar " v-for="(item,index) in resourceList" :key="index">
|
<view class="cu-list menu-avatar " v-for="(item,index) in resourceList" :key="index">
|
||||||
<view class="cu-item" style="height: 80rpx;">
|
<view class="cu-item">
|
||||||
<view>
|
<view>
|
||||||
<checkbox :value="item.resId" :checked="item.checked" />
|
<checkbox :value="item.resId" :checked="item.checked" />
|
||||||
</view>
|
</view>
|
||||||
<view class="content content-left">
|
<view class="content">
|
||||||
<view class="text-grey">
|
<view class="text-grey">
|
||||||
<text class="ellip">{{item.resName}}({{item.parentRstName}}>{{item.rstName}})</text>
|
<text class="ellip">{{item.resName}}({{item.parentRstName}}>{{item.rstName}})</text>
|
||||||
</view>
|
</view>
|
||||||
@ -16,6 +16,11 @@
|
|||||||
编码:{{item.resCode}}
|
编码:{{item.resCode}}
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
|
<view class="text-gray text-sm flex">
|
||||||
|
<view class="text-cut">
|
||||||
|
固定资产:{{item.isFixedName}}
|
||||||
|
</view>
|
||||||
|
</view>
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
@ -158,4 +163,11 @@
|
|||||||
.btn-box button{
|
.btn-box button{
|
||||||
width: 40%;
|
width: 40%;
|
||||||
}
|
}
|
||||||
|
.cu-list.menu-avatar>.cu-item .content{
|
||||||
|
left: 40rpx;
|
||||||
|
width: 80%;
|
||||||
|
}
|
||||||
|
.cu-list{
|
||||||
|
margin: 0;
|
||||||
|
}
|
||||||
</style>
|
</style>
|
||||||
|
|||||||
@ -18,7 +18,7 @@
|
|||||||
<view class="">
|
<view class="">
|
||||||
<checkbox-group @change="checkboxChange">
|
<checkbox-group @change="checkboxChange">
|
||||||
<view class="cu-list menu-avatar " v-for="(item,index) in resourceList" :key="index">
|
<view class="cu-list menu-avatar " v-for="(item,index) in resourceList" :key="index">
|
||||||
<view class="cu-item" style="height: 80rpx;">
|
<view class="cu-item">
|
||||||
<view>
|
<view>
|
||||||
<checkbox :value="item.resId" :checked="item.checked" />
|
<checkbox :value="item.resId" :checked="item.checked" />
|
||||||
</view>
|
</view>
|
||||||
@ -31,6 +31,11 @@
|
|||||||
仓库:{{item.shName}}
|
仓库:{{item.shName}}
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
|
<view class="text-gray text-sm flex">
|
||||||
|
<view class="text-cut">
|
||||||
|
固定资产:{{item.isFixedName}}
|
||||||
|
</view>
|
||||||
|
</view>
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
@ -231,4 +236,7 @@
|
|||||||
left: 40rpx;
|
left: 40rpx;
|
||||||
width: 80%;
|
width: 80%;
|
||||||
}
|
}
|
||||||
|
.cu-list{
|
||||||
|
margin: 0;
|
||||||
|
}
|
||||||
</style>
|
</style>
|
||||||
|
|||||||
@ -213,7 +213,8 @@
|
|||||||
page: 1,
|
page: 1,
|
||||||
row: 100,
|
row: 100,
|
||||||
communityId: getCurrentCommunity().communityId,
|
communityId: getCurrentCommunity().communityId,
|
||||||
giveType: 1
|
giveType: 1,
|
||||||
|
flag: 1
|
||||||
};
|
};
|
||||||
queryResourceStoreResName(this, _data)
|
queryResourceStoreResName(this, _data)
|
||||||
.then(function(res) {
|
.then(function(res) {
|
||||||
|
|||||||
@ -134,14 +134,12 @@
|
|||||||
if (res.confirm) {
|
if (res.confirm) {
|
||||||
deleteAllocationStorehouse(_that,item)
|
deleteAllocationStorehouse(_that,item)
|
||||||
.then(function(res){
|
.then(function(res){
|
||||||
if(res.code == 0){
|
uni.showToast({
|
||||||
uni.showToast({
|
title: res.msg
|
||||||
title: res.msg
|
})
|
||||||
})
|
_that.page = 1;
|
||||||
_that.page = 1;
|
_that.applyList = [];
|
||||||
_that.applyList = [];
|
_that.loadApply();
|
||||||
_that.loadApply();
|
|
||||||
}
|
|
||||||
})
|
})
|
||||||
} else if (res.cancel) {
|
} else if (res.cancel) {
|
||||||
console.log('cancel')
|
console.log('cancel')
|
||||||
|
|||||||
@ -4,7 +4,7 @@
|
|||||||
<view class="cu-item arrow" @click="showApplyRoomRecord()">
|
<view class="cu-item arrow" @click="showApplyRoomRecord()">
|
||||||
<view class="content">
|
<view class="content">
|
||||||
<text class="cuIcon-time text-green"></text>
|
<text class="cuIcon-time text-green"></text>
|
||||||
<text class="text-grey">装修跟踪记录</text>
|
<text class="text-grey">空置房跟踪记录</text>
|
||||||
</view>
|
</view>
|
||||||
<view class="action">
|
<view class="action">
|
||||||
<text class="text-grey text-sm">查看</text>
|
<text class="text-grey text-sm">查看</text>
|
||||||
|
|||||||
@ -135,14 +135,12 @@
|
|||||||
if (res.confirm) {
|
if (res.confirm) {
|
||||||
deletePurchaseApply(_that,item)
|
deletePurchaseApply(_that,item)
|
||||||
.then(function(res){
|
.then(function(res){
|
||||||
if(res.code == 0){
|
uni.showToast({
|
||||||
uni.showToast({
|
title: res.msg
|
||||||
title: res.msg
|
})
|
||||||
})
|
_that.page = 1;
|
||||||
_that.page = 1;
|
_that.applyList = [];
|
||||||
_that.applyList = [];
|
_that.loadApply();
|
||||||
_that.loadApply();
|
|
||||||
}
|
|
||||||
})
|
})
|
||||||
} else if (res.cancel) {
|
} else if (res.cancel) {
|
||||||
console.log('cancel')
|
console.log('cancel')
|
||||||
|
|||||||
@ -103,7 +103,7 @@
|
|||||||
<view class="resource-item text-grey" v-for="(item, index) in applyInfo.purchaseApplyDetailVo">
|
<view class="resource-item text-grey" v-for="(item, index) in applyInfo.purchaseApplyDetailVo">
|
||||||
<view class="row">
|
<view class="row">
|
||||||
<view class="item-t">{{item.resName}}</view>
|
<view class="item-t">{{item.resName}}</view>
|
||||||
<view class="item-t">{{item.price}}</view>
|
<view class="item-t">{{item.price}}元/{{item.unitCodeName}}</view>
|
||||||
<view class="item-t">{{item.quantity}}{{item.unitCodeName}}</view>
|
<view class="item-t">{{item.quantity}}{{item.unitCodeName}}</view>
|
||||||
<view class="item-t" v-if="applyInfo.resOrderType==10000">{{item.purchasePrice ? item.purchasePrice : '-'}}</view>
|
<view class="item-t" v-if="applyInfo.resOrderType==10000">{{item.purchasePrice ? item.purchasePrice : '-'}}</view>
|
||||||
<view class="item-t">{{item.purchaseQuantity ? item.purchaseQuantity + item.unitCodeName : '-'}}</view>
|
<view class="item-t">{{item.purchaseQuantity ? item.purchaseQuantity + item.unitCodeName : '-'}}</view>
|
||||||
@ -203,5 +203,6 @@
|
|||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
display: inline-block;
|
display: inline-block;
|
||||||
text-align: center;
|
text-align: center;
|
||||||
|
line-height: 30rpx;
|
||||||
}
|
}
|
||||||
</style>
|
</style>
|
||||||
|
|||||||
@ -146,14 +146,12 @@
|
|||||||
if (res.confirm) {
|
if (res.confirm) {
|
||||||
deletePurchaseApply(_that,item)
|
deletePurchaseApply(_that,item)
|
||||||
.then(function(res){
|
.then(function(res){
|
||||||
if(res.code == 0){
|
uni.showToast({
|
||||||
uni.showToast({
|
title: res.msg
|
||||||
title: res.msg
|
})
|
||||||
})
|
_that.page = 1;
|
||||||
_that.page = 1;
|
_that.applyList = [];
|
||||||
_that.applyList = [];
|
_that.loadApply();
|
||||||
_that.loadApply();
|
|
||||||
}
|
|
||||||
})
|
})
|
||||||
} else if (res.cancel) {
|
} else if (res.cancel) {
|
||||||
console.log('cancel')
|
console.log('cancel')
|
||||||
|
|||||||
@ -39,6 +39,11 @@
|
|||||||
最小计量总数:{{item.miniStock}}{{item.miniUnitCodeName}}
|
最小计量总数:{{item.miniStock}}{{item.miniUnitCodeName}}
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
|
<view class="text-gray text-sm flex">
|
||||||
|
<view class="text-cut">
|
||||||
|
固定资产:{{item.isFixedName}}
|
||||||
|
</view>
|
||||||
|
</view>
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
@ -155,12 +160,16 @@
|
|||||||
</script>
|
</script>
|
||||||
|
|
||||||
<style>
|
<style>
|
||||||
|
.cu-list.menu-avatar>.cu-item{
|
||||||
|
height: auto;
|
||||||
|
}
|
||||||
.cu-list+.cu-list {
|
.cu-list+.cu-list {
|
||||||
margin-top: 20upx;
|
margin-top: 20upx;
|
||||||
}
|
}
|
||||||
|
|
||||||
.cu-list.menu-avatar>.cu-item .content{
|
.cu-list.menu-avatar>.cu-item .content{
|
||||||
left: 20rpx;
|
position: static;
|
||||||
|
margin-left: 20upx;
|
||||||
width: 100%;
|
width: 100%;
|
||||||
}
|
}
|
||||||
</style>
|
</style>
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user