fix 现存量打印

This commit is contained in:
Amjacks 2025-04-03 11:51:38 +08:00
parent d2c15a6614
commit a27f217e4d
2 changed files with 35 additions and 31 deletions

View File

@ -46,7 +46,7 @@ export function Getprinter(data: any) {
*/
export function updateRemark(data: any) {
return request({
url: '/api/label/updateRemark',
url: '/api/api/label/updateRemark',
method: 'post',
data: data,
});
@ -57,7 +57,7 @@ export function updateRemark(data: any) {
*/
export function updateTruegg(data: any) {
return request({
url: '/api/label/updateTruegg',
url: '/api/api/label/updateTruegg',
method: 'post',
data: data,
});
@ -97,7 +97,7 @@ export function getSpecList(data: any) {
export function labelMaterial(data: any) {
return request({
url: '/api/label/labelMaterial',
url: '/api/api/label/labelMaterial',
method: 'post',
data: data,
});

View File

@ -505,17 +505,19 @@ const handleQuery = () => {
function getStorageSpec() {
state.queryParams.params.LOCATIONNAME = ''
state.AllLocationList = []
getQueryList({
queryId: 'GetLocationList',
version: 'WEB00001',
params: {
SITENAME: 'SDK',
ERPLOCATION: state.queryParams.params.ERPLOCATION //PO
} as any
}).then((res: any) => {
state.AllLocationList = res.data
locatioNFilter('')
})
if(state.queryParams.params.ERPLOCATION) {
getQueryList({
queryId: 'GetLocationList',
version: 'WEB00001',
params: {
SITENAME: 'SDK',
ERPLOCATION: state.queryParams.params.ERPLOCATION //PO
} as any
}).then((res: any) => {
state.AllLocationList = res.data
locatioNFilter('')
})
}
}
function getGetPrintLabelType() {
@ -547,21 +549,23 @@ function locatioNFilter(query: any) {
function getERPLocation() {
state.queryParams.params.LOCATIONNAME = ''
state.queryParams.params.ERPLOCATION = ''
getQueryList({
// queryId: "GetERPLocationForCreatePO",
queryId: 'GetErpLocationList',
version: 'WEB00001',
params: {
SITENAME: 'SDK',
ERPFACTORYNAME: state.queryParams.params.ERPFACTORY
} as any
}).then((res: any) => {
console.log(res.data)
state.ERPLocationList = res.data
state.ERPLocationList.unshift({
VALUE: '全部'
if (state.queryParams.params.ERPFACTORY) {
getQueryList({
// queryId: "GetERPLocationForCreatePO",
queryId: 'GetErpLocationList',
version: 'WEB00001',
params: {
SITENAME: 'SDK',
ERPFACTORYNAME: state.queryParams.params.ERPFACTORY
} as any
}).then((res: any) => {
console.log(res.data)
state.ERPLocationList = res.data
state.ERPLocationList.unshift({
VALUE: '全部'
})
})
})
}
}
function ERPFactoryQuery() {
@ -611,9 +615,9 @@ function commitDESC_CN() {
.then((res: any) => {
console.log(res.success)
if (res.success) {
// ElMessageBox.alert('', '', {
// confirmButtonText: 'OK',
// })
ElMessageBox.alert('修改实际规格成功', '提醒框', {
confirmButtonText: 'OK',
})
} else {
ElMessageBox.alert(res.message, '提醒框', {
confirmButtonText: 'OK'