工艺定额等bug
This commit is contained in:
@@ -353,7 +353,7 @@ export function saveApprove(num0, num1, request0, spec, num2, outhelp, num3, num
|
|||||||
method: 'post',
|
method: 'post',
|
||||||
data: {
|
data: {
|
||||||
type: '2',
|
type: '2',
|
||||||
name: ' ',
|
name: '车间生产管理工艺_零件工序_增加数据_同时修改工艺计划',
|
||||||
param: '工艺计划流水号=' + num0 + '&工艺编号=' + num1 + '&工艺要求=' + request0 + '&原材料规格=' + spec + '&工序顺序=' + num2 + '&工序间是否外协=' + outhelp + '&工序流水号=' + num3 + '&材料流水号=' + num4 + '&重量=' + weight + '&面积=' + area + '&工艺人员编号=' + num5 + '&工艺难度等级=' + level
|
param: '工艺计划流水号=' + num0 + '&工艺编号=' + num1 + '&工艺要求=' + request0 + '&原材料规格=' + spec + '&工序顺序=' + num2 + '&工序间是否外协=' + outhelp + '&工序流水号=' + num3 + '&材料流水号=' + num4 + '&重量=' + weight + '&面积=' + area + '&工艺人员编号=' + num5 + '&工艺难度等级=' + level
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
|||||||
@@ -15,7 +15,7 @@
|
|||||||
:value="item.value"/>
|
:value="item.value"/>
|
||||||
</el-select>
|
</el-select>
|
||||||
<span>零件号:</span>
|
<span>零件号:</span>
|
||||||
<el-select v-model="partNumValue" filterable clearable placeholder="零件号" size="small" @clear="clearDetail" @change="searchParts();searchDetail()">
|
<el-select v-model="partNumValue" filterable clearable placeholder="零件号" size="small" @clear="clearDetail" @change="searchDetail()">
|
||||||
<el-option
|
<el-option
|
||||||
v-for="item in partNum"
|
v-for="item in partNum"
|
||||||
:key="item.value"
|
:key="item.value"
|
||||||
@@ -175,6 +175,7 @@
|
|||||||
<el-table
|
<el-table
|
||||||
v-loading="loading0"
|
v-loading="loading0"
|
||||||
:data="tableData"
|
:data="tableData"
|
||||||
|
class="processTable"
|
||||||
border
|
border
|
||||||
style="width: 100%;max-height: 550px;"
|
style="width: 100%;max-height: 550px;"
|
||||||
size="mini"
|
size="mini"
|
||||||
@@ -185,7 +186,6 @@
|
|||||||
<el-input
|
<el-input
|
||||||
v-model="scope.row.工艺名称"
|
v-model="scope.row.工艺名称"
|
||||||
:disabled="disabled"
|
:disabled="disabled"
|
||||||
size="mini"
|
|
||||||
readonly
|
readonly
|
||||||
style="width:200px"
|
style="width:200px"
|
||||||
@dblclick.native="tableSearch(scope.$index)"/>
|
@dblclick.native="tableSearch(scope.$index)"/>
|
||||||
@@ -196,7 +196,6 @@
|
|||||||
<el-select
|
<el-select
|
||||||
v-model="scope.row.工艺难度等级"
|
v-model="scope.row.工艺难度等级"
|
||||||
:disabled="disabled"
|
:disabled="disabled"
|
||||||
size="mini"
|
|
||||||
@change="hardEdit(scope.row)">
|
@change="hardEdit(scope.row)">
|
||||||
<el-option v-for="item in hard" :key="item.value" :label="item.label" :value="item.value">
|
<el-option v-for="item in hard" :key="item.value" :label="item.label" :value="item.value">
|
||||||
<span style="color: #8492a6; font-size: 13px">{{ item.value }}</span>
|
<span style="color: #8492a6; font-size: 13px">{{ item.value }}</span>
|
||||||
@@ -210,7 +209,6 @@
|
|||||||
v-model="scope.row.工艺要求"
|
v-model="scope.row.工艺要求"
|
||||||
:rows="1"
|
:rows="1"
|
||||||
:disabled="disabled"
|
:disabled="disabled"
|
||||||
size="mini"
|
|
||||||
type="textarea"
|
type="textarea"
|
||||||
@dblclick.native="tableSearch(scope.$index)"
|
@dblclick.native="tableSearch(scope.$index)"
|
||||||
@change="requestEdit(scope.row)"/>
|
@change="requestEdit(scope.row)"/>
|
||||||
@@ -221,25 +219,21 @@
|
|||||||
<div>
|
<div>
|
||||||
<el-button
|
<el-button
|
||||||
:disabled="disabled"
|
:disabled="disabled"
|
||||||
size="mini"
|
|
||||||
icon="el-icon-arrow-up"
|
icon="el-icon-arrow-up"
|
||||||
type="primary"
|
type="primary"
|
||||||
@click="upOne(scope.row)"/>
|
@click="upOne(scope.row)"/>
|
||||||
<el-button
|
<el-button
|
||||||
:disabled="disabled"
|
:disabled="disabled"
|
||||||
size="mini"
|
|
||||||
icon="el-icon-arrow-down"
|
icon="el-icon-arrow-down"
|
||||||
type="primary"
|
type="primary"
|
||||||
@click="downOne(scope.row)"/>
|
@click="downOne(scope.row)"/>
|
||||||
<el-button
|
<el-button
|
||||||
:disabled="disabled"
|
:disabled="disabled"
|
||||||
size="mini"
|
|
||||||
icon="el-icon-circle-plus-outline"
|
icon="el-icon-circle-plus-outline"
|
||||||
type="primary"
|
type="primary"
|
||||||
@click="insertOne(scope.row)"/>
|
@click="insertOne(scope.row)"/>
|
||||||
<el-button
|
<el-button
|
||||||
:disabled="disabled"
|
:disabled="disabled"
|
||||||
size="mini"
|
|
||||||
icon="el-icon-delete"
|
icon="el-icon-delete"
|
||||||
type="danger"
|
type="danger"
|
||||||
@click="deleteOne(scope.row)"/>
|
@click="deleteOne(scope.row)"/>
|
||||||
@@ -1451,3 +1445,15 @@ export default {
|
|||||||
background: oldlace;
|
background: oldlace;
|
||||||
}
|
}
|
||||||
</style>
|
</style>
|
||||||
|
<style lang="scss">
|
||||||
|
.processTable{
|
||||||
|
.el-input__inner{
|
||||||
|
font-weight: bold;
|
||||||
|
font-size: 20px;
|
||||||
|
}
|
||||||
|
.el-textarea__inner{
|
||||||
|
font-weight: bold;
|
||||||
|
font-size: 20px;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
</style>
|
||||||
|
|||||||
@@ -212,8 +212,8 @@ export default {
|
|||||||
this.partName = ''
|
this.partName = ''
|
||||||
this.batchNum = ''
|
this.batchNum = ''
|
||||||
this.material = ''
|
this.material = ''
|
||||||
this.personValue = ''
|
|
||||||
this.tableData = [] // 清主表
|
this.tableData = [] // 清主表
|
||||||
|
this.personChange()
|
||||||
} else { // 未编制
|
} else { // 未编制
|
||||||
this.shuliang = ''
|
this.shuliang = ''
|
||||||
this.isShow = false
|
this.isShow = false
|
||||||
@@ -224,7 +224,6 @@ export default {
|
|||||||
this.partName = ''
|
this.partName = ''
|
||||||
this.batchNum = ''
|
this.batchNum = ''
|
||||||
this.material = ''
|
this.material = ''
|
||||||
this.personValue = ''
|
|
||||||
this.tableData = [] // 清主表
|
this.tableData = [] // 清主表
|
||||||
getPartnames1().then(response => {
|
getPartnames1().then(response => {
|
||||||
for (let i = 0; i < response.data.length; i++) {
|
for (let i = 0; i < response.data.length; i++) {
|
||||||
|
|||||||
Reference in New Issue
Block a user