1.First , you hava to log in first
| 名称 | ID | NAME | CLASS | XPATH | HREF |
|---|---|---|---|---|---|
| 新增部门 addnew | btn btn-default | .//*[@id='scrollerList']/div[2]/div/div/section/header[2]/a | 新增部门 | ||
| 部门名称* | department | form-control | .//*[@id='department'] | ||
| 描述 | describe | form-control remark | .//*[@id='describe'] | ||
| 取消 | btn btn-default | .//*[@id='myModal1']/div[2]/div/div[3]/button[1] | |||
| 保存 | btn btn-default | .//*[@id='myModal1']/div[2]/div/div[3]/button[2] | |||
| 关闭 | close | .//*[@id='myModal1']/div[2]/div/div[1]/button | |||
| 员工 | |||||
| 登录账号* | account | form-control | .//*[@id='scrollerList']/div[2]/div/div/section/div/form/div[1]/div/div/input | ||
| 检测* | .//*[@id='scrollerList']/div[2]/div/div/section/div/form/div[1]/div/div/span/button | ||||
| 联系电话* | telephone | .//*[@id='scrollerList']/div[2]/div/div/section/div/form/div[2]/div/input | |||
| 员工姓名* | name | .//*[@id='scrollerList']/div[2]/div/div/section/div/form/div[3]/div/input | |||
| 所属部门select* | parent-department | parent-department | .//*[@id='parent-department'] | ||
| .//*[@id='scrollerList']/div[2]/div/div/section/div/form/div[5]/div/input | |||||
| 电子邮件 | .//*[@id='scrollerList']/div[2]/div/div/section/div/form/div[6]/div/input | ||||
| 角色select* | role | .//*[@id='scrollerList']/div[2]/div/div/section/div/form/div[7]/div/select | |||
| 备注 | remark | .//*[@id='scrollerList']/div[2]/div/div/section/div/form/div[8]/div/textarea | |||
| 提交 | btn btn-primary col-lg-1 submit | .//*[@id='scrollerList']/div[2]/div/div/section/div/form/div[9]/div/span | |||
| 仓库 | |||||
| 添加仓库*(true) | .//*[@id='scrollerList']/div[2]/div[2]/div/section/header/a | 添加仓库 | |||
| 仓库名称* | name | .//*[@id='name'] | |||
| 联系人* | contact | .//*[@id='contact'] | |||
| 联系电话* | tel | .//*[@id='tel'] | |||
| 地址* | address | .//*[@id='address'] | |||
| 面积* | area | .//*[@id='area'] | |||
| 提交* | addWarehouse | .//*[@id='addWarehouse'] | |||
| 取消* | .//*[@id='showAdd']/section/div/form/div[6]/div/a | 取消 | |||
| 请填写仓库名称 | layui-layer-content | .//*[@id='layui-layer1']/div[2] | |||
| 确定 | layui-layer-btn0 | .//*[@id='layui-layer1']/div[3]/a | |||
| 关闭 | .//*[@id='layui-layer1']/span/a | ||||
| 渠道 | |||||
| 新建渠道 | http://enterprise.test.freshqiao.com/channel/add | 必须先登录 | |||
| 渠道名称* | channelName | .//*[@id='channelName'] | |||
| 渠道负责人* | manager | .//*[@id='manager'] | |||
| 联系电话* | manager_tel | .//*[@id='manager_tel'] | |||
| 折扣率* | discount | discount | .//*[@id='discount'] | ||
| 起订金额* | minimum_order_amount | .//*[@id='minimum_order_amount'] | |||
| 备注信息 | remark | .//*[@id='remark'] | |||
| 保存 | commitBtn | .//*[@id='commitBtn'] | |||
| 取消 | html/body/div[4]/button[2] | ||||
| 线上支付* | online-pay | .//*[@id='about']/div[1]/div/label/input | |||
| 线下支付* | offline-pay | .//*[@id='about']/div[2]/div/label/input | |||
| 运费设置* | 1.运费设置必须有第一个前置条件:比如 0 0 | money | .//*[@id='order']/div/div/div[1]/div/form/div[2]/div/div[1]/input[1] | ||
| freight | .//*[@id='order']/div/div/div[1]/div/form/div[2]/div/div[1]/input[2] | ||||
| 运费加号按钮 | freight_add | .//*[@id='freight_add'] | |||
| 截单时间* | cutoff | cutoff | .//*[@id='cutoff'] | ||
| 截单之前备货周期* | before_cutoff | before_cutoff | .//*[@id='before_cutoff'] | ||
| 截单之后备货周期* | after_cutoff | after_cutoff | .//*[@id='after_cutoff'] | ||
| 最单订货周期 | order_cycle | order_cycle | .//*[@id='order_cycle'] | ||
| 周一 | .//*[@id='order']/div/div/div[1]/div/form/div[9]/div/label/input | ||||
| 周二 | .//*[@id='order']/div/div/div[1]/div/form/div[10]/div/label/input | ||||
| 周三 | .//*[@id='order']/div/div/div[1]/div/form/div[11]/div/label/input | ||||
| 周四 | .//*[@id='order']/div/div/div[1]/div/form/div[12]/div/label/input | ||||
| 周五 | .//*[@id='order']/div/div/div[1]/div/form/div[13]/div/label/input | ||||
| 客户 | |||||
| 客户名称* | 1.添加客户时没有业务员,默认的是管理员 | company | .//*[@id='scrollerList']/div[2]/div/div/section/div/form/div[2]/div/input | ||
| 登录账号* | account | .//*[@id='scrollerList']/div[2]/div/div/section/div/form/div[3]/div/div/input | |||
| 客户编码* | customer_code | .//*[@id='scrollerList']/div[2]/div/div/section/div/form/div[4]/div/input | |||
| 联系人* | contac | .//*[@id='scrollerList']/div[2]/div/div/section/div/form/div[5]/div/input | |||
| 手机号码* | telephone | .//*[@id='scrollerList']/div[2]/div/div/section/div/form/div[6]/div/input | |||
| 渠道select* | channel | .//*[@id='scrollerList']/div[2]/div/div/section/div/form/div[19]/div/select | |||
| 业务员 | .//*[@id='scrollerList']/div[2]/div/div/section/div/form/div[20]/div/div/select | ||||
| 配送仓库select* | warehouse | .//*[@id='scrollerList']/div[2]/div/div/section/div/form/div[21]/div/select | |||
| 备注 | remark | .//*[@id='scrollerList']/div[2]/div/div/section/div/form/div[22]/div/textarea | |||
| 提交 | btn btn-default submit | .//*[@id='scrollerList']/div[2]/div/div/section/div/form/div[23]/div/button | |||
| 检测* | btn btn-default check-account | .//*[@id='scrollerList']/div[2]/div/div/section/div/form/div[3]/div/div/span/button | |||
| 配送 | |||||
| 新增配送路线 | 1.再添加仓库时填写准确地址 | layui-layer-btn0 | .//*[@id='layui-layer1']/div[3]/a | ||
| 路线名称 | route_name | route_name | .//*[@id='route_name'] | ||
| 车牌号 | plate_number | plate_number | .//*[@id='plate_number'] | ||
| 司机 | driver_id | form-control driver_id | .//*[@id='driver_id'] | ||
| 车辆类型 | car_type | car_type | .//*[@id='car_type'] | ||
| 司机电话 | driver_phone | driver_phone | .//*[@id='driver_phone'] | ||
| 载重 | load | load | .//*[@id='load'] | ||
| 仓库 | warehouse | product_sty | .//*[@id='warehouse'] | ||
| 出发时间 | departure_time | departure_time | .//*[@id='departure_time'] | ||
| 新增 | .//*[@id='customer_box']/div[3]/button | ||||
| 分钟 | intervals | .//*[@id='customer_box']/div[3]/div[5]/input | |||
| 请输入客户名称 | customer2 | .//*[@id='customer2'] | |||
| 提交 | btn btn-default commitBtn | .//*[@id='scrollerList']/div[2]/div/div/section/div/form/div[5]/div/button | |||