This commit is contained in:
caoxinyu
2018-11-19 17:16:56 +08:00
parent 08683fbe0c
commit 13c71d9205
12 changed files with 1570 additions and 30 deletions

View File

@@ -365,8 +365,12 @@
</template>
<script>
import elInput from 'element-ui/packages/input'
import { initProject, searchTable1, searchTable2, addSafetyMargin, editSafetyMargin, delSafetyMargin, Withdrawing, delWithdrawing, edtWithdrawing, TakeBack } from '@/api/MarketingCenter/SafetyMargin'
export default {
components: {
elInput
},
data() {
const validateValue = (rule, value, callback) => {
if (value === 0) {
@@ -581,6 +585,8 @@ export default {
callOff() {
this.dialogFormVisible1 = false
this.dialogFormVisible2 = false
this.dialogFormVisible3 = false
this.dialogFormVisible4 = false
},
delSafetyMargin(row) {
this.deleteRow(delSafetyMargin, row.安全保证金流水号, function() { this.fetchTableData1() })
@@ -598,7 +604,7 @@ export default {
this.dialogFormVisible2 = true
this.code = row.安全保证金流水号
this.projectName = row.项目名称
this.maxMoney = parseFloat(row.保证金金额)
this.maxMoney = parseFloat(row.应收回金额)
this.SurplusAmount = row.应收回金额
this.addForm('form2')
},