Browse Source

但是我输入 IFS账号和密码 a a 依旧可以正常进行测试申请啊。 IFS中根本没有 a 这个账号

1、测试申请获取物料成本时,不需要校验IFS账号密码
master
han\hanst 1 month ago
parent
commit
ce32975819
  1. 2
      src/api/part/partInformation.js
  2. 8
      src/views/modules/test/testSoBom/testTable.vue

2
src/api/part/partInformation.js

@ -231,6 +231,8 @@ export const getPartRevisionEngChgLevel = data => createAPI(`/plm/partInformatio
export const queryPartUnitCostList = data => createAPI(`/plm/partInformation/queryPartUnitCostList`,'post',data)
export const onlyQueryPartUnitCostList = data => createAPI(`/plm/partInformation/onlyQueryPartUnitCostList`,'post',data)
export const getItemListByCodeNo = data => createAPI(`/plm/partInformation/getItemListByCodeNo`,'post',data)
export const getItemExclusionAlreadyExists = data => createAPI(`/plm/partInformation/getItemExclusionAlreadyExists`,'post',data)

8
src/views/modules/test/testSoBom/testTable.vue

@ -11,7 +11,7 @@ import {searchPart, searchPartList} from '@/api/part/partInformation.js';
import numberInput from "../../common/numberInput.vue";
import {searchAllUmInformationList} from "../../../../api/part/umInformation";
import {Decimal} from "decimal.js";
import {queryPart, queryPartUnitCostList} from "../../../../api/part/partInformation";
import {queryPart, onlyQueryPartUnitCostList} from "../../../../api/part/partInformation";
export default {
name: "testTable",
components:{
@ -440,7 +440,7 @@ export default {
userName: this.$store.state.user.name
}
this.queryLoading = true
queryPartUnitCostList(params).then(({data}) => {
onlyQueryPartUnitCostList(params).then(({data}) => {
if (data && data.code === 0) {
this.testSoBom.componentPartNo = row.partNo;
this.testSoBom.partDesc = row.partDesc;
@ -682,12 +682,12 @@ export default {
const totalAmount = this.dataList.reduce((sum, item) => {
return sum + (Number(item.totalCost) || 0)
}, 0)
const params = {
testNo: this.testNo,
materialTotalAmount: totalAmount
}
updateMaterialTotalAmount(params).then(({data}) => {
if (data && data.code === 0) {
//

Loading…
Cancel
Save