This commit is contained in:
Vergil
2020-05-21 15:36:09 +08:00
parent 69cd14dd97
commit 9be39bbd60
3 changed files with 12 additions and 149 deletions

View File

@@ -138,25 +138,23 @@
<el-dialog v-el-drag-dialog :visible.sync="dialogVisible1" :close-on-click-modal="false" class="dialog3" title="编辑" center width="500px">
<el-form ref="form1" :model="form1" label-position="right" label-width="160px">
<el-form-item label="零件图号:">
<span style="font-size: 20px">{{ partNumber }}</span>
</el-form-item>
<el-form-item label="零件名称:">
<span style="font-size: 20px">{{ partName }}</span>
</el-form-item>
<el-form-item label="工艺名称:">
<span style="font-size: 20px">{{ procedure }}</span>
</el-form-item>
<el-row style="margin: 5px 0 0 80px">
<span style="font-size: 20px">零件图号 {{ partNumber }}</span>
</el-row>
<el-row style="margin: 5px 0 0 80px">
<span style="font-size: 20px">零件名称 {{ partName }}</span>
</el-row>
<el-row style="margin: 5px 0 20px 80px">
<span style="font-size: 20px">工艺名称 {{ procedure }}</span>
</el-row>
<el-form-item label="完成数量:" prop="完成数量">
<el-input-number :min="0" :max="剩余数量" v-model="form1.完成数量" style="width: 200px" @change="timeChange()"/>
</el-form-item>
<el-form-item label="单件工时(分)" prop="录入工时">
<el-input-number :min="0" v-model="form1.录入工时" style="width: 200px" @change="timeChange()"/>
<!--<el-input class="editWorkTime" v-positive="'float'" v-model="form1.录入工时" placeholder="录入工时" style="width:200px;" type="number"/>-->
</el-form-item>
<el-form-item label="录入准结(分)" prop="录入准结">
<el-input-number :min="0" v-model="form1.录入准结" style="width: 200px" @change="timeChange()"/>
<!--<el-input class="editWorkTime" v-positive="'float'" v-model="form1.录入准结" placeholder="录入准结" style="width:200px;" type="number"/>-->
</el-form-item>
<el-form-item label="加工工时(分)" prop="加工时间">
<span style="font-size: 20px">{{ 加工时间 }}</span>

View File

@@ -1,7 +1,6 @@
<template>
<div class="app-container">
<el-card>
<!--<h3 style="margin-top: 0">采购合同</h3>-->
<el-table v-loading="" :data="tableData1" border style="width: 100%;max-height: 300px;" height="200px" size="mini" highlight-current-row @row-click="searchTable01">
<el-table-column label="供应商" align="center" min-width="170">
<template slot-scope="scope">
@@ -26,23 +25,11 @@
<el-table-column label="审核" align="center" width="200">
<template slot-scope="scope">
<el-button type="text" size="mini" icon="el-icon-check" @click="yesApproval(scope.row)">通过</el-button>
<el-button type="text" size="mini" icon="el-icon-close" @click="noApproval(scope.row)">不通过</el-button>
<el-button type="text" style="color:black" size="mini" icon="el-icon-close" @click="noApproval(scope.row)">不通过</el-button>
</template>
</el-table-column>
</el-table>
<!-- <div class="block" style="margin-top: 10px;">-->
<!-- <el-pagination-->
<!-- :current-page="pageCurrent1"-->
<!-- :page-sizes="[10, 20, 30, 40, 10000]"-->
<!-- :page-size="pageSize1"-->
<!-- :total="total1"-->
<!-- style="display:inline-block;width:50%"-->
<!-- layout="total, sizes, prev, pager, next, jumper"-->
<!-- @size-change="handleSizeChange1"-->
<!-- @current-change="handleCurrentChange1"/>-->
<!-- </div>-->
</el-card>
<!--<h3 style="">合同明细</h3>-->
<el-row>
<el-col :span="10">
<el-card>

View File

@@ -1,7 +1,6 @@
<template>
<div class="app-container">
<el-card>
<!--<h3>采购合同</h3>-->
<el-table v-loading="" :data="tableData" border stripe style="width: 100%;" height="600px" size="mini">
<el-table-column label="类别" align="center" width="70">
<template slot-scope="scope">
@@ -30,6 +29,8 @@
</el-table-column>
<el-table-column label="审核" align="center" width="320">
<template slot-scope="scope">
<el-button type="text" size="mini" icon="el-icon-check" style="padding:10px" plain @click="yesApproval(scope.row)">通过</el-button>
<el-button type="text" size="mini" icon="el-icon-close" style="margin-right: 10px;padding: 10px;color:black" plain @click="noApproval(scope.row)">不通过</el-button>
<el-popover placement="right" width="400" trigger="click">
<el-table v-show="scope.row.类别==='采购'" :data="gridData2" :summary-method="getSummaries" stripe size="mini" show-summary>
<el-table-column width="50" align="center" type="index" label="序号"/>
@@ -64,8 +65,6 @@
</el-table>
<el-button slot="reference" type="text" size="mini" icon="el-icon-search" style="margin-right: 10px;padding: 10px" plain @click="searchTable01(scope.row)">查看详情</el-button>
</el-popover>
<el-button type="text" size="mini" icon="el-icon-check" style="margin-right: 10px;padding:10px" plain @click="yesApproval(scope.row)">通过</el-button>
<el-button type="text" size="mini" icon="el-icon-close" style="margin-right: 10px;padding: 10px;color:black" plain @click="noApproval(scope.row)">不通过</el-button>
</template>
</el-table-column>
</el-table>
@@ -81,127 +80,6 @@
@current-change="handleCurrentChange"/>
</div>
</el-card>
<!--<el-card>-->
<!--&lt;!&ndash;<h3>备料合同</h3>&ndash;&gt;-->
<!--<el-table v-loading="" :data="tableData3" border style="width: 100%;max-height: 300px;" height="300px" size="mini">-->
<!--<el-table-column label="供应商" align="center" min-width="170">-->
<!--<template slot-scope="scope">-->
<!--{{ scope.row.供应商名称 }}-->
<!--</template>-->
<!--</el-table-column>-->
<!--<el-table-column label="请款时间" align="center" min-width="150">-->
<!--<template slot-scope="scope">-->
<!--{{ scope.row.请款时间 }}-->
<!--</template>-->
<!--</el-table-column>-->
<!--<el-table-column label="请款人" align="center" min-width="100">-->
<!--<template slot-scope="scope">-->
<!--{{ scope.row.姓名 }}-->
<!--</template>-->
<!--</el-table-column>-->
<!--<el-table-column label="请款金额" align="center" min-width="100" prop="请款金额">-->
<!--<template slot-scope="scope">-->
<!--{{ scope.row.请款金额 }}-->
<!--</template>-->
<!--</el-table-column>-->
<!--<el-table-column label="审核" align="center" width="320">-->
<!--<template slot-scope="scope">-->
<!--<el-popover placement="right" width="500" trigger="click">-->
<!--<el-table :data="gridData1" stripe size="mini" show-summary>-->
<!--<el-table-column width="50" align="center" type="index" label="序号"/>-->
<!--<el-table-column min-width="150" align="center" label="发票号">-->
<!--<template slot-scope="scope">-->
<!--{{ scope.row.发票号 }}-->
<!--</template>-->
<!--</el-table-column>-->
<!--<el-table-column min-width="150" align="center" label="供应商名称">-->
<!--<template slot-scope="scope">-->
<!--{{ scope.row.供应商名称 }}-->
<!--</template>-->
<!--</el-table-column>-->
<!--<el-table-column min-width="100" align="center" label="开票金额" prop="开票金额">-->
<!--<template slot-scope="scope">-->
<!--{{ scope.row.开票金额 }}-->
<!--</template>-->
<!--</el-table-column>-->
<!--</el-table>-->
<!--<el-button slot="reference" type="success" size="mini" icon="el-icon-search" style="margin-right: 10px" plain @click="searchTable03(scope.row)">查看详情</el-button>-->
<!--</el-popover>-->
<!--<el-button type="primary" size="mini" icon="el-icon-check" plain @click="yesMaterials(scope.row)">通过</el-button>-->
<!--<el-button type="danger" size="mini" icon="el-icon-close" plain @click="noMaterials(scope.row)">不通过</el-button>-->
<!--</template>-->
<!--</el-table-column>-->
<!--</el-table>-->
<!--<div class="block" style="margin-top: 10px;">-->
<!--<el-pagination-->
<!--:current-page="pageCurrent3"-->
<!--:page-sizes="[10, 20, 30, 40]"-->
<!--:page-size="pageSize3"-->
<!--:total="total3"-->
<!--style="display:inline-block;width:50%"-->
<!--layout="total, sizes, prev, pager, next, jumper"-->
<!--@size-change="handleSizeChange3"-->
<!--@current-change="handleCurrentChange3"/>-->
<!--</div>-->
<!--</el-card>-->
<!--<el-card>-->
<!--<h3>离线合同</h3>-->
<!--<el-table v-loading="" :data="tableData2" border style="width: 100%;max-height: 300px;" height="300px" size="mini">-->
<!--<el-table-column label="供应商" align="center" min-width="170">-->
<!--<template slot-scope="scope">-->
<!--{{ scope.row.供应商名称 }}-->
<!--</template>-->
<!--</el-table-column>-->
<!--<el-table-column label="请款时间" align="center" min-width="150">-->
<!--<template slot-scope="scope">-->
<!--{{ scope.row.请款时间 }}-->
<!--</template>-->
<!--</el-table-column>-->
<!--<el-table-column label="请款人" align="center" min-width="100">-->
<!--<template slot-scope="scope">-->
<!--{{ scope.row.姓名 }}-->
<!--</template>-->
<!--</el-table-column>-->
<!--<el-table-column label="请款金额" align="center" min-width="100" prop="请款金额">-->
<!--<template slot-scope="scope">-->
<!--{{ scope.row.请款金额 }}-->
<!--</template>-->
<!--</el-table-column>-->
<!--<el-table-column label="审核" align="center" width="320">-->
<!--<template slot-scope="scope">-->
<!--<el-popover placement="right" width="400" trigger="click">-->
<!--<el-table :data="gridData" stripe size="mini" show-summary>-->
<!--<el-table-column width="50" align="center" type="index" label="序号"/>-->
<!--<el-table-column min-width="150" align="center" label="离线合同编号">-->
<!--<template slot-scope="scope">-->
<!--{{ scope.row.离线合同编号 }}-->
<!--</template>-->
<!--</el-table-column>-->
<!--<el-table-column min-width="100" align="center" label="合同总额" prop="请款金额">-->
<!--<template slot-scope="scope">-->
<!--{{ scope.row.请款金额 }}-->
<!--</template>-->
<!--</el-table-column>-->
<!--</el-table>-->
<!--<el-button slot="reference" type="success" size="mini" icon="el-icon-search" style="margin-right: 10px" plain @click="searchTable02(scope.row)">查看详情</el-button>-->
<!--</el-popover>-->
<!--<el-button type="primary" size="mini" icon="el-icon-check" plain @click="yesApprovalOffline(scope.row)">通过</el-button>-->
<!--<el-button type="danger" size="mini" icon="el-icon-close" plain @click="noApprovalOffline(scope.row)">不通过</el-button>-->
<!--</template>-->
<!--</el-table-column>-->
<!--</el-table>-->
<!--<div class="block" style="margin-top: 10px;">-->
<!--<el-pagination-->
<!--:current-page="pageCurrent2"-->
<!--:page-sizes="[10, 20, 30, 40]"-->
<!--:page-size="pageSize2"-->
<!--:total="total2"-->
<!--style="display:inline-block;width:50%"-->
<!--layout="total, sizes, prev, pager, next, jumper"-->
<!--@size-change="handleSizeChange2"-->
<!--@current-change="handleCurrentChange2"/>-->
<!--</div>-->
<!--</el-card>-->
</div>
</template>