零件分配
This commit is contained in:
@@ -21,8 +21,6 @@
|
||||
</el-select>
|
||||
<el-checkbox v-model="checked" @change="searchTable">禁用件</el-checkbox>
|
||||
<span style="margin-left: 20px;font-size: 14px;">任务下达时间: {{ DeliveryTime }}</span>
|
||||
<!-- <el-button type="success" size="small" icon="el-icon-search" style="margin-left: 15px" @click="searchTable()">查询</el-button>-->
|
||||
<!-- <el-button type="success" size="small" icon="el-icon-search" style="margin-left: 15px" @click="searchPart()">查询1</el-button>-->
|
||||
<el-badge :value="value1" :max="99" class="item">
|
||||
<el-button size="small" type="text" @click="PartCallbackInformation1;dialogFormVisible2 = true">外购件和标准件打回信息</el-button>
|
||||
</el-badge>
|
||||
@@ -371,13 +369,7 @@
|
||||
<el-button type="primary" @click="submitEdit2('form4')">确定</el-button>
|
||||
</div>
|
||||
</el-dialog>
|
||||
<el-dialog
|
||||
v-el-drag-dialog
|
||||
:visible.sync="dialogFormVisible1"
|
||||
title="基本件打回信息"
|
||||
center
|
||||
width="60%"
|
||||
style="min-height: 400px">
|
||||
<el-dialog v-el-drag-dialog :visible.sync="dialogFormVisible1" title="基本件打回信息" center width="60%" style="min-height: 400px">
|
||||
<el-input v-model="partNumber" size="small" placeholder="零件图号及名称" style="width: 200px" clearable @change="PartCallbackInformation"/>
|
||||
<el-date-picker
|
||||
v-model="dateRange"
|
||||
@@ -390,20 +382,8 @@
|
||||
start-placeholder="开始日期"
|
||||
end-placeholder="结束日期"
|
||||
@change="PartCallbackInformation"/>
|
||||
<el-button
|
||||
size="small"
|
||||
type="success"
|
||||
plain
|
||||
@click="submit()">采购部采购</el-button>
|
||||
<!-- :row-class-name="tableRowClassName"-->
|
||||
<el-table
|
||||
:data="tableData9"
|
||||
size="mini"
|
||||
style="width: 100%;max-height: 300px"
|
||||
height="400"
|
||||
highlight-current-row
|
||||
border
|
||||
@selection-change="handleSelectionChange10">
|
||||
<el-button size="small" type="success" plain @click="submit()">采购部采购</el-button>
|
||||
<el-table :data="tableData9" size="mini" style="width: 100%;max-height: 300px" height="400" highlight-current-row border @selection-change="handleSelectionChange10">
|
||||
<el-table-column align="center" type="selection" width="42px"/>
|
||||
<el-table-column align="center" label="零件图号">
|
||||
<template slot-scope="scope">
|
||||
@@ -445,29 +425,9 @@
|
||||
{{ scope.row.退回时间 }}
|
||||
</template>
|
||||
</el-table-column>
|
||||
<!--<el-table-column property="date" label="操作" width="200" align="center">-->
|
||||
<!--<template slot-scope="scope">-->
|
||||
<!--<!–<el-button–>-->
|
||||
<!--<!–size="mini"–>-->
|
||||
<!--<!–type="success"–>-->
|
||||
<!--<!–plain–>-->
|
||||
<!--<!–@click="submit(scope.row)">确认</el-button>–>-->
|
||||
<!--<!–<el-button–>-->
|
||||
<!--<!–size="mini"–>-->
|
||||
<!--<!–type="danger"–>-->
|
||||
<!--<!–plain–>-->
|
||||
<!--<!–@click="Delete(scope.row)">删除</el-button>–>-->
|
||||
<!--</template>-->
|
||||
<!--</el-table-column>-->
|
||||
</el-table>
|
||||
</el-dialog>
|
||||
<el-dialog
|
||||
v-el-drag-dialog
|
||||
:visible.sync="dialogFormVisible2"
|
||||
title="外购件和标准件打回信息"
|
||||
center
|
||||
width="60%"
|
||||
style="min-height: 400px">
|
||||
<el-dialog v-el-drag-dialog :visible.sync="dialogFormVisible2" title="外购件和标准件打回信息" center width="60%" style="min-height: 400px">
|
||||
<el-input v-model="partNumber1" size="small" placeholder="零件图号及名称" style="width: 200px" clearable @change="PartCallbackInformation1"/>
|
||||
<el-date-picker
|
||||
v-model="dateRange1"
|
||||
@@ -480,12 +440,7 @@
|
||||
start-placeholder="开始日期"
|
||||
end-placeholder="结束日期"
|
||||
@change="PartCallbackInformation1"/>
|
||||
<el-button
|
||||
size="small"
|
||||
type="success"
|
||||
plain
|
||||
@click="submit1()">采购部采购</el-button>
|
||||
<!-- :row-class-name="tableRowClassName"-->
|
||||
<el-button size="small" type="success" plain @click="submit1()">采购部采购</el-button>
|
||||
<el-table
|
||||
:data="tableData10"
|
||||
size="mini"
|
||||
@@ -535,20 +490,6 @@
|
||||
{{ scope.row.退回时间 }}
|
||||
</template>
|
||||
</el-table-column>
|
||||
<!--<el-table-column property="date" label="操作" width="200" align="center">-->
|
||||
<!--<template slot-scope="scope">-->
|
||||
<!--<el-button-->
|
||||
<!--size="mini"-->
|
||||
<!--type="success"-->
|
||||
<!--plain-->
|
||||
<!--@click="submit1(scope.row)">确认</el-button>-->
|
||||
<!--<el-button-->
|
||||
<!--size="mini"-->
|
||||
<!--type="danger"-->
|
||||
<!--plain-->
|
||||
<!--@click="Delete1(scope.row)">删除</el-button>-->
|
||||
<!--</template>-->
|
||||
<!--</el-table-column>-->
|
||||
</el-table>
|
||||
</el-dialog>
|
||||
</div>
|
||||
@@ -795,8 +736,8 @@ export default {
|
||||
}
|
||||
purchaseRequisition2Back(this.project, this.machine, this.group, this.BasicPartsNumber, this.NumberOfParts, this.time).then(response => {
|
||||
if (response.data[0].result !== '0') {
|
||||
console.log(response.data[0].result)
|
||||
this.$message.success('请购成功')
|
||||
this.value = 0
|
||||
PartCallbackInformation().then(response => {
|
||||
for (let i = 0; i < response.data.length; i++) {
|
||||
if (response.data[i].退回时间 !== '') {
|
||||
@@ -844,6 +785,7 @@ export default {
|
||||
PurchasingDepartmentBack(this.group, this.StandardPartsAndOutsourcing, this.MaterialNum, this.NumberOfParts, this.project, this.machine).then(response => {
|
||||
if (response.data[0].result !== '0') {
|
||||
this.$message.success('请购成功')
|
||||
this.value1 = 0
|
||||
PartCallbackInformation1().then(response => {
|
||||
for (let i = 0; i < response.data.length; i++) {
|
||||
if (response.data[i].退回时间 !== '') {
|
||||
|
||||
Reference in New Issue
Block a user