diff --git a/src/api/srm/srmSupplier.js b/src/api/srm/srmSupplier.js
index c0a8030..3ccfa8b 100644
--- a/src/api/srm/srmSupplier.js
+++ b/src/api/srm/srmSupplier.js
@@ -10,3 +10,5 @@ export const confirmRequest= (data) => createAPI(`/srmSupplier/confirmRequest`,'
export const createNewSupplierContract = data => createAPI('/srmSupplier/createNewSupplierContract', 'POST', data)
export const getNewSupplierContract= (data) => createAPI(`/srmSupplier/getNewSupplierContract`,'post',data)
export const deleteSupplierContract= (data) => createAPI(`/srmSupplier/deleteSupplierContract`,'post',data)
+export const getContractRequestList= (data) => createAPI(`/srmSupplier/getContractRequestList`,'post',data)
+export const closeContractRequestList= (data) => createAPI(`/srmSupplier/closeContractRequestList`,'post',data)
diff --git a/src/views/modules/srmSupplier/com_srmSupplier_Contract.vue b/src/views/modules/srmSupplier/com_srmSupplier_Contract.vue
index a3c2214..1e54bc8 100644
--- a/src/views/modules/srmSupplier/com_srmSupplier_Contract.vue
+++ b/src/views/modules/srmSupplier/com_srmSupplier_Contract.vue
@@ -34,7 +34,7 @@
fixed="right"
label="操作">
- Renew |
+ Renew |
Edit |
Delete
@@ -224,6 +224,7 @@ export default {
contractName:'',
contractDetail:'',
createdBy:'',
+ renewflag:'',
},
contractModelFlag:false,
visible:false,
@@ -425,6 +426,7 @@ export default {
contractNo:'',
contractName:'',
contractDetail:'',
+ renewflag:'N',
createBy:this.$store.state.user.name,
}
this.fileList=[]
@@ -532,8 +534,27 @@ export default {
})
},
+ renewModew(row){
+ this.contractModelData=JSON.parse(JSON.stringify(row));
+ this.contractModelData.renewflag='Y'
+ let params={
+ orderRef1:row.site,
+ orderRef2:row.contractId,
+ orderReftype:'SrmSupplierContract',
+ }
+ queryOss(params).then(({data})=>{
+ if (data && data.code === 0){
+ this.fileList = data.rows;
+ }else {
+ this.$message.warning(data.msg);
+ }
+ this.queryLoading = false;
+ })
+ this.contractModelFlag=true;
+ },
editModel(row){
this.contractModelData=JSON.parse(JSON.stringify(row));
+ this.contractModelData.renewflag='N'
let params={
orderRef1:row.site,
orderRef2:row.contractId,
diff --git a/src/views/modules/srmSupplier/supplierContractRequest.vue b/src/views/modules/srmSupplier/supplierContractRequest.vue
new file mode 100644
index 0000000..54b4e2b
--- /dev/null
+++ b/src/views/modules/srmSupplier/supplierContractRequest.vue
@@ -0,0 +1,718 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Supplier No
+
+
+
+
+
+
+
+
+
+ Query
+
+ {{'导出'}}
+
+
+
+
+
+
+
+
+ 取消
+ | Renew
+
+
+
+
+ {{scope.row[item.columnProp]}}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Upload
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ View |
+ delete
+
+
+
+
+ Submit
+ Cancel & Close
+
+
+
+
+
+
+
+
+
+
+
+ 将文件拖到此处,或点击上传
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+