parent
8117ebee40
commit
1920adbeed
|
|
@ -157,12 +157,6 @@
|
|||
prop="preNum"
|
||||
:show-overflow-tooltip="true"
|
||||
/>
|
||||
<!-- <el-table-column-->
|
||||
<!-- label="最大退料数"-->
|
||||
<!-- align="center"-->
|
||||
<!-- prop="maxBackNum"-->
|
||||
<!-- :show-overflow-tooltip="true"-->
|
||||
<!-- />-->
|
||||
<el-table-column
|
||||
label="已完成退料数量"
|
||||
align="center"
|
||||
|
|
@ -170,7 +164,7 @@
|
|||
:show-overflow-tooltip="true"
|
||||
/>
|
||||
<el-table-column
|
||||
label="最大退料数量"
|
||||
label="待退料数量"
|
||||
align="center"
|
||||
:show-overflow-tooltip="true"
|
||||
>
|
||||
|
|
@ -180,7 +174,7 @@
|
|||
(scope.row.partNum =
|
||||
scope.row.manageType == 0 ||
|
||||
scope.row.manageType == 1
|
||||
? scope.row.maxBackNum
|
||||
? scope.row.num
|
||||
: scope.row.partNum)
|
||||
}}
|
||||
</span>
|
||||
|
|
@ -242,7 +236,7 @@
|
|||
@click="handleBackup(scope.row)"
|
||||
v-if="
|
||||
!isView &&
|
||||
scope.row.num < scope.row.maxBackNum - scope.row.finishedBackNum &&
|
||||
scope.row.num < scope.row.preNum - scope.row.finishedBackNum &&
|
||||
(userId == scope.row.userId || userId == 1)
|
||||
"
|
||||
>
|
||||
|
|
@ -926,7 +920,7 @@ export default {
|
|||
this.codeQuery.typeId = row.modelId
|
||||
this.codeQuery.agreementId = row.agreementId
|
||||
this.dialogIsView = false
|
||||
this.returnNum = Number(row.maxBackNum)
|
||||
this.returnNum = Number(row.num)
|
||||
this.handleCodeQuery()
|
||||
},
|
||||
//数量退料
|
||||
|
|
@ -934,8 +928,8 @@ export default {
|
|||
this.title = '数量退料'
|
||||
this.openNum = true
|
||||
this.dialogIsView = false
|
||||
this.$set(row, 'backNum', row.maxBackNum) //退料数量
|
||||
this.returnNum = Number(row.maxBackNum)
|
||||
this.$set(row, 'backNum', row.num) //退料数量
|
||||
this.returnNum = Number(row.num)
|
||||
this.dialogData.typeMange = row.manageType
|
||||
this.dialogData.typeName = row.typeName
|
||||
this.dialogData.typeCode = row.typeCode
|
||||
|
|
@ -1030,7 +1024,7 @@ export default {
|
|||
(item.qualifiedNum || 0) +
|
||||
(item.serviceNum || 0) +
|
||||
(item.scrapNum || 0)
|
||||
if (sumUnmber > item.partNum && sumUnmber > item.maxBackNum) {
|
||||
if (sumUnmber > item.partNum && sumUnmber > item.num) {
|
||||
this.$modal.msgError('退料总量已大于待退料数量!')
|
||||
return
|
||||
} else {
|
||||
|
|
|
|||
Reference in New Issue