Commit e268c93e authored by 沈翠玲's avatar 沈翠玲

生产版本 工序名称 筛选改成前端筛选

parent c13f269a
......@@ -40,9 +40,6 @@
<el-table-column label="工序名称" prop="processName" align="center" width="160">
<template slot-scope="scope">
<el-select v-model="scope.row.processName" placeholder="" filterable :disabled="mode == 'info'"
remote
:remote-method="getProcess"
:loading="loadingProcess"
@change="(v) => chooseprocessName(v, scope.row, scope.$index)">
<el-option
v-for="item in processOptions"
......@@ -502,10 +499,10 @@ export default {
stdWorkingTime: null,
lineBreakTime: null,
stdWorkingTimeUom: null,
outsourced: null,
outsourced: 'N',
unitOfMeasure: null,
keyFlag: null,
isCheck: null,
keyFlag: 'N',
isCheck: 'N',
drawingList: []
},
processOptions: [],
......@@ -567,7 +564,7 @@ export default {
//查询工序信息
getProcess(keyword = null){
this.loadingProcess = true
listAllProcess({processName: keyword}).then( response =>{
listAllProcess({}).then( response =>{
this.processOptions = response.data;
this.loadingProcess = false
});
......@@ -740,7 +737,6 @@ export default {
};
},
chooseprocessName(e, row, index) {
console.log('e', e)
const item = this.processOptions.find(v => v.processName === e)
row['processId'] = item.processId
row['processCode'] = item.processCode
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment