退料相关修改
This commit is contained in:
parent
757fba9a51
commit
b5242d634c
|
|
@ -54,10 +54,11 @@ export function addBackApply(data) {
|
||||||
}
|
}
|
||||||
|
|
||||||
// 退料--删除
|
// 退料--删除
|
||||||
export function backApplyRemove(ids) {
|
export function backApplyRemove(data) {
|
||||||
return request({
|
return request({
|
||||||
url: '/material/back_apply_info/' + ids,
|
url: '/material/back_apply_info/deleteById',
|
||||||
method: 'delete',
|
method: 'post',
|
||||||
|
data: data
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -879,7 +879,7 @@ export default {
|
||||||
const obj = JSON.parse(JSON.stringify(z.data))
|
const obj = JSON.parse(JSON.stringify(z.data))
|
||||||
console.log(obj)
|
console.log(obj)
|
||||||
obj.typeModel = obj.typeName
|
obj.typeModel = obj.typeName
|
||||||
obj.typeName = deviceTypeList[2].data.typeName
|
obj.typeName = obj.materialName
|
||||||
obj.preNum = 0
|
obj.preNum = 0
|
||||||
obj.apDetection = ''
|
obj.apDetection = ''
|
||||||
obj.remark = ''
|
obj.remark = ''
|
||||||
|
|
|
||||||
|
|
@ -28,9 +28,9 @@
|
||||||
style="width: 240px"
|
style="width: 240px"
|
||||||
/>
|
/>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
<el-form-item label="退料状态" prop="taskStatus">
|
<el-form-item label="退料状态" prop="status">
|
||||||
<el-select
|
<el-select
|
||||||
v-model="queryParams.taskStatus"
|
v-model="queryParams.status"
|
||||||
clearable
|
clearable
|
||||||
filterable
|
filterable
|
||||||
style="width: 240px"
|
style="width: 240px"
|
||||||
|
|
@ -424,7 +424,7 @@ export default {
|
||||||
keyWord: '', //关键字
|
keyWord: '', //关键字
|
||||||
unitId: '', //单位id
|
unitId: '', //单位id
|
||||||
lotId: '', //工程id
|
lotId: '', //工程id
|
||||||
taskStatus: '', //状态
|
status: '', //状态
|
||||||
typeId: '', //工机具类型
|
typeId: '', //工机具类型
|
||||||
time: '',
|
time: '',
|
||||||
agreementCode: '', //协议
|
agreementCode: '', //协议
|
||||||
|
|
@ -630,7 +630,7 @@ export default {
|
||||||
this.$modal
|
this.$modal
|
||||||
.confirm('是否确认删除所选择的退料任务?')
|
.confirm('是否确认删除所选择的退料任务?')
|
||||||
.then(() => {
|
.then(() => {
|
||||||
return backApplyRemove(row.id)
|
return backApplyRemove({id:row.id})
|
||||||
})
|
})
|
||||||
.then(() => {
|
.then(() => {
|
||||||
this.getList()
|
this.getList()
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue