工艺定额等bug

This commit is contained in:
chenjianan
2019-05-05 19:29:19 +08:00
parent 7c0c109700
commit 47681a3e0d
3 changed files with 16 additions and 11 deletions

View File

@@ -353,7 +353,7 @@ export function saveApprove(num0, num1, request0, spec, num2, outhelp, num3, num
method: 'post',
data: {
type: '2',
name: ' ',
name: '车间生产管理工艺_零件工序_增加数据_同时修改工艺计划',
param: '工艺计划流水号=' + num0 + '&工艺编号=' + num1 + '&工艺要求=' + request0 + '&原材料规格=' + spec + '&工序顺序=' + num2 + '&工序间是否外协=' + outhelp + '&工序流水号=' + num3 + '&材料流水号=' + num4 + '&重量=' + weight + '&面积=' + area + '&工艺人员编号=' + num5 + '&工艺难度等级=' + level
}
})

View File

@@ -15,7 +15,7 @@
:value="item.value"/>
</el-select>
<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
v-for="item in partNum"
:key="item.value"
@@ -175,6 +175,7 @@
<el-table
v-loading="loading0"
:data="tableData"
class="processTable"
border
style="width: 100%;max-height: 550px;"
size="mini"
@@ -185,7 +186,6 @@
<el-input
v-model="scope.row.工艺名称"
:disabled="disabled"
size="mini"
readonly
style="width:200px"
@dblclick.native="tableSearch(scope.$index)"/>
@@ -196,7 +196,6 @@
<el-select
v-model="scope.row.工艺难度等级"
:disabled="disabled"
size="mini"
@change="hardEdit(scope.row)">
<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>
@@ -210,7 +209,6 @@
v-model="scope.row.工艺要求"
:rows="1"
:disabled="disabled"
size="mini"
type="textarea"
@dblclick.native="tableSearch(scope.$index)"
@change="requestEdit(scope.row)"/>
@@ -221,25 +219,21 @@
<div>
<el-button
:disabled="disabled"
size="mini"
icon="el-icon-arrow-up"
type="primary"
@click="upOne(scope.row)"/>
<el-button
:disabled="disabled"
size="mini"
icon="el-icon-arrow-down"
type="primary"
@click="downOne(scope.row)"/>
<el-button
:disabled="disabled"
size="mini"
icon="el-icon-circle-plus-outline"
type="primary"
@click="insertOne(scope.row)"/>
<el-button
:disabled="disabled"
size="mini"
icon="el-icon-delete"
type="danger"
@click="deleteOne(scope.row)"/>
@@ -1451,3 +1445,15 @@ export default {
background: oldlace;
}
</style>
<style lang="scss">
.processTable{
.el-input__inner{
font-weight: bold;
font-size: 20px;
}
.el-textarea__inner{
font-weight: bold;
font-size: 20px;
}
}
</style>

View File

@@ -212,8 +212,8 @@ export default {
this.partName = ''
this.batchNum = ''
this.material = ''
this.personValue = ''
this.tableData = [] // 清主表
this.personChange()
} else { // 未编制
this.shuliang = ''
this.isShow = false
@@ -224,7 +224,6 @@ export default {
this.partName = ''
this.batchNum = ''
this.material = ''
this.personValue = ''
this.tableData = [] // 清主表
getPartnames1().then(response => {
for (let i = 0; i < response.data.length; i++) {