diff --git a/sgzb-ui/src/views/cost/csotSettlement/component/finishTable.vue b/sgzb-ui/src/views/cost/csotSettlement/component/finishTable.vue
index ef1eedd4..fa06917e 100644
--- a/sgzb-ui/src/views/cost/csotSettlement/component/finishTable.vue
+++ b/sgzb-ui/src/views/cost/csotSettlement/component/finishTable.vue
@@ -160,7 +160,7 @@ export default {
type: [Number, String],
default: () => 0,
},
- // 列表类型 1.01承担方 2.03承担方 3.维修 4.未还 5.报废 6.待报废
+ // 列表类型 1 01承担方 2 03承担方 3 维修 4 未还 5 报废 6 待报废
listType: {
type: Number,
default: () => 0,
@@ -291,7 +291,7 @@ export default {
min-height: 48px;
border: 1px solid #7e7e7e;
background: linear-gradient(to right, #b4b3b3, #edebeb);
- align-items: center;
+ align-items: center !important;
justify-content: space-around;
.cost-bear {
diff --git a/sgzb-ui/src/views/cost/csotSettlement/component/monthRecord.vue b/sgzb-ui/src/views/cost/csotSettlement/component/monthRecord.vue
index f42e715d..d12d6182 100644
--- a/sgzb-ui/src/views/cost/csotSettlement/component/monthRecord.vue
+++ b/sgzb-ui/src/views/cost/csotSettlement/component/monthRecord.vue
@@ -11,12 +11,9 @@
@@ -61,23 +58,23 @@
>
-
-
+
+
明细
- 领用单位:
- 月结月份:
+
+ 领用单位:{{ monthDetailsInfo.unitName || '' }}
+
+
+ 月结月份:
+ {{ monthDetailsInfo.month || '' }}
- 工程名称:
+
+ 工程名称:{{ monthDetailsInfo.projectName || '' }}
+
- 费用承担方: 01( 项目 ) / 03 ( 分包 )
+ 费用承担方:{{
+ monthDetailsInfo.costBearingParty || ''
+ }}
+
+ {{
+ monthDetailsInfo.costBearingParty == '01'
+ ? '(项目)'
+ : '(分包)'
+ }}
-
-
-
-
-
-
+
+
+
+
+
+
-
-
-
-
-
+
+
+
+
+
@@ -144,11 +194,9 @@ export default {
type: Boolean,
default: () => false,
},
- getRecordParams: {
- type: Array,
- default: () => {
- return []
- },
+ agreementId: {
+ type: [String, Number],
+ default: () => '',
},
},
data() {
@@ -161,26 +209,27 @@ export default {
],
// 查询参数
monthRecordParams: {
- dateMonth: '',
+ startTime: '',
+ endTime: '',
costBear: '',
+ agreementId: '',
pageNum: 1,
pageSize: 10,
},
// 列表数据源
- monthRecordList: [
- {
- unit_name: 'xxxxx',
- prod_name: 'xxxxx',
- month: 'xxx',
- month: 'xxx',
- },
- ],
+ monthRecordList: [],
// 复选框勾选后数据
selectList: [],
// 内测弹框
innerVisible: false,
// 列表数量
monthRecordTotal: 1,
+ // 筛选日期
+ dateMonth: '',
+ // 月结明细表头
+ monthDetailsInfo: {},
+ // 月结明细 列表
+ monthDetails: [],
}
},
created() {
@@ -190,8 +239,12 @@ export default {
/** 获取月结记录列表数据 */
async getMonthRecordList() {
// console.log('99999')
+ this.monthRecordParams.startTime = this.dateMonth[0] || ''
+ this.monthRecordParams.endTime = this.dateMonth[1] || ''
+ this.monthRecordParams.agreementId = this.agreementId
// 调后台 Api 获取数据
- const res = await getMonthRecordApi(this.getRecordParams)
+ const res = await getMonthRecordApi([this.monthRecordParams])
+ this.monthRecordList = res.data
console.log(res, '月结记录---')
},
/** 查询 */
@@ -201,6 +254,7 @@ export default {
/** 重置 */
resetQuery() {
this.resetForm('monthRecordFormRef')
+ this.dateMonth = []
this.getMonthRecordList()
},
/** 批量明细导出 */
@@ -227,7 +281,16 @@ export default {
this.innerVisible = false
},
/** 明细按钮 */
- previewDetails() {
+ previewDetails(row) {
+ const { unitName, month, projectName, costBearingParty } = row
+ this.monthDetailsInfo = {
+ unitName,
+ month,
+ projectName,
+ costBearingParty,
+ }
+ console.log(row, '明细')
+ this.monthDetails = row.node
this.innerVisible = true
},
},
diff --git a/sgzb-ui/src/views/cost/csotSettlement/costApplyList.vue b/sgzb-ui/src/views/cost/csotSettlement/costApplyList.vue
index f3bf7946..9ecb4659 100644
--- a/sgzb-ui/src/views/cost/csotSettlement/costApplyList.vue
+++ b/sgzb-ui/src/views/cost/csotSettlement/costApplyList.vue
@@ -182,7 +182,7 @@
@@ -262,7 +262,7 @@ export default {
// 页面标题
pageContent: '',
// 查询月结记录的参数
- getRecordParams: [],
+ agreementId: '',
}
},
created() {
@@ -356,8 +356,7 @@ export default {
},
/** 月结记录 */
handleMonthRecord(row) {
- this.getRecordParams.push({ agreementId: row.agreementId })
- console.log(this.getRecordParams, '月结记录')
+ this.agreementId = row.agreementId
this.monthRecordDialogVisible = true
},
/** 完工结算 结算明细*/
diff --git a/sgzb-ui/src/views/repairTest/repair/dialogOneForm.vue b/sgzb-ui/src/views/repairTest/repair/dialogOneForm.vue
index 0db3c295..c729966c 100644
--- a/sgzb-ui/src/views/repairTest/repair/dialogOneForm.vue
+++ b/sgzb-ui/src/views/repairTest/repair/dialogOneForm.vue
@@ -98,6 +98,7 @@
>
{
+ if (e.partType == 0) {
+ e.partCost = ''
+ }
+ })
let params = {
taskId: this.rowObj.taskId,
maId: this.rowObj.maId,
@@ -591,6 +599,11 @@ export default {
submitTwo() {
this.$refs['dynamicValidateFormTwo'].validate((valid) => {
if (valid) {
+ this.dynamicValidateFormTwo.premiumListTwo.forEach((e) => {
+ if (e.partType == 0) {
+ e.partCost = ''
+ }
+ })
// 数量管理传递参数
let params = {
taskId: this.rowObj.taskId,
diff --git a/sgzb-ui/src/views/repairTest/repair/dialogTwoForm.vue b/sgzb-ui/src/views/repairTest/repair/dialogTwoForm.vue
index 006c0eaa..2fb4dfef 100644
--- a/sgzb-ui/src/views/repairTest/repair/dialogTwoForm.vue
+++ b/sgzb-ui/src/views/repairTest/repair/dialogTwoForm.vue
@@ -1,40 +1,90 @@
-
-
+
+
-
-
-
-
+
+
-
-
-
-
+