Compare commits

...

2 Commits

Author SHA1 Message Date
zhouzy062 f30cde0cec 代码审查问题修改 2024-03-26 13:15:36 +08:00
zhouzy062 1baf4d5e50 前端问题修改 2024-03-26 11:32:17 +08:00
5 changed files with 20 additions and 18 deletions

View File

@ -434,20 +434,22 @@ export default {
handleOut(row) {//1
this.reset();
// this.form = row;
console.log(row)
// console.log(row)
this.$set(this.form,'agreementId',row.agreementId)
this.$set(this.form,'unitId',row.unitId)
this.$set(this.form,'typeId',row.typeId)
this.$set(this.form,'unitName',row.unitName)
this.$set(this.form,'typeName',row.typeName)
this.$set(this.form,'modelName',row.modelName)
this.$set(this.form,'zkNum',row.zkNum)
console.log(this.form)
// console.log(this.form)
this.openOut = true;
this.title = "出库";
},
handleIn(row) {//2
this.reset();
// this.nform = row;
this.$set(this.form,'agreementId',row.agreementId)
this.$set(this.nform,'unitId',row.unitId)
this.$set(this.nform,'typeId',row.typeId)
this.$set(this.nform,'unitName',row.unitName)

View File

@ -301,6 +301,7 @@
countCost(list){
let arrCost = 0;
list.forEach(item=>{
console.log(item)
if(item.partType==0){
arrCost = arrCost
}else if(item.scrapType==0){
@ -310,7 +311,7 @@
}
// console.log(arrCost)
})
console.log(arrCost)
// console.log(arrCost)
return arrCost.toFixed(2)
},
//

View File

@ -104,7 +104,7 @@ export default {
top: 20%;
left: 14%;
width: auto;
height: 500px;
// height: 500px;
border-radius: 6px;
display: flex;
background: #fff;
@ -164,7 +164,6 @@ export default {
width: 100%;
text-align: center;
color: #fff;
font-family: Arial;
font-size: 12px;
letter-spacing: 1px;
}

View File

@ -133,7 +133,7 @@
checkMan:'',//
thisCheckTime:'',//
nextCheckTime:'',//
maStatusName:'',//
// maStatusName:'',//
inspectMan:'',//
inspectStatus:'',//
phone:'',//

View File

@ -489,14 +489,14 @@ export default {
});
},
passAll() {
console.log(this.query.taskId)
console.log(this.ids)
// console.log(this.query.taskId)
// console.log(this.ids)
this.ids.forEach(item => {
item.taskId = this.query.taskId;
item.typeId= item.typeId
item.maId= item.maId
// item.typeId= item.typeId
// item.maId= item.maId
item.inputNum= item.checkNum
item.maCode= item.maCode
// item.maCode= item.maCode
});
let param ={
taskId:this.query.taskId,
@ -515,8 +515,8 @@ export default {
},
//
refused(row) {
console.log(row)
console.log(this.query.taskId)
// console.log(row)
// console.log(this.query.taskId)
row.taskId = this.query.taskId;
let obj = {
taskId:this.query.taskId,
@ -542,14 +542,14 @@ export default {
});
},
refusedAll() {
console.log(this.query.taskId)
console.log(this.ids)
// console.log(this.query.taskId)
// console.log(this.ids)
this.ids.forEach(item => {
item.taskId = this.query.taskId;
item.typeId= item.typeId
item.maId= item.maId
// item.typeId= item.typeId
// item.maId= item.maId
item.inputNum= item.checkNum
item.maCode= item.maCode
// item.maCode= item.maCode
});
let param ={
taskId:this.query.taskId,