diff --git a/.env.development b/.env.development
index a247152..233fa04 100644
--- a/.env.development
+++ b/.env.development
@@ -2,7 +2,11 @@
ENV = 'development'
# base api
+<<<<<<< HEAD
VUE_APP_BASE_API = ''
+=======
+VUE_APP_BASE_API = http://192.168.60.99:9003/
+>>>>>>> a6c8b1e1684440c52d558eda7fdfa132ae1ca972
#VUE_APP_OUT_URL = http://suzhouhedaooa.langye.net
VUE_APP_OUT_URL = http://192.168.60.18:2021
diff --git a/src/views/budget/budgetList.vue b/src/views/budget/budgetList.vue
index 069184b..ad9cda6 100644
--- a/src/views/budget/budgetList.vue
+++ b/src/views/budget/budgetList.vue
@@ -1,3 +1,4 @@
+
@@ -515,5 +516,5 @@
right: 30px;
z-index: 2;
}
- }
-
+ }
+
diff --git a/src/views/budget/seeBudget.vue b/src/views/budget/seeBudget.vue
index c11c023..beb3f35 100644
--- a/src/views/budget/seeBudget.vue
+++ b/src/views/budget/seeBudget.vue
@@ -38,7 +38,7 @@
-
+
@@ -165,6 +165,9 @@ export default {
methods: {
//合计
summary(param){
+ this.$nextTick(()=>{
+ this.$refs['xyTable'].$children[0].doLayout()
+ })
const { columns, data } = param
const sums = []
columns.map((column,index) => {
diff --git a/src/views/contract/components/detailContract.vue b/src/views/contract/components/detailContract.vue
index 6a223df..66781eb 100644
--- a/src/views/contract/components/detailContract.vue
+++ b/src/views/contract/components/detailContract.vue
@@ -336,8 +336,8 @@ export default {
}
},
mounted() {
- this.window.width = screen.availWidth * 0.8
- this.window.height = screen.availHeight * 0.8
+ this.window.width = screen.availWidth * 0.95
+ this.window.height = screen.availHeight * 0.95
this.window.top = (window.screen.height - 30 - this.window.height)/2
this.window.left = (window.screen.width - 10 - this.window.width)/2
}
diff --git a/src/views/contract/components/detailPaymentRegistration.vue b/src/views/contract/components/detailPaymentRegistration.vue
index 23978f6..fe81cc4 100644
--- a/src/views/contract/components/detailPaymentRegistration.vue
+++ b/src/views/contract/components/detailPaymentRegistration.vue
@@ -32,7 +32,7 @@
*实际支付金额
-
+
diff --git a/src/views/contract/components/printRegistration.vue b/src/views/contract/components/printRegistration.vue
index e1dcbea..e75e280 100644
--- a/src/views/contract/components/printRegistration.vue
+++ b/src/views/contract/components/printRegistration.vue
@@ -29,11 +29,11 @@
D
本期扣款
- {{priceFormat(registration.act_money)}}
+ {{priceFormat(registration.discount_money)}}
E
本期应付款
- {{priceFormat(registration.discount_money)}}
+ {{priceFormat(registration.apply_money)}}
✔进度款
diff --git a/src/views/contract/contractList.vue b/src/views/contract/contractList.vue
index 23ce6bb..312fa19 100644
--- a/src/views/contract/contractList.vue
+++ b/src/views/contract/contractList.vue
@@ -95,7 +95,7 @@
-
deleteContract(row.id)" @cellClick="showPaymentPlan" :cell-style="cellStyle" :show-summary="true" :summary-method="summary">
+ deleteContract(row.id)" @cellClick="showPaymentPlan" :cell-style="cellStyle" :show-summary="true" :summary-method="summary">
@@ -107,18 +107,18 @@
-
+
-
+
-
+
@@ -396,76 +396,6 @@ export default {
}
}
},
- {
- label:"采购方式",
- width: 120,
- prop:"purchase_way.value"
- },
- {
- label:"资金来源",
- width: 120,
- customFn:(row)=>{
- {
- return row.money_way_detail.map(item => {
- return ({item.value}
)
- })
- }
-
- }
- },
- {
- label:'已付金额',
- prop:'fund_log_total',
- width:180,
- align:'right',
- formatter:(cell,data,value)=>{
- if(!value){
- return '0.00'
- }
- return value
- }
- },
- {
- label:"合同预算价(万元)",
- width: 200,
- prop:"plan_price",
- align:'right',
- formatter:(v1,v2,value)=>{
- return value.toFixed(2).replace(/(\d)(?=(\d{3})+\.)/g, '$1,')
- }
- },
- {
- label:'合同签订价(万元)',
- width: 200,
- prop:'money',
- align:'right'
- },
- {
- label:"合同状态",
- width: 120,
- prop:"status",
- formatter:(cell,data,value)=>{
- switch (value){
- case 1:
- return "待签订"
- break;
- case 2:
- return "已签订"
- break;
- default:
- return "未知"
- }
- }
- },
- {
- label:'付款计划',
- prop:'sign_plan_count',
- width: 120,
- formatter:(cell,data,value)=>{
- if(value == 0) return '暂无'
- return value + '期'
- }
- },
{
label:"采购流程",
multiHd:[
@@ -558,6 +488,76 @@ export default {
}
]
},
+ {
+ label:"采购方式",
+ width: 120,
+ prop:"purchase_way.value"
+ },
+ {
+ label:"资金来源",
+ width: 120,
+ customFn:(row)=>{
+ {
+ return row.money_way_detail.map(item => {
+ return ({item.value}
)
+ })
+ }
+
+ }
+ },
+ {
+ label:'已付金额',
+ prop:'fund_log_total',
+ width:180,
+ align:'right',
+ formatter:(cell,data,value)=>{
+ if(!value){
+ return '0.00'
+ }
+ return value
+ }
+ },
+ {
+ label:"合同预算价(万元)",
+ width: 200,
+ prop:"plan_price",
+ align:'right',
+ formatter:(v1,v2,value)=>{
+ return value.toFixed(2).replace(/(\d)(?=(\d{3})+\.)/g, '$1,')
+ }
+ },
+ {
+ label:'合同签订价(万元)',
+ width: 200,
+ prop:'money',
+ align:'right'
+ },
+ {
+ label:"合同状态",
+ width: 120,
+ prop:"status",
+ formatter:(cell,data,value)=>{
+ switch (value){
+ case 1:
+ return "待签订"
+ break;
+ case 2:
+ return "已签订"
+ break;
+ default:
+ return "未知"
+ }
+ }
+ },
+ {
+ label:'付款计划',
+ prop:'sign_plan_count',
+ width: 120,
+ formatter:(cell,data,value)=>{
+ if(value == 0) return '暂无'
+ return value + '期'
+ }
+ },
{
label:"业务科室",
width: 140,
@@ -679,6 +679,9 @@ export default {
},
//合计
summary(param){
+ this.$nextTick(()=>{
+ this.$refs['xyTable'].$children[0].doLayout()
+ })
const { columns, data } = param
const sums = []
columns.map((column,index) => {
@@ -712,7 +715,7 @@ export default {
},
cellStyle({row, column, rowIndex, columnIndex}){
- if(columnIndex === 11){
+ if(column.property === 'req_status'){
if(row.is_plan === 1){
return {'color':'rgb(140,140,140)'}
}
@@ -730,7 +733,7 @@ export default {
return {'color':'rgb(220,185,126)'}
}
}
- if(columnIndex === 12){
+ if(column.property === 'purchase_status'){
switch (row.purchase_status){
case 1:
return {'color':'rgb(96,109,241)'}
@@ -745,7 +748,7 @@ export default {
return {'color':'rgb(220,185,126)'}
}
}
- if(columnIndex === 13){
+ if(column.property === 'invite_status'){
switch (row.invite_status){
case 1:
return {'color':'rgb(96,109,241)'}
@@ -760,7 +763,7 @@ export default {
return {'color':'rgb(220,185,126)'}
}
}
- if(columnIndex === 14){
+ if(column.property === 'join_status'){
switch (row.join_status){
case 1:
return {'color':'rgb(96,109,241)'}
@@ -897,7 +900,8 @@ export default {
purchase_way_id:this.select.purchaseMethods,
start_plan_price:this.select.priceMin,
end_plan_price:this.select.priceMax,
- status:this.select.status
+ status:this.select.status,
+ is_auth:1
})
this.list = res.list.data
this.total = res.list.total
@@ -990,8 +994,8 @@ export default {
},
},
mounted() {
- this.window.width = screen.availWidth * 0.8
- this.window.height = screen.availHeight * 0.8
+ this.window.width = screen.availWidth * 0.95
+ this.window.height = screen.availHeight * 0.95
this.window.top = (window.screen.height - 30 - this.window.height)/2
this.window.left = (window.screen.width - 10 - this.window.width)/2
diff --git a/src/views/contract/seeContract.vue b/src/views/contract/seeContract.vue
new file mode 100644
index 0000000..307c331
--- /dev/null
+++ b/src/views/contract/seeContract.vue
@@ -0,0 +1,895 @@
+
+
+
+
+
+
+
+ 关键字
+
+
+
+
+
+
+ 创建日期
+
+
+
+
+
+
+
+ 项目类型
+
+
+
+
+
+
+ 业务科室
+
+ select.department = e[e.length-1] || ''"/>
+
+
+
+
+ 采购形式
+
+
+
+
+
+
+ 采购方式
+
+
+
+
+
+
+ 预算金额
+
+
+ -
+
+
+
+
+
+ 状态
+
+
+
+
+
+
+
+
+
+
+
+
deleteContract(row.id)" @cellClick="showPaymentPlan" :cell-style="cellStyle" :show-summary="true" :summary-method="summary">
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/src/views/finance/components/examineRegistration.vue b/src/views/finance/components/examineRegistration.vue
index 365b760..02d8b80 100644
--- a/src/views/finance/components/examineRegistration.vue
+++ b/src/views/finance/components/examineRegistration.vue
@@ -61,7 +61,7 @@
*本期扣款金额
-
+
@@ -259,6 +259,7 @@ export default {
this.paymentRegistrationForm.deductionMoney = res.apply_money
this.paymentRegistrationForm.applyMoney = res.apply_money
this.paymentRegistrationForm.plan = res.plan_link
+ this.paymentRegistrationForm.discountMoney = res.discount_money
await this.getContract(res.contract)
},