@@ -704,7 +709,7 @@
**关联的框架协议合同
@@ -719,7 +724,7 @@
closable
color="primary"
@on-close="delSelections(item)"
- >{{ item.name }}{{ item.name }}
@@ -746,7 +751,7 @@
**关联预算计划
@@ -758,8 +763,8 @@
{{
- item.label
- }}
+ item.label
+ }}
@@ -800,7 +805,7 @@
}}
清空选择清空选择
@@ -938,7 +943,7 @@
@@ -1250,40 +1255,40 @@ export default {
);
},
},{
- label: "合同审批流程",
- width: 145,
- prop: "join_status",
- customFn:row => {
- if (row.is_simple || !row.is_contract) {
- return (无);
- }
- const getDate = (value) => {
- switch (value) {
- case 1:
- return "待申请";
- break;
- case 2:
- return "流转中";
- break;
- case 3:
- return "已办结";
- break;
- default:
- return "异常";
- break;
- }
- }
- return (
-
- )
+ label: "合同审批流程",
+ width: 145,
+ prop: "join_status",
+ customFn:row => {
+ if (row.is_simple || !row.is_contract) {
+ return (无);
+ }
+ const getDate = (value) => {
+ switch (value) {
+ case 1:
+ return "待申请";
+ break;
+ case 2:
+ return "流转中";
+ break;
+ case 3:
+ return "已办结";
+ break;
+ default:
+ return "异常";
+ break;
}
- },
+ }
+ return (
+
+ )
+ }
+ },
{
label: "付款计划",
prop: "sign_plan_count",
diff --git a/src/views/contract/contractList.vue b/src/views/contract/contractList.vue
index 5cb4655..b9c54ee 100644
--- a/src/views/contract/contractList.vue
+++ b/src/views/contract/contractList.vue
@@ -1624,66 +1624,6 @@ export default {
{
label: "采购流程",
multiHd: [
- // {
- // label: "请示流程",
- // width: 140,
- // prop: "req_status",
- // formatter: (cell, data, value) => {
- // if (cell.is_substitute) {
- // return "无";
- // }
- // if (cell.is_plan === 1) {
- // return "无";
- // }
- // switch (value) {
- // case 1:
- // return "待申请";
- // break;
- // case 2:
- // return "流转中";
- // break;
- // case 3:
- // return "已办结";
- // break;
- // default:
- // return "异常";
- // break;
- // }
- // },
- // customFn:row => {
- // const getDate = (value) => {
- // if (row.is_substitute) {
- // return "无";
- // }
- // if (row.is_plan === 1) {
- // return "无";
- // }
- // switch (value) {
- // case 1:
- // return "待申请";
- // break;
- // case 2:
- // return "流转中";
- // break;
- // case 3:
- // return "已办结";
- // break;
- // default:
- // return "异常";
- // break;
- // }
- // }
- // return (
- //
- //
{ getDate(row.purchase_status) }
- //
- // {
- // (row.purchase_status === 1 || row.is_substitute || row.is_plan === 1) ? '' :
查看
- // }
- //
- // )
- // }
- // },
{
label: "采购业务审批流程",
width: 158,
@@ -2216,7 +2156,6 @@ export default {
number: "money_way",
});
this.planTypes = res.detail;
- console.log(this.planTypes);
},
//预算计划金额输入
@@ -2233,8 +2172,6 @@ export default {
Number(row.update_money) == 0
? Number(row.money)
: Number(row.update_money);
- console.log(e, money, row.use_money_total);
- console.log(e <= money - Number(row.use_money_total));
if (e <= money - Number(row.use_money_total)) {
row.useMoney = e;
this.plan.forEach((item) => {
@@ -2891,15 +2828,20 @@ export default {
},
created() {
this.getBudgets();
- this.select.keyword = this.$route.query.keyword;
- // iframe = document.createElement("iframe");
- // iframe.src = `${process.env.VUE_APP_OUT_OLD}/login/oss_login?id=${this.$store.state.user.userId}&username=${this.$store.state.user.username}`;
- // iframe.style.display = "none";
- // document.body.appendChild(iframe);
+ this.select.is_simple = 0;
+ this.select.keyword = this.$route.query.keyword || "";
+ this.select.is_myself = this.$route.path.split('_')[1] ? Number(this.$route.path.split('_')[1]) : 0;
+ if (/contractLedger/g.test(this.$route.path)) {
+ this.select.is_contract = 1;
+ this.select.purchase_status = 3;
+ this.select.invite_status = 3;
+ }
+ if (/contractAll/g.test(this.$route.path)) {
+ this.select.is_simple = "";
+ }
},
destroyed() {
window.onfocus = null;
- //document.body.removeChild(iframe);
},
};
diff --git a/src/views/system/dictionary.vue b/src/views/system/dictionary.vue
index 383a147..1e04776 100644
--- a/src/views/system/dictionary.vue
+++ b/src/views/system/dictionary.vue
@@ -35,6 +35,14 @@
+
+ {select.page = e,load()}">
+
@@ -184,9 +192,11 @@
},
tableHeight: 0,
//查询条件字段
- searchFields: {
- KeyWord: ""
+ select: {
+ page: 1,
+ page_size: 20
},
+ total: 0,
tableData: []
}
},
@@ -227,8 +237,9 @@
},
load() {
var that = this;
- listparameter().then(response => {
+ listparameter(this.select).then(response => {
that.tableData = response.data;
+ this.total = response.total;
}).catch(error => {
//reject(error)
})
@@ -249,7 +260,6 @@
}
response.detail_list = response.detail;
let result = Object.assign(that.form, response);
-
}).catch(error => {
//reject(error)
})