Workbin.ets 21 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772
  1. import ProcessData from '../../model/ProcessData';
  2. import StorageRequest from '../util/request/StorageRequest';
  3. import {SelectMaterialslist} from '../util/request/StorageRequestInstance'
  4. import detailsList from '../../model/DetailsList';
  5. /////物料位置
  6. ////出库取料箱出库
  7. export interface Tasklist {
  8. //批次号
  9. batchCode?: string;
  10. ///完成数量
  11. completedNum?:number
  12. //已经占用箱数
  13. useNum?:number
  14. //空箱数
  15. emptyBoxNum?:string
  16. //可用箱数
  17. canUsedNum?:string
  18. //总容量箱数
  19. allNum?:number
  20. //仓储类型
  21. type?:string
  22. //批次号
  23. coordinate?: string
  24. //创建时间
  25. created?: string
  26. //
  27. creator?: string
  28. //仓库编码
  29. houseNo?:string
  30. deptId?: string
  31. houseType?:string
  32. //主键
  33. id?:string
  34. locationNo?: string
  35. // 物料名称
  36. materialName?:string
  37. //物料编码
  38. materialNo?: string
  39. //出入库数量
  40. num?: number
  41. orgId?: string
  42. relPlanNo?:string
  43. relOrderNo?:string
  44. relOutOrderNo?:string
  45. progress?:string
  46. planNo?: string
  47. position?: string
  48. // 序列号
  49. seqNo?: string
  50. // 状态;1-待处理;2-处理中;3-处理异常;4-已完成
  51. state?:number
  52. // 库存数量
  53. stockNum?:string
  54. //出入库任务单号
  55. taskNo?: string
  56. unit?:string
  57. updated?: string
  58. //任务名称
  59. taskName?:string
  60. updator?: string
  61. vehicleNo?: string
  62. }
  63. export interface Materialpositionclass {
  64. //产品规格
  65. spec?:string
  66. //批次号
  67. batchCode?: string;
  68. ///完成数量
  69. completedNum?:number
  70. //已经占用箱数
  71. useNum?:number
  72. //空箱数
  73. emptyBoxNum?:string
  74. //可用箱数
  75. canUsedNum?:string
  76. //总容量箱数
  77. allNum?:number
  78. //仓储类型
  79. type?:string
  80. //批次号
  81. coordinate?: string
  82. //创建时间
  83. created?: string
  84. //
  85. creator?: string
  86. //仓库编码
  87. houseNo?:string
  88. deptId?: string
  89. houseType?:string
  90. //主键
  91. id?:string
  92. locationNo?: string
  93. // 物料名称
  94. materialName?:string
  95. //物料编码
  96. materialNo?: string
  97. //出入库数量
  98. num?: number
  99. orgId?: string
  100. planNo?: string
  101. position?: string
  102. // 序列号
  103. seqNo?: string
  104. // 状态;1-待处理;2-处理中;3-处理异常;4-已完成
  105. state?:number
  106. // 库存数量
  107. stockNum?:string
  108. //出入库任务单号
  109. taskNo?: string
  110. unit?:string
  111. updated?: string
  112. //任务名称
  113. taskName?:string
  114. updator?: string
  115. vehicleNo?: string
  116. pageNo?:number
  117. pageSize?:number
  118. }
  119. export interface outboundDataclass {
  120. detailsList?:detailsList[]
  121. taskId?:number
  122. index?:number
  123. //产品规格
  124. spec?:string
  125. // 物料名称
  126. materialName?:string
  127. //物料编码
  128. materialNo?: string
  129. // 序列号
  130. seqNo?: string
  131. //储位坐标
  132. coordinate?:string
  133. //仓库编号
  134. houseNo?:string
  135. //储位编号
  136. locationNo?:string
  137. //单位
  138. unit?:string
  139. //数量
  140. num?:number
  141. //批次号
  142. batchCode?:string
  143. }
  144. export interface outboundRequestData {
  145. index?:number
  146. //产品规格
  147. spec?:string
  148. // 物料名称
  149. materialName?:string
  150. //物料编码
  151. materialNo?: string
  152. // 序列号
  153. seqNo?: string
  154. //储位坐标
  155. coordinate?:string
  156. //仓库编号
  157. houseNo?:string
  158. //储位编号
  159. locationNo?:string
  160. //单位
  161. unit?:string
  162. //数量
  163. num?:number
  164. //批次号
  165. batchCode?:string
  166. //载具编号
  167. vehicleCode?:string
  168. position?:string
  169. housetype?:string
  170. }
  171. @CustomDialog
  172. struct positionok {
  173. // outboundData = async() : Promise<outboundDataclass[]> => {
  174. // let obj:outboundDataclass[] = []
  175. // let res = await StorageRequest.post("/api/v3/wmsOrder/outBox", {
  176. // detailsList:this.outboundRequest,
  177. // taskId:'1'
  178. // })
  179. // console.log('testTag', '********' + JSON.stringify(res))
  180. // obj = JSON.parse(JSON.stringify(res))
  181. // return obj
  182. // }
  183. //传进来
  184. // aboutToAppear(){
  185. // for (let index = 0; index < this.Mposition.length; index++) {
  186. // let details: outboundRequestData = {}
  187. // details.materialName = this.Mposition[index].materialName
  188. // details.num=this.Mposition[index].num
  189. // details.materialNo=this.Mposition[index].materialNo
  190. // details.spec=this.Mposition[index].spec
  191. // details.batchCode=this.Mposition[index].batchCode
  192. // details.housetype='1'
  193. // details.locationNo='1-3-2'
  194. // details.houseNo='1'
  195. // details.coordinate= '3-2'
  196. // details.unit='个'
  197. // details.vehicleCode='XL'+new Date().getTime()
  198. // details.position='1'
  199. // this.Mposition.push(details)
  200. // }
  201. // }
  202. @State private outboundRequest:Array<outboundRequestData>=[]
  203. @Link private Mposition:Array< Materialpositionclass>
  204. @Link code:string
  205. @Link textValue: string
  206. @Link inputValue: string
  207. controller: CustomDialogController
  208. // 若尝试在CustomDialog中传入多个其他的Controller,以实现在CustomDialog中打开另一个或另一些CustomDialog,那么此处需要将指向自己的controller放在最后
  209. cancel: () => void
  210. confirm: () => void
  211. build(){
  212. Column(){
  213. Column({space:10}){
  214. Text('取出确认')
  215. .width('100%')
  216. .fontSize('51px')
  217. .textAlign(TextAlign.Center)
  218. Row(){
  219. Text('是否取出'+this.code+'?')
  220. .width('100%')
  221. .fontSize('32px')
  222. }.width('80%')
  223. .height('60%')
  224. Row({space:5}){
  225. Text('取消')
  226. .fontWeight(FontWeight.Medium)
  227. .fontSize('32px')
  228. .width('48%')
  229. .textAlign(TextAlign.Center)
  230. .height('100%')
  231. .fontColor('#0A59F7')
  232. .backgroundColor('#F1F3F5')
  233. .borderRadius(21)
  234. .onClick(()=>{
  235. this.controller.close()
  236. })
  237. Text('确认')
  238. .fontWeight(FontWeight.Medium)
  239. .fontSize('32px')
  240. .borderRadius(21)
  241. .textAlign(TextAlign.Center)
  242. .height('100%')
  243. .width('48%')
  244. .fontColor('#0A59F7')
  245. .backgroundColor('#F1F3F5')
  246. .onClick(()=>{
  247. // this. outboundData ().then((res : outboundRequestData[]) => {
  248. // console.log('testTag', '入库数据成功'+JSON.stringify(res))
  249. // if (res && res.length > 0) {
  250. // //
  251. // for (let index = 0; index < res.length; index++) {
  252. // console.log('testTag', '-----------index' + index +'-----vehicleNo'+JSON.stringify(res))
  253. // console.log('testTag', '-----------index' + index +'-----list'+JSON.stringify(res))
  254. // }
  255. // this. outboundRequest = res
  256. // }
  257. // })
  258. // console.log("4632957"+JSON.stringify(this.outboundRequest))
  259. // this.controller.close()
  260. })
  261. }
  262. .justifyContent(FlexAlign.Center)
  263. .borderRadius(15)
  264. .width('80%')
  265. .height('20%')
  266. }.width('100%')
  267. .padding(10)
  268. .height('100%')
  269. .borderRadius(15)
  270. .backgroundColor('#FFFF')
  271. }.width("50%")
  272. .height("40%")
  273. .backgroundColor('#4d000000')
  274. }
  275. }
  276. @CustomDialog
  277. struct ChuKUA {
  278. @State private Mposition:Array<Materialpositionclass>=[]
  279. @State private SelectMaterial:Array<SelectMaterialslist>=[]
  280. @State material:string=''
  281. @State taskNo:string=''
  282. ////确认弹窗
  283. @State code:string=''
  284. dialogController: CustomDialogController = new CustomDialogController({
  285. builder: positionok({
  286. Mposition:this.Mposition,
  287. code:this.code,
  288. textValue: $textValue,
  289. inputValue: $inputValue
  290. }),
  291. autoCancel: true,
  292. alignment: DialogAlignment.Center,
  293. customStyle: true
  294. })
  295. Tasklistoutbound = async() : Promise<Tasklist[]> => {
  296. let obj: Tasklist[] = []
  297. let res = await StorageRequest.post("/api/v3/task/list", {
  298. type: 2
  299. })
  300. console.log('testTag', 'Tasklist成功' + JSON.stringify(res))
  301. obj = JSON.parse(JSON.stringify(res))
  302. console.log('testTag', 'aaaaaaaa' +JSON.stringify(obj));
  303. return obj
  304. }
  305. SelectMaterials = async() : Promise<SelectMaterialslist[]> => {
  306. let res = await StorageRequest.post("/api/v3/task/page", {
  307. pageNo: 1,
  308. taskNo:this.taskNo
  309. })
  310. console.log('testTag', '********' + JSON.stringify(res))
  311. let obj = JSON.parse(JSON.stringify(res))
  312. console.log('testTag', 'aaaaaaaa' +JSON.stringify(obj.records));
  313. this.SelectMaterial=obj
  314. return obj.records
  315. }
  316. ///位置请求
  317. Materialposition = async() : Promise< Materialpositionclass[]> => {
  318. let obj: Materialpositionclass[] = []
  319. let res = await StorageRequest.post("/api/v3/stock/list", {
  320. "materialName":this.material
  321. // "materialName":"物料名称001"
  322. })
  323. console.log('testTag', '111111成功' + JSON.stringify(res))
  324. obj = JSON.parse(JSON.stringify(res))
  325. console.log('testTag', 'aaaaaaaa' +JSON.stringify(obj));
  326. this.Mposition=obj
  327. return obj
  328. }
  329. aboutToAppear(){
  330. this.Tasklistoutbound().then((res : Tasklist[]) => {
  331. console.log('testTag', 'result cccccc'+JSON.stringify(res))
  332. if (res && res.length > 0) {
  333. this.TasklistoutboundData = res
  334. this.taskNo=this.TasklistoutboundData[0].taskNo
  335. this.SelectMaterials().then((res : SelectMaterialslist[]) => {
  336. console.log('testTag', 'result cccccc'+JSON.stringify(res))
  337. if (res && res.length > 0) {
  338. this.SelectMaterial = res
  339. this.material= this.SelectMaterial[0].materialName
  340. this.Materialposition().then((res :Materialpositionclass[]) => {
  341. console.log('testTag', 'result cccccc'+JSON.stringify(res))
  342. if (res && res.length > 0) {
  343. this.Mposition = res
  344. }
  345. })
  346. }
  347. })
  348. }
  349. })
  350. }
  351. @State private TasklistoutboundData:Array<Tasklist>=[]
  352. @Link CunQuHuo:number
  353. scroller: Scroller = new Scroller()
  354. @State SelectableMarker:number=0
  355. @State SelectableMarkerOne:number=0
  356. @State SelectableMarkertwo:number=0
  357. @Link textValue: string
  358. @Link inputValue: string
  359. controller: CustomDialogController
  360. // 若尝试在CustomDialog中传入多个其他的Controller,以实现在CustomDialog中打开另一个或另一些CustomDialog,那么此处需要将指向自己的controller放在最后
  361. cancel: () => void
  362. confirm: () => void
  363. build() {
  364. Column() {
  365. Column(){
  366. Text('取物料')
  367. .fontWeight(FontWeight.Medium)
  368. .textAlign(TextAlign.Center)
  369. .fontColor('#ffff')
  370. .fontSize('51px')
  371. }.width('100%')
  372. .justifyContent(FlexAlign.Center)
  373. .height('10%')
  374. .padding(10)
  375. Row(){
  376. Text('出库')
  377. .fontSize('40px')
  378. .width('30%')
  379. .padding(10)
  380. .fontColor('#ffff')
  381. Text('选择物料')
  382. .fontSize('40px')
  383. .width('30%')
  384. .padding(10)
  385. .fontColor('#ffff')
  386. Text('取出位置')
  387. .fontSize('40px')
  388. .width('30%')
  389. .padding(10)
  390. .fontColor('#ffff')
  391. }.width('100%')
  392. .height('5%')
  393. .padding({left:10})
  394. Row({space:20}){
  395. Column(){
  396. Grid(this.scroller) {
  397. ForEach(this.TasklistoutboundData, (item:Tasklist ,index:number) => {
  398. // ForEach(this.Number, (day: string) => {
  399. GridItem() {
  400. Row(){
  401. Column(){
  402. Text(item.taskName)
  403. .fontSize('32px')
  404. .width('100%')
  405. .height('20%')
  406. Row(){
  407. Column({space:10}){
  408. Text('产品型号:'+item.taskNo)
  409. .fontSize($r('app.float.robot_state_font_size'))
  410. .textAlign(TextAlign.Start)
  411. .fontColor('#99000000')
  412. .width('100%')
  413. Text('计划编号:'+item.relPlanNo)
  414. .fontSize($r('app.float.robot_state_font_size'))
  415. .textAlign(TextAlign.Start)
  416. .fontColor('#99000000')
  417. .width('100%')
  418. Text('订单编号:'+item.relOrderNo)
  419. .fontSize($r('app.float.robot_state_font_size'))
  420. .textAlign(TextAlign.Start)
  421. .fontColor('#99000000')
  422. .width('100%')
  423. Text('出库单号:'+item.relOutOrderNo)
  424. .fontSize($r('app.float.robot_state_font_size'))
  425. .textAlign(TextAlign.Start)
  426. .fontColor('#99000000')
  427. .width('100%')
  428. Text('取料进度:'+item.progress)
  429. .fontSize($r('app.float.robot_state_font_size'))
  430. .textAlign(TextAlign.Start)
  431. .fontColor('#99000000')
  432. .width('100%')
  433. }
  434. .justifyContent(FlexAlign.Center)
  435. .width('100%')
  436. .height('100%')
  437. } .width('100%')
  438. .height('80%')
  439. }.width('100%')
  440. .padding({left:20,right:20})
  441. .borderRadius(10)
  442. .alignItems(HorizontalAlign.Start)
  443. .justifyContent(FlexAlign.Center)
  444. .height('100%')
  445. .onClick(()=>{
  446. this.taskNo=item.taskNo
  447. })
  448. }
  449. .padding(10)
  450. .borderRadius(10)
  451. .height('30%')
  452. .backgroundColor(this.SelectableMarker===index?
  453. $r('app.color.robot_set_card_blue'):$r('app.color.robot_set_card_white'))
  454. }
  455. .onClick(()=>{
  456. this.SelectableMarker=index
  457. })
  458. })
  459. }
  460. .onClick(()=>{
  461. this.CunQuHuo=1
  462. })
  463. .padding(10)
  464. .columnsTemplate('1fr')
  465. .columnsGap(10)
  466. .rowsGap(10)
  467. .onScrollIndex((first: number) => {
  468. console.info(first.toString())
  469. })
  470. .width('100%')
  471. .height('100%')
  472. }.width('25%')
  473. .height('100%')
  474. Divider().vertical(true)
  475. .color('#ffff')
  476. .width('1%')
  477. .height('100%')
  478. ////选择物料
  479. Column(){
  480. Grid(this.scroller) {
  481. ForEach(this.SelectMaterial, (item:SelectMaterialslist,index:number) => {
  482. // ForEach(this.Number, (day: string) => {
  483. GridItem() {
  484. Row(){
  485. Column(){
  486. Blank()
  487. Text(item.materialName)
  488. .fontSize('32px')
  489. .fontWeight(FontWeight.Medium)
  490. Text(item.materialNo)
  491. .fontSize('27px')
  492. Blank()
  493. Text(item.completedNum.toString()+'/'+item.num.toString())
  494. .fontWeight(FontWeight.Bold)
  495. . fontSize('32px')
  496. .fontColor('#e6000000')
  497. Text(item.state===0||1?"待处理":item.state===2?"处理中":item.state===3?"处理异常":"已完成")
  498. .fontSize('32px')
  499. Blank()
  500. }.width('100%')
  501. .padding(10)
  502. .borderRadius(10)
  503. .alignItems(HorizontalAlign.Start)
  504. .justifyContent(FlexAlign.Center)
  505. .height('100%')
  506. }
  507. .padding(10)
  508. .borderRadius(10)
  509. .height('30%')
  510. .backgroundColor(this.SelectableMarkerOne===index?
  511. $r('app.color.robot_set_card_blue'):$r('app.color.robot_set_card_white'))
  512. }
  513. .onClick(()=>{
  514. this.material= item.materialName
  515. console.log('好了111111'+item.materialName)
  516. // this.Materialposition()
  517. this.SelectableMarkerOne=index
  518. })
  519. })
  520. }
  521. .onClick(()=>{
  522. this.CunQuHuo=1
  523. })
  524. .padding(10)
  525. .columnsTemplate('1fr')
  526. .columnsGap(10)
  527. .rowsGap(10)
  528. .onScrollIndex((first: number) => {
  529. console.info(first.toString())
  530. })
  531. .width('100%')
  532. .height('100%')
  533. }.width('25%')
  534. .height('100%')
  535. Divider().vertical(true)
  536. .color('#ffff')
  537. .width('1%')
  538. .height('100%')
  539. //物料位置
  540. Column(){
  541. Grid(this.scroller) {
  542. ForEach(this.Mposition, (item:Materialpositionclass,index:number) => {
  543. GridItem() {
  544. Row(){
  545. Column(){
  546. Text(item.locationNo)
  547. .fontSize('32px')
  548. .fontWeight(FontWeight.Medium)
  549. Text(item.batchCode)
  550. .fontSize('32px')
  551. .fontWeight(FontWeight.Medium)
  552. Blank()
  553. Row(){
  554. Text(item.num.toString())
  555. .fontSize('51px')
  556. .fontWeight(FontWeight.Bold)
  557. Text('个')
  558. .fontSize('32px')
  559. .fontWeight(FontWeight.Medium)
  560. }
  561. }.width('100%')
  562. .padding(10)
  563. .borderRadius(10)
  564. .alignItems(HorizontalAlign.Start)
  565. .justifyContent(FlexAlign.Center)
  566. .height('100%')
  567. }
  568. .padding(10)
  569. .borderRadius(10)
  570. .height('30%')
  571. .backgroundColor(this.SelectableMarkertwo===index?
  572. $r('app.color.robot_set_card_blue'):$r('app.color.robot_set_card_white'))
  573. .onClick(()=>{
  574. this.dialogController.open()
  575. this.SelectableMarkertwo=index
  576. this.code= item.batchCode
  577. })
  578. }
  579. .padding({left:20})
  580. })
  581. }
  582. .onClick(()=>{
  583. this.CunQuHuo=1
  584. })
  585. .padding(10)
  586. .columnsTemplate('1fr 1fr')
  587. .columnsGap(10)
  588. .rowsGap(10)
  589. .onScrollIndex((first: number) => {
  590. console.info(first.toString())
  591. })
  592. .width('100%')
  593. .height('100%')
  594. }.width('37%')
  595. .height('100%')
  596. }.width('100%')
  597. .height('75%')
  598. .padding(10)
  599. Row(){
  600. Image($r('app.media.close'))
  601. .width('115px')
  602. .height('115px')
  603. .onClick(()=>{
  604. this.controller.close()
  605. })
  606. }.width('100%')
  607. .justifyContent(FlexAlign.Center)
  608. .height('10%')
  609. }.width('100%')
  610. .backgroundColor('#99000000')
  611. .height('100%')
  612. // dialog默认的borderRadius为24vp,如果需要使用border属性,请和borderRadius属性一起使用。
  613. }
  614. }
  615. @CustomDialog
  616. @Entry
  617. @Component
  618. export struct Workbin{
  619. @State textValue: string = ''
  620. @State inputValue: string = ''
  621. scroller: Scroller = new Scroller()
  622. onCancel() {
  623. console.info('onCancel')
  624. }
  625. onAccept() {
  626. console.info(' onAccept')
  627. }
  628. existApp() {
  629. console.info(' existApp')
  630. }
  631. @State ZhuangTai:number=0
  632. @State CunQuHuo:number=0
  633. MaterialRetrievalController: CustomDialogController = new CustomDialogController({
  634. builder: ChuKUA({
  635. CunQuHuo:this.CunQuHuo,
  636. cancel: this.onCancel,
  637. confirm: this.onAccept,
  638. textValue: $textValue,
  639. inputValue: $inputValue,
  640. }),
  641. // gridCount: 3,
  642. cancel: this.existApp,
  643. //autoCancel: true,
  644. alignment: DialogAlignment.Bottom,
  645. //offset: { dx: 0, dy: -20 },
  646. gridCount: 4,
  647. customStyle: true,
  648. })
  649. build(){
  650. Row({space:15}){
  651. Row(){
  652. Column(){
  653. Text('取物料')
  654. .fontSize('32px')
  655. .fontWeight(FontWeight.Medium)
  656. Text('查找物料')
  657. .fontSize('27px')
  658. }.width('90%')
  659. .borderRadius(15)
  660. .backgroundColor('#ffff')
  661. .alignItems(HorizontalAlign.Start)
  662. .justifyContent(FlexAlign.Center)
  663. .height('100%')
  664. .onClick(()=>{
  665. this. MaterialRetrievalController.open()
  666. })
  667. Column(){
  668. Image($r('app.media.jiaobiao'))
  669. .width('27px')
  670. .height('27px')
  671. }.width('10%')
  672. .justifyContent(FlexAlign.End)
  673. .height('100%')
  674. .backgroundColor('#ffff')
  675. }
  676. .backgroundColor('#ffff')
  677. .padding(10)
  678. .width('45%')
  679. .borderRadius(15)
  680. .height('100%')
  681. Row(){
  682. Column(){
  683. Text('返回料箱')
  684. .fontSize('32px')
  685. .fontWeight(FontWeight.Medium)
  686. Text('LX1524742389')
  687. .fontSize('27px')
  688. }.width('90%')
  689. .borderRadius(15)
  690. .backgroundColor('#ffff')
  691. .alignItems(HorizontalAlign.Start)
  692. .justifyContent(FlexAlign.Center)
  693. .height('100%')
  694. Column(){
  695. Image($r('app.media.jiaobiao'))
  696. .width('27px')
  697. .height('27px')
  698. }.width('10%')
  699. .justifyContent(FlexAlign.End)
  700. .height('100%')
  701. }
  702. .padding(10)
  703. // .onClick(()=>{
  704. // this.bufferhopperController.open()
  705. // })
  706. .backgroundColor('#ffff')
  707. .width('45%')
  708. .borderRadius(15)
  709. .height('100%')
  710. }.width('100%')
  711. .padding({left:10})
  712. .height('100%')
  713. }
  714. }