Compare commits
3 Commits
b2476872c0
...
2b74e3ec96
Author | SHA1 | Date | |
---|---|---|---|
2b74e3ec96 | |||
8d4c058114 | |||
d2c9d09337 |
@ -26,7 +26,7 @@ import request from '@/utils/request';
|
||||
|
||||
export function getoutPortList(ChangeParams: any) {
|
||||
return request({
|
||||
url: '/api/MaturationLibrary/getPort',
|
||||
url: '/api/api/MaturationLibrary/getPort',
|
||||
method: 'post',
|
||||
data: ChangeParams,
|
||||
});
|
||||
@ -42,7 +42,7 @@ export function GetLiberaryBaeIn(ChangeParams: any) {
|
||||
|
||||
export function AutoStockOut(ChangeParams: any) {
|
||||
return request({
|
||||
url: '/api/MaturationLibrary/AutoStockOut',
|
||||
url: '/api/api/MaturationLibrary/AutoStockOut',
|
||||
method: 'post',
|
||||
data: ChangeParams,
|
||||
});
|
||||
|
@ -2,7 +2,7 @@ import request from '@/utils/request';
|
||||
|
||||
export function createcheckmark(data: any) {
|
||||
return request({
|
||||
url: '/api/checkmark/createMark',
|
||||
url: '/api/api/checkmark/createMark',
|
||||
method: 'post',
|
||||
data: data,
|
||||
});
|
||||
@ -27,7 +27,7 @@ export function Auditcheckmark(data: any) {
|
||||
|
||||
export function checkmarkAudit(data: any) {
|
||||
return request({
|
||||
url: '/api/checkmark/checkmarkAudit',
|
||||
url: '/api/api/checkmark/checkmarkAudit',
|
||||
method: 'post',
|
||||
data: data,
|
||||
});
|
||||
|
@ -294,19 +294,10 @@ const handleQuery = () => {
|
||||
state.wareHouseList = [];
|
||||
getQueryPageList(state.queryParams)
|
||||
.then((res: any) => {
|
||||
if(res.data.list.length == 0){
|
||||
ElMessageBox.alert('查无数据', '提醒框', {
|
||||
confirmButtonText: 'OK',
|
||||
})
|
||||
state.disableds = false;
|
||||
state.loadings = false;
|
||||
} else {
|
||||
console.log(res.data);
|
||||
state.wareHouseList = res.data.list;
|
||||
state.total = res.data.total;
|
||||
state.disableds = false;
|
||||
state.loadings = false;
|
||||
}
|
||||
state.wareHouseList = res.data.list;
|
||||
state.total = res.data.total;
|
||||
state.disableds = false;
|
||||
state.loadings = false;
|
||||
})
|
||||
.catch(() => { });
|
||||
}
|
||||
@ -386,10 +377,8 @@ function dialogOpend() {
|
||||
state.formData.STORAGENAME = ''
|
||||
state.formData.DESCRIPTION = ''
|
||||
if (state.selectItem && state.dialog.type === 'edit') {
|
||||
state.formData = {
|
||||
STORAGENAME: state.selectItem.STORAGENAME,
|
||||
DESCRIPTION: state.selectItem.DESCRIPTION
|
||||
};
|
||||
state.formData.STORAGENAME = state.selectItem.STORAGENAME
|
||||
state.formData.DESCRIPTION = state.selectItem.DESCRIPTION
|
||||
}
|
||||
}
|
||||
// ERP工厂查询
|
||||
|
@ -317,10 +317,11 @@ function handleQuery2() {
|
||||
getQueryPageList(query).then((res: any) => {
|
||||
if(res.data.list.length == 0){
|
||||
state.list2 = []
|
||||
state.list = []
|
||||
ElMessageBox.alert('查无数据', '提醒框', {
|
||||
confirmButtonText: 'OK',
|
||||
})
|
||||
|
||||
|
||||
state.loading = false;
|
||||
} else {
|
||||
state.loading = false;
|
||||
|
@ -335,9 +335,12 @@ function handleAdd() {
|
||||
state.boxDrawer = true;
|
||||
}
|
||||
async function handleQuery() {
|
||||
if (state.queryForm.params.DateValue.length > 0) {
|
||||
if (state.queryForm.params.DateValue && state.queryForm.params.DateValue.length > 0) {
|
||||
state.queryForm.params.FROMDATE = state.queryForm.params.DateValue[0]
|
||||
state.queryForm.params.TODATE = state.queryForm.params.DateValue[1]
|
||||
} else {
|
||||
state.queryForm.params.FROMDATE = ''
|
||||
state.queryForm.params.TODATE = ''
|
||||
}
|
||||
await getQueryPageList(state.queryForm)
|
||||
.then((res: any) => {
|
||||
|
@ -251,7 +251,7 @@ const { tableContainer, tableHeight, updateTableHeight, handleResize } = bTableH
|
||||
CHARGE : '',
|
||||
} ,
|
||||
boxDrawer :false,
|
||||
PhaseList: [{ label: 'C', Value: 'C' }, { label: 'D', Value: 'D' }, { label: 'S', Value: 'S' }] as any,
|
||||
PhaseList: [{ label: '全部', Value: '' }, { label: 'C', Value: 'C' }, { label: 'D', Value: 'D' }, { label: 'S', Value: 'S' }] as any,
|
||||
ChangeERPLocation: [],
|
||||
ChangeLocation: [],
|
||||
AllNumber: 0,//标签总数量
|
||||
|
@ -232,7 +232,7 @@ const { tableContainer, tableHeight, updateTableHeight, handleResize } = bTableH
|
||||
CHARGE : '',
|
||||
} ,
|
||||
boxDrawer :false,
|
||||
PhaseList: [{ label: 'C', Value: 'C' }, { label: 'D', Value: 'D' }, { label: 'S', Value: 'S' }] as any,
|
||||
PhaseList: [{ label: '全部', Value: '' }, { label: 'C', Value: 'C' }, { label: 'D', Value: 'D' }, { label: 'S', Value: 'S' }] as any,
|
||||
ChangeERPLocation: [],
|
||||
ChangeLocation: [],
|
||||
AllNumber: 0,//标签总数量
|
||||
@ -533,17 +533,11 @@ const { tableContainer, tableHeight, updateTableHeight, handleResize } = bTableH
|
||||
state.queryParams.version = 'WEB00034'
|
||||
await getQueryPageList(state.queryParams)
|
||||
.then((res: any) => {
|
||||
if (res.data.list.length > 0) {
|
||||
state.BoxHistoryList = res.data.list
|
||||
state.total = res.data.total
|
||||
} else {
|
||||
state.BoxHistoryList = res.data.list
|
||||
proxy.$ElMessage.success('查询结果为空');
|
||||
}
|
||||
|
||||
state.BoxHistoryList = res.data.list
|
||||
state.total = res.data.total
|
||||
})
|
||||
// state.queryParams.version = 'WEB00032'
|
||||
state.queryParams.version = 'WEB00034'
|
||||
/*state.queryParams.version = 'WEB00034'
|
||||
state.AllNumber = 0
|
||||
state.UnitNumber = 0
|
||||
await getQueryList(state.queryParams)
|
||||
@ -555,7 +549,7 @@ const { tableContainer, tableHeight, updateTableHeight, handleResize } = bTableH
|
||||
state.UnitNumber = state.UnitNumber + Qty
|
||||
}
|
||||
|
||||
})
|
||||
})*/
|
||||
}
|
||||
function exportExcel() {
|
||||
state.queryParams.version = 'WEB00033'
|
||||
|
@ -214,13 +214,8 @@ function updateInfo() {
|
||||
async function handleQuery() {
|
||||
state.loading = true
|
||||
await getQueryPageList(state.queryParams).then((res: any) => {
|
||||
if (res.data.list.length > 0) {
|
||||
state.dataList = res.data.list
|
||||
state.total = res.data.total
|
||||
} else {
|
||||
state.dataList = res.data.list
|
||||
proxy.$ElMessage.success('查询结果为空')
|
||||
}
|
||||
state.dataList = res.data.list
|
||||
state.total = res.data.total
|
||||
state.loading = false
|
||||
})
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user