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