|
@@ -102,7 +102,7 @@
|
|
|
</el-dropdown-menu>
|
|
|
</el-dropdown>
|
|
|
<el-button style="margin-left: 0" type="success" size="small"
|
|
|
- :disabled="option.disabled || (selectionList.findIndex(function(item){return item.status !== '空箱入场' && item.stockpilingStatus == '1'}) == -1?false:true) || selectionList.length === 0"
|
|
|
+ :disabled="option.disabled || storeUp || selectionList.length === 0"
|
|
|
@click="stockpiling()">堆存
|
|
|
</el-button>
|
|
|
</template>
|
|
@@ -317,6 +317,7 @@ export default {
|
|
|
key: 0,
|
|
|
importList: [],
|
|
|
title: '',
|
|
|
+ storeUp:true,
|
|
|
loading: false,
|
|
|
disabledVisible: false,
|
|
|
boxTrack: false,
|
|
@@ -1090,6 +1091,13 @@ export default {
|
|
|
},
|
|
|
selectionChange(list) {
|
|
|
this.selectionList = list
|
|
|
+ for (let item of list){
|
|
|
+ if (item.status == '空箱入场' && item.stockpilingStatus == '1'){
|
|
|
+ this.storeUp = false
|
|
|
+ }else {
|
|
|
+ return this.storeUp = true
|
|
|
+ }
|
|
|
+ }
|
|
|
},
|
|
|
track(row) {
|
|
|
// this.dataTrackList = row
|