Commit a6af297b by cwq0219

客户列表;财务

1 parent 09caab9e
......@@ -142,9 +142,18 @@
align="center"
>
<template slot-scope="scope">
<span>{{!scope.row.firstOrder.payOrder ? '' : (!scope.row.firstOrder.payOrder.successDate ? '' : new Date(scope.row.firstOrder.payOrder.successDate).toLocaleDateString())}}</span>
<span>{{!scope.row.firstOrderPay ? '' : (!scope.row.firstOrderPay.successDate ? '' : new Date(scope.row.firstOrderPay.successDate).toLocaleDateString())}}</span>
</template>
</el-table-column>
<el-table-column
label="备注信息"
align="center"
prop="firstOrder.remark"
>
<template slot-scope="scope">
<span>{{scope.row.firstOrder ? '无' : (scope.row.firstOrder.remark || '无')}}</span>
</template>
</el-table-column>
</el-table-column>
<el-table-column label="关联信息">
<el-table-column
......
......@@ -26,6 +26,7 @@
:key="index"
:value="item.confId"
:label="item.confLabel"
:disabled="item.confId === '2'"
></el-option>
</el-select>
</el-form-item>
......@@ -84,7 +85,7 @@
<div class="block_item">
<el-radio :label="2">固定日期结算:每月
<el-input-number
v-model="form.settleDate"
v-model="form.settleTime"
controls-position="right"
@change="handleChange"
size="small"
......@@ -444,7 +445,7 @@ export default {
merchantName: '',
autoFlag: 'Y',
settleTimeType: 1,
settleDate: '1',
settleTime: '1',
bizType: '1',
settleAmountType: '1'
// merchantSettleType: '',
......@@ -560,6 +561,9 @@ export default {
})
getAccountRule({ 'merchantId': this.$route.params.merchantId }).then(res => {
if (res) {
this.form.autoFlag = res.autoFlag
this.form.settleTimeType = res.settleTimeType
this.form.settleTime = res.settleTime
this.accountSetForm.list[0].merchantSettleType = res.merchantSettleType + ''
this.accountSetForm.list[0].merchantProfitValue = res.merchantProfitValue + ''
this.accountSetForm.incentiveValue = res.incentiveValue + ''
......@@ -698,7 +702,7 @@ export default {
bizType: this.form.bizType,
autoFlag: this.form.autoFlag,
settleTimeType: this.form.settleTimeType,
settleDate: this.form.settleDate,
settleTime: this.form.settleTime,
settleAmountType: this.form.settleAmountType,
// 全部-分账设置
merchantSettleType: this.accountSetForm.list[0].merchantSettleType,
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!