技术中心
This commit is contained in:
@@ -349,13 +349,13 @@
|
||||
<el-button v-show="title==='编辑'" type="primary" @click="submitEdit('form')">确定</el-button>
|
||||
</div>
|
||||
</el-dialog>
|
||||
<el-dialog v-el-drag-dialog :visible.sync="dialogFormVisible3" title="更改数量" center style="min-height: 300px" width="400px">
|
||||
<el-dialog v-el-drag-dialog :visible.sync="dialogFormVisible3" title="零件数量" center style="min-height: 300px" width="400px">
|
||||
<el-form ref="form3" :model="form3" :rules="rules3" label-position="left" label-width="110px" class="demo-ruleForm">
|
||||
<el-form-item label="数量" prop="数量">
|
||||
<el-input
|
||||
v-model="form3.数量"
|
||||
size="small"
|
||||
style="width:200px"/>
|
||||
style="width:150px"/>
|
||||
</el-form-item>
|
||||
</el-form>
|
||||
<div slot="footer" class="dialog-footer">
|
||||
@@ -378,7 +378,7 @@
|
||||
:visible.sync="dialogFormVisible1"
|
||||
title="基本件打回信息"
|
||||
center
|
||||
width="70%"
|
||||
width="60%"
|
||||
style="min-height: 400px">
|
||||
<el-input v-model="partNumber" size="small" placeholder="零件图号及名称" style="width: 200px" clearable @change="PartCallbackInformation"/>
|
||||
<el-date-picker
|
||||
@@ -401,7 +401,7 @@
|
||||
<el-table
|
||||
:data="tableData9"
|
||||
size="mini"
|
||||
style="width: 97%;max-height: 300px"
|
||||
style="width: 100%;max-height: 300px"
|
||||
height="400"
|
||||
highlight-current-row
|
||||
border
|
||||
@@ -422,9 +422,9 @@
|
||||
{{ scope.row.材料 }}
|
||||
</template>
|
||||
</el-table-column>
|
||||
<el-table-column align="center" label="零件数量" width="120">
|
||||
<el-table-column align="center" label="零件数量" width="150">
|
||||
<template slot-scope="scope">
|
||||
<el-input-number v-model="scope.row.零件数量" :min="0" size="mini" style="width: 95px"/>
|
||||
<el-input-number v-model="scope.row.零件数量" :min="0" size="mini" style="width: 120px"/>
|
||||
</template>
|
||||
</el-table-column>
|
||||
<el-table-column align="center" label="项目名称">
|
||||
@@ -468,7 +468,7 @@
|
||||
:visible.sync="dialogFormVisible2"
|
||||
title="外购件和标准件打回信息"
|
||||
center
|
||||
width="70%"
|
||||
width="60%"
|
||||
style="min-height: 400px">
|
||||
<el-input v-model="partNumber1" size="small" placeholder="零件图号及名称" style="width: 200px" clearable @change="PartCallbackInformation1"/>
|
||||
<el-date-picker
|
||||
@@ -491,7 +491,7 @@
|
||||
<el-table
|
||||
:data="tableData10"
|
||||
size="mini"
|
||||
style="width: 97%;max-height: 300px"
|
||||
style="width: 100%;max-height: 300px"
|
||||
height="400"
|
||||
highlight-current-row
|
||||
border
|
||||
@@ -512,9 +512,9 @@
|
||||
{{ scope.row.物料型号 }}
|
||||
</template>
|
||||
</el-table-column>
|
||||
<el-table-column align="center" label="零件数量" width="120">
|
||||
<el-table-column align="center" label="零件数量" width="150">
|
||||
<template slot-scope="scope">
|
||||
<el-input-number v-model="scope.row.零件数量" :min="0" size="mini" style="width: 95px"/>
|
||||
<el-input-number v-model="scope.row.零件数量" :min="0" size="mini" style="width: 120px"/>
|
||||
</template>
|
||||
</el-table-column>
|
||||
<el-table-column align="center" label="项目名称">
|
||||
|
||||
@@ -1,17 +1,17 @@
|
||||
<template>
|
||||
<div>
|
||||
<el-card>
|
||||
<div style="width: 900px;margin: 3px auto">
|
||||
<span>机床名称:</span>
|
||||
<el-select v-model="machineValue" filterable clearable size="small" style="width: 200px;" placeholder="机床名称" @change="getGroups">
|
||||
<div style="width: 900px;margin-left: 375px">
|
||||
<span>机床图号:</span>
|
||||
<el-select v-model="machineValue" filterable clearable size="small" placeholder="机床图号" style="margin-top: 3px;width: 200px;" @change="getGroups">
|
||||
<el-option
|
||||
v-for="item in machineNames"
|
||||
:key="item.value"
|
||||
:label="item.label"
|
||||
:value="item.value"/>
|
||||
</el-select>
|
||||
<span style="margin-left: 10px">分组名称:</span>
|
||||
<el-select v-model="groupValue" filterable clearable size="small" style="width: 200px;" placeholder="分组名称">
|
||||
<span>分组名称:</span>
|
||||
<el-select v-model="groupValue" filterable clearable size="small" placeholder="分组名称" style="width: 100px;">
|
||||
<el-option
|
||||
v-for="item in groupsNames"
|
||||
:key="item.value"
|
||||
@@ -21,14 +21,14 @@
|
||||
<el-tooltip :open-delay="1000" effect="dark" content="将系统中的三表信息传递到零件分配" placement="top">
|
||||
<el-button :loading="listLoading" :disabled="disabled" type="primary" plain icon="el-icon-d-caret" size="small" style="margin-left: 10px" @click="transferData">传递</el-button>
|
||||
</el-tooltip>
|
||||
<el-tooltip :open-delay="1000" effect="dark" content="删除三表中该组下的所有零件" placement="top">
|
||||
<el-button type="danger" plain icon="el-icon-delete" size="small" style="margin-left: 10px" @click="allDelete">一键删除</el-button>
|
||||
</el-tooltip>
|
||||
<el-row style="margin-top: 10px">
|
||||
<span>机床名称:</span>
|
||||
<el-input v-model="machineName" readonly size="small" placeholder="机床名称" style="width: 200px;"/>
|
||||
<span style="margin-left: 10px">机床数量:</span>
|
||||
<el-input v-model="machineNum" readonly size="small" placeholder="机床数量" style="width: 200px;"/>
|
||||
<el-row style="margin-top: 5px;margin-bottom: 3px">
|
||||
<span>机床名称:</span>
|
||||
<el-input v-model="machineName" readonly size="small" placeholder="机床名称" style="width: 200px;margin-right: 10px"/>
|
||||
<span>机床数量:</span>
|
||||
<el-input v-model="machineNum" readonly size="small" placeholder="机床数量" style="width: 100px;"/>
|
||||
<el-tooltip :open-delay="1000" effect="dark" content="删除三表中该组下的所有零件" placement="top">
|
||||
<el-button type="danger" icon="el-icon-delete" plain size="small" @click="allDelete">一键删除</el-button>
|
||||
</el-tooltip>
|
||||
</el-row>
|
||||
</div>
|
||||
</el-card>
|
||||
|
||||
@@ -133,7 +133,7 @@
|
||||
</div>
|
||||
</el-card>
|
||||
</el-col>
|
||||
<el-col style="width: 39%">
|
||||
<el-col style="width: 40%">
|
||||
<el-card>
|
||||
<el-table
|
||||
:data="tableData10"
|
||||
@@ -635,6 +635,10 @@ export default {
|
||||
const groupIndex = this.machineNames.indexOf(this.machineValue)
|
||||
this.machineNames.splice(groupIndex, 1)
|
||||
}
|
||||
this.machineValue = ''
|
||||
this.groupValue = ''
|
||||
this.machineName = ''
|
||||
this.machineNum = ''
|
||||
this.$message.success(`传递成功`)
|
||||
this.tableDataAll = []
|
||||
this.tableData = []
|
||||
|
||||
Reference in New Issue
Block a user