|
|
|
|
@ -95,7 +95,7 @@ import dispatcherDialog from './components/dispatcherDialog.vue' |
|
|
|
|
import addEditInfoDialog from './components/addEditInfoDialog.vue' |
|
|
|
|
import basicImport from '@/components/basic-import/main.vue' |
|
|
|
|
// import calculateNeedValuesByFormula fro/m '@/utils/calculateNeedValuesByFormula' |
|
|
|
|
import {getList,getDetail,deleteInfo,getManager,getPerson,getTeam,setBatch} from '@/api/tankSolutionSystem/info' |
|
|
|
|
import {getList,getDetail,deleteInfo,getManager,getPerson,getTeam,setBatch,getWorkCenter} from '@/api/tankSolutionSystem/info' |
|
|
|
|
export default { |
|
|
|
|
components: { dispatcherDialog, addEditInfoDialog,basicImport }, |
|
|
|
|
data() { |
|
|
|
|
@ -169,7 +169,7 @@ export default { |
|
|
|
|
type: 'select', |
|
|
|
|
sortable: true, |
|
|
|
|
width: 150, |
|
|
|
|
filter: true, |
|
|
|
|
filterable: true, |
|
|
|
|
span: 8, |
|
|
|
|
search: true, |
|
|
|
|
rules: [ |
|
|
|
|
@ -179,8 +179,7 @@ export default { |
|
|
|
|
trigger: 'blur', |
|
|
|
|
}, |
|
|
|
|
], |
|
|
|
|
// dicUrl: '/blade-desk/bsWorkCenter/getList', |
|
|
|
|
dicUrl:'/blade-desk/BA/WorkCenter/listForSelect', |
|
|
|
|
dicData: [], |
|
|
|
|
props: { |
|
|
|
|
label: 'wcName', |
|
|
|
|
value: 'id', |
|
|
|
|
@ -693,6 +692,7 @@ export default { |
|
|
|
|
managerList:[], |
|
|
|
|
teamList:[], |
|
|
|
|
personList:[], |
|
|
|
|
workCenterList:[], |
|
|
|
|
|
|
|
|
|
// data1:[ |
|
|
|
|
// {addPoint:1,testValue:15,volume:10,name:"CUCN",actualValue:20,needValue:30}, |
|
|
|
|
@ -704,6 +704,7 @@ export default { |
|
|
|
|
this.getManagerList() |
|
|
|
|
this.getTeamList() |
|
|
|
|
this.getPersonList() |
|
|
|
|
this.getWorkCenterList() |
|
|
|
|
}, |
|
|
|
|
methods: { |
|
|
|
|
// 主管工艺下拉 |
|
|
|
|
@ -724,6 +725,17 @@ export default { |
|
|
|
|
this.teamList = res.data.data |
|
|
|
|
}) |
|
|
|
|
}, |
|
|
|
|
// 作业中心下拉 |
|
|
|
|
getWorkCenterList(){ |
|
|
|
|
getWorkCenter().then(res =>{ |
|
|
|
|
this.workCenterList = res.data.data |
|
|
|
|
// 动态设置dicData |
|
|
|
|
const column = this.option.column.find(col => col.prop === 'wcName') |
|
|
|
|
if(column) { |
|
|
|
|
column.dicData = res.data.data |
|
|
|
|
} |
|
|
|
|
}) |
|
|
|
|
}, |
|
|
|
|
addInfo(){ |
|
|
|
|
this.infoType = 'add' |
|
|
|
|
this.rowId = null |
|
|
|
|
|