Merge branch 'dev-nx' of http://192.168.0.56:3000/bonus/devicesmgt into dev-nx

This commit is contained in:
BianLzhaoMin 2024-08-01 18:03:44 +08:00
commit f36fc6f0dd
3 changed files with 8 additions and 12 deletions

View File

@ -25,12 +25,6 @@ public class SgzbGatewayApplication implements CommandLineRunner {
private StringEncryptor encryptor;
@Override
public void run(String... args) throws Exception {
String mysqlNm = encrypt("root" );
String mysqlPs = encrypt("Bonus@admin123!" );
String redis = encrypt("Dszbns@Redis123!" );
System.err.println( "mysqlNm原始明文密码加密后的结果为" + mysqlNm );
System.err.println( "mysqlPs原始明文密码加密后的结果为" + mysqlPs );
System.err.println( "redis原始明文密码加密后的结果为" + redis );
}

View File

@ -539,6 +539,7 @@
v-model.number="scope.row.inputNum"
placeholder="请输入出库数量"
type="number"
@input="checkNum(scope.row)"
clearable
style="width: 100%"
/>
@ -872,9 +873,9 @@ export default {
// console.log(this.dialogQuery)
getLeaseAuditListDetail(this.dialogQuery).then((response) => {
// 0
response.data.rows.forEach(item => {
/* response.data.rows.forEach(item => {
item.outNum = item.outNum < 0 ? 0 : item.outNum
})
}) */
this.dialogList = response.data.rows
this.dialogTotal = response.data.total
})
@ -987,6 +988,7 @@ export default {
},
//
saveCodeOut() {
if (this.maCodeList.length <= this.outObj.outNum) {
let params = this.maCodeList.map((item) => {
let obj = {
id: this.outObj.id,
@ -1008,6 +1010,9 @@ export default {
this.handleDialogQuery()
this.handleQuery()
})
} else {
this.$modal.msgError('所选机具编码已超出出库数量!')
}
},
//
saveNumOut() {

View File

@ -241,15 +241,12 @@
>
<template slot-scope="scope">
<!-- 状态 37-待审核 38-已审核 -->
<el-button type="text" v-if="scope.row.taskStatus == '37'">
待审核
</el-button>
<el-button
type="text"
style="color: #67c23a"
v-if="scope.row.taskStatus == '38'"
>
审核
提交
</el-button>
<el-button type="text" v-if="scope.row.taskStatus == '39'">
退料核查