|
|
@@ -73,7 +73,10 @@
|
|
|
<button class="admin-button-com big blue" style="width:420upx;" @click="goBookCgChange()">待采记录</button>
|
|
|
</view>
|
|
|
<view style="margin-top:10upx;">
|
|
|
- <button class="admin-button-com big blue" style="width:420upx;" @click="getStock()">借库存</button>
|
|
|
+ <button class="admin-button-com big blue" style="width:420upx;" @click="loanStock()">借库存</button>
|
|
|
+ </view>
|
|
|
+ <view style="margin-top:10upx;">
|
|
|
+ <button class="admin-button-com big default" style="width:420upx;" @click="getStockDetail()">库存明细</button>
|
|
|
</view>
|
|
|
<view style="margin-top:10upx;">
|
|
|
<button class="admin-button-com big default" style="width:420upx;" @click="cancelAct()">取消</button>
|
|
|
@@ -234,10 +237,14 @@ export default {
|
|
|
this.$refs.actRef.close()
|
|
|
this.$util.pageTo({ url: "/admin/book/globalBookCgChange?itemId="+this.currentItem.itemId+'&itemName='+this.currentItem.name+'&id='+this.currentItem.id})
|
|
|
},
|
|
|
- getStock(){
|
|
|
+ loanStock(){
|
|
|
this.$refs.actRef.close()
|
|
|
this.$util.pageTo({ url: "/admin/item/loan?itemId="+this.currentItem.itemId})
|
|
|
},
|
|
|
+ getStockDetail(){
|
|
|
+ this.$refs.actRef.close()
|
|
|
+ this.$util.pageTo({ url: "/pagesStorehouse/stockWarn/detailed?id="+this.currentItem.itemId+'&name='+this.currentItem.name})
|
|
|
+ },
|
|
|
selectDateFn(val) {
|
|
|
this.params = {...this.params,...val}
|
|
|
this.init()
|