|
@@ -149,7 +149,14 @@
|
|
<a-col :span="6">
|
|
<a-col :span="6">
|
|
<div style="margin-top: 4px;text-align: right;">
|
|
<div style="margin-top: 4px;text-align: right;">
|
|
<!-- <a-button size="small" style="margin-left: 8px" id="chainTransferOutEdit-import-btn">导入明细</a-button> -->
|
|
<!-- <a-button size="small" style="margin-left: 8px" id="chainTransferOutEdit-import-btn">导入明细</a-button> -->
|
|
- <a-button size="small" type="danger" style="margin-left: 8px" @click.stop="handleDel('', 'all')" id="warehouseAllocationEdit-del-all-btn">清空列表</a-button>
|
|
|
|
|
|
+ <a-button
|
|
|
|
+ size="small"
|
|
|
|
+ type="danger"
|
|
|
|
+ style="margin-left: 8px"
|
|
|
|
+ @click.stop="handleDel('', 'all')"
|
|
|
|
+ ghost
|
|
|
|
+ :disabled="chooseLoadDataSource.length==0"
|
|
|
|
+ id="warehouseAllocationEdit-del-all-btn">清空列表</a-button>
|
|
</div>
|
|
</div>
|
|
</a-col>
|
|
</a-col>
|
|
</a-row>
|
|
</a-row>
|
|
@@ -251,6 +258,7 @@ export default {
|
|
productType: [],
|
|
productType: [],
|
|
warehousePutLocData: [], // 调入仓位 下拉数据
|
|
warehousePutLocData: [], // 调入仓位 下拉数据
|
|
warehouseOutLocData: [], // 调出仓位 下拉数据
|
|
warehouseOutLocData: [], // 调出仓位 下拉数据
|
|
|
|
+ chooseLoadDataSource: [],
|
|
// 加载数据方法 必须为 Promise 对象
|
|
// 加载数据方法 必须为 Promise 对象
|
|
loadData: parameter => {
|
|
loadData: parameter => {
|
|
this.disabled = true
|
|
this.disabled = true
|
|
@@ -282,6 +290,7 @@ export default {
|
|
data.list[i].allocationCost = data.list[i].totalAllocationCost / data.list[i].allocationQty
|
|
data.list[i].allocationCost = data.list[i].totalAllocationCost / data.list[i].allocationQty
|
|
}
|
|
}
|
|
this.chooseDisabled = false
|
|
this.chooseDisabled = false
|
|
|
|
+ this.chooseLoadDataSource = data.list
|
|
return data
|
|
return data
|
|
})
|
|
})
|
|
},
|
|
},
|