Browse Source

计划订单库存对比

szdq
wangxy 3 years ago
parent
commit
deabe72faa
1 changed files with 4 additions and 4 deletions
  1. +4
    -4
      src/views/plan/workbench/orderInventoryCom/top.vue

+ 4
- 4
src/views/plan/workbench/orderInventoryCom/top.vue View File

@ -67,7 +67,7 @@ export default {
loading: false,
tableData: [],
headers: [],
mergeNum: 0,
mergeNum: 0, //
childData: {},
}
},
@ -78,7 +78,7 @@ export default {
methods: {
//
objectSpanMethod({ row, column, rowIndex, columnIndex }) {
if (columnIndex === 0 || columnIndex === 1 || columnIndex === 2 || columnIndex === 3) {
if (columnIndex < 4) {
if (rowIndex % (this.mergeNum) === 0) {
return {
rowspan: this.mergeNum,
@ -117,7 +117,7 @@ export default {
this.headers = data['Contrast-Title']
}
this.childData.artArray = data['Contrast-Article'] || []
this.childData.paymentClick = 1
this.childData.paymentClick = 1 // 1
this.$emit('getArtArray', this.childData)
}
}).catch(() => {
@ -130,7 +130,7 @@ export default {
},
//
balancePaymentClick() {
this.childData.paymentClick = 2
this.childData.paymentClick = 2 // 2
this.$emit('getArtArray', this.childData)
},
},


Loading…
Cancel
Save