Merge branch 'dev-scheduling' of http://42.192.7.176:3000/suojin/jonhon-mes-web into dev-scheduling

dev-scheduling
zhangdi 3 weeks ago
commit f9acfe7430
  1. 2
      src/views/orderManagement/planYieIdOrder.vue
  2. 2
      src/views/productionTesting/components/trialStandard.vue
  3. 24
      src/views/qualityManagement/tankSolutionSystem/info.vue
  4. 8
      src/views/qualityManagement/tankSolutionSystem/tankSolutionTaskDispose.vue

@ -534,7 +534,7 @@ export default {
{ {
label: '返工单号', label: '返工单号',
prop: 'reworkCode', prop: 'reworkCode',
search: true, search: false,
sortable: true, sortable: true,
width: 120, width: 120,
span: 12, span: 12,

@ -257,6 +257,7 @@ export default {
}, },
insertEvent() { insertEvent() {
const record = { _select: false }; const record = { _select: false };
this.fileList = []
this.tidList.push(record) this.tidList.push(record)
}, },
searchChange(params, done){ searchChange(params, done){
@ -321,6 +322,7 @@ export default {
handleEdit(row,index) { handleEdit(row,index) {
getDetail({id:row.id}).then(res =>{ getDetail({id:row.id}).then(res =>{
console.log('res--------------',res) console.log('res--------------',res)
this.fileList = []
if(res.data.data.attach && JSON.stringify(res.data.data.attach) != '{}'){ if(res.data.data.attach && JSON.stringify(res.data.data.attach) != '{}'){
this.fileList = [ this.fileList = [
{ {

@ -95,7 +95,7 @@ import dispatcherDialog from './components/dispatcherDialog.vue'
import addEditInfoDialog from './components/addEditInfoDialog.vue' import addEditInfoDialog from './components/addEditInfoDialog.vue'
import basicImport from '@/components/basic-import/main.vue' import basicImport from '@/components/basic-import/main.vue'
// import calculateNeedValuesByFormula fro/m '@/utils/calculateNeedValuesByFormula' // 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 { export default {
components: { dispatcherDialog, addEditInfoDialog,basicImport }, components: { dispatcherDialog, addEditInfoDialog,basicImport },
data() { data() {
@ -169,7 +169,7 @@ export default {
type: 'select', type: 'select',
sortable: true, sortable: true,
width: 150, width: 150,
filter: true, filterable: true,
span: 8, span: 8,
search: true, search: true,
rules: [ rules: [
@ -179,8 +179,7 @@ export default {
trigger: 'blur', trigger: 'blur',
}, },
], ],
// dicUrl: '/blade-desk/bsWorkCenter/getList', dicData: [],
dicUrl:'/blade-desk/BA/WorkCenter/listForSelect',
props: { props: {
label: 'wcName', label: 'wcName',
value: 'id', value: 'id',
@ -188,7 +187,7 @@ export default {
}, },
{ {
label: '作业槽', label: '作业槽',
prop: 'workTankName', prop: 'workTankId',
search: true, search: true,
type: 'select', type: 'select',
sortable: true, sortable: true,
@ -693,6 +692,7 @@ export default {
managerList:[], managerList:[],
teamList:[], teamList:[],
personList:[], personList:[],
workCenterList:[],
// data1:[ // data1:[
// {addPoint:1,testValue:15,volume:10,name:"CUCN",actualValue:20,needValue:30}, // {addPoint:1,testValue:15,volume:10,name:"CUCN",actualValue:20,needValue:30},
@ -704,6 +704,7 @@ export default {
this.getManagerList() this.getManagerList()
this.getTeamList() this.getTeamList()
this.getPersonList() this.getPersonList()
this.getWorkCenterList()
}, },
methods: { methods: {
// //
@ -724,6 +725,17 @@ export default {
this.teamList = res.data.data 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(){ addInfo(){
this.infoType = 'add' this.infoType = 'add'
this.rowId = null this.rowId = null
@ -842,7 +854,7 @@ export default {
current:this.page.currentPage, current:this.page.currentPage,
size:this.page.pageSize, size:this.page.pageSize,
workCenterId:this.search.wcName ? this.search.wcName : '', workCenterId:this.search.wcName ? this.search.wcName : '',
workTankId:this.search.workTankName ? this.search.workTankName : '', workTankId:this.search.workTankId ? this.search.workTankId : '',
testElement:this.search.testElement ? this.search.testElement : '' testElement:this.search.testElement ? this.search.testElement : ''
}).then(res =>{ }).then(res =>{
this.data = res.data.data.records this.data = res.data.data.records

@ -588,6 +588,7 @@ export default {
} }
this.batchList = this.selectionList this.batchList = this.selectionList
console.log('this.batchList',this.batchList)
this.batchDialog = true this.batchDialog = true
}, },
// //
@ -611,6 +612,7 @@ export default {
}, },
// //
selectionChange(list) { selectionChange(list) {
console.log('list--------------',list)
this.selectionList = list; this.selectionList = list;
}, },
selectionClear() { selectionClear() {
@ -743,9 +745,9 @@ export default {
workCenterId: params?.workCenterId || this.search.workCenterId, workCenterId: params?.workCenterId || this.search.workCenterId,
id: params?.id || this.taskId, // id id: params?.id || this.taskId, // id
}).then(res =>{ }).then(res =>{
res.data.data.records.map(item =>{ // res.data.data.records.map(item =>{
item.liquidTank = null // item.liquidTank = null
}) // })
this.data = res.data.data.records this.data = res.data.data.records
this.data.map(item =>{ this.data.map(item =>{

Loading…
Cancel
Save