Commit a6af297b by cwq0219

客户列表;财务

1 parent 09caab9e
...@@ -142,9 +142,18 @@ ...@@ -142,9 +142,18 @@
align="center" align="center"
> >
<template slot-scope="scope"> <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> </template>
</el-table-column> </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>
<el-table-column label="关联信息"> <el-table-column label="关联信息">
<el-table-column <el-table-column
......
...@@ -26,6 +26,7 @@ ...@@ -26,6 +26,7 @@
:key="index" :key="index"
:value="item.confId" :value="item.confId"
:label="item.confLabel" :label="item.confLabel"
:disabled="item.confId === '2'"
></el-option> ></el-option>
</el-select> </el-select>
</el-form-item> </el-form-item>
...@@ -84,7 +85,7 @@ ...@@ -84,7 +85,7 @@
<div class="block_item"> <div class="block_item">
<el-radio :label="2">固定日期结算:每月 <el-radio :label="2">固定日期结算:每月
<el-input-number <el-input-number
v-model="form.settleDate" v-model="form.settleTime"
controls-position="right" controls-position="right"
@change="handleChange" @change="handleChange"
size="small" size="small"
...@@ -444,7 +445,7 @@ export default { ...@@ -444,7 +445,7 @@ export default {
merchantName: '', merchantName: '',
autoFlag: 'Y', autoFlag: 'Y',
settleTimeType: 1, settleTimeType: 1,
settleDate: '1', settleTime: '1',
bizType: '1', bizType: '1',
settleAmountType: '1' settleAmountType: '1'
// merchantSettleType: '', // merchantSettleType: '',
...@@ -560,6 +561,9 @@ export default { ...@@ -560,6 +561,9 @@ export default {
}) })
getAccountRule({ 'merchantId': this.$route.params.merchantId }).then(res => { getAccountRule({ 'merchantId': this.$route.params.merchantId }).then(res => {
if (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].merchantSettleType = res.merchantSettleType + ''
this.accountSetForm.list[0].merchantProfitValue = res.merchantProfitValue + '' this.accountSetForm.list[0].merchantProfitValue = res.merchantProfitValue + ''
this.accountSetForm.incentiveValue = res.incentiveValue + '' this.accountSetForm.incentiveValue = res.incentiveValue + ''
...@@ -698,7 +702,7 @@ export default { ...@@ -698,7 +702,7 @@ export default {
bizType: this.form.bizType, bizType: this.form.bizType,
autoFlag: this.form.autoFlag, autoFlag: this.form.autoFlag,
settleTimeType: this.form.settleTimeType, settleTimeType: this.form.settleTimeType,
settleDate: this.form.settleDate, settleTime: this.form.settleTime,
settleAmountType: this.form.settleAmountType, settleAmountType: this.form.settleAmountType,
// 全部-分账设置 // 全部-分账设置
merchantSettleType: this.accountSetForm.list[0].merchantSettleType, 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!