fix bug
This commit is contained in:
@@ -13,17 +13,17 @@
|
|||||||
<el-card>
|
<el-card>
|
||||||
<el-table v-loading="listLoading" :data="tableDataBasic" size="mini" border style="width: 100%;" height="440">
|
<el-table v-loading="listLoading" :data="tableDataBasic" size="mini" border style="width: 100%;" height="440">
|
||||||
<el-table-column label="序号" align="center" type="index" width="50"/>
|
<el-table-column label="序号" align="center" type="index" width="50"/>
|
||||||
<el-table-column label="物料名称" align="center" min-width="80">
|
<el-table-column label="物料名称" align="center" min-width="120">
|
||||||
<template slot-scope="scope">
|
<template slot-scope="scope">
|
||||||
{{ scope.row.物料名称 }}
|
{{ scope.row.物料名称 }}
|
||||||
</template>
|
</template>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<el-table-column label="物料型号" align="center" min-width="80">
|
<el-table-column label="物料型号" align="center" min-width="120">
|
||||||
<template slot-scope="scope">
|
<template slot-scope="scope">
|
||||||
{{ scope.row.物料型号 }}
|
{{ scope.row.物料型号 }}
|
||||||
</template>
|
</template>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<el-table-column label="物料规格" align="center" min-width="80">
|
<el-table-column label="物料规格" align="center" min-width="120">
|
||||||
<template slot-scope="scope">
|
<template slot-scope="scope">
|
||||||
{{ scope.row.物料规格 }}
|
{{ scope.row.物料规格 }}
|
||||||
</template>
|
</template>
|
||||||
@@ -43,8 +43,9 @@
|
|||||||
{{ scope.row.货位存量 }}
|
{{ scope.row.货位存量 }}
|
||||||
</template>
|
</template>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<el-table-column label="操作" align="center" width="100">
|
<el-table-column label="操作" align="center" width="250">
|
||||||
<template slot-scope="scope" align="center">
|
<template slot-scope="scope" align="center">
|
||||||
|
<el-button size="mini" type="success" icon="el-icon-search" @click="searchoutRecord(scope.row)">查看领用情况</el-button>
|
||||||
<el-button :disabled="Number(scope.row.货位存量)===0" size="mini" type="primary" icon="el-icon-sort-up" @click="parOut(scope.row)">出库</el-button>
|
<el-button :disabled="Number(scope.row.货位存量)===0" size="mini" type="primary" icon="el-icon-sort-up" @click="parOut(scope.row)">出库</el-button>
|
||||||
</template>
|
</template>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
@@ -63,7 +64,7 @@
|
|||||||
</el-card>
|
</el-card>
|
||||||
|
|
||||||
<el-card>
|
<el-card>
|
||||||
<el-table v-loading="listLoading1" :data="tableDataOut" size="mini" border style="width: 100%;" height="350">
|
<el-table v-loading="listLoading1" :data="tableDataOut" size="mini" border style="width: 100%;" height="250">
|
||||||
<el-table-column label="序号" align="center" type="index" width="50"/>
|
<el-table-column label="序号" align="center" type="index" width="50"/>
|
||||||
<el-table-column label="项目名称" align="center" min-width="80">
|
<el-table-column label="项目名称" align="center" min-width="80">
|
||||||
<template slot-scope="scope">
|
<template slot-scope="scope">
|
||||||
@@ -85,6 +86,16 @@
|
|||||||
{{ scope.row.物料名称 }}
|
{{ scope.row.物料名称 }}
|
||||||
</template>
|
</template>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
|
<el-table-column label="物料规格" align="center" min-width="80">
|
||||||
|
<template slot-scope="scope">
|
||||||
|
{{ scope.row.物料规格 }}
|
||||||
|
</template>
|
||||||
|
</el-table-column>
|
||||||
|
<el-table-column label="物料型号" align="center" min-width="80">
|
||||||
|
<template slot-scope="scope">
|
||||||
|
{{ scope.row.物料型号 }}
|
||||||
|
</template>
|
||||||
|
</el-table-column>
|
||||||
<el-table-column label="出库数量" align="center" min-width="80">
|
<el-table-column label="出库数量" align="center" min-width="80">
|
||||||
<template slot-scope="scope">
|
<template slot-scope="scope">
|
||||||
{{ scope.row.出库数量 }}
|
{{ scope.row.出库数量 }}
|
||||||
@@ -273,6 +284,15 @@ export default {
|
|||||||
this.pageCurrent1 = val
|
this.pageCurrent1 = val
|
||||||
this.searchTable1()
|
this.searchTable1()
|
||||||
},
|
},
|
||||||
|
// 离线记录查询
|
||||||
|
searchoutRecord(row) {
|
||||||
|
this.contractNumber = row.离线合同明细流水号
|
||||||
|
this.listLoading1 = true
|
||||||
|
outRecord(this.contractNumber).then(response => {
|
||||||
|
this.tableDataOut = response.data
|
||||||
|
this.listLoading1 = false
|
||||||
|
})
|
||||||
|
},
|
||||||
// 打开表单
|
// 打开表单
|
||||||
parOut(row) {
|
parOut(row) {
|
||||||
this.form = {}
|
this.form = {}
|
||||||
|
|||||||
Reference in New Issue
Block a user