重庆退料接收问题修改
This commit is contained in:
parent
926fdb1872
commit
28461b4488
|
|
@ -180,7 +180,7 @@
|
||||||
(scope.row.partNum =
|
(scope.row.partNum =
|
||||||
scope.row.manageType == 0 ||
|
scope.row.manageType == 0 ||
|
||||||
scope.row.manageType == 1
|
scope.row.manageType == 1
|
||||||
? scope.row.preNum
|
? scope.row.maxBackNum
|
||||||
: scope.row.partNum)
|
: scope.row.partNum)
|
||||||
}}
|
}}
|
||||||
</span>
|
</span>
|
||||||
|
|
@ -222,7 +222,7 @@
|
||||||
v-if="
|
v-if="
|
||||||
!isView &&
|
!isView &&
|
||||||
scope.row.manageType == '0' &&
|
scope.row.manageType == '0' &&
|
||||||
scope.row.preNum > 0 &&
|
scope.row.maxBackNum > 0 &&
|
||||||
(userId == scope.row.userId || userId == 1)
|
(userId == scope.row.userId || userId == 1)
|
||||||
"
|
"
|
||||||
>
|
>
|
||||||
|
|
@ -236,7 +236,7 @@
|
||||||
!isView &&
|
!isView &&
|
||||||
(scope.row.manageType == '1' ||
|
(scope.row.manageType == '1' ||
|
||||||
scope.row.manageType == '2') &&
|
scope.row.manageType == '2') &&
|
||||||
scope.row.preNum > 0 &&
|
scope.row.maxBackNum > 0 &&
|
||||||
(userId == scope.row.userId || userId == 1)
|
(userId == scope.row.userId || userId == 1)
|
||||||
"
|
"
|
||||||
>
|
>
|
||||||
|
|
@ -881,7 +881,7 @@ export default {
|
||||||
this.codeQuery.parentId = row.id
|
this.codeQuery.parentId = row.id
|
||||||
this.codeQuery.typeId = row.modelId
|
this.codeQuery.typeId = row.modelId
|
||||||
this.dialogIsView = true
|
this.dialogIsView = true
|
||||||
this.returnNum = Number(row.preNum)
|
this.returnNum = Number(row.maxBackNum)
|
||||||
this.handleCodeQuery()
|
this.handleCodeQuery()
|
||||||
} else if (row.manageType == '2') {
|
} else if (row.manageType == '2') {
|
||||||
this.handleNumReturn(row)
|
this.handleNumReturn(row)
|
||||||
|
|
@ -931,7 +931,7 @@ export default {
|
||||||
this.codeQuery.typeId = row.modelId
|
this.codeQuery.typeId = row.modelId
|
||||||
this.codeQuery.agreementId = row.agreementId
|
this.codeQuery.agreementId = row.agreementId
|
||||||
this.dialogIsView = false
|
this.dialogIsView = false
|
||||||
this.returnNum = Number(row.preNum)
|
this.returnNum = Number(row.maxBackNum)
|
||||||
this.handleCodeQuery()
|
this.handleCodeQuery()
|
||||||
},
|
},
|
||||||
//数量退料
|
//数量退料
|
||||||
|
|
@ -939,8 +939,8 @@ export default {
|
||||||
this.title = '数量退料'
|
this.title = '数量退料'
|
||||||
this.openNum = true
|
this.openNum = true
|
||||||
this.dialogIsView = false
|
this.dialogIsView = false
|
||||||
this.$set(row, 'backNum', row.preNum) //退料数量
|
this.$set(row, 'backNum', row.maxBackNum) //退料数量
|
||||||
this.returnNum = Number(row.preNum)
|
this.returnNum = Number(row.maxBackNum)
|
||||||
this.dialogData.typeMange = row.manageType
|
this.dialogData.typeMange = row.manageType
|
||||||
this.dialogData.typeName = row.typeName
|
this.dialogData.typeName = row.typeName
|
||||||
this.dialogData.typeCode = row.typeCode
|
this.dialogData.typeCode = row.typeCode
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue