外协零件到货

This commit is contained in:
zhangdingyu
2019-11-22 11:47:33 +08:00
parent 2a5bf37781
commit 8d945977db
2 changed files with 8 additions and 9 deletions

View File

@@ -211,7 +211,7 @@
</el-col>
</el-card>
<el-card>
<el-card v-if="card">
<div id="RWD">
<table cellspacing="0px" align="center" width="100%" style="">
<tbody id="1">
@@ -610,7 +610,6 @@ export default {
$('#tableHead').after(tr[i])
}
for (let j = 0; j < this.returns.length; j++) {
console.log(document.getElementsByClassName('tableData')[0].children)
document.getElementsByClassName('tableData')[j].children[0].innerHTML = j + 1
document.getElementsByClassName('tableData')[j].children[1].innerHTML = response.data[j].零件图号
document.getElementsByClassName('tableData')[j].children[2].innerHTML = response.data[j].零件名称

View File

@@ -13,12 +13,9 @@
<!--size="small"-->
<!--placeholder="选择日期"/>-->
<el-button type="success" size="mini" icon="el-icon-search" style="margin-left:10px" @click="pageSize=10;pageList=1;fetchData()">查询</el-button>
<el-tooltip :open-delay="1200" effect="dark" content="打印外协采购单" placement="top">
<el-button type="primary" size="mini" icon="el-icon-download" style="margin-left:10px" @click="exportTable('RWD')">导出单据</el-button>
</el-tooltip>
</el-card>
<el-card>
<el-table v-loading="loading2" :data="List" highlight-current-row stripe size="mini" height="380" border @row-click="searchProcess" >
<el-table v-loading="loading2" :data="List" highlight-current-row stripe size="mini" height="550" border @row-click="searchProcess" >
<el-table-column label="表单号" prop="表单号" align="center" min-width="200px">
<template slot-scope="scope">
{{ scope.row.表单号 }}
@@ -45,8 +42,11 @@
</el-col>
<el-col :span="14">
<el-card>
<el-button type="info" size="mini" icon="el-icon-arrow-down" style="margin-left:10px" @click="getSpareParts">收货</el-button>
<el-table ref="multipleTable" :data="List3" border stripe size="mini" highlight-current-row height="425" tooltip-effect="dark" style="width: 100%" @selection-change="handleSelectionChange">
<el-button type="warning" size="mini" icon="el-icon-arrow-down" style="margin-left:10px" @click="getSpareParts">收货</el-button>
<el-tooltip :open-delay="1200" effect="dark" content="打印外协采购单" placement="top">
<el-button type="primary" size="mini" icon="el-icon-download" style="margin-left:10px;float: right" @click="exportTable('RWD')">导出单据</el-button>
</el-tooltip>
<el-table ref="multipleTable" :data="List3" border stripe size="mini" highlight-current-row height="595" tooltip-effect="dark" style="width: 100%" @selection-change="handleSelectionChange">
<el-table-column
:selectable="selectable"
type="selection"
@@ -81,7 +81,7 @@
</el-table>
</el-card>
</el-col>
<el-card>
<el-card v-if="false">
<div id="RWD">
<table cellspacing="0px" align="center" width="100%" style="">
<tbody id="1">