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