新购二级查询修改

This commit is contained in:
zzyuan 2024-12-24 17:26:45 +08:00
parent 19cc629eb8
commit d60535be2f
6 changed files with 11 additions and 8 deletions

View File

@ -450,8 +450,8 @@ export default {
getList() { getList() {
this.loading = true; this.loading = true;
this.queryParams.id = this.Id; this.queryParams.id = this.Id;
this.queryParams.taskId = this.taskId; this.queryParams.taskId = this.taskId;
// this.queryParams.taskStatus = 2; this.queryParams.taskStage = 2;
this.queryParams.statusList = [2, 12]; this.queryParams.statusList = [2, 12];
getPurchaseDetailsList(this.queryParams).then((response) => { getPurchaseDetailsList(this.queryParams).then((response) => {
this.tableList = response.data.purchaseCheckDetailsList; this.tableList = response.data.purchaseCheckDetailsList;

View File

@ -594,7 +594,7 @@ export default {
//--- //---
async getTaskInfo() { async getTaskInfo() {
// this.loading = true; // this.loading = true;
await getPurchaseCheckInfo({taskId:this.taskId,id:this.id,statusList:[1]}).then((response) => { await getPurchaseCheckInfo({taskId:this.taskId,id:this.id,statusList:[1],taskStage: 1}).then((response) => {
this.maForm = response.data.purchaseCheckInfo this.maForm = response.data.purchaseCheckInfo
this.maForm.id = response.data.purchaseCheckInfo.id this.maForm.id = response.data.purchaseCheckInfo.id
this.maForm.taskId = response.data.purchaseCheckInfo.taskId this.maForm.taskId = response.data.purchaseCheckInfo.taskId

View File

@ -203,7 +203,7 @@ export default {
//- //-
getTaskInfo() { getTaskInfo() {
this.loading = true this.loading = true
getPurchaseCheckInfo({taskId:this.taskId,id:this.id,statusList:[1]}).then((response) => { getPurchaseCheckInfo({taskId:this.taskId,id:this.id,statusList:[1],taskStage: 1}).then((response) => {
this.taskInfo = response.data this.taskInfo = response.data
this.equipmentList = response.data.purchaseCheckDetailsList this.equipmentList = response.data.purchaseCheckDetailsList
this.equipmentList.forEach((item) => { this.equipmentList.forEach((item) => {

View File

@ -717,6 +717,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
getListDetail(this.maForm).then((response) => { getListDetail(this.maForm).then((response) => {
this.equipmentList = response.rows; this.equipmentList = response.rows;
this.total = response.total; this.total = response.total;

View File

@ -157,7 +157,7 @@
> >
查看 查看
</el-button> </el-button>
<el-button plain size="mini" type="warning" @click="handleBind(row)" v-if="!isView&&row.status==3"> <el-button plain size="mini" type="warning" @click="handleBind(row)" v-if="!isView&&row.manageType==0&&(row.status==3||row.status==14)">
<svg-icon icon-class="bind-icon" /> <svg-icon icon-class="bind-icon" />
绑定 绑定
</el-button> </el-button>
@ -166,7 +166,7 @@
type="danger" type="danger"
icon="el-icon-close" icon="el-icon-close"
@click="handleReject(row)" @click="handleReject(row)"
v-if="!isView&&row.status==3" v-if="!isView&&row.manageType==0&&(row.status==3||row.status==14)"
> >
驳回 驳回
</el-button> </el-button>
@ -174,7 +174,7 @@
<el-button <el-button
plain plain
size="mini" size="mini"
type="success" v-if="row.manageType==0&&row.status==3" type="success" v-if="row.manageType==0&&(row.status==3||row.status==14)"
@click="onDownloadQr(row)" @click="onDownloadQr(row)"
> >
<svg-icon icon-class="qr-icon" /> <svg-icon icon-class="qr-icon" />
@ -496,7 +496,7 @@ export default {
taskId: "", taskId: "",
keyWord: "", keyWord: "",
productDate: "", productDate: "",
// taskStatus: 3, taskStage: 3,
}, },
taskId: "", taskId: "",
// //
@ -536,6 +536,7 @@ export default {
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;
const { data: res } = await getNewBuyBindListDetailsApi(this.maForm); const { data: res } = await getNewBuyBindListDetailsApi(this.maForm);
this.loading = false; this.loading = false;
// this.total = res.total // this.total = res.total

View File

@ -332,6 +332,7 @@ export default {
this.loading = true; this.loading = true;
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.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;