更新
This commit is contained in:
@@ -56,6 +56,7 @@
|
||||
</template>
|
||||
</el-table-column>
|
||||
</el-table>
|
||||
<div>共{{ totallength }}条信息,选择{{ length }}条</div>
|
||||
<span v-show="false">仓库名称:</span>
|
||||
<el-select v-show="false" v-model="inventoryNumber" style="width: 200px" filterable size="small" placeholder="仓库名称" @change="getLocate">
|
||||
<el-option
|
||||
@@ -106,7 +107,9 @@ export default {
|
||||
inventoryName: [], // 仓库名称
|
||||
locateNumber: '',
|
||||
locateName: [],
|
||||
table1: []
|
||||
table1: [],
|
||||
length: 0,
|
||||
totallength: 0
|
||||
}
|
||||
},
|
||||
created() {
|
||||
@@ -313,6 +316,7 @@ export default {
|
||||
return v
|
||||
})
|
||||
this.table1 = res.data
|
||||
this.totallength = res.data.length
|
||||
// res.data.map(v => {
|
||||
// this.table1.push({
|
||||
// 合同编号: v.合同编号,
|
||||
@@ -344,6 +348,7 @@ export default {
|
||||
if (!res.data[i].物料型号) { res.data[i].物料型号 = '' }
|
||||
}
|
||||
this.table1 = res.data
|
||||
this.totallength = res.data.length
|
||||
} else if (this.TypeValue === 4) {
|
||||
if (this.contractValue) { this.contractValue_check = 1 } else { this.contractValue_check = 0 }
|
||||
const param = {
|
||||
@@ -361,6 +366,7 @@ export default {
|
||||
return v
|
||||
})
|
||||
this.table1 = res.data
|
||||
this.totallength = res.data.length
|
||||
}
|
||||
},
|
||||
// 合同类型变更
|
||||
@@ -375,6 +381,7 @@ export default {
|
||||
// 多选
|
||||
handleSelectionChange(val) {
|
||||
this.multipleSelection = val
|
||||
this.length = val.length
|
||||
},
|
||||
// 明细可选
|
||||
selectable(row) {
|
||||
|
||||
Reference in New Issue
Block a user