@@ -10,7 +10,8 @@
<el-button type="primary" size="mini" v-if="lineDisable" @click="reloadBatch">重取批量</el-button>
</div>
- <el-table
+ <el-table
+ v-loading="loading"
:data="tableList"
fit
:cell-style="{ borderColor: '#c0c0c0' }"
@@ -170,6 +171,7 @@ export default {
},
data() {
return{
+ loading: true,
hangStatus(row) {
switch (row.status) {
case '0':
@@ -261,6 +263,10 @@ export default {
if (res.code === 200) {
this.tableList = res.data
}
+ }).then(() => {
+ this.loading = false
+ }).catch(err => {
})
editLine() {
@@ -219,7 +219,8 @@
<!-- <el-button type="primary" size="mini">转请购</el-button> -->
@@ -371,6 +372,7 @@ export default {
return {
showColumn: {},
arrs:[],
tols: {
@@ -571,6 +573,12 @@ export default {
this.arrs = arrs
console.log('获取表头数据', arrs)
+ // 合计不显示重绘
+ this.$refs.table.doLayout()
handleSelectionChange(selection) {
@@ -167,6 +167,7 @@
<el-table
v-myscroll
:data="basicForm.puDemandItemList.slice(0, over)"
@@ -538,6 +539,7 @@ export default {
// 不能直接改变props传来的值
sonPageStu: this.pageStu,
sonDisable: this.disable,
@@ -999,6 +1001,10 @@ export default {
this.isBDXQ = false
@@ -159,7 +159,8 @@
<!-- <el-button type="primary" size="mini">打印</el-button> -->
@@ -310,6 +311,7 @@ export default {
dicts: ['sys_processing_mode', 'sys_status', 'sys_bill_source', 'sys_business', 'sys_reserve_ratio', 'sys_period_unit', 'sys_price_type'],
// 导入参数
upload: {
// 是否显示弹出层(导入)
@@ -457,6 +459,10 @@ export default {
this.tableList = res.rows
this.total = res.total
@@ -285,6 +285,7 @@
:data="materialInfo"
border
@@ -1423,6 +1424,7 @@ export default {
@@ -1764,7 +1766,11 @@ export default {
// 控制先选调出库存组织和调入库存组织再选调出部门和调入调出仓库
this.controlCk();
- });
+ })
// 回显参照框
reBackRefer(type, id, title) {
@@ -69,6 +69,7 @@
@@ -336,6 +337,7 @@ export default {
expanded: false,
// 页面配置
isList: true,
@@ -460,6 +462,12 @@ export default {
this.materialInfo = res.rows[0].stAllotMaterialList
+ this.$refs.multipleTable.doLayout()
addOrder() {