|
@ -47,7 +47,7 @@ export const tableMixins = { |
|
|
getPageList(this.PageListParams, this.URL).then(res => { |
|
|
getPageList(this.PageListParams, this.URL).then(res => { |
|
|
this.tableData = res.items |
|
|
this.tableData = res.items |
|
|
this.totalCount = res.totalCount |
|
|
this.totalCount = res.totalCount |
|
|
this.getSupplierByCodesHandle_table() |
|
|
this.pagingCallback() |
|
|
}).catch(err => { |
|
|
}).catch(err => { |
|
|
this.Loading.tableLoading = false |
|
|
this.Loading.tableLoading = false |
|
|
}) |
|
|
}) |
|
@ -101,7 +101,7 @@ export const tableMixins = { |
|
|
} else { |
|
|
} else { |
|
|
this.propsData = res |
|
|
this.propsData = res |
|
|
} |
|
|
} |
|
|
this.getSupplierByCodesHandle_props() |
|
|
this.inlineDialogCallback() |
|
|
}).catch(err => { |
|
|
}).catch(err => { |
|
|
this.Loading.DrawerLoading = false |
|
|
this.Loading.DrawerLoading = false |
|
|
}) |
|
|
}) |
|
@ -136,8 +136,6 @@ export const tableMixins = { |
|
|
}, |
|
|
}, |
|
|
// 获取供应商信息过滤tableData
|
|
|
// 获取供应商信息过滤tableData
|
|
|
getSupplierByCodesHandle_table() { |
|
|
getSupplierByCodesHandle_table() { |
|
|
this.Loading.tableLoading = false |
|
|
|
|
|
return |
|
|
|
|
|
for(let i=0;i<this.tableColumns.length;i++){ |
|
|
for(let i=0;i<this.tableColumns.length;i++){ |
|
|
if(this.tableColumns[i].prop == 'supplierName' || this.tableColumns[i].prop == "supplierAddress"){ |
|
|
if(this.tableColumns[i].prop == 'supplierName' || this.tableColumns[i].prop == "supplierAddress"){ |
|
|
let _allSuCode = [] |
|
|
let _allSuCode = [] |
|
@ -175,8 +173,6 @@ export const tableMixins = { |
|
|
}, |
|
|
}, |
|
|
// 获取供应商信息过滤propsData
|
|
|
// 获取供应商信息过滤propsData
|
|
|
getSupplierByCodesHandle_props() { |
|
|
getSupplierByCodesHandle_props() { |
|
|
this.Loading.DrawerLoading = false |
|
|
|
|
|
return |
|
|
|
|
|
for(let i=0;i<this.tabsDesTions.length;i++){ |
|
|
for(let i=0;i<this.tabsDesTions.length;i++){ |
|
|
if(!this.propsData.supplierCode){ |
|
|
if(!this.propsData.supplierCode){ |
|
|
this.Loading.DrawerLoading = false |
|
|
this.Loading.DrawerLoading = false |
|
@ -248,6 +244,16 @@ export const tableMixins = { |
|
|
this.Loading.appMainLoading = false |
|
|
this.Loading.appMainLoading = false |
|
|
}); |
|
|
}); |
|
|
} |
|
|
} |
|
|
|
|
|
}, |
|
|
|
|
|
// 主列表更新后全局通用操作
|
|
|
|
|
|
pagingCallback(){ |
|
|
|
|
|
this.Loading.tableLoading = false |
|
|
|
|
|
// this.getSupplierByCodesHandle_table()
|
|
|
|
|
|
}, |
|
|
|
|
|
// 点击抽屉,获取明细后全局通用操作
|
|
|
|
|
|
inlineDialogCallback(){ |
|
|
|
|
|
this.Loading.DrawerLoading = false |
|
|
|
|
|
// this.getSupplierByCodesHandle_props()
|
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|