|
@@ -112,6 +112,7 @@
|
|
|
:columns="chooseColumns"
|
|
|
:dataSource="chooseLoadData"
|
|
|
:scroll="{ x: 1335, y: 300 }"
|
|
|
+ :loading="loading"
|
|
|
:pagination="choosePaginationProps"
|
|
|
bordered>
|
|
|
<!-- 调出数量 -->
|
|
@@ -170,6 +171,7 @@ export default {
|
|
|
productName: ''
|
|
|
},
|
|
|
disabled: false, // 查询、重置按钮是否可操作
|
|
|
+ loading: false,
|
|
|
chooseDisabled: false, // 查询、重置按钮是否可操作
|
|
|
advanced: false, // 高级搜索 展开/关闭
|
|
|
productBrandList: [], // 产品品牌 下拉数据
|
|
@@ -367,12 +369,14 @@ export default {
|
|
|
getChooseProductList (pageNo) {
|
|
|
this.choosePageNo = this.choosePageNo || pageNo
|
|
|
this.chooseDisabled = true
|
|
|
+ this.loading = true
|
|
|
const params = {
|
|
|
pageNo: this.choosePageNo,
|
|
|
pageSize: this.choosePageSize,
|
|
|
allocateSn: this.$route.params.sn
|
|
|
}
|
|
|
allocateBillDetailList(Object.assign(params, this.chooseQueryParam)).then(res => {
|
|
|
+ this.loading = false
|
|
|
if (res.status == 200) {
|
|
|
// 合计
|
|
|
this.getDetailCount(Object.assign(params, this.chooseQueryParam))
|