外协执行

This commit is contained in:
zhangdingyu
2019-11-22 17:28:02 +08:00
parent 04ad218178
commit a08933ce06
4 changed files with 82 additions and 155 deletions

View File

@@ -24,7 +24,7 @@
{{ scope.row.项目名称 }}
</template>
</el-table-column>
<el-table-column label="零件图号" prop="零件图号" align="center" width="200px" >
<el-table-column label="零件图号" prop="零件图号" align="center" min-width="200px" >
<template slot-scope="scope">
{{ scope.row.零件图号 }}
</template>
@@ -34,42 +34,42 @@
{{ scope.row.零件名称 }}
</template>
</el-table-column>
<el-table-column label="数量" align="center" width="65px" >
<el-table-column label="数量" align="center" width="100px" >
<template slot-scope="scope">
{{ scope.row.批次数量 }}
</template>
</el-table-column>
<el-table-column label="材料费" align="center" width="65px" >
<template slot-scope="scope">
{{ scope.row.材料费 }}
</template>
</el-table-column>
<el-table-column label="分类" align="center" width="65px" >
<template slot-scope="scope">
{{ scope.row.外协分类 }}
</template>
</el-table-column>
<el-table-column label="投产" align="center" width="65px" >
<template slot-scope="scope">
{{ scope.row.传递时间_短 }}
</template>
</el-table-column>
<el-table-column label="计划结束" align="center" >
<template slot-scope="scope">
{{ scope.row.计划结束时间_短 }}
</template>
</el-table-column>
<el-table-column label="预算" align="center" >
<template slot-scope="scope">
{{ (scope.row.外协预算总价格).toFixed(2) }}
</template>
</el-table-column>
<el-table-column label="零件类型" align="center" width="">
<template slot-scope="scope">
{{ scope.row.是否临时件 }}
</template>
</el-table-column>
<el-table-column label="外协工序" align="center" show-overflow-tooltip>
<!--<el-table-column label="材料费" align="center" width="65px" >-->
<!--<template slot-scope="scope">-->
<!--{{ scope.row.材料费 }}-->
<!--</template>-->
<!--</el-table-column>-->
<!--<el-table-column label="分类" align="center" width="65px" >-->
<!--<template slot-scope="scope">-->
<!--{{ scope.row.外协分类 }}-->
<!--</template>-->
<!--</el-table-column>-->
<!--<el-table-column label="投产" align="center" width="65px" >-->
<!--<template slot-scope="scope">-->
<!--{{ scope.row.传递时间_短 }}-->
<!--</template>-->
<!--</el-table-column>-->
<!--<el-table-column label="计划结束" align="center" >-->
<!--<template slot-scope="scope">-->
<!--{{ scope.row.计划结束时间_短 }}-->
<!--</template>-->
<!--</el-table-column>-->
<!--<el-table-column label="预算" align="center" >-->
<!--<template slot-scope="scope">-->
<!--{{ (scope.row.外协预算总价格).toFixed(2) }}-->
<!--</template>-->
<!--</el-table-column>-->
<!--<el-table-column label="零件类型" align="center" width="">-->
<!--<template slot-scope="scope">-->
<!--{{ scope.row.是否临时件 }}-->
<!--</template>-->
<!--</el-table-column>-->
<el-table-column label="外协工序" align="center" show-overflow-tooltip min-width="150px">
<template slot-scope="scope">
{{ scope.row.外协工序 }}
</template>
@@ -169,7 +169,7 @@
<!--</el-table-column>-->
<el-table-column label="外协价格" align="center" width="130px">
<template slot-scope="scope">
<el-input v-model="加工价格_成交[scope.$index]" size="small" readonly/>
<el-input v-model="加工价格_成交[scope.$index]" size="small"/>
</template>
</el-table-column>
<!--<el-table-column label="材料类别" align="center" width="130px">-->
@@ -210,8 +210,7 @@
</el-table>
</el-col>
</el-card>
<el-card v-if="card">
<el-card v-show="true">
<div id="RWD">
<table cellspacing="0px" align="center" width="100%" style="">
<tbody id="1">
@@ -610,6 +609,7 @@ export default {
$('#tableHead').after(tr[i])
}
for (let j = 0; j < this.returns.length; j++) {
console.log(document.getElementsByClassName('tableData')[j].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].零件名称