1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
| <script setup>
|
| import BasicTable from "@/components/BasicTable.vue"
| import request from "@/utils/request"
| import { ref} from "vue"
| import { useI18n } from 'vue-i18n'
|
| //语言获取
| const { t } = useI18n()
|
| const childrenData = ref({
| columns:[
| {type: 'seq',fixed:"left", title: t('basicData.Number'), width: '80' },
| {field: 'operationOrderNumber', width:'150', title: t('ingredientsStock.dateOfManufacture'),filters:[{ data: '' }],slots: { filter: 'num1_filter' }},
| {field: 'operationNumber', width: '100',title: t('order.OrderNum'), showOverflow:"ellipsis" ,filters:[{ data: '' }],slots: { filter: 'num1_filter' }},
| {field: 'operateType', width: '120',title:t('warehouseBasicData.type'),filters:[{ data: '' }],slots: { filter: 'num1_filter' }},
| {field: 'quantity', width: '140',title: t('order.quantity'),filters:[{ data: '' }],slots: { filter: 'num1_filter' }},
| {field: 'inventoryId',width: '100', title: t('ingredientsStock.id'),filters:[{ data: '' }],slots: { filter: 'num1_filter' }},
| {field: 'materialCode',width: '140', title: t('ingredients.materialCode'),filters:[{ data: '' }],slots: { filter: 'num1_filter' }},
| {field: 'materialName',width: '140', title: t('ingredientsStock.materialName'),filters:[{ data: '' }],slots: { filter: 'num1_filter' }},
| {field: 'width', width: '100',title: t('order.width'),filters:[{ data: '' }],slots: { filter: 'num1_filter' }},
| {field: 'height',width: '100', title: t('order.height'),filters:[{ data: '' }],slots: { filter: 'num1_filter' }},
| {field: 'thickness', width: '150',title: t('order.totalThickness'),filters:[{ data: '' }],slots: { filter: 'num1_filter' }},
| {field: 'producer', width: '100',title: t('ingredientsStock.producer'),filters:[{ data: '' }],slots: { filter: 'num1_filter' }},
| {field: 'unit', width:'140', title: t('ingredients.unit'),filters:[{ data: '' }],slots: { filter: 'num1_filter' }},
| {field: 'singlePieceArea', width:'140', title: t('productStock.singlePieceArea'),filters:[{ data: '' }],slots: { filter: 'num1_filter' }},
| {field: 'inventoryArea', width:'140', title: t('productStock.inventoryArea'),filters:[{ data: '' }],slots: { filter: 'num1_filter' }},
| {field: 'operator', width: '100',title: t('productStock.creator'),filters:[{ data: '' }],slots: { filter: 'num1_filter' }},
| {field: 'operateTime', width:'140', title: t('productStock.productionDate')},
| {field: 'remarks', width: '140',title: t('productStock.remarks'),filters:[{ data: '' }],slots: { filter: 'num1_filter' }},
|
| ],//表格表头字段
| data:[],//表格数据
| url :'/materialInventory/getMaterialLogReport/物料新增',
| exportUrl :'/materialInventory/exportMaterialLogReport/物料新增',
| exportName:t('stockReport.materialAdditionReport'),
| footList:['quantity']
| })
|
| </script>
|
| <template>
| <basic-table
| :childrenData="childrenData"/>
| </template>
|
| <style scoped>
| </style>
|
|