9/26 优化1.0

yanshishuju
wangwei 9 months ago
parent 32ce90f55f
commit 0e4f2dbbe1

@ -699,6 +699,7 @@ import ioSplitFifoCodeRemindSetDialog from "./ioSplitFifoCodeRemindSetDialog.vue
import destroyOutDialog from "./destroyOutDialog.vue"; import destroyOutDialog from "./destroyOutDialog.vue";
import {getWorkBindBusTypes, removeBusTypeById} from '@/api/basic/workPlace/sysWorkplaceDocuments' import {getWorkBindBusTypes, removeBusTypeById} from '@/api/basic/workPlace/sysWorkplaceDocuments'
import {getSplitCode} from '@/api/collect/collectOrder' import {getSplitCode} from '@/api/collect/collectOrder'
import { isBlank } from '@/utils/strUtil'
export default { export default {
@ -938,6 +939,9 @@ export default {
}) })
}, },
onResultSubmit() { onResultSubmit() {
if (isBlank(this.resultQuery.code) || isBlank(this.currentRow.relId) || isBlank(this.currentRow.batchNo)){
return this.$message.error("请选择单据")
}
this.resultQuery = { this.resultQuery = {
code: this.resultQuery.code, code: this.resultQuery.code,
relId: this.currentRow.relId, relId: this.currentRow.relId,

@ -399,6 +399,7 @@ export default {
this.$message.success("操作成功") this.$message.success("操作成功")
loading.close(); loading.close();
} else { } else {
loading.close();
this.$message.error(res.message) this.$message.error(res.message)
} }
}).catch(() => { }).catch(() => {

Loading…
Cancel
Save