fix:出库下发相同任务号问题
This commit is contained in:
@@ -211,7 +211,10 @@ public class TwoOutTask extends AbstractAcsTask {
|
||||
try {
|
||||
this.immediateNotifyAcs(null);
|
||||
}catch (Exception ex){
|
||||
log.warn("载具出库批量下发异常",ex.getMessage());
|
||||
log.warn("载具出库批量下发异常",ex.getMessage());
|
||||
if (!ex.getMessage().equals("存在相同的任务号")){
|
||||
throw new BadRequestException(ex.getMessage());
|
||||
}
|
||||
}
|
||||
}
|
||||
}, "cratergv", 30, this);
|
||||
|
||||
@@ -1,8 +1,8 @@
|
||||
ENV = 'development'
|
||||
|
||||
# 接口地址
|
||||
VUE_APP_BASE_API = 'http://localhost:8013'
|
||||
VUE_APP_WS_API = 'ws://localhost:8013'
|
||||
VUE_APP_BASE_API = 'http://10.1.3.91:8013'
|
||||
VUE_APP_WS_API = 'ws://10.1.3.91:8013'
|
||||
|
||||
# 是否启用 babel-plugin-dynamic-import-node插件
|
||||
VUE_CLI_BABEL_TRANSPILE_MODULES = true
|
||||
|
||||
@@ -269,14 +269,16 @@ export default {
|
||||
crudTask.getFinishType().then(data => {
|
||||
this.finishTypeList = data
|
||||
})
|
||||
this.crud.query.createTime = [new Date().daysAgo(7), new Date()]
|
||||
const afterD = new Date(new Date().getTime() + 2 * 8.64E7)
|
||||
this.crud.query.createTime = [new Date().daysAgo(3), afterD]
|
||||
},
|
||||
methods: {
|
||||
// 钩子:在获取表格数据之前执行,false 则代表不获取数据
|
||||
[CRUD.HOOK.beforeRefresh]() {
|
||||
if (this.query_flag) {
|
||||
this.crud.query.begin_time = (new Date().daysAgo(7)).strftime('%F', 'zh')
|
||||
this.crud.query.end_time = (new Date()).strftime('%F', 'zh')
|
||||
const afterD = new Date(new Date().getTime() + 2 * 8.64E7)
|
||||
this.crud.query.begin_time = (new Date().daysAgo(3)).strftime('%F', 'zh')
|
||||
this.crud.query.end_time = (afterD).strftime('%F', 'zh')
|
||||
this.query_flag = false
|
||||
}
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user