Browse Source

收货后没有检验指引单

hella_online_20240829
zhang_li 3 months ago
parent
commit
997cde7618
  1. 11
      src/views/wms/purchasereceiptManage/supplierdeliver/supplierdeliverRequestMain/labelForm.vue

11
src/views/wms/purchasereceiptManage/supplierdeliver/supplierdeliverRequestMain/labelForm.vue

@ -154,7 +154,11 @@
<el-table-column label="物料代码" width="150" prop="itemCode" align="center" /> <el-table-column label="物料代码" width="150" prop="itemCode" align="center" />
<el-table-column label="批次" width="150" prop="batch" align="center" /> <el-table-column label="批次" width="150" prop="batch" align="center" />
<el-table-column label="数量" width="100" prop="qty" align="center" /> <el-table-column label="数量" width="100" prop="qty" align="center" />
<el-table-column label="计量单位" width="100" prop="uom" align="center" /> <el-table-column label="计量单位" width="100" prop="uom" align="center">
<template #default="scope">
{{getUomLabel(scope.row.uom)}}
</template>
</el-table-column>
<el-table-column label="托个数" width="100" prop="allTuoQty" align="center" /> <el-table-column label="托个数" width="100" prop="allTuoQty" align="center" />
<el-table-column label="托规格" width="100" prop="secondPackUnit" align="center" /> <el-table-column label="托规格" width="100" prop="secondPackUnit" align="center" />
<el-table-column label="托数量" width="100" prop="secondPackQty" align="center" /> <el-table-column label="托数量" width="100" prop="secondPackQty" align="center" />
@ -180,6 +184,7 @@
<script setup lang="ts"> <script setup lang="ts">
import * as defaultButtons from '@/utils/disposition/defaultButtons' import * as defaultButtons from '@/utils/disposition/defaultButtons'
import * as accuracyFun from '@/utils/calculate' import * as accuracyFun from '@/utils/calculate'
import { DICT_TYPE, getStrDictOptions } from '@/utils/dict'
const message = useMessage() // const message = useMessage() //
const { t } = useI18n() // const { t } = useI18n() //
@ -589,9 +594,13 @@ const blurThree = (oneRow, twoRow, thereeRow) => {
}) })
twoRow.qtyOne = num twoRow.qtyOne = num
} }
const getUomLabel = (uom) =>{
return getStrDictOptions(DICT_TYPE.UOM)?.find(item=>item.value == uom)?.label
}
// //
const emit = defineEmits(['submitForm']) const emit = defineEmits(['submitForm'])
defineExpose({ openLabel, dialogTableVisible, isLoading }) // open defineExpose({ openLabel, dialogTableVisible, isLoading }) // open
</script> </script>
<style lang="scss" scoped> <style lang="scss" scoped>
::v-deep .row-expand-cover td .el-table__expand-icon { ::v-deep .row-expand-cover td .el-table__expand-icon {

Loading…
Cancel
Save