新购二级查询修改

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

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

View File

@ -594,7 +594,7 @@ export default {
//---
async getTaskInfo() {
// 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.id = response.data.purchaseCheckInfo.id
this.maForm.taskId = response.data.purchaseCheckInfo.taskId

View File

@ -203,7 +203,7 @@ export default {
//-
getTaskInfo() {
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.equipmentList = response.data.purchaseCheckDetailsList
this.equipmentList.forEach((item) => {

View File

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

View File

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

View File

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