Skip to content
项目
群组
代码片段
帮助
当前项目
正在载入...
登录 / 注册
切换导航面板
J
jump_hm_warehouse
概览
Overview
Details
Activity
Cycle Analytics
版本库
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
问题
0
Issues
0
列表
Board
标记
里程碑
合并请求
0
Merge Requests
0
CI / CD
CI / CD
流水线
作业
日程表
图表
维基
Wiki
代码片段
Snippets
成员
Members
Collapse sidebar
Close sidebar
活动
图像
聊天
创建新问题
作业
提交
Issue Boards
Open sidebar
毛勇泽
jump_hm_warehouse
Commits
727109a0
Commit
727109a0
authored
Jan 29, 2024
by
陈桂东
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
提交代码
parent
475994b0
隐藏空白字符变更
内嵌
并排
正在显示
3 个修改的文件
包含
16 行增加
和
14 行删除
+16
-14
WzDetail.ets
entry/src/main/ets/pages/metailmange/Common/WzDetail.ets
+1
-1
AddWzin.ets
entry/src/main/ets/pages/metailmange/WzInPage/WzinDetail/AddWzin.ets
+3
-3
PzInfo.ets
entry/src/main/ets/pages/metailmange/WzInPage/WzinDetail/PzInfo.ets
+12
-10
没有找到文件。
entry/src/main/ets/pages/metailmange/Common/WzDetail.ets
View file @
727109a0
...
@@ -214,7 +214,7 @@ struct WzinDetail {
...
@@ -214,7 +214,7 @@ struct WzinDetail {
Tabs({ barPosition: BarPosition.Start, controller: this.controller }) {
Tabs({ barPosition: BarPosition.Start, controller: this.controller }) {
TabContent() {
TabContent() {
Column() {
Column() {
PzInfo({ wzcrk: this.wzcrk })
PzInfo({ wzcrk: this.wzcrk
, pageType: this.pageType
})
}.width("100%")
}.width("100%")
}.tabBar(this.TabBuilder(0, '凭证信息'))
}.tabBar(this.TabBuilder(0, '凭证信息'))
...
...
entry/src/main/ets/pages/metailmange/WzInPage/WzinDetail/AddWzin.ets
View file @
727109a0
...
@@ -110,7 +110,7 @@ export struct AddWzin {
...
@@ -110,7 +110,7 @@ export struct AddWzin {
{
{
title: "调号单位",
title: "调号单位",
key: 'sfdw',
key: 'sfdw',
enabled:
fals
e,
enabled:
tru
e,
type: 'input',
type: 'input',
typeList: ['调号']
typeList: ['调号']
},
},
...
@@ -212,7 +212,7 @@ export struct AddWzin {
...
@@ -212,7 +212,7 @@ export struct AddWzin {
List() {
List() {
ForEach(this.form, (item) => {
ForEach(this.form, (item) => {
if (item.typeList.length == 0 || item.typeList.includes
[this.pageType]
) {
if (item.typeList.length == 0 || item.typeList.includes
(this.pageType)
) {
ListItem() {
ListItem() {
Column() {
Column() {
Flex({ direction: FlexDirection.Row, alignItems: ItemAlign.Center }) {
Flex({ direction: FlexDirection.Row, alignItems: ItemAlign.Center }) {
...
@@ -243,7 +243,7 @@ export struct AddWzin {
...
@@ -243,7 +243,7 @@ export struct AddWzin {
if (item.type == 'input') {
if (item.type == 'input') {
TextInput({ text: this.handleText(item.key) })
TextInput({ text: this.handleText(item.key)
, placeholder: `请输入${item.title}`
})
.enterKeyType(EnterKeyType.Search)
.enterKeyType(EnterKeyType.Search)
.borderColor("#454545")
.borderColor("#454545")
.borderRadius(5)
.borderRadius(5)
...
...
entry/src/main/ets/pages/metailmange/WzInPage/WzinDetail/PzInfo.ets
View file @
727109a0
...
@@ -9,16 +9,17 @@ export struct PzInfo {
...
@@ -9,16 +9,17 @@ export struct PzInfo {
@State fwgldw: string = ''
@State fwgldw: string = ''
@State swgldw: string = ''
@State swgldw: string = ''
@ObjectLink wzcrk: WzClass
@ObjectLink wzcrk: WzClass
arr = [{ title: "凭证类型", key: 'pzlx', enabled: false },
pageType: string
{ title: "凭证号", key: 'pzh', enabled: false },
arr = [{ title: "凭证类型", key: 'pzlx', enabled: false, typeList: [] },
{ title: "库房", key: 'kfguid', enabled: false },
{ title: "凭证号", key: 'pzh', enabled: false, typeList: [] },
{ title: "收支类型", key: 'pzszlx', enabled: false },
{ title: "库房", key: 'kfguid', enabled: false, typeList: [] },
{ title: "调号单位", key: 'pzszlx', enabled: false },
{ title: "收支类型", key: 'pzszlx', enabled: false, typeList: [] },
{ title: "运单号", key: 'ydh', enabled: true },
{ title: "调号单位", key: 'sfdw', enabled: false, typeList: ['调号'] },
{ title: "发物管理单位", key: 'fwgldwdm', enabled: false },
{ title: "运单号", key: 'ydh', enabled: true, typeList: ['出库', '入库'] },
{ title: "收物管理单位", key: 'swgldwdm', enabled: false },
{ title: "发物管理单位", key: 'fwgldwdm', enabled: false, typeList: [] },
{ title: "账目类型", key: 'zmlx', enabled: false },
{ title: "收物管理单位", key: 'swgldwdm', enabled: false, typeList: [] },
{ title: "备注", key: 'dec', enabled: true }
{ title: "账目类型", key: 'zmlx', enabled: false, typeList: [] },
{ title: "备注", key: 'dec', enabled: true, typeList: [] }
]
]
aboutToAppear() {
aboutToAppear() {
...
@@ -77,6 +78,7 @@ export struct PzInfo {
...
@@ -77,6 +78,7 @@ export struct PzInfo {
List() {
List() {
ForEach(this.arr, (item) => {
ForEach(this.arr, (item) => {
if (item.typeList.length == 0 || item.typeList.includes(this.pageType))
ListItem() {
ListItem() {
Column() {
Column() {
Flex({ direction: FlexDirection.Row, alignItems: ItemAlign.Center }) {
Flex({ direction: FlexDirection.Row, alignItems: ItemAlign.Center }) {
...
...
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论