|
@@ -138,6 +138,8 @@ struct Index {
|
|
|
@State noticeNum: number = 100
|
|
|
// 扫描或手动输入的物料编码
|
|
|
@State scanCode: string = ''
|
|
|
+ // 当前流转卡号
|
|
|
+ @State seqNo: string = ''
|
|
|
|
|
|
pageNo: number = 1
|
|
|
pageSize: number = 9
|
|
@@ -411,33 +413,22 @@ struct Index {
|
|
|
Stack() {
|
|
|
Column() {
|
|
|
Blank()
|
|
|
- Row() {
|
|
|
- Row() {
|
|
|
-
|
|
|
- }
|
|
|
- .width('50%')
|
|
|
- .height('100%')
|
|
|
- .borderWidth(1)
|
|
|
- Row(){
|
|
|
-
|
|
|
- }.width('50%')
|
|
|
- .height('100%')
|
|
|
- .borderWidth(1)
|
|
|
- // Image($r('app.media.process_drawer_switch'))
|
|
|
- // .width($r('app.float.virtualSize_48'))
|
|
|
- // .height($r('app.float.virtualSize_48'))
|
|
|
- // .fillColor($r('app.color.60FFFFFF'))
|
|
|
+ Stack() {
|
|
|
+ Image($r('app.media.process_drawer_thumbnail'))
|
|
|
+ .width('100%')
|
|
|
+ .height('100%')
|
|
|
+ Image($r('app.media.process_drawer_switch'))
|
|
|
+ .width($r('app.float.virtualSize_48'))
|
|
|
+ .height($r('app.float.virtualSize_48'))
|
|
|
+ .fillColor($r('app.color.60FFFFFF'))
|
|
|
}
|
|
|
.width('100%')
|
|
|
.height('47%')
|
|
|
- .justifyContent(FlexAlign.Center)
|
|
|
- .backgroundImage($r('app.media.process_drawer_thumbnail'), ImageRepeat.XY)
|
|
|
}
|
|
|
.width('100%')
|
|
|
.height('100%')
|
|
|
|
|
|
Row() {
|
|
|
- Row().width('2.6%')
|
|
|
Row({space: 4}) {
|
|
|
Image($r('app.media.process_work_instruction'))
|
|
|
.width($r('app.float.virtualSize_24'))
|
|
@@ -455,11 +446,60 @@ struct Index {
|
|
|
.borderRadius($r('app.float.fontSize_16'))
|
|
|
Row().width('1.5%')
|
|
|
Row({space: 4}) {
|
|
|
- Image($r('app.media.process_work_instruction'))
|
|
|
+ Image($r('app.media.process_complete_reception'))
|
|
|
.width($r('app.float.virtualSize_24'))
|
|
|
.height($r('app.float.virtualSize_24'))
|
|
|
.fillColor($r('app.color.0A84FF'))
|
|
|
- Text('作业指导')
|
|
|
+ Text('齐套接收')
|
|
|
+ .fontColor($r('app.color.0A84FF'))
|
|
|
+ .fontSize($r('app.float.fontSize_24'))
|
|
|
+ .fontWeight(FontWeight.Medium)
|
|
|
+ }
|
|
|
+ .width('10%')
|
|
|
+ .height('58.3%')
|
|
|
+ .justifyContent(FlexAlign.Center)
|
|
|
+ .backgroundColor($r('app.color.20FFFFFF'))
|
|
|
+ .borderRadius($r('app.float.fontSize_16'))
|
|
|
+
|
|
|
+ Blank()
|
|
|
+ Column({space: 2}) {
|
|
|
+ Row() {
|
|
|
+ Text((this.selectWorkOder && this.selectWorkOder.workOrderCode) ? parseInt(this.selectWorkOder.completeNum!) + '/' + parseInt(this.selectWorkOder.planNum) : '')
|
|
|
+ .fontColor($r('app.color.FFFFFF'))
|
|
|
+ .fontSize($r('app.float.fontSize_16'))
|
|
|
+ .fontWeight(FontWeight.Lighter)
|
|
|
+ }
|
|
|
+ .width('100%')
|
|
|
+ .height('50%')
|
|
|
+ .justifyContent(FlexAlign.End)
|
|
|
+ .alignItems(VerticalAlign.Bottom)
|
|
|
+
|
|
|
+ Row() {
|
|
|
+ if (this.seqNo.length > 0 ) {
|
|
|
+ Text('S/N ')
|
|
|
+ .fontColor($r('app.color.FFFFFF'))
|
|
|
+ .fontSize($r('app.float.fontSize_16'))
|
|
|
+ .fontWeight(FontWeight.Lighter)
|
|
|
+ Text(this.seqNo)
|
|
|
+ .fontColor($r('app.color.FFFFFF'))
|
|
|
+ .fontSize($r('app.float.fontSize_16'))
|
|
|
+ .fontWeight(FontWeight.Bold)
|
|
|
+ }
|
|
|
+ }
|
|
|
+ .width('100%')
|
|
|
+ .height('50%')
|
|
|
+ .justifyContent(FlexAlign.End)
|
|
|
+ .alignItems(VerticalAlign.Top)
|
|
|
+ }
|
|
|
+ .width('10.8%')
|
|
|
+ .height('100%')
|
|
|
+ Row().width('1%')
|
|
|
+ Row({space: 4}) {
|
|
|
+ Image($r('app.media.process_switch'))
|
|
|
+ .width($r('app.float.virtualSize_24'))
|
|
|
+ .height($r('app.float.virtualSize_24'))
|
|
|
+ .fillColor($r('app.color.0A84FF'))
|
|
|
+ Text('切换产品')
|
|
|
.fontColor($r('app.color.0A84FF'))
|
|
|
.fontSize($r('app.float.fontSize_24'))
|
|
|
.fontWeight(FontWeight.Medium)
|
|
@@ -469,9 +509,26 @@ struct Index {
|
|
|
.justifyContent(FlexAlign.Center)
|
|
|
.backgroundColor($r('app.color.20FFFFFF'))
|
|
|
.borderRadius($r('app.float.fontSize_16'))
|
|
|
+ Row().width('1.5%')
|
|
|
+ Row({space: 4}) {
|
|
|
+ Image($r('app.media.process_start_work'))
|
|
|
+ .width($r('app.float.virtualSize_24'))
|
|
|
+ .height($r('app.float.virtualSize_24'))
|
|
|
+ .fillColor($r('app.color.FFFFFF'))
|
|
|
+ Text('工序开工')
|
|
|
+ .fontColor($r('app.color.FFFFFF'))
|
|
|
+ .fontSize($r('app.float.fontSize_24'))
|
|
|
+ .fontWeight(FontWeight.Medium)
|
|
|
+ }
|
|
|
+ .width('10%')
|
|
|
+ .height('58.3%')
|
|
|
+ .justifyContent(FlexAlign.Center)
|
|
|
+ .backgroundColor($r('app.color.0A84FF'))
|
|
|
+ .borderRadius($r('app.float.fontSize_16'))
|
|
|
}
|
|
|
.height('90.6%')
|
|
|
.width('100%')
|
|
|
+ .padding({left: '2.6%', right: '2.6%'})
|
|
|
}
|
|
|
.width('100%')
|
|
|
.height('9.8%')
|