代码修改

This commit is contained in:
ludj
2023-05-06 13:46:46 +08:00
parent 9f74e5a274
commit ea716b6bf2
5 changed files with 11 additions and 2 deletions

View File

@@ -198,6 +198,9 @@
<includes>
<include>**/*.*</include>
</includes>
<excludes>
<exclude>**/*.java</exclude>
</excludes>
</resource>
<resource>
<directory>${basedir}/src/main/resources</directory>

View File

@@ -106,8 +106,13 @@ public class DumpInvTask extends AbstractAcsTask {
ivtObj.put("vehicle_code", turnOutIvtObj.optString("vehicle_code"));
ivtObj.put("qty_unit_uuid", turnOutIvtObj.optString("qty_unit_uuid"));
ivtObj.put("weight_unit_uuid", turnOutIvtObj.optString("weight_unit_uuid"));
//先删除入的库存
WQLObject.getWQLObject("st_ivt_structIvt").delete("struct_uuid = '"+dumpObj.optString("turnin_struct_uuid")+"'");
//转入仓位加库存
ivtService.addIvtFlow(ivtObj, IvtChangeTypeEnum.ADD_IVT_AND_CAN_USE);
}
}

View File

@@ -106,7 +106,7 @@ https://juejin.cn/post/6844903775631572999
<!--开发环境:打印控制台-->
<springProfile name="dev">
<root level="off">
<root level="info">
<appender-ref ref="CONSOLE"/>
</root>

View File

@@ -144,6 +144,7 @@ export default {
})
},
finish() {
debugger
if (this.$refs.table.selection.length === 0) {
this.notify('请选中一条记录!', 'info')
return
@@ -151,7 +152,7 @@ export default {
// 判断是否有完工<加工,弹出提示
for (const i in this.$refs.table.selection) {
console.log(this.$refs.table.selection[i])
if (this.$refs.table.selection[i].finishproduce_qty < this.$refs.table.selection[i].produce_qty) {
if (this.$refs.table.selection[i].finishproduce_qty <= this.$refs.table.selection[i].produce_qty) {
this.$confirm('完工数量小于加工数量,是否继续?', '提示', {
confirmButtonText: '确定',
cancelButtonText: '取消',