|
@@ -40,6 +40,15 @@
|
|
|
>删除</ws-button
|
|
|
>
|
|
|
</template>
|
|
|
+ <template slot="left">
|
|
|
+ <div style="margin-top: 20px">
|
|
|
+ <el-radio-group v-model="warehouseType" @change="changeradio" size="small">
|
|
|
+ <el-radio-button label="1" >自有库</el-radio-button>
|
|
|
+ <el-radio-button label="2" >临时库</el-radio-button>
|
|
|
+
|
|
|
+ </el-radio-group>
|
|
|
+ </div>
|
|
|
+ </template>
|
|
|
<template slot="right">
|
|
|
<ws-input
|
|
|
v-model="warehouseName"
|
|
@@ -217,7 +226,7 @@ export default {
|
|
|
searchTypeText: '未完成',
|
|
|
searchKeyWord: '',
|
|
|
contractType: 2,
|
|
|
- warehouseType: 1,
|
|
|
+ warehouseType: "1",
|
|
|
// 提交类型
|
|
|
submitType: true,
|
|
|
size: 10,
|
|
@@ -347,6 +356,9 @@ export default {
|
|
|
},
|
|
|
})
|
|
|
},
|
|
|
+ changeradio(e){
|
|
|
+ this.getList()
|
|
|
+ },
|
|
|
//查看
|
|
|
handleLook() {
|
|
|
this.$router.push({ path: 'warehouseManagementLook' })
|
|
@@ -398,14 +410,13 @@ export default {
|
|
|
this.getList()
|
|
|
},
|
|
|
getList() {
|
|
|
- getList({
|
|
|
+ getList({
|
|
|
compId: sessionStorage.getItem('ws-pf_compId'),
|
|
|
warehouseName: this.warehouseName,
|
|
|
warehouseType: this.warehouseType,
|
|
|
})
|
|
|
.toPromise()
|
|
|
.then((response) => {
|
|
|
- console.log(1111)
|
|
|
this.warehouseList = response
|
|
|
})
|
|
|
},
|