|
@ -41,15 +41,15 @@ |
|
|
</view> |
|
|
</view> |
|
|
</view> |
|
|
</view> |
|
|
<view class='split_line'></view> |
|
|
<view class='split_line'></view> |
|
|
<view class="uni-flex uni-row space-between padding title u-col-center"> |
|
|
<view class="uni-flex uni-row space-between padding title u-col-center" v-if="queryBalance"> |
|
|
<text>库存数量 : </text> |
|
|
<text>库存数量 : </text> |
|
|
<view class="uni-flex uni-row uni-center" style="align-items: center;"> |
|
|
<view class="uni-flex uni-row uni-center" style="align-items: center;"> |
|
|
<text class="text_recommend">{{Number(dataContent.balanceQty)}}</text> |
|
|
<text class="text_recommend">{{Number(dataContent.balanceQty)}}</text> |
|
|
<uom :uom="dataContent.uom"></uom> |
|
|
<uom :uom="dataContent.uom"></uom> |
|
|
</view> |
|
|
</view> |
|
|
</view> |
|
|
</view> |
|
|
<view class='split_line'></view> |
|
|
<view class='split_line' v-if="queryBalance"></view> |
|
|
<view v-if="isShowStatus" class="uni-flex uni-row space-between title u-col-center" |
|
|
<view v-if="isShowStatus&&queryBalance" class="uni-flex uni-row space-between title u-col-center" |
|
|
style="padding-left: 30rpx;"> |
|
|
style="padding-left: 30rpx;"> |
|
|
<text>库存状态 : </text> |
|
|
<text>库存状态 : </text> |
|
|
<view class="uni-flex uni-row uni-center" style="align-items: center;"> |
|
|
<view class="uni-flex uni-row uni-center" style="align-items: center;"> |
|
@ -58,7 +58,7 @@ |
|
|
</balanceStatus> |
|
|
</balanceStatus> |
|
|
</view> |
|
|
</view> |
|
|
</view> |
|
|
</view> |
|
|
<view class='split_line'></view> |
|
|
<view class='split_line' v-if="queryBalance"></view> |
|
|
</view> |
|
|
</view> |
|
|
</view> |
|
|
</view> |
|
|
</view> |
|
|
</view> |
|
@ -115,6 +115,10 @@ |
|
|
allowEditStatus: { |
|
|
allowEditStatus: { |
|
|
type: Boolean, |
|
|
type: Boolean, |
|
|
default: false |
|
|
default: false |
|
|
|
|
|
}, |
|
|
|
|
|
queryBalance: { |
|
|
|
|
|
type: Boolean, |
|
|
|
|
|
default: true |
|
|
} |
|
|
} |
|
|
}, |
|
|
}, |
|
|
watch:{ |
|
|
watch:{ |
|
@ -145,10 +149,13 @@ |
|
|
} |
|
|
} |
|
|
}, |
|
|
}, |
|
|
openEditPopup(item, handleQty) { |
|
|
openEditPopup(item, handleQty) { |
|
|
this.dataContent = item |
|
|
|
|
|
this.inventoryStatus = this.dataContent.inventoryStatus |
|
|
if(item){ |
|
|
this.originalInventoryStatus =this.dataContent.inventoryStatus; |
|
|
this.dataContent = item |
|
|
this.toInventoryStatus = this.dataContent.toInventoryStatus |
|
|
this.inventoryStatus = this.dataContent.inventoryStatus |
|
|
|
|
|
this.originalInventoryStatus =this.dataContent.inventoryStatus; |
|
|
|
|
|
this.toInventoryStatus = this.dataContent.toInventoryStatus |
|
|
|
|
|
} |
|
|
this.allQty = handleQty |
|
|
this.allQty = handleQty |
|
|
setTimeout(res => { |
|
|
setTimeout(res => { |
|
|
this.$refs.popup.open('bottom') |
|
|
this.$refs.popup.open('bottom') |
|
|