This commit is contained in:
liushuai
2019-09-05 10:33:39 +08:00
parent 653abcfc59
commit afcda77786
19 changed files with 4558 additions and 81 deletions

View File

@@ -32,8 +32,8 @@
size="small"
type="date"
placeholder="请选择结束日期"/>
<el-button type="success" icon="el-icon-search" size="small" style="margin-left: 10px" @click="PageSize = 10;PageCurrent = 1;fetchTableData1()">查询</el-button>
<el-button type="primary" icon="el-icon-circle-plus-outline" size="small" style="margin-left: 10px;margin-right: 15px" @click="addBidBond();flag1 = 2"></el-button>
<el-button type="success" icon="el-icon-search" size="small" style="margin-left: 10px" @click="PageSize = 30;PageCurrent = 1;fetchTableData1()">查询</el-button>
<el-button type="primary" icon="el-icon-circle-plus-outline" size="small" style="margin-left: 10px;margin-right: 15px" @click="addBidBond();flag1 = 2"></el-button>
</el-card>
<!--投标保证金表格-->
@@ -192,7 +192,7 @@
@node-click="handleNodeClick"
/>
</div>
<el-table :data="ListPeople" highlight-current-row height="400" style="width: 400px;float: left;margin-left: 30px" @row-click="handleChange">
<el-table :data="ListPeople" highlight-current-row height="400" size="mini" style="width: 400px;float: left;margin-left: 30px" @row-click="handleChange">
<el-table-column label="考勤编号" align="center" >
<template slot-scope="scope">
{{ scope.row.考勤编号 }}
@@ -225,6 +225,7 @@
<el-form-item label="实际收回日期" prop="收回日期">
<el-date-picker
v-model="form1.收回日期"
:picker-options="pickerOptions"
style="width: 200px;"
value-format="yyyy-MM-dd"
size="small"
@@ -261,7 +262,7 @@
</el-col>
<el-col :span="12">
<el-form-item label="保证金金额" prop="保证金金额">
<el-input-number v-model="form2.保证金金额" :precision="2" :step="0.1" style="width: 200px" size="small"/>
<el-input-number v-model="form2.保证金金额" :precision="2" :step="1" style="width: 200px" size="small"/>
</el-form-item>
</el-col>
</el-row>
@@ -338,7 +339,7 @@
placeholder="请选择结果公布日期"/>
</el-form-item>
<el-form-item label="中标服务费" prop="中标服务费">
<el-input-number :disabled="tenderResultDisabled" v-model="Timeform.中标服务费" :precision="2" :step="0.1" :max="tenderResultMax" style="width: 200px" size="small"/>
<el-input-number :disabled="tenderResultDisabled" v-model="Timeform.中标服务费" :precision="2" :step="1" :max="tenderResultMax" style="width: 200px" size="small"/>
</el-form-item>
</el-form>
<div slot="footer" class="dialog-footer">
@@ -365,7 +366,7 @@
<el-row>
<el-col :span="12">
<el-form-item label="保证金金额" prop="保证金金额">
<el-input-number v-model="PerformanceBondform.保证金金额" :precision="2" :step="0.1" style="width: 200px" size="small"/>
<el-input-number v-model="PerformanceBondform.保证金金额" :precision="2" :step="1" style="width: 200px" size="small"/>
</el-form-item>
</el-col>
<el-col :span="12">
@@ -416,6 +417,8 @@ export default {
},
data() {
return {
pickerOptions: {},
timetime: '',
treeData: [7],
entryName: [],
plannedTime: [],
@@ -446,7 +449,7 @@ export default {
radio: '',
tableData1: [],
tenderResultMax: null,
PageSize: 10,
PageSize: 30,
PageCurrent: 1,
total: null,
dataPeople: [],
@@ -514,6 +517,14 @@ export default {
this.fetchTableData1()
},
methods: {
changeTime() {
this.pickerOptions = Object.assign({}, this.pickerOptions, {
disabledDate: (time) => {
console.log(this.timetime)
return time.getTime() < Date.parse(this.timetime)
}
})
},
init() {
this.getSelect(initType, ['保证金类型', '保证金类型流水号'], 'TypeOfGoldDeposit')
this.getSelect(initType, ['保证金类型', '保证金类型流水号'], 'TypeOfGoldDeposit1')
@@ -608,6 +619,8 @@ export default {
},
TakeBack(row) {
this.addForm('form1')
this.timetime = row.投标日期
this.changeTime()
this.dialogFormVisible1 = true
this.code = row.招标保证金流水号
},

View File

@@ -26,7 +26,7 @@
<el-card>
<el-button type="text" icon="el-icon-circle-plus-outline" size="mini" @click="addMarketingManager();flag = 1">添加销售经理</el-button>
<span style="float: right">销售经理</span>
<el-table v-loading="loading3" :data="tableData3" height="192" style="width: 100%;margin-top: 10px" border>
<el-table v-loading="loading3" :data="tableData3" height="192" size="mini" style="width: 100%;margin-top: 10px" border>
<!--<el-table-column label="责权省份" align="center" min-width="80">-->
<!--<template slot-scope="scope">-->
<!--{{ scope.row.省份 }}-->
@@ -69,7 +69,7 @@
</el-table>
</el-card>
<el-row>
<el-col :span="6">
<el-col :span="5">
<el-card>
<el-table
v-loading="loading1"
@@ -78,11 +78,12 @@
stripe
tooltip-effect="dark"
style="width: 100%"
height="744"
height="690"
size="mini"
border>
<el-table-column align="center" label="序号" width="80">
<template slot-scope="scope">
<el-radio :label="scope.row.省份流水号" v-model="radio" @change="pageCurrent = 1;pageSize = 10;getCurrentRow(scope.row.省份流水号, scope.row.省份)"/>
<el-radio :label="scope.row.省份流水号" v-model="radio" @change="pageCurrent = 1;pageSize = 30;getCurrentRow(scope.row.省份流水号, scope.row.省份)"/>
</template>
</el-table-column>
<el-table-column align="center" label="地区">
@@ -93,22 +94,17 @@
</el-table>
</el-card>
</el-col>
<el-col :span="18">
<el-col :span="19">
<el-card>
<el-button type="text" icon="el-icon-circle-plus-outline" size="mini" @click = "addCustomer();flag1 = 1">新增客户</el-button>
<span style="float: right">客户信息</span>
<el-table v-loading="loading2" :data="tableData2" height="670" style="width: 100%;margin-top: 10px" border>
<el-table-column label="省份" align="center" min-width="80px">
<template slot-scope="scope">
{{ scope.row.省份 }}
</template>
</el-table-column>
<el-table-column label="客户名称" align="center" min-width="400">
<el-table v-loading="loading2" :data="tableData2" height="620" size="mini" style="width: 100%;margin-top: 10px" border>
<el-table-column label="客户名称" align="center" min-width="340">
<template slot-scope="scope">
{{ scope.row.客户名称 }}
</template>
</el-table-column>
<el-table-column label="联系人" align="center" min-width="120">
<el-table-column label="联系人" align="center" min-width="100">
<template slot-scope="scope">
{{ scope.row.联系人 }}
</template>
@@ -211,7 +207,7 @@
@node-click="handleNodeClick"
/>
</div>
<el-table :data="ListPeople" height="400" style="width: 400px;float: left;margin-left: 30px" highlight-current-row @row-click="handleChange">
<el-table :data="ListPeople" height="400" style="width: 400px;float: left;margin-left: 30px" size="mini" highlight-current-row @row-click="handleChange">
<el-table-column label="考勤编号" align="center" >
<template slot-scope="scope">
{{ scope.row.考勤编号 }}
@@ -361,7 +357,7 @@ export default {
radio: null, // 地区选择框
tableData2: [], // 客户表
pageCurrent: 1,
pageSize: 40,
pageSize: 30,
total: null,
AdressID: null, // 地区流水号
MarketingManagerValue: '', // 营销经理

View File

@@ -29,7 +29,7 @@
size="small"
type="date"
placeholder="请选择结束日期"/>
<el-button type="success" icon="el-icon-search" size="small" style="margin-left: 10px" @click="PageSize = 10;PageCurrent = 1;fetchTableData1()">查询</el-button>
<el-button type="success" icon="el-icon-search" size="small" style="margin-left: 10px" @click="PageSize = 30;PageCurrent = 1;fetchTableData1()">查询</el-button>
</el-card>
<el-card>
@@ -152,7 +152,7 @@
:value="item.value"/>
</el-select>
<div style="margin-top: 15px">
<el-table :data="tableData3" border style="width: 100%; text-align: center;" highlight-current-row @row-click="handleChange">
<el-table :data="tableData3" border style="width: 100%; text-align: center;" size="mini" highlight-current-row @row-click="handleChange">
<el-table-column label="销售经理" align="center" >
<template slot-scope="scope">
{{ scope.row.姓名 }}
@@ -668,7 +668,7 @@ export default {
endTime: '',
endTime_check: null,
param: '',
PageSize: 10,
PageSize: 30,
PageCurrent: 1,
total: null,
dialogFormVisiblePeople: false,

View File

@@ -11,7 +11,7 @@
</el-select>
<span style="margin-left: 10px">销售经理</span>
<el-input v-model="MarketingManagerValue" readonly clearable size="small" style="width:200px" placeholder="请双击选择营销经理" @dblclick.native="openName" @clear="clear()"/>
<el-button type="success" icon="el-icon-search" size="small" style="margin-left: 10px" @click="PageSize = 10;PageCurrent = 1;tableData2=[];getTableData()">查询</el-button>
<el-button type="success" icon="el-icon-search" size="small" style="margin-left: 10px" @click="PageSize = 30;PageCurrent = 1;tableData2=[];getTableData()">查询</el-button>
<el-button type="primary" icon="el-icon-circle-plus-outline" size="small" style="margin-left: 10px" @click="ADD('form2')">新增</el-button>
<el-badge :value="value" :max="99" class="item">
<el-button size="small" type="text" @click="AccountsReceivable">查看收款信息</el-button>
@@ -158,7 +158,7 @@
:expand-row-keys="expands1"
:data="tableData2"
style="width: 100%;max-height: 440px; margin-top: 15px; text-align: center"
height="350"
height="220"
highlight-current-row
border
size="mini"
@@ -286,15 +286,15 @@
<el-pagination
:current-page="PageCurrent2"
:page-sizes="[10, 20, 30, 40]"
:page-size="10"
:total="PageSize2"
:page-size="PageSize2"
:total="total2"
layout="total, sizes, prev, pager, next, jumper"
@size-change="handleSizeChange2"
@current-change="handleCurrentChange2"/>
</div>
</el-card>
<!--新增合同资金对话框-->
<el-dialog :visible.sync="dialogFormVisible2" title="新增款计划" center width="380px">
<el-dialog :visible.sync="dialogFormVisible2" title="新增合同收款计划" center width="380px">
<el-form ref="form2" :model="form2" :rules="rules" label-position="left">
<el-form-item label="项目名称" prop="entryNameValue" label-width="100px">
<el-select v-model="form2.entryNameValue" clearable filterable placeholder="请输入项目名称" style="margin-left: 2px; width: 200px" size="small" @change="searchProjectName">
@@ -420,6 +420,7 @@
<el-form-item label="本次收款时间" prop="付款时间" label-width="110px">
<el-date-picker
v-model="form3.付款时间"
:picker-options="pickerOptions"
value-format="yyyy-MM-dd"
size="small"
type="date"
@@ -524,6 +525,8 @@ export default {
}
}
return {
pickerOptions: {},
timetime: '',
name: '',
plannedTime: [],
entryName2: [],
@@ -566,10 +569,10 @@ export default {
tableData2: [],
gridData: [],
PageCurrent: 1,
PageSize: 10,
PageSize: 30,
total: null,
PageCurrent2: 1,
PageSize2: 10,
PageSize2: 30,
total2: null,
dialogFormVisible1: false, // 付款对话框可见性
dialogFormVisible2: false, // 新增对话框可见性
@@ -652,6 +655,7 @@ export default {
this.name = ''
this.dataPeople = []
this.dialogFormVisiblePeople = true
this.searchName()
},
init() {
this.getSelect(selectProvince, ['省份', '省份流水号'], 'Province')
@@ -924,6 +928,7 @@ export default {
})
},
getTableData2(row) {
this.timetime = row.合同签订日期
this.moneyID = row.资金id
this.max = parseFloat(row.未支付金额)
this.contractTotal = parseFloat(row.合同总金额)
@@ -932,6 +937,7 @@ export default {
this.id3 = ''
this.listLoading2 = false
const data = response.data.rows
console.log(data, 111)
for (let i = 0; i < data.length; i++) {
data[i].未收金额 === '0' ? data[i].是否禁用收款 = true : data[i].是否禁用收款 = false
data[i].未收金额 === '0' ? data[i].是否禁用 = true : data[i].是否禁用 = false
@@ -946,6 +952,7 @@ export default {
data[i].计划付款时间 = data[i].计划付款时间.substring(0, data[i].计划付款时间.length - 8)
data[i].是否禁用收款 = false
if (data[i].未收金额 === '0') {
data[i].是否禁用收款 = true
data[i].状态 = '已完成'
} else {
if (data[i].状态 === '0') {
@@ -1173,9 +1180,17 @@ export default {
})
})
},
changeTime1() {
this.pickerOptions = Object.assign({}, this.pickerOptions, {
disabledDate: (time) => {
return time.getTime() < Date.parse(this.timetime)
}
})
},
handleEdit1(row) {
this.addForm('form3')
this.title = '记录阶段收款'
this.changeTime1()
this.title = '阶段记录收款'
this.max1 = parseFloat(row.应收金额) - parseFloat(row.已收金额)
this.dialogFormVisible3 = true
this.id = row.批次资金id
@@ -1386,8 +1401,12 @@ export default {
// this.editTable(editTableData, [this.zijinID, this.form2.TotalContractAmount], 'form2', function() { this.getTableData(); this.dialogFormVisible4 = false })
},
TransferPlan(row) {
console.log(row)
this.id = row.批次资金id
this.max1 = parseFloat(row.未收金额)
this.form4.转移金额 = parseFloat(row.未收金额)
this.form4.计划阶段 = parseInt(row.付款批次) + 1
console.log(this.form4.转移金额, this.form4.计划阶段)
this.dialogFormVisible5 = true
this.Planning = []
this.addForm('form4')

View File

@@ -32,8 +32,8 @@
size="small"
type="date"
placeholder="请选择结束日期"/>
<el-button type="success" icon="el-icon-search" size="small" style="margin-left: 10px" @click="PageSize = 10;PageCurrent = 1;fetchTableData1()">查询</el-button>
<el-button type="primary" icon="el-icon-circle-plus-outline" size="small" style="margin-left: 10px" @click="ADD()"></el-button>
<el-button type="success" icon="el-icon-search" size="small" style="margin-left: 10px" @click="PageSize = 30;PageCurrent = 1;fetchTableData1()">查询</el-button>
<el-button type="primary" icon="el-icon-circle-plus-outline" size="small" style="margin-left: 10px" @click="ADD()"></el-button>
</div>
</el-card>
<el-card>
@@ -401,7 +401,7 @@
<!--:value="item.value"/>-->
<!--</el-select>-->
<div style="margin-top: 15px">
<el-table :data="tableData3" border style="width: 100%; text-align: center;" highlight-current-row @row-click="handleChange">
<el-table :data="tableData3" border style="width: 100%; text-align: center;" size="mini" highlight-current-row @row-click="handleChange">
<el-table-column label="销售经理" align="center" >
<template slot-scope="scope">
{{ scope.row.姓名 }}
@@ -432,6 +432,7 @@
style="width: 100%"
height="400"
border
size="mini"
@row-click="biddingNum">
<el-table-column align="center" label="招标企业" width="300">
<template slot-scope="scope">
@@ -484,8 +485,8 @@
<!--客户选择-->
<el-dialog :visible.sync="dialogCustomerFormVisible" title="客户选择" center width="800px">
<el-input v-model="Customer" clearable size="small" style="width:200px" placeholder="请输入客户名称"/>
<el-button type="success" icon="el-icon-search" size="small" style="margin-left: 10px" @click="PageSize1 = 10;PageCurrent1 = 1;fetchCustomerData()">查询</el-button>
<el-table v-loading="loading1" :data="CustomerData" highlight-current-row height="300" show-overflow-tooltip style="height: 330px; margin-top: 20px" @row-click="handleCustomerChange">
<el-button type="success" icon="el-icon-search" size="small" style="margin-left: 10px" @click="PageSize1 = 30;PageCurrent1 = 1;fetchCustomerData()">查询</el-button>
<el-table v-loading="loading1" :data="CustomerData" highlight-current-row height="300" show-overflow-tooltip style="height: 330px; margin-top: 20px" size="mini" @row-click="handleCustomerChange">
<el-table-column label="省份" align="center" width="80">
<template slot-scope="scope">
{{ scope.row.省份 }}
@@ -552,6 +553,7 @@ export default {
},
data() {
return {
machineDATA: '',
name: '',
a: 1,
b: 1,
@@ -615,10 +617,10 @@ export default {
tableData2: [], // 机床信息表
tableData3: [], // 营销经理表
PageCurrent: 1,
PageSize: 20,
PageSize: 30,
total: null,
PageCurrent1: 1,
PageSize1: 10,
PageSize1: 30,
total1: null,
infoDisable: true,
hetongID: '',
@@ -1258,7 +1260,9 @@ export default {
.el-date-editor{
width:200px;
}
.hide-expand .el-table__expand-column .el-icon {
visibility: hidden;
}
.wrapper{
width: 260px;
height: 50px;

View File

@@ -28,7 +28,7 @@
size="small"
type="date"
placeholder="请选择结束日期"/>
<el-button type="success" icon="el-icon-search" size="small" style="margin-left: 10px" @click="PageSize = 10;PageCurrent = 1;fetchTableData1()">查询</el-button>
<el-button type="success" icon="el-icon-search" size="small" style="margin-left: 10px" @click="PageSize = 30;PageCurrent = 1;fetchTableData1()">查询</el-button>
</el-card>
<!--项目表格-->
<el-card>
@@ -94,7 +94,7 @@
size="mini"
type="primary"
icon="el-icon-circle-plus-outline"
@click.stop="openAddInvoiceRecordingDialog(scope.row); flag = 1">记录</el-button>
@click.stop="openAddInvoiceRecordingDialog(scope.row); flag = 1">增记录</el-button>
</template>
</el-table-column>
</el-table>
@@ -267,6 +267,7 @@
<el-form-item label="开票时间" prop="开票时间">
<el-date-picker
v-model="form.开票时间"
:picker-options="pickerOptions"
style="width: 200px;"
value-format="yyyy-MM-dd"
size="small"
@@ -289,7 +290,7 @@
<!--客户选择-->
<el-dialog :visible.sync="dialogCustomerFormVisible" title="客户选择" center width="600px">
<el-input v-model="Customer" clearable size="small" style="width:200px" placeholder="请输入客户名称"/>
<el-button type="success" icon="el-icon-search" size="small" style="margin-left: 10px" @click="PageSize1 = 10;PageCurrent1 = 1;fetchCustomerData()">查询</el-button>
<el-button type="success" icon="el-icon-search" size="small" style="margin-left: 10px" @click="PageSize1 = 30;PageCurrent1 = 1;fetchCustomerData()">查询</el-button>
<el-table v-loading="loading1" :data="CustomerData" highlight-current-row height="300" show-overflow-tooltip style="height: 330px; margin-top: 20px" @row-click="handleCustomerChange">
<el-table-column label="省份" align="center" width="80">
<template slot-scope="scope">
@@ -337,6 +338,8 @@ export default {
},
data() {
return {
pickerOptions: {},
timetime: '',
name: '',
projectid: '', // 项目流水号
entryName: [], // 项目名称数组
@@ -353,8 +356,8 @@ export default {
tableData1: [], // 合同信息表格数据
PageCurrent: 1,
PageCurrent1: 1,
PageSize1: 10,
PageSize: 10,
PageSize1: 30,
PageSize: 30,
total1: null,
total: null,
tableData2: [], // 开票记录表格数据
@@ -398,6 +401,14 @@ export default {
this.fetchTableData1()
},
methods: {
changeTime() {
this.pickerOptions = Object.assign({}, this.pickerOptions, {
disabledDate: (time) => {
console.log(this.timetime)
return time.getTime() < Date.parse(this.timetime)
}
})
},
searchName() { // 模糊查询姓名
SelectMarketingManager(this.name).then(response => {
this.dataPeople = response.data
@@ -542,6 +553,8 @@ export default {
// 打开增加开票记录对话框
openAddInvoiceRecordingDialog(row) {
this.projectid = row.项目流水号
this.timetime = row.合同签订日期
this.changeTime()
this.addForm('form')
this.title = '增加'
this.dialogFormVisible1 = true

View File

@@ -25,7 +25,7 @@
size="small"
type="date"
placeholder="请选择结束日期"/>
<el-button type="success" icon="el-icon-search" size="small" style="margin-left: 10px" @click="PageSize = 10;PageCurrent = 1;fetchTableData1()">查询</el-button>
<el-button type="success" icon="el-icon-search" size="small" style="margin-left: 10px" @click="PageSize = 30;PageCurrent = 1;fetchTableData1()">查询</el-button>
</el-card>
<el-card>
@@ -246,7 +246,7 @@
<el-row>
<el-col :span="12">
<el-form-item label="保证金金额" prop="保证金金额">
<el-input-number v-model="form2.保证金金额" :precision="2" :step="0.1" style="width: 200px" size="small"/>
<el-input-number v-model="form2.保证金金额" :precision="2" :step="1" style="width: 200px" size="small"/>
</el-form-item>
</el-col>
<el-col :span="12">
@@ -312,7 +312,7 @@ export default {
entryName: [], // 查询条件_项目名称数组
startTime: '', // 查询条件_开始时间
endTime: '', // 查询条件_结束时间
PageSize: 10, // 项目信息表格初始一页显示十条
PageSize: 30, // 项目信息表格初始一页显示十条
PageCurrent: 1, // 项目信息表格一次翻一页
total: null,
tableData1: [], // 项目信息表格数据

View File

@@ -26,7 +26,7 @@
size="small"
type="date"
placeholder="请选择结束日期"/>
<el-button type="success" icon="el-icon-search" size="small" style="margin-left: 10px" @click="PageSizeProject = 10;PageCurrentProject = 1;searchTableDataProject()">查询</el-button>
<el-button type="success" icon="el-icon-search" size="small" style="margin-left: 10px" @click="PageSizeProject = 30;PageCurrentProject = 1;searchTableDataProject()">查询</el-button>
</el-card>
<el-card>
@@ -312,13 +312,14 @@
<el-row>
<el-col :span="12">
<el-form-item label="保证金金额" prop="保证金金额">
<el-input-number v-model="form.保证金金额" :precision="2" :step="0.1" style="width: 200px" size="small"/>
<el-input-number v-model="form.保证金金额" :precision="2" :step="1" style="width: 200px" size="small"/>
</el-form-item>
</el-col>
<el-col :span="12">
<el-form-item label="缴纳日期" prop="交付日期">
<el-date-picker
v-model="form.交付日期"
:picker-options="pickerOptions"
style="width: 200px;"
value-format="yyyy-MM-dd"
size="small"
@@ -402,6 +403,7 @@
<el-form-item label="扣款日期" prop="扣款日期">
<el-date-picker
v-model="form2.扣款日期"
:picker-options="pickerOptions1"
style="width: 200px;"
value-format="yyyy-MM-dd"
size="small"
@@ -442,6 +444,7 @@
<el-form-item label="扣款日期" prop="扣款日期">
<el-date-picker
v-model="form3.扣款日期"
:picker-options="pickerOptions1"
style="width: 200px;"
value-format="yyyy-MM-dd"
size="small"
@@ -481,6 +484,7 @@
<el-form-item label="收回日期" prop="收回日期">
<el-date-picker
v-model="form4.收回日期"
:picker-options="pickerOptions2"
style="width: 200px;"
value-format="yyyy-MM-dd"
size="small"
@@ -512,12 +516,18 @@ export default {
}
}
return {
pickerOptions: {},
pickerOptions1: {},
pickerOptions2: {},
timetime: '',
timetime1: '',
timetime2: '',
listLoadingProject: false, // 项目信息加载动画
projectTableData: [], // 项目信息表格
startTime: '', // 开始时间
endTime: '', // 结束时间
PageCurrentProject: 1, // 项目信息表格翻页
PageSizeProject: 10, // 项目信息表格每页显示条数
PageSizeProject: 30, // 项目信息表格每页显示条数
totalProject: null, // 总条数
plannedTime: [], // 执行情况
entryNameValue_check: '',
@@ -540,10 +550,10 @@ export default {
tableData1Loading: false, // 安全保证金信息表加载动画
tableData2Loading: false, // 安全保证金信息表加载动画
PageCurrent: 1,
PageSize: 10,
PageSize: 30,
total: null,
PageCurrent2: 1,
PageSize2: 10,
PageSize2: 30,
total2: null,
radio: '1',
title: '',
@@ -611,6 +621,30 @@ export default {
this.searchTableDataProject()
},
methods: {
changeTime() {
this.pickerOptions = Object.assign({}, this.pickerOptions, {
disabledDate: (time) => {
console.log(this.timetime)
return time.getTime() < Date.parse(this.timetime)
}
})
},
changeTime1() {
this.pickerOptions1 = Object.assign({}, this.pickerOptions1, {
disabledDate: (time) => {
console.log(this.timetime1)
return time.getTime() < Date.parse(this.timetime1)
}
})
},
changeTime2() {
this.pickerOptions2 = Object.assign({}, this.pickerOptions2, {
disabledDate: (time) => {
console.log(this.timetime2)
return time.getTime() < Date.parse(this.timetime2)
}
})
},
init() {
this.getSelect(initProject, ['项目名称', '项目流水号'], 'entryName')
this.getSelect(initProject, ['项目名称', '项目流水号'], 'entryName1')
@@ -694,6 +728,8 @@ export default {
},
addSafetyMargin(row) {
this.title = '增加'
this.timetime = row.合同签订日期
this.changeTime()
this.dialogFormVisible1 = true
this.projectCode = row.项目流水号
this.addForm('form')
@@ -794,6 +830,9 @@ export default {
},
Withdrawing(row) {
this.title2 = '扣款'
this.timetime1 = row.交付日期
console.log(row)
this.changeTime1()
this.dialogFormVisible2 = true
this.code = row.安全保证金流水号
this.projectName = row.项目名称
@@ -839,6 +878,8 @@ export default {
TakeBack(row) {
this.code = row.安全保证金流水号
this.projectName = row.项目名称
this.timetime2 = row.交付日期
this.changeTime2()
this.form4.剩余金额 = parseFloat(row.应收回金额)
this.dialogFormVisible4 = true
},