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

View File

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