|
|
@ -173,17 +173,19 @@ |
|
|
|
</view> |
|
|
|
</view> |
|
|
|
|
|
|
|
<!-- <view class="card specs"> |
|
|
|
<view class="title_mast">规格</view> |
|
|
|
<view style="display:flex;"> |
|
|
|
<view class="card specs"> |
|
|
|
<view class="title_mast"> |
|
|
|
<text>规格</text> <text></text> |
|
|
|
</view> |
|
|
|
<!-- <view style="display:flex;"> |
|
|
|
<view class="select"> |
|
|
|
<text>请添加规格</text> |
|
|
|
<text class="plant-youbian"/> |
|
|
|
</view> |
|
|
|
<text class="plant-xinjian">新建</text> |
|
|
|
</view> |
|
|
|
</view> --> |
|
|
|
<view class="tip">库存:2袋(200kg)</view> |
|
|
|
</view> --> |
|
|
|
</view> |
|
|
|
|
|
|
|
<view class="card purchase"> |
|
|
|
<view class="title_mast">{{({out:"出",in:"入"})[mode]}}库数量</view> |
|
|
@ -217,9 +219,13 @@ export default{ |
|
|
|
return{ |
|
|
|
mode:"", |
|
|
|
stockList:[], |
|
|
|
eventChannel:null, |
|
|
|
detail:{}, |
|
|
|
} |
|
|
|
}, |
|
|
|
onLoad(options){ |
|
|
|
this.eventChannel=this.getOpenerEventChannel() |
|
|
|
this.eventChannel.on("detail", e=>this.detail=e) |
|
|
|
this.mode=options.mode |
|
|
|
uni.setNavigationBarTitle({ |
|
|
|
title:({out:"出库",in:"入库列表"})[this.mode] |
|
|
|