| | |
| | | }) |
| | | |
| | | //工序 |
| | | const value = ref('磨边') |
| | | const value = ref(t('machine.edgeGrinding')) |
| | | |
| | | //表尾求和 |
| | | const sumNum = (list, field) => { |
| | |
| | | },//表头参数 |
| | | columns: [ |
| | | {type: 'expand', fixed: "left", slots: {content: 'content'}, width: 50}, |
| | | {type: 'seq', fixed: "left", title: '自序', width: 50}, |
| | | {type: 'seq', fixed: "left", title: t('basicData.Number'), width: 50}, |
| | | |
| | | { |
| | | field: 'project_no', |
| | | width: 120, |
| | | title: '工程编号', |
| | | title: t('report.projectNo'), |
| | | showOverflow: "ellipsis", |
| | | filters: [{data: ''}], |
| | | slots: {filter: 'num1_filter'}, |
| | | filterMethod: filterChanged |
| | | }, |
| | | { |
| | | field: 'material_name', width: 120, title: '物料名称', filters: [{data: ''}], |
| | | field: 'material_name', width: 120, title: t('mainIngredient.materialName'), filters: [{data: ''}], |
| | | slots: {filter: 'num1_filter'}, |
| | | filterMethod: filterChanged |
| | | }, |
| | | { |
| | | field: 'producer',title: '原片产地', filters: [{data: ''}], |
| | | field: 'producer',title: t('mainIngredient.producer'), filters: [{data: ''}], |
| | | slots: {filter: 'num1_filter'}, |
| | | filterMethod: filterChanged |
| | | }, |
| | | { |
| | | field: 'width', |
| | | title: '宽', |
| | | title: t('order.width'), |
| | | type: 'date', |
| | | attrs: {placeholder: '', type: 'date'}, |
| | | }, |
| | | {field: 'height', title: '高', showOverflow: "ellipsis"}, |
| | | {field: 'quantity', title: '已领数量'}, |
| | | {field: 'area', title: '已领面积'}, |
| | | {field: 'date_of_manufacture', title: '原片生产日期'}, |
| | | {field: 'date', title: '领出日期'}, |
| | | {field: 'height', title: t('order.height'), showOverflow: "ellipsis"}, |
| | | {field: 'quantity', title: t('report.quantityClaimed')}, |
| | | {field: 'area', title: t('report.areaClaimed')}, |
| | | {field: 'date_of_manufacture', title: t('mainIngredient.dateOfManufacture')}, |
| | | {field: 'date', title: t('report.dateClaimed')}, |
| | | ],//表头按钮 |
| | | |
| | | toolbarConfig: { |
| | |
| | | <el-row :gutter="0"> |
| | | <el-date-picker |
| | | v-model="form.date1" |
| | | end-placeholder="结束时间" |
| | | :start-placeholder="$t('basicData.startDate')" |
| | | :end-placeholder="$t('basicData.endDate')" |
| | | format="YYYY/MM/DD" |
| | | start-placeholder="开始时间" |
| | | style="width: 100px" |
| | | type="daterange" |
| | | value-format="YYYY-MM-DD" |
| | | /> |
| | | |
| | | <el-button type="primary" @click="getWorkOrder">查询</el-button> |
| | | <el-button type="primary" @click="getWorkOrder">{{$t('basicData.search')}}</el-button> |
| | | </el-row> |
| | | |
| | | </div> |
| | |
| | | <template #toolbar_buttons> |
| | | <vxe-button style="margin-right: 0.5rem" |
| | | @click="exportExcel('/report/exportRawMaterialRequisition', |
| | | '原片领料报表', |
| | | t('report.rawMaterialRequisition'), |
| | | form.date1)"> |
| | | 导出</vxe-button> |
| | | {{t('basicData.export')}}</vxe-button> |
| | | </template> |
| | | |
| | | </vxe-grid> |