领料逻辑优化2
This commit is contained in:
parent
e29f79e1b3
commit
4b22734632
|
|
@ -716,7 +716,7 @@ export default {
|
||||||
|
|
||||||
getList(){
|
getList(){
|
||||||
this.loading = true;
|
this.loading = true;
|
||||||
this.maForm.statusList=[3,13]
|
// this.maForm.statusList=[3,13]
|
||||||
this.maForm.taskStage=3
|
this.maForm.taskStage=3
|
||||||
getListDetail(this.maForm).then((response) => {
|
getListDetail(this.maForm).then((response) => {
|
||||||
this.equipmentList = response.rows;
|
this.equipmentList = response.rows;
|
||||||
|
|
|
||||||
|
|
@ -546,7 +546,7 @@ export default {
|
||||||
this.loading = true;
|
this.loading = true;
|
||||||
this.maForm.taskId = this.queryTaskId;
|
this.maForm.taskId = this.queryTaskId;
|
||||||
this.maForm.id = this.queryId;
|
this.maForm.id = this.queryId;
|
||||||
this.maForm.statusList = [3, 13];
|
// this.maForm.statusList = [3, 13];
|
||||||
this.maForm.taskStage = 3;
|
this.maForm.taskStage = 3;
|
||||||
const { data: res } = await getNewBuyBindListDetailsApi(this.maForm);
|
const { data: res } = await getNewBuyBindListDetailsApi(this.maForm);
|
||||||
this.loading = false;
|
this.loading = false;
|
||||||
|
|
|
||||||
|
|
@ -245,8 +245,7 @@ export default {
|
||||||
},
|
},
|
||||||
// 获取列表
|
// 获取列表
|
||||||
async getList() {
|
async getList() {
|
||||||
this.loading = true
|
this.loading = true
|
||||||
this.queryParams.statusList=[3,13]
|
|
||||||
this.queryParams.taskStage = 3
|
this.queryParams.taskStage = 3
|
||||||
const res = await getNewBuyBindListApi(this.queryParams)
|
const res = await getNewBuyBindListApi(this.queryParams)
|
||||||
this.bindList = res.data.rows
|
this.bindList = res.data.rows
|
||||||
|
|
@ -298,7 +297,7 @@ export default {
|
||||||
console.log('数据导出')
|
console.log('数据导出')
|
||||||
this.download(
|
this.download(
|
||||||
"/material/purchase_check_info/export",
|
"/material/purchase_check_info/export",
|
||||||
{ ...this.queryParams,statusList:[3,13],taskStage:3 },
|
{ ...this.queryParams,taskStage:3 },
|
||||||
`新购到货入库_${new Date().getTime()}.xlsx`
|
`新购到货入库_${new Date().getTime()}.xlsx`
|
||||||
);
|
);
|
||||||
},
|
},
|
||||||
|
|
|
||||||
|
|
@ -340,7 +340,7 @@ export default {
|
||||||
this.queryParams.id=this.Id
|
this.queryParams.id=this.Id
|
||||||
this.queryParams.taskId=this.taskId
|
this.queryParams.taskId=this.taskId
|
||||||
this.queryParams.taskStage=4
|
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 => {
|
getPurchaseDetailsList(this.queryParams).then(response => {
|
||||||
this.tableList = response.data.purchaseCheckDetailsList;
|
this.tableList = response.data.purchaseCheckDetailsList;
|
||||||
this.tableList.forEach((item) => {
|
this.tableList.forEach((item) => {
|
||||||
|
|
|
||||||
|
|
@ -391,7 +391,7 @@ export default {
|
||||||
this.queryParams.startTime = undefined
|
this.queryParams.startTime = undefined
|
||||||
this.queryParams.endTime = 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.taskStage = 4
|
||||||
// this.queryParams.modelName="新购验收"
|
// this.queryParams.modelName="新购验收"
|
||||||
getPurchaseList(this.queryParams).then((response) => {
|
getPurchaseList(this.queryParams).then((response) => {
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue