外协修改

dev-scheduling
jinna 1 month ago
parent 1fe8b8e90f
commit 46c0338f5a
  1. 2
      src/api/outsourcingManagement/performanceApplication.js
  2. 20
      src/views/oem/oemOrderSettlement/components/settlementAnomaly.vue
  3. 9
      src/views/oem/oemOrderSettlement/components/settlementCompleted.vue
  4. 3
      src/views/oem/oemOrderSettlement/components/settlementIn.vue
  5. 9
      src/views/oem/oemOrderSettlement/components/unsettled.vue
  6. 18
      src/views/oem/performanceApplication/components/addQuality.vue

@ -13,7 +13,7 @@ export const getList = params => {
// 外协绩效申请 // 外协绩效申请
export const performanceApply = data => { export const performanceApply = data => {
return request({ return request({
url: '/api/blade-desk/mesOemMerits/submit', url: '/api/blade-desk/mesOemMerits/applyOemMerits',
method: 'post', method: 'post',
data data
}); });

@ -5,9 +5,9 @@
@selection-change="selectionChange" @current-change="currentChange" @size-change="sizeChange" @selection-change="selectionChange" @current-change="currentChange" @size-change="sizeChange"
@refresh-change="refreshChange" @on-load="onLoad"> @refresh-change="refreshChange" @on-load="onLoad">
<template #menu-left> <template #menu-left>
<el-form ref="form" :model="form" label-width="100px" :inline="true"> <el-form ref="form" :model="formValue" label-width="100px" :inline="true">
<el-form-item label="现执行价格:"> <el-form-item label="现执行价格:">
<el-input v-model="form.name"></el-input> <el-input v-model="formValue.name"></el-input>
</el-form-item> </el-form-item>
<el-form-item> <el-form-item>
<el-button type="primary" @click="settlementFn">结算</el-button> <el-button type="primary" @click="settlementFn">结算</el-button>
@ -35,6 +35,9 @@ export default {
data() { data() {
return { return {
selectionList: [], selectionList: [],
data:[],
loading:false,
query:{},
option: { option: {
height: 'auto', height: 'auto',
calcHeight: 32, calcHeight: 32,
@ -189,7 +192,7 @@ export default {
}, },
{ {
label: '镀后入库时间', label: '镀后入库时间',
prop: 'workCenterNames', prop: 'duhoutime',
sortable: true, sortable: true,
filter: true, filter: true,
span: 24, span: 24,
@ -338,9 +341,8 @@ export default {
] ]
}, },
form: { form: {},
formValue:{},
},
page: { page: {
pageSize: 10, pageSize: 10,
currentPage: 1, currentPage: 1,
@ -467,9 +469,9 @@ export default {
] ]
this.page.total = this.data.length this.page.total = this.data.length
this.loading = false this.loading = false
setTimeout(() => { // setTimeout(() => {
this.selectionClear() // this.selectionClear()
}, 500) // }, 500)
} }
} }
} }

@ -24,6 +24,9 @@ export default {
data() { data() {
return { return {
selectionList: [], selectionList: [],
data:[],
loading:false,
query:{},
option: { option: {
height: 'auto', height: 'auto',
calcHeight: 32, calcHeight: 32,
@ -508,9 +511,9 @@ export default {
] ]
this.page.total = this.data.length this.page.total = this.data.length
this.loading = false this.loading = false
setTimeout(() => { // setTimeout(() => {
this.selectionClear() // this.selectionClear()
}, 500) // }, 500)
} }
} }
} }

@ -27,6 +27,9 @@ export default {
data() { data() {
return { return {
selectionList: [], selectionList: [],
data:[],
loading:false,
query:{},
option: { option: {
height: 'auto', height: 'auto',
calcHeight: 32, calcHeight: 32,

@ -37,6 +37,9 @@ export default {
data() { data() {
return { return {
selectionList: [], selectionList: [],
data:[],
loading:false,
query:{},
option: { option: {
height: 'auto', height: 'auto',
calcHeight: 32, calcHeight: 32,
@ -446,9 +449,9 @@ export default {
] ]
this.page.total = this.data.length this.page.total = this.data.length
this.loading = false this.loading = false
setTimeout(() => { // setTimeout(() => {
this.selectionClear() // this.selectionClear()
}, 500) // }, 500)
} }
} }
} }

@ -501,20 +501,20 @@ export default {
console.log('111111111111') console.log('111111111111')
this.$refs.form.validate(valid => { this.$refs.form.validate(valid => {
if (valid) { if (valid) {
this.data.map(item =>{ // this.data.map(item =>{
item.ocId = parseInt(item.ocId) // item.ocId = parseInt(item.ocId)
}) // })
let params = { let params = {
date:this.submitForm.date, date:this.submitForm.date,
oemMeritsEntities:this.data oemMeritsEntities:this.data
} }
console.log('param---------',params) console.log('param---------',params)
// performanceApply(params).then(res =>{ performanceApply(params).then(res =>{
// if(res.data.code == 200){ if(res.data.code == 200){
// this.$message.success('') this.$message.success('申请成功')
// this.closeDialog(true) this.closeDialog(true)
// } }
// }) })
} }
}) })

Loading…
Cancel
Save