自制件出库
This commit is contained in:
10
src/main.js
10
src/main.js
@@ -63,3 +63,13 @@ new Vue({
|
|||||||
store,
|
store,
|
||||||
render: h => h(App)
|
render: h => h(App)
|
||||||
})
|
})
|
||||||
|
|
||||||
|
import request from '@/utils/request'
|
||||||
|
export function ExecDatabase(num) {
|
||||||
|
return request({
|
||||||
|
url: '',
|
||||||
|
method: 'post',
|
||||||
|
data: num
|
||||||
|
})
|
||||||
|
}
|
||||||
|
// end--->
|
||||||
|
|||||||
@@ -29,7 +29,7 @@
|
|||||||
</el-row>
|
</el-row>
|
||||||
</el-card>
|
</el-card>
|
||||||
<el-card>
|
<el-card>
|
||||||
<el-table :data="tableData" style="width: 1020px" height="580" stripe size="mini" border @selection-change="handleSelectionChange">
|
<el-table :data="tableData" style="width: 1120px" height="580" stripe size="mini" border @selection-change="handleSelectionChange">
|
||||||
<el-table-column
|
<el-table-column
|
||||||
type="selection"
|
type="selection"
|
||||||
width="45"/>
|
width="45"/>
|
||||||
@@ -54,6 +54,11 @@
|
|||||||
{{ scope.row.零件名称 }}
|
{{ scope.row.零件名称 }}
|
||||||
</template>
|
</template>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
|
<el-table-column align="center" label="入库时间" width="100px">
|
||||||
|
<template slot-scope="scope">
|
||||||
|
{{ scope.row.入库时间 }}
|
||||||
|
</template>
|
||||||
|
</el-table-column>
|
||||||
<el-table-column align="center" label="库存数量" width="90px">
|
<el-table-column align="center" label="库存数量" width="90px">
|
||||||
<template slot-scope="scope">
|
<template slot-scope="scope">
|
||||||
{{ scope.row.出库数量1 }}
|
{{ scope.row.出库数量1 }}
|
||||||
@@ -180,6 +185,7 @@ export default {
|
|||||||
组号: response.data.rows[i].组号,
|
组号: response.data.rows[i].组号,
|
||||||
零件图号: response.data.rows[i].零件图号,
|
零件图号: response.data.rows[i].零件图号,
|
||||||
零件名称: response.data.rows[i].零件名称,
|
零件名称: response.data.rows[i].零件名称,
|
||||||
|
入库时间: response.data.rows[i].入库时间,
|
||||||
已出库数量: Number(response.data.rows[i].出库数量),
|
已出库数量: Number(response.data.rows[i].出库数量),
|
||||||
入库数量: Number(response.data.rows[i].入库数量),
|
入库数量: Number(response.data.rows[i].入库数量),
|
||||||
工艺计划流水号: response.data.rows[i].工艺计划流水号,
|
工艺计划流水号: response.data.rows[i].工艺计划流水号,
|
||||||
|
|||||||
Reference in New Issue
Block a user