增加机床数量
This commit is contained in:
@@ -207,7 +207,7 @@ export function submitMachine() {
|
|||||||
data: {
|
data: {
|
||||||
type: '2',
|
type: '2',
|
||||||
name: '创建合同_机床名称_增加数据',
|
name: '创建合同_机床名称_增加数据',
|
||||||
param: '项目流水号=' + arguments[0] + '&机床图号=' + arguments[1] + '&机床名称=' + arguments[2]
|
param: '项目流水号=' + arguments[0] + '&机床图号=' + arguments[1] + '&机床名称=' + arguments[2] + '&机床数量=' + arguments[3]
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
@@ -218,7 +218,7 @@ export function editMachine() {
|
|||||||
data: {
|
data: {
|
||||||
type: '2',
|
type: '2',
|
||||||
name: '创建合同_机床名称_修改数据',
|
name: '创建合同_机床名称_修改数据',
|
||||||
param: '机床流水号=' + arguments[0] + '&机床图号=' + arguments[1] + '&机床名称=' + arguments[2]
|
param: '机床流水号=' + arguments[0] + '&机床图号=' + arguments[1] + '&机床名称=' + arguments[2] + '&机床数量=' + arguments[3]
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -50,7 +50,7 @@
|
|||||||
@expand-change="selectMachine">
|
@expand-change="selectMachine">
|
||||||
<el-table-column type="expand">
|
<el-table-column type="expand">
|
||||||
<template slot-scope="scope">
|
<template slot-scope="scope">
|
||||||
<el-table :data="tableData2" border style="width: 491px; text-align: center" size="mini">
|
<el-table :data="tableData2" border style="width: 571px; text-align: center" size="mini">
|
||||||
<el-table-column label="设备型号" align="center" width="130">
|
<el-table-column label="设备型号" align="center" width="130">
|
||||||
<template slot-scope="scope">
|
<template slot-scope="scope">
|
||||||
{{ scope.row.机床图号 }}
|
{{ scope.row.机床图号 }}
|
||||||
@@ -61,6 +61,11 @@
|
|||||||
{{ scope.row.机床名称 }}
|
{{ scope.row.机床名称 }}
|
||||||
</template>
|
</template>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
|
<el-table-column label="机床数量" align="center" width="80">
|
||||||
|
<template slot-scope="scope">
|
||||||
|
{{ scope.row.机床数量 }}
|
||||||
|
</template>
|
||||||
|
</el-table-column>
|
||||||
<el-table-column label="操作" width="200" align="center">
|
<el-table-column label="操作" width="200" align="center">
|
||||||
<template slot-scope="scope">
|
<template slot-scope="scope">
|
||||||
<el-button
|
<el-button
|
||||||
@@ -372,6 +377,9 @@
|
|||||||
<el-form-item label="设备名称" prop="设备名称">
|
<el-form-item label="设备名称" prop="设备名称">
|
||||||
<el-input v-model="form1.设备名称" size="small" placeholder="请输入设备名称" style="width:200px"/>
|
<el-input v-model="form1.设备名称" size="small" placeholder="请输入设备名称" style="width:200px"/>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
|
<el-form-item label="机床数量" prop="机床数量">
|
||||||
|
<el-input-number v-model="form1.机床数量" controls-position="right" :min="1" style="width:200px" size="small"></el-input-number>
|
||||||
|
</el-form-item>
|
||||||
</el-form>
|
</el-form>
|
||||||
<div slot="footer" class="dialog-footer">
|
<div slot="footer" class="dialog-footer">
|
||||||
<el-button @click="callOff2('form1')">取消</el-button>
|
<el-button @click="callOff2('form1')">取消</el-button>
|
||||||
@@ -632,7 +640,8 @@ export default {
|
|||||||
executionProgressID: '',
|
executionProgressID: '',
|
||||||
form1: {
|
form1: {
|
||||||
设备型号: '',
|
设备型号: '',
|
||||||
设备名称: ''
|
设备名称: '',
|
||||||
|
机床数量: 1
|
||||||
},
|
},
|
||||||
form2: {
|
form2: {
|
||||||
进度完成日期: ''
|
进度完成日期: ''
|
||||||
@@ -1095,9 +1104,9 @@ export default {
|
|||||||
this.dialogFormVisible2 = false
|
this.dialogFormVisible2 = false
|
||||||
}
|
}
|
||||||
if (this.flag === 1) {
|
if (this.flag === 1) {
|
||||||
this.addTable(submitMachine, [this.projectNum, this.form1.设备型号, this.form1.设备名称], 'form1', a)
|
this.addTable(submitMachine, [this.projectNum, this.form1.设备型号, this.form1.设备名称, this.form1.机床数量], 'form1', a)
|
||||||
} else {
|
} else {
|
||||||
this.editTable(editMachine, [this.c, this.form1.设备型号, this.form1.设备名称], 'form1', a)
|
this.editTable(editMachine, [this.c, this.form1.设备型号, this.form1.设备名称, this.form1.机床数量], 'form1', a)
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
deleteMachine(row) {
|
deleteMachine(row) {
|
||||||
|
|||||||
Reference in New Issue
Block a user