| | |
| | | <div class="search_thing"> |
| | | <div class="search_label">系统日期:</div> |
| | | <div class="search_input"> |
| | | <el-date-picker size="small" v-model="componentData.entity.updateTime" type="date" placeholder="选择日期" |
| | | <el-date-picker size="small" v-model="componentData.entity.createTime" type="date" placeholder="选择日期" |
| | | value-format="yyyy-MM-dd HH:mm:ss" clearable></el-date-picker> |
| | | </div> |
| | | </div> |
| | |
| | | </el-col> |
| | | </el-row> |
| | | <el-row style="line-height: 50px;"> |
| | | <el-col :span="4" style="text-align: right;padding-right: 8px;">姓名</el-col> |
| | | <el-col :span="7"> |
| | | <el-input v-model="upData.name2" size="small" disabled></el-input> |
| | | </el-col> |
| | | <el-col :span="4" style="text-align: right;padding-right: 8px;">代理</el-col> |
| | | <el-col :span="7"> |
| | | <el-input v-model="upData.agent" size="small" disabled></el-input> |
| | | </el-col> |
| | | </el-row> |
| | | <el-row style="line-height: 50px;"> |
| | | <el-col :span="4" style="text-align: right;padding-right: 8px;">展现量</el-col> |
| | | <el-col :span="7"> |
| | | <el-input v-model="upData.showNum" size="small" disabled></el-input> |
| | |
| | | <el-col :span="7"> |
| | | <el-input v-model="upData.profit" size="small" disabled></el-input> |
| | | </el-col> |
| | | <el-col :span="4" style="text-align: right;padding-right: 8px;">代理返点</el-col> |
| | | <el-col :span="4" style="text-align: right;padding-right: 8px;">员工代理返点</el-col> |
| | | <el-col :span="7"> |
| | | <el-input v-model="upData.agentRebate" size="small" disabled></el-input> |
| | | </el-col> |
| | |
| | | return { |
| | | componentData: { |
| | | entity: { |
| | | updateTime: null, |
| | | createTime: null, |
| | | registrant: null, |
| | | product: null, |
| | | orderBy: { |
| | |
| | | type: 'text', |
| | | method: 'upRole', |
| | | field: ['createUserName', 'updateUserName', 'registrant', 'department', 'consumption', |
| | | 'rebateConsumption', 'discountedConsumption', 'profit', 'remark', 'actualCost' |
| | | 'rebateConsumption', 'discountedConsumption', 'profit', 'remark', 'actualCost', 'fansAdd', 'agentRebate' |
| | | ] |
| | | }, { |
| | | id: 'delete', |
| | |
| | | method: 'doDiy' |
| | | }], |
| | | tagField: {}, |
| | | selectField: {} |
| | | selectField: {}, |
| | | requiredAdd:['name2','agent','channel','product','showNum','click','accountConsumption'], |
| | | }, |
| | | entityCopy: {}, |
| | | upIndex: 0, |
| | |
| | | outPower: true |
| | | } |
| | | }, |
| | | created() { |
| | | var today = new Date(); |
| | | var yesterday = new Date(today); |
| | | yesterday.setDate(today.getDate() - 1); |
| | | var yyyy = yesterday.getFullYear(); |
| | | var mm = yesterday.getMonth() + 1; |
| | | var dd = yesterday.getDate() |
| | | if (dd < 10) { |
| | | dd = "0" + dd; |
| | | } |
| | | if (mm < 10) { |
| | | mm = "0" + mm; |
| | | } |
| | | this.componentData.entity.createTime = this.HaveJson(`${yyyy}-${mm}-${dd} 00:00:00`) |
| | | }, |
| | | mounted() { |
| | | this.entityCopy = this.HaveJson(this.componentData.entity) |
| | | this.selectProductEnumList() |