|
@@ -27,6 +27,13 @@
|
|
</el-select>
|
|
</el-select>
|
|
<span style="width:100px" v-if="warehouseName && goodsName">{{reserves?reserves:0}}吨</span>
|
|
<span style="width:100px" v-if="warehouseName && goodsName">{{reserves?reserves:0}}吨</span>
|
|
</div>
|
|
</div>
|
|
|
|
+ <div style='width:50%;margin-right:10px;display: flex;'>
|
|
|
|
+ <el-select v-model="weightGreater" filterable placeholder="" @change="weightGreaterChange"
|
|
|
|
+ style="margin: 0 10px">
|
|
|
|
+ <el-option key="全部重量" label="全部重量" value="" style="color: #8890b1" />
|
|
|
|
+ <el-option key="剩余重量大于0" label="剩余重量大于0" value="1" style="color: #8890b1" />
|
|
|
|
+ </el-select>
|
|
|
|
+ </div>
|
|
</template>
|
|
</template>
|
|
<template slot="right">
|
|
<template slot="right">
|
|
<ws-input @keyup.enter.native="find()" class='findValue' v-model="searchKeyWord" placeholder="可按货源查找" clearable
|
|
<ws-input @keyup.enter.native="find()" class='findValue' v-model="searchKeyWord" placeholder="可按货源查找" clearable
|
|
@@ -549,6 +556,7 @@ export default {
|
|
rejectshow:false,
|
|
rejectshow:false,
|
|
options: [],
|
|
options: [],
|
|
textarea: '',
|
|
textarea: '',
|
|
|
|
+ weightGreater:'',
|
|
dialogVisiblecontent: false,
|
|
dialogVisiblecontent: false,
|
|
// 船舶类型
|
|
// 船舶类型
|
|
monetaryKey: null,
|
|
monetaryKey: null,
|
|
@@ -699,6 +707,9 @@ export default {
|
|
this.showType = this.isShow
|
|
this.showType = this.isShow
|
|
},
|
|
},
|
|
methods: {
|
|
methods: {
|
|
|
|
+ weightGreaterChange(e){
|
|
|
|
+ this.getList()
|
|
|
|
+ },
|
|
getSummaries(param) {
|
|
getSummaries(param) {
|
|
const { columns, data } = param;
|
|
const { columns, data } = param;
|
|
const sums = [];
|
|
const sums = [];
|
|
@@ -750,7 +761,6 @@ export default {
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
-
|
|
|
|
//
|
|
//
|
|
}
|
|
}
|
|
}
|
|
}
|
|
@@ -765,8 +775,13 @@ export default {
|
|
this.getList()
|
|
this.getList()
|
|
},
|
|
},
|
|
goodsNameChange(e){
|
|
goodsNameChange(e){
|
|
|
|
+ if (e == '全部货名' || e == '') {
|
|
|
|
+ this.goodsName = ''
|
|
|
|
+ this.reserves = ''
|
|
|
|
+ }else{
|
|
this.goodsName = this.goodsList[e].goodsName
|
|
this.goodsName = this.goodsList[e].goodsName
|
|
this.reserves = this.goodsList[e].storage
|
|
this.reserves = this.goodsList[e].storage
|
|
|
|
+ }
|
|
this.multipleSelection1={}
|
|
this.multipleSelection1={}
|
|
this.getList()
|
|
this.getList()
|
|
},
|
|
},
|
|
@@ -1830,7 +1845,8 @@ export default {
|
|
baseId: this.baseId,
|
|
baseId: this.baseId,
|
|
searchType: this.searchType,
|
|
searchType: this.searchType,
|
|
searchKeyWord: this.searchKeyWord,
|
|
searchKeyWord: this.searchKeyWord,
|
|
- goodsName:this.goodsName
|
|
|
|
|
|
+ goodsName:this.goodsName,
|
|
|
|
+ weightGreater:this.weightGreater
|
|
})
|
|
})
|
|
.toPromise()
|
|
.toPromise()
|
|
.then((response) => {
|
|
.then((response) => {
|