update 新料号标签打印,增加SAP料号字段

This commit is contained in:
18110972313 2025-05-29 20:15:00 +08:00
parent 623b332133
commit 9515a4ba1a

View File

@ -277,7 +277,7 @@ export default {
}
</script>
<script lang="ts" setup>
import { reactive, ref, onMounted } from 'vue'
import { reactive, ref, onMounted, getCurrentInstance } from 'vue'
import { ElForm, ElMessageBox, ElTable } from 'element-plus'
import { getQueryPageList, BpelEvent, getQueryList } from '@/api/common'
import {
@ -301,6 +301,7 @@ const { tableContainer, tableHeight, updateTableHeight, handleResize } = bTableH
const queryFormRef = ref(ElForm)
const formDataRef = ref(ElForm)
const store: any = queryListStore()
const { proxy }: any = getCurrentInstance();
/***---------------------------------------------------------------------------
* -------------------------------------页面SQL语句配置------------------------------------------ */
@ -438,7 +439,8 @@ onMounted(() => {
{ header: '仓库', field: 'ERPLOCATIONNAME', hide: false },
{ header: '货位', field: 'LOCATIONNAMEDESC', hide: false },
{ header: '标签编号', field: 'MATERIALPACKINGNAME', hide: false },
{ header: '物料编码', field: 'MATERIALSPECNAME', hide: false },
{ header: 'NC物料编码', field: 'MATERIALSPECNAME', hide: false },
{ header: 'SAP物料编码', field: 'OLDMATERIALSPECNAME', hide: false },
{ header: '品名', field: 'DESC_CN', hide: false },
{ header: '批次', field: 'CHARGE', hide: false },
{ header: '数量', field: 'MATERIALQUANTITY', hide: false },
@ -534,8 +536,8 @@ const handleQuery = () => {
LOCATIONNAME: locationNameString,
DESC_CN: state.queryParams.params.DESC_CN,
},
pageNum: 1,
pageSize: 10
pageNum: state.queryParams.pageNum,
pageSize: state.queryParams.pageSize
})
.then((res: any) => {
if (res.data.list.length == 0) {