| | |
| | | <i class="el-icon-circle-plus-outline" title="选择"></i> |
| | | </div> |
| | | <div class="common-select-btn" @click="clearupClient(scope.row)"> |
| | | <i class="el-icon-edit-outline" title="清除"></i> |
| | | <i class="el-icon-remove-outline" title="清除"></i> |
| | | </div> |
| | | </div> |
| | | </el-form-item> |
| | |
| | | <el-button size="small" type="primary" @click="add">新增</el-button> |
| | | <!-- <el-button size="small" type="primary" disabled>导入明细</el-button> --> |
| | | <el-button size="small" type="primary" @click="empty">清空</el-button> |
| | | <el-button size="small" type="primary" @click="recalculate" :disabled="isRecalculate ? false : true" |
| | | <el-button size="small" v-if="recalculateShow" type="primary" @click="recalculate" :disabled="isRecalculate ? false : true" |
| | | >重算</el-button |
| | | > |
| | | </div> |
| | |
| | | total: false, |
| | | refundable: false, |
| | | sumProp: [], |
| | | titleProp:["#", "产品名称"], |
| | | mergeNumber: 1 |
| | | } |
| | | } |
| | | } |
| | | }, |
| | | recalculateShow:{ |
| | | type:[Boolean], |
| | | defalut:true, |
| | | }, |
| | | |
| | | }, |
| | | data() { |
| | | return { |
| | |
| | | sums[index] = "小计:" |
| | | return |
| | | } |
| | | const title = ["#", "产品名称"] |
| | | const title = this.showSummary.titleProp |
| | | // 去除某些不需要计算的数据 |
| | | if (title.includes(column.label)) { |
| | | sums[index] = "" |