Browse Source

HL-5833调整线边原料消耗逻辑,完工收货时不再自动生成原料消耗单据和消耗线边原料库存(通过开关控制),修改为通过接口从QAD接收线边原料消耗数量后,按照FIFO原则扣减线边库存

hella_online_20240911
yufei_wang 2 months ago
parent
commit
bbdeacee7d
  1. 11
      src/views/wms/agvManage/backflushDetailbQad/backflushDetailbQad.data.ts
  2. 11
      src/views/wms/agvManage/backflushDetailbQad/index.vue

11
src/views/wms/agvManage/backflushDetailbQad/backflushDetailbQad.data.ts

@ -11,11 +11,7 @@ export const BackflushDetailbQadRules = reactive({
})
export const BackflushDetailbQad = useCrudSchemas(reactive<CrudSchema[]>([
{
label: '数量',
field: 'qty',
sort: 'custom',
},
{
label: '制品收货记录单据号',
field: 'productreceiptNumber',
@ -102,6 +98,11 @@ export const BackflushDetailbQad = useCrudSchemas(reactive<CrudSchema[]>([
sort: 'custom',
isSearch: true,
},
{
label: '数量',
field: 'qty',
sort: 'custom',
},
{
label: '操作',
field: 'action',

11
src/views/wms/agvManage/backflushDetailbQad/index.vue

@ -27,6 +27,10 @@
v-model:currentPage="tableObject.currentPage"
v-model:sort="tableObject.sort"
>
<template #qty="{row}">
<span :class="{'red-text':row.qty<0}">{{ row.qty}}</span>
</template>
<template #status="{row}">
<span>{{ row.status==0?'未执行':row.status==1?'成功':'失败'}}</span>
</template>
@ -258,3 +262,10 @@ onMounted(async () => {
})
</script>
<style lang="scss" scoped>
.red-text{
color:var(--el-color-danger);
font-weight:700;
}
</style>

Loading…
Cancel
Save