This commit is contained in:
liushuai
2020-05-07 18:18:07 +08:00
parent 29ea4df094
commit 6a042c61bc
11 changed files with 403 additions and 203 deletions

View File

@@ -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) {