新购管理接口参数修改

This commit is contained in:
zzyuan 2024-11-11 18:32:47 +08:00
parent 619ef2ad17
commit 65aff8c6d7
8 changed files with 17 additions and 10 deletions

View File

@ -292,6 +292,7 @@
this.queryParams.id=this.Id
this.queryParams.taskId=this.taskId
this.queryParams.taskStatus=2
this.queryParams.statusList=[2,12]
getPurchaseDetailsList(this.queryParams).then(response => {
this.tableList = response.data.purchaseCheckDetailsList;
this.tableList.forEach((item) => {

View File

@ -66,8 +66,8 @@
<span>{{ (queryParams.pageNum - 1) * queryParams.pageSize + scope.$index + 1 }}</span>
</template>
</el-table-column>
<el-table-column label="到货时间" align="center" prop="arrivalTime" :show-overflow-tooltip="true"/>
<el-table-column label="采购单号" align="center" prop="code" :show-overflow-tooltip="true"/>
<el-table-column label="到货时间" align="center" prop="arrivalTime" width="150" :show-overflow-tooltip="true"/>
<el-table-column label="采购单号" align="center" prop="code" width="150" :show-overflow-tooltip="true"/>
<el-table-column label="采购物资" align="center" prop="purchaseMaTypeName" :show-overflow-tooltip="true"/>
<el-table-column label="采购数量" align="center" prop="purchaseMaNumber" :show-overflow-tooltip="true"/>
<el-table-column label="采购价格(元含税)" align="center" prop="purchaseTaxPrice" width="80" :show-overflow-tooltip="true"/>
@ -75,7 +75,7 @@
<el-table-column label="税率" align="center" prop="taxRate" :show-overflow-tooltip="true"/>
<el-table-column label="物资厂家" align="center" prop="supplier" :show-overflow-tooltip="true"/>
<el-table-column label="操作人" align="center" prop="createBy" :show-overflow-tooltip="true"/>
<el-table-column label="操作时间" align="center" prop="createTime" :show-overflow-tooltip="true"/>
<el-table-column label="操作时间" align="center" prop="createTime" width="150" :show-overflow-tooltip="true"/>
<el-table-column label="状态" align="center" prop="taskStatus" :show-overflow-tooltip="true">
<template slot-scope="scope">
<dict-tag :options="dict.type.purchase_task_status" :value="scope.row.taskStatus"/>
@ -341,6 +341,7 @@
this.queryParams.endTime=undefined
}
this.queryParams.taskStatus="2"
this.queryParams.statusList=[2,12]
getPurchaseList(this.queryParams).then(response => {
this.tableList = response.rows;
this.total = response.total;

View File

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

View File

@ -652,6 +652,7 @@ export default {
typeId: this.queryParams.typeId,
pageSize: this.queryParams.pageSize,
pageNum: this.queryParams.pageNum,
statusList: [1],
};
getListNewBuy(this.addDateRange(params)).then((response) => {
this.typeList = response.rows;

View File

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

View File

@ -95,13 +95,13 @@
<el-table-column
align="center"
label="到货时间"
prop="arrivalTime"
prop="arrivalTime" width="150"
show-overflow-tooltip
/>
<el-table-column
label="采购单号"
align="center"
prop="code"
prop="code" width="150"
show-overflow-tooltip
/>
<el-table-column
@ -125,7 +125,7 @@
<el-table-column
label="创建时间"
align="center"
prop="createTime"
prop="createTime" width="150"
show-overflow-tooltip
/>
<el-table-column label="状态" align="center" show-overflow-tooltip>
@ -238,6 +238,7 @@ export default {
//
async getList() {
this.loading = true
this.queryParams.statusList=[3,13]
const res = await getNewBuyBindListApi(this.queryParams)
this.bindList = res.rows
this.total = res.total

View File

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

View File

@ -115,13 +115,13 @@
<el-table-column
label="到货时间"
align="center"
prop="arrivalTime"
prop="arrivalTime" width="150"
:show-overflow-tooltip="true"
/>
<el-table-column
label="采购单号"
align="center"
prop="code"
prop="code" width="150"
:show-overflow-tooltip="true"
/>
<el-table-column
@ -171,7 +171,7 @@
<el-table-column
label="操作时间"
align="center"
prop="createTime"
prop="createTime" width="150"
:show-overflow-tooltip="true"
/>
<el-table-column
@ -463,6 +463,7 @@ export default {
this.queryParams.startTime = undefined
this.queryParams.endTime = undefined
}
this.queryParams.statusList=[4,14]
// this.queryParams.modelName=""
getPurchaseList(this.queryParams).then((response) => {
this.tableList = response.rows