Commit 32dc3d0d by cwq0219

bug修复

1 parent c8a52542
...@@ -168,7 +168,8 @@ export default { ...@@ -168,7 +168,8 @@ export default {
}, },
payTypeOpts: { payTypeOpts: {
1: '微信支付', 1: '微信支付',
2: '线下收款' 2: '线下收款',
3: 'POS机收款'
}, },
customerTypeOpts: { customerTypeOpts: {
1: '价格敏感型', 1: '价格敏感型',
......
...@@ -226,7 +226,7 @@ ...@@ -226,7 +226,7 @@
> >
</el-table-column> </el-table-column>
<el-table-column <el-table-column
prop="allocationMoney" prop="actualIncomeMoney"
label="总分账金额" label="总分账金额"
align="center" align="center"
> >
...@@ -425,7 +425,8 @@ export default { ...@@ -425,7 +425,8 @@ export default {
}, },
payTypeOpts: { payTypeOpts: {
'1': '微信支付', '1': '微信支付',
'2': '线下收款' '2': '线下收款',
'3': 'POS机收款'
}, },
shopProfitTypeOpts: { shopProfitTypeOpts: {
'1': '毛利', '1': '毛利',
...@@ -582,7 +583,7 @@ export default { ...@@ -582,7 +583,7 @@ export default {
// 'goodsExtraCost', // 'goodsExtraCost',
// 'yqIncentiveTotal', // 'yqIncentiveTotal',
'yqGrossProfit', 'yqGrossProfit',
'paidMoney', 'sellPrice', 'shopCost', 'allocationMoney'] 'paidMoney', 'sellPrice', 'shopCost', 'actualIncomeMoney']
for (const key in item) { for (const key in item) {
if (moneyLabels.indexOf(key) > -1) { if (moneyLabels.indexOf(key) > -1) {
item[key] = typeof item[key] === 'number' ? `¥${item[key]}` : '-' item[key] = typeof item[key] === 'number' ? `¥${item[key]}` : '-'
......
...@@ -641,7 +641,7 @@ export default { ...@@ -641,7 +641,7 @@ export default {
this.markCustType = res.yseMerchantInfo.custType this.markCustType = res.yseMerchantInfo.custType
this.editForm = this[this.typeToForm[this.custType]] this.editForm = this[this.typeToForm[this.custType]]
// 需要写入editForm的属性 // 需要写入editForm的属性
var needAttrList = [] var needAttrList = ['openAccBankName']
// 返回res的对象属性 // 返回res的对象属性
var resObj = _.cloneDeep({ var resObj = _.cloneDeep({
...res.bankInfo, ...res.bankInfo,
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!