|
@@ -1,4 +1,4 @@
|
|
|
-<!--出入库任务-->
|
|
|
+<!--库存盘点-->
|
|
|
<template>
|
|
|
<div class="container">
|
|
|
<BaseHeaderLayout :leftSpan="16">
|
|
@@ -307,6 +307,7 @@
|
|
|
historyList: [],
|
|
|
aduitshow:false,
|
|
|
goodsName:'0',
|
|
|
+ reserves:'',
|
|
|
pickerBeginDateBefore: {
|
|
|
disabledDate: (time) => {
|
|
|
return time.getTime() > Date.now()
|
|
@@ -338,6 +339,18 @@
|
|
|
this.currentPage=1
|
|
|
this.searchType = status
|
|
|
this.getList()
|
|
|
+ },
|
|
|
+ goodsNameChange(e){
|
|
|
+ console.log(e,1111111111)
|
|
|
+ if (e == '全部货名' || e == '0') {
|
|
|
+ this.goodsName = '0'
|
|
|
+ this.reserves = ''
|
|
|
+ }else{
|
|
|
+ this.goodsName = this.goodsList[e-1].goodsName
|
|
|
+ this.reserves = this.goodsList[e-1].storage
|
|
|
+ }
|
|
|
+ this.multipleSelection1={}
|
|
|
+ this.getList()
|
|
|
},
|
|
|
warehousefocus() {
|
|
|
getposition({ baseId: this.form.baseId, flag: 1 }).toPromise()
|
|
@@ -477,8 +490,8 @@
|
|
|
}
|
|
|
},
|
|
|
lose(ware){
|
|
|
+ console.log(localStorage.getItem('ws-pf_roleName'))
|
|
|
if(localStorage.getItem('ws-pf_roleName')=='销售内勤'||localStorage.getItem('ws-pf_roleName')=='采购内勤'){
|
|
|
- console.log(this.multipleSelection[ware.id])
|
|
|
if(this.multipleSelection[ware.id]){
|
|
|
this.form.baseId=ware.baseId
|
|
|
this.form.goodsName=this.multipleSelection[ware.id].goodsName
|