Browse Source

2024-10-11

master
qiezi 1 year ago
parent
commit
cc1035e946
  1. 2
      src/views/modules/changeManagement/approvalInformation.vue
  2. 19
      src/views/modules/proofing/requestForProofing.vue
  3. 25
      src/views/modules/quotation/requestForQuote.vue
  4. 30
      src/views/modules/test/requestForTest.vue

2
src/views/modules/changeManagement/approvalInformation.vue

@ -9,7 +9,7 @@ export default {
default: () => [], default: () => [],
}, },
height: { height: {
type: Number,
type: [String,Number],
default: 300 default: 300
}, },
}, },

19
src/views/modules/proofing/requestForProofing.vue

@ -1163,6 +1163,7 @@ export default {
}, },
data() { data() {
return { return {
approvalList: [],
selectionDelegateAccess: [], selectionDelegateAccess: [],
selectionDelegateAccess2: [], selectionDelegateAccess2: [],
delegateAccessVisible: false, delegateAccessVisible: false,
@ -2801,6 +2802,7 @@ export default {
// this.$refs.proofingTable.toggleRowSelection(row) // this.$refs.proofingTable.toggleRowSelection(row)
this.proofingCurrentRow = JSON.parse(JSON.stringify(row)) this.proofingCurrentRow = JSON.parse(JSON.stringify(row))
this.proofingDetailData = JSON.parse(JSON.stringify(row)) this.proofingDetailData = JSON.parse(JSON.stringify(row))
this.getApprovalList()
}, },
/** /**
* 复选报价信息 * 复选报价信息
@ -3723,7 +3725,22 @@ export default {
}).catch((error)=>{ }).catch((error)=>{
this.$message.error(error) this.$message.error(error)
}) })
}
},
//
getApprovalList () {
let tempData = {
site: this.$store.state.user.site,
menuId: this.$route.meta.menuId,
documentNo: this.proofingCurrentRow.proofingNo,
}
getApprovalList(tempData).then(({data}) => {
if (data && data.code === 0) {
this.approvalList = data.rows
} else {
this.approvalList = []
}
})
},
} }
} }
</script> </script>

25
src/views/modules/quotation/requestForQuote.vue

@ -853,6 +853,11 @@
<el-tab-pane label="附件信息" name="oss_file" > <el-tab-pane label="附件信息" name="oss_file" >
<oss-components label="申请单号" style="margin-top: 5px" height="44vh" :columns="ossColumns" :order-ref1="quotationCurrentRow.site" :order-ref2="quotationCurrentRow.quotationNo"></oss-components> <oss-components label="申请单号" style="margin-top: 5px" height="44vh" :columns="ossColumns" :order-ref1="quotationCurrentRow.site" :order-ref2="quotationCurrentRow.quotationNo"></oss-components>
</el-tab-pane> </el-tab-pane>
<!-- 审批信息 -->
<el-tab-pane label="审批信息" name="approvalInformation">
<approval-information ref="approvalTable" v-model:data-list="approvalList" height="46vh" style="margin-top: 5px"></approval-information>
</el-tab-pane>
</el-tabs> </el-tabs>
<!-- chooseList模态框 --> <!-- chooseList模态框 -->
@ -905,6 +910,8 @@ import {queryCustomer} from "../../../api/customer/customerInformation";
import {queryProjectByCustomer} from "../../../api/project/project"; import {queryProjectByCustomer} from "../../../api/project/project";
import OssComponents from "../oss/ossComponents.vue"; import OssComponents from "../oss/ossComponents.vue";
import BuSelect from "../base/BuSelect.vue"; import BuSelect from "../base/BuSelect.vue";
import ApprovalInformation from "../changeManagement/approvalInformation.vue";
import {getApprovalList} from "../../../api/changeManagement/changeManagement";
export default { export default {
computed: { computed: {
@ -925,6 +932,7 @@ export default {
}, },
}, },
components: { components: {
ApprovalInformation,
BuSelect, BuSelect,
OssComponents, OssComponents,
InquiryQuoteDetail, InquiryQuoteDetail,
@ -960,6 +968,7 @@ export default {
quotationCurrentRow(newVal,oldVal){ quotationCurrentRow(newVal,oldVal){
this.getPriceCheckDetailList() this.getPriceCheckDetailList()
this.getPriceCheckProperties(); this.getPriceCheckProperties();
this.getApprovalList();
}, },
'modalData.customerNo'(newV, oldV) { 'modalData.customerNo'(newV, oldV) {
if (oldV) { if (oldV) {
@ -988,6 +997,7 @@ export default {
}, },
data() { data() {
return { return {
approvalList:[],
copyPriceCheckDetail:{}, copyPriceCheckDetail:{},
priceCheckRule: { priceCheckRule: {
associatedPartNo:[{required: true, message: ' ', trigger: 'change'},], associatedPartNo:[{required: true, message: ' ', trigger: 'change'},],
@ -3456,6 +3466,21 @@ export default {
this.$message.error(error) this.$message.error(error)
}) })
}, },
//
getApprovalList () {
let tempData = {
site: this.$store.state.user.site,
menuId: this.$route.meta.menuId,
documentNo: this.quotationCurrentRow.quotationBatchNo,
}
getApprovalList(tempData).then(({data}) => {
if (data && data.code === 0) {
this.approvalList = data.rows
} else {
this.approvalList = []
}
})
},
} }
} }
</script> </script>

30
src/views/modules/test/requestForTest.vue

@ -840,6 +840,12 @@
</el-row> </el-row>
</el-form> </el-form>
</el-tab-pane> </el-tab-pane>
<!-- 审批信息 -->
<el-tab-pane label="审批信息" name="approvalInformation">
<approval-information ref="approvalTable" v-model:data-list="approvalList" height="46vh" style="margin-top: 5px"></approval-information>
</el-tab-pane>
</el-tabs> </el-tabs>
<!-- chooseList模态框 --> <!-- chooseList模态框 -->
@ -956,6 +962,7 @@
import {queryProjectByCustomer, queryProjectPart} from "../../../api/project/project"; import {queryProjectByCustomer, queryProjectPart} from "../../../api/project/project";
import OssComponents from "../oss/ossComponents.vue"; import OssComponents from "../oss/ossComponents.vue";
import BuSelect from "../base/BuSelect.vue"; import BuSelect from "../base/BuSelect.vue";
import {getApprovalList} from "../../../api/changeManagement/changeManagement";
export default { export default {
computed: { computed: {
testInformationFlag () { testInformationFlag () {
@ -982,7 +989,8 @@
TestTable, TestTable,
DictDataSelect, DictDataSelect,
ChooseList, ChooseList,
TestUploadFile
TestUploadFile,
ApprovalInformation
}, },
watch: { watch: {
searchData: { searchData: {
@ -1035,6 +1043,7 @@
}, },
data () { data () {
return { return {
approvalList:[],
detailFlag: false, detailFlag: false,
partItemList1:[], partItemList1:[],
partItemList2:[], partItemList2:[],
@ -2715,6 +2724,7 @@
this.getTestProperties(); this.getTestProperties();
this.getFileContentList() this.getFileContentList()
} }
this.getApprovalList()
}, },
/** /**
* 复选报价信息 * 复选报价信息
@ -3515,7 +3525,23 @@
handleDetail(row){ handleDetail(row){
this.detailFlag = true this.detailFlag = true
this.updateModal(row) this.updateModal(row)
}
},
//
getApprovalList () {
let tempData = {
site: this.$store.state.user.site,
menuId: this.$route.meta.menuId,
documentNo: this.testCurrentRow.testNo,
}
getApprovalList(tempData).then(({data}) => {
if (data && data.code === 0) {
this.approvalList = data.rows
} else {
this.approvalList = []
}
})
},
}, },
} }
</script> </script>

Loading…
Cancel
Save