Commit 36f7f6ca by cwq0219

商户管理-财务-标红状态

1 parent bbba99be
...@@ -201,7 +201,8 @@ ...@@ -201,7 +201,8 @@
:value="subItem.confId" :value="subItem.confId"
></el-option> ></el-option>
</el-select> </el-select>
<span v-show="!isFirstSetEdit">{{merchantSettleTypeList.find(i => i.confId === item.merchantSettleType).confLabel}}</span> <span v-if="!isFirstSetEdit && item.merchantSettleType">{{merchantSettleTypeList.find(i => i.confId === item.merchantSettleType).confLabel}}</span>
<span class="car-error-txt" v-show="!isFirstSetEdit && !item.merchantSettleType">未设置</span>
</el-form-item> </el-form-item>
<el-form-item <el-form-item
:prop="'list.' + index + '.merchantProfitValue'" :prop="'list.' + index + '.merchantProfitValue'"
...@@ -230,7 +231,8 @@ ...@@ -230,7 +231,8 @@
slot="suffix" slot="suffix"
class="suffix" class="suffix"
>%</i></el-input> >%</i></el-input>
<span v-show="!isFirstSetEdit">{{item.merchantProfitValue ? (item.merchantProfitValue + '%') : ''}}</span> <span v-show="!isFirstSetEdit && item.merchantProfitValue">{{item.merchantProfitValue + '%'}}</span>
<span class="car-error-txt" v-show="!isFirstSetEdit && !item.merchantProfitValue">未设置</span>
</el-form-item> </el-form-item>
<el-form-item <el-form-item
v-if="isFirstSetEdit && index !== 0" v-if="isFirstSetEdit && index !== 0"
...@@ -298,7 +300,8 @@ ...@@ -298,7 +300,8 @@
class="suffix" class="suffix"
>{{accountSetForm.incentiveType === '1' ? '%' : '元'}}</i> >{{accountSetForm.incentiveType === '1' ? '%' : '元'}}</i>
</el-input> </el-input>
<span v-show="!isFirstSetEdit">{{accountSetForm.incentiveValue ? (accountSetForm.incentiveValue + (accountSetForm.incentiveType === '1' ? '%' : '元')) : ''}}</span> <span v-show="!isFirstSetEdit && accountSetForm.incentiveValue">{{accountSetForm.incentiveValue + (accountSetForm.incentiveType === '1' ? '%' : '元')}}</span>
<span class="car-error-txt" v-show="!isFirstSetEdit && !accountSetForm.incentiveValue">未设置</span>
</el-form-item> </el-form-item>
</el-form> </el-form>
</div> </div>
...@@ -387,7 +390,8 @@ ...@@ -387,7 +390,8 @@
slot="suffix" slot="suffix"
class="suffix" class="suffix"
>%</i></el-input> >%</i></el-input>
<span v-show="!isSecondSetEdit">{{item.partnerProfitPer ? (item.partnerProfitPer + '%') : ''}}</span> <span v-show="!isSecondSetEdit && item.partnerProfitPer">{{item.partnerProfitPer + '%'}}</span>
<span class="car-error-txt" v-show="!isSecondSetEdit && !item.partnerProfitPer">未设置</span>
</el-form-item> </el-form-item>
<el-form-item <el-form-item
v-if="isSecondSetEdit && index !== 0" v-if="isSecondSetEdit && index !== 0"
...@@ -495,7 +499,7 @@ export default { ...@@ -495,7 +499,7 @@ export default {
// 分账设置 // 分账设置
accountSetStruct: Object.freeze({ accountSetStruct: Object.freeze({
goodsType: '', goodsType: '',
merchantSettleType: '1', merchantSettleType: '',
merchantProfitValue: '' merchantProfitValue: ''
}), }),
accountSetForm: { accountSetForm: {
...@@ -504,7 +508,7 @@ export default { ...@@ -504,7 +508,7 @@ export default {
list: [{ list: [{
goodsType: '全部', goodsType: '全部',
goodsTypeName: '全部', goodsTypeName: '全部',
merchantSettleType: '1', merchantSettleType: '',
merchantProfitValue: '' merchantProfitValue: ''
}] }]
}, },
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!