领料逻辑优化2

This commit is contained in:
zzyuan 2025-01-09 15:09:09 +08:00
parent e29f79e1b3
commit 4b22734632
5 changed files with 6 additions and 7 deletions

View File

@ -716,7 +716,7 @@ export default {
getList(){
this.loading = true;
this.maForm.statusList=[3,13]
// this.maForm.statusList=[3,13]
this.maForm.taskStage=3
getListDetail(this.maForm).then((response) => {
this.equipmentList = response.rows;

View File

@ -546,7 +546,7 @@ export default {
this.loading = true;
this.maForm.taskId = this.queryTaskId;
this.maForm.id = this.queryId;
this.maForm.statusList = [3, 13];
// this.maForm.statusList = [3, 13];
this.maForm.taskStage = 3;
const { data: res } = await getNewBuyBindListDetailsApi(this.maForm);
this.loading = false;

View File

@ -245,8 +245,7 @@ export default {
},
//
async getList() {
this.loading = true
this.queryParams.statusList=[3,13]
this.loading = true
this.queryParams.taskStage = 3
const res = await getNewBuyBindListApi(this.queryParams)
this.bindList = res.data.rows
@ -298,7 +297,7 @@ export default {
console.log('数据导出')
this.download(
"/material/purchase_check_info/export",
{ ...this.queryParams,statusList:[3,13],taskStage:3 },
{ ...this.queryParams,taskStage:3 },
`新购到货入库_${new Date().getTime()}.xlsx`
);
},

View File

@ -340,7 +340,7 @@ export default {
this.queryParams.id=this.Id
this.queryParams.taskId=this.taskId
this.queryParams.taskStage=4
this.queryParams.statusList=[3,13,4,14,19]
// this.queryParams.statusList=[3,13,4,14,19]
getPurchaseDetailsList(this.queryParams).then(response => {
this.tableList = response.data.purchaseCheckDetailsList;
this.tableList.forEach((item) => {

View File

@ -391,7 +391,7 @@ export default {
this.queryParams.startTime = undefined
this.queryParams.endTime = undefined
}
this.queryParams.statusList=[3,13,4,14,19]
// this.queryParams.statusList=[3,13,4,14,19]
this.queryParams.taskStage = 4
// this.queryParams.modelName=""
getPurchaseList(this.queryParams).then((response) => {