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
ba0f5d43
Commit
ba0f5d43
authored
Jan 29, 2024
by
huangqy
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
昨天把已完成变成完成
parent
36128af3
隐藏空白字符变更
内嵌
并排
正在显示
11 个修改的文件
包含
32 行增加
和
32 行删除
+32
-32
api_v2.md
api_v2.md
+1
-1
dict.ets
common/src/main/ets/utils/dict.ets
+1
-1
WzConversionPage.ets
entry/src/main/ets/pages/metailmange/WzConversionPage/WzConversionPage.ets
+2
-2
WzExchangePage.ets
entry/src/main/ets/pages/metailmange/WzExchangePage/WzExchangePage.ets
+3
-3
WzInPage.ets
entry/src/main/ets/pages/metailmange/WzInPage/WzInPage.ets
+6
-6
WzInvPage.ets
entry/src/main/ets/pages/metailmange/WzInvPage.ets
+1
-1
WzInvPage.ets
entry/src/main/ets/pages/metailmange/WzInvPage/WzInvPage.ets
+6
-6
WzOutPage.ets
entry/src/main/ets/pages/metailmange/WzOutPage/WzOutPage.ets
+5
-5
WzPositionPage.ets
entry/src/main/ets/pages/metailmange/WzPositionPage.ets
+1
-1
WzReversePage.ets
entry/src/main/ets/pages/metailmange/WzReversePage.ets
+1
-1
WzReversePage.ets
entry/src/main/ets/pages/metailmange/WzReversePage/WzReversePage.ets
+5
-5
没有找到文件。
api_v2.md
View file @
ba0f5d43
...
@@ -5,7 +5,7 @@
...
@@ -5,7 +5,7 @@
-
[
]
未完成任务
-
[
]
未完成任务
-
[
x
]
已
完成任务
-
[
x
]
完成任务
``` java
``` java
...
...
common/src/main/ets/utils/dict.ets
View file @
ba0f5d43
...
@@ -62,7 +62,7 @@ const military_depot_dict = [{
...
@@ -62,7 +62,7 @@ const military_depot_dict = [{
},
},
{
{
id: 2,
id: 2,
text: '
已
完成',
text: '完成',
value: 1
value: 1
},
},
{
{
...
...
entry/src/main/ets/pages/metailmange/WzConversionPage/WzConversionPage.ets
View file @
ba0f5d43
...
@@ -103,7 +103,7 @@ struct WzConversionPage{
...
@@ -103,7 +103,7 @@ struct WzConversionPage{
onSubmit() {
onSubmit() {
try{
try{
this.checkedList.forEach(async (element)=>{
this.checkedList.forEach(async (element)=>{
let num = await wzcrkModel.updateWzcrkWczt(element, (this.radioChecked == undefined || this.radioChecked ? '
已
完成' : '未完成'))
let num = await wzcrkModel.updateWzcrkWczt(element, (this.radioChecked == undefined || this.radioChecked ? '完成' : '未完成'))
if(num) {
if(num) {
this.dataSource.splice(this.dataSource.findIndex(i => i.guid == element), 1)
this.dataSource.splice(this.dataSource.findIndex(i => i.guid == element), 1)
}
}
...
@@ -133,7 +133,7 @@ struct WzConversionPage{
...
@@ -133,7 +133,7 @@ struct WzConversionPage{
}
}
onExportSubmit() {
onExportSubmit() {
this.checkedList.forEach(async element => {
this.checkedList.forEach(async element => {
let res = await ViewdrdcModel.queryExport({guid: element, wczt: '
已
完成', pzlx: '17'})
let res = await ViewdrdcModel.queryExport({guid: element, wczt: '完成', pzlx: '17'})
const jhguidArr = res.map((item) => item.guid)
const jhguidArr = res.map((item) => item.guid)
if (jhguidArr && jhguidArr.length > 0) {
if (jhguidArr && jhguidArr.length > 0) {
const date = dateUtils.formatDateTime(new Date(), 'before')
const date = dateUtils.formatDateTime(new Date(), 'before')
...
...
entry/src/main/ets/pages/metailmange/WzExchangePage/WzExchangePage.ets
View file @
ba0f5d43
...
@@ -102,7 +102,7 @@ struct WzExchangePage{
...
@@ -102,7 +102,7 @@ struct WzExchangePage{
onSubmit() {
onSubmit() {
try{
try{
this.checkedList.forEach(async (element)=>{
this.checkedList.forEach(async (element)=>{
let num = await wzcrkModel.updateWzcrkWczt(element, (this.radioChecked == undefined || this.radioChecked ? '
已
完成' : '未完成'))
let num = await wzcrkModel.updateWzcrkWczt(element, (this.radioChecked == undefined || this.radioChecked ? '完成' : '未完成'))
if(num) {
if(num) {
this.dataSource.splice(this.dataSource.findIndex(i => i.guid == element), 1)
this.dataSource.splice(this.dataSource.findIndex(i => i.guid == element), 1)
}
}
...
@@ -132,7 +132,7 @@ struct WzExchangePage{
...
@@ -132,7 +132,7 @@ struct WzExchangePage{
}
}
onExportSubmit() {
onExportSubmit() {
this.checkedList.forEach(async element => {
this.checkedList.forEach(async element => {
let res = await ViewdrdcModel.queryExport({guid: element, wczt: '
已
完成', pzlx: '17'})
let res = await ViewdrdcModel.queryExport({guid: element, wczt: '完成', pzlx: '17'})
const jhguidArr = res.map((item) => item.guid)
const jhguidArr = res.map((item) => item.guid)
if (jhguidArr && jhguidArr.length > 0) {
if (jhguidArr && jhguidArr.length > 0) {
const date = dateUtils.formatDateTime(new Date(), 'before')
const date = dateUtils.formatDateTime(new Date(), 'before')
...
@@ -252,7 +252,7 @@ struct WzExchangePage{
...
@@ -252,7 +252,7 @@ struct WzExchangePage{
})
})
} else if (this.dataSource.filter(i => i.wczt == '未完成').length > 0) {
} else if (this.dataSource.filter(i => i.wczt == '未完成').length > 0) {
promptAction.showToast({
promptAction.showToast({
message: '请选择
已
完成的单据'
message: '请选择完成的单据'
})
})
} else {
} else {
if (this.exportDialogController != undefined) {
if (this.exportDialogController != undefined) {
...
...
entry/src/main/ets/pages/metailmange/WzInPage/WzInPage.ets
View file @
ba0f5d43
...
@@ -45,8 +45,8 @@ export struct WzInPage {
...
@@ -45,8 +45,8 @@ export struct WzInPage {
}
}
private controller: TabsController = new TabsController()
private controller: TabsController = new TabsController()
private searchcontroller: SearchController = new SearchController()
private searchcontroller: SearchController = new SearchController()
@State defaultSelectValue: Array<SelectOption> = [{ value: "未完成" }, { value: "
已
完成" }]
@State defaultSelectValue: Array<SelectOption> = [{ value: "未完成" }, { value: "完成" }]
@State selectValue: Array<SelectOption> = [{ value: "未完成" }, { value: "
已
完成" }, { value: "完成已绑定" }]
@State selectValue: Array<SelectOption> = [{ value: "未完成" }, { value: "完成" }, { value: "完成已绑定" }]
@State page: number = 1
@State page: number = 1
@State rows: number = 10
@State rows: number = 10
@State sjlx: string = "0"
@State sjlx: string = "0"
...
@@ -131,7 +131,7 @@ export struct WzInPage {
...
@@ -131,7 +131,7 @@ export struct WzInPage {
onSubmit() {
onSubmit() {
try{
try{
this.checkedList.forEach(async (element)=>{
this.checkedList.forEach(async (element)=>{
let num = await wzcrkModel.updateWzcrkWczt(element, (this.radioChecked == undefined || this.radioChecked ? '
已
完成' : '未完成'))
let num = await wzcrkModel.updateWzcrkWczt(element, (this.radioChecked == undefined || this.radioChecked ? '完成' : '未完成'))
if(num) {
if(num) {
this.dataSource.splice(this.dataSource.findIndex(i => i.guid == element), 1)
this.dataSource.splice(this.dataSource.findIndex(i => i.guid == element), 1)
}
}
...
@@ -162,7 +162,7 @@ export struct WzInPage {
...
@@ -162,7 +162,7 @@ export struct WzInPage {
onExportSubmit() {
onExportSubmit() {
this.checkedList.forEach(async element => {
this.checkedList.forEach(async element => {
let res = await ViewdrdcModel.queryExport({guid: element, wczt: '
已
完成', pzlx: '14'})
let res = await ViewdrdcModel.queryExport({guid: element, wczt: '完成', pzlx: '14'})
const jhguidArr = res.map((item) => item.guid)
const jhguidArr = res.map((item) => item.guid)
if (jhguidArr && jhguidArr.length > 0) {
if (jhguidArr && jhguidArr.length > 0) {
const date = dateUtils.formatDateTime(new Date(), 'before')
const date = dateUtils.formatDateTime(new Date(), 'before')
...
@@ -469,7 +469,7 @@ export struct WzInPage {
...
@@ -469,7 +469,7 @@ export struct WzInPage {
})
})
} else if (this.dataSource.filter(i => i.wczt == '未完成').length > 0) {
} else if (this.dataSource.filter(i => i.wczt == '未完成').length > 0) {
promptAction.showToast({
promptAction.showToast({
message: '请选择
已
完成的单据'
message: '请选择完成的单据'
})
})
} else {
} else {
if (this.exportDialogController != undefined) {
if (this.exportDialogController != undefined) {
...
@@ -580,7 +580,7 @@ export struct WzInPage {
...
@@ -580,7 +580,7 @@ export struct WzInPage {
}})
}})
})
})
})
})
}.padding(1
8
)
}.padding(1
5
)
}
}
...
...
entry/src/main/ets/pages/metailmange/WzInvPage.ets
View file @
ba0f5d43
...
@@ -93,7 +93,7 @@ struct WzInvPage{
...
@@ -93,7 +93,7 @@ struct WzInvPage{
TabContent() {
TabContent() {
// Column().width('100%').height('100%').backgroundColor('#007DFF')
// Column().width('100%').height('100%').backgroundColor('#007DFF')
}.tabBar(this.TabBuilder(1, '
已
完成'))
}.tabBar(this.TabBuilder(1, '完成'))
}
}
.height(80)
.height(80)
.margin({top:-15})
.margin({top:-15})
...
...
entry/src/main/ets/pages/metailmange/WzInvPage/WzInvPage.ets
View file @
ba0f5d43
...
@@ -48,7 +48,7 @@ struct WzInvPage{
...
@@ -48,7 +48,7 @@ struct WzInvPage{
pzh: this.pzh,
pzh: this.pzh,
page: this.page,
page: this.page,
rows: this.rows,
rows: this.rows,
sjlx: this.currentIndex === 0 ? "未完成" : "
已
完成",
sjlx: this.currentIndex === 0 ? "未完成" : "完成",
wczt: "未完成"
wczt: "未完成"
}
}
itemClick() {
itemClick() {
...
@@ -62,7 +62,7 @@ struct WzInvPage{
...
@@ -62,7 +62,7 @@ struct WzInvPage{
const res = await wzcrkModel.query({
const res = await wzcrkModel.query({
pzlx: "42",
pzlx: "42",
pzh: this.searchData.pzh,
pzh: this.searchData.pzh,
wczt: this.currentIndex === 0 ? "未完成" : "
已
完成" })
wczt: this.currentIndex === 0 ? "未完成" : "完成" })
res.forEach(element => {
res.forEach(element => {
this.dataSource.push(new WzClass(element))
this.dataSource.push(new WzClass(element))
});
});
...
@@ -114,7 +114,7 @@ struct WzInvPage{
...
@@ -114,7 +114,7 @@ struct WzInvPage{
onSubmit() {
onSubmit() {
try{
try{
this.checkedList.forEach(async (element)=>{
this.checkedList.forEach(async (element)=>{
let num = await wzcrkModel.updateWzcrkWczt(element, (this.radioChecked == undefined || this.radioChecked ? '
已
完成' : '未完成'))
let num = await wzcrkModel.updateWzcrkWczt(element, (this.radioChecked == undefined || this.radioChecked ? '完成' : '未完成'))
if(num) {
if(num) {
this.dataSource.splice(this.dataSource.findIndex(i => i.guid == element), 1)
this.dataSource.splice(this.dataSource.findIndex(i => i.guid == element), 1)
}
}
...
@@ -143,7 +143,7 @@ struct WzInvPage{
...
@@ -143,7 +143,7 @@ struct WzInvPage{
}
}
onExportSubmit() {
onExportSubmit() {
this.checkedList.forEach(async element => {
this.checkedList.forEach(async element => {
let res = await ViewdrdcModel.queryExport({guid: element, wczt: '
已
完成', pzlx: '17'})
let res = await ViewdrdcModel.queryExport({guid: element, wczt: '完成', pzlx: '17'})
const jhguidArr = res.map((item) => item.guid)
const jhguidArr = res.map((item) => item.guid)
if (jhguidArr && jhguidArr.length > 0) {
if (jhguidArr && jhguidArr.length > 0) {
const date = dateUtils.formatDateTime(new Date(), 'before')
const date = dateUtils.formatDateTime(new Date(), 'before')
...
@@ -252,7 +252,7 @@ struct WzInvPage{
...
@@ -252,7 +252,7 @@ struct WzInvPage{
})
})
} else if (this.dataSource.filter(i => i.wczt == '未完成').length > 0) {
} else if (this.dataSource.filter(i => i.wczt == '未完成').length > 0) {
promptAction.showToast({
promptAction.showToast({
message: '请选择
已
完成的单据'
message: '请选择完成的单据'
})
})
} else {
} else {
if (this.exportDialogController != undefined) {
if (this.exportDialogController != undefined) {
...
@@ -304,7 +304,7 @@ struct WzInvPage{
...
@@ -304,7 +304,7 @@ struct WzInvPage{
TabContent() {
TabContent() {
// Column().width('100%').height('100%').backgroundColor('#007DFF')
// Column().width('100%').height('100%').backgroundColor('#007DFF')
}.tabBar(this.TabBuilder(1, '
已
完成'))
}.tabBar(this.TabBuilder(1, '完成'))
}
}
.height(80)
.height(80)
.margin({top:-15})
.margin({top:-15})
...
...
entry/src/main/ets/pages/metailmange/WzOutPage/WzOutPage.ets
View file @
ba0f5d43
...
@@ -41,8 +41,8 @@ export struct WzOutPage {
...
@@ -41,8 +41,8 @@ export struct WzOutPage {
}
}
private controller: TabsController = new TabsController()
private controller: TabsController = new TabsController()
private searchcontroller: SearchController = new SearchController()
private searchcontroller: SearchController = new SearchController()
@State defaultSelectValue: Array<SelectOption> = [{ value: "未完成" }, { value: "
已
完成" }]
@State defaultSelectValue: Array<SelectOption> = [{ value: "未完成" }, { value: "完成" }]
@State selectValue: Array<SelectOption> = [{ value: "未完成" }, { value: "
已
完成" }, { value: "完成已绑定" }]
@State selectValue: Array<SelectOption> = [{ value: "未完成" }, { value: "完成" }, { value: "完成已绑定" }]
itemClick() {
itemClick() {
router.pushUrl({url:'pages/order_detail/PzInOutDetailPage'})
router.pushUrl({url:'pages/order_detail/PzInOutDetailPage'})
...
@@ -114,7 +114,7 @@ export struct WzOutPage {
...
@@ -114,7 +114,7 @@ export struct WzOutPage {
onSubmit() {
onSubmit() {
try{
try{
this.checkedList.forEach(async (element)=>{
this.checkedList.forEach(async (element)=>{
let num = await wzcrkModel.updateWzcrkWczt(element, (this.radioChecked == undefined || this.radioChecked ? '
已
完成' : '未完成'))
let num = await wzcrkModel.updateWzcrkWczt(element, (this.radioChecked == undefined || this.radioChecked ? '完成' : '未完成'))
if(num) {
if(num) {
this.dataSource.splice(this.dataSource.findIndex(i => i.guid == element), 1)
this.dataSource.splice(this.dataSource.findIndex(i => i.guid == element), 1)
}
}
...
@@ -145,7 +145,7 @@ export struct WzOutPage {
...
@@ -145,7 +145,7 @@ export struct WzOutPage {
onExportSubmit() {
onExportSubmit() {
this.checkedList.forEach(async element => {
this.checkedList.forEach(async element => {
let res = await ViewdrdcModel.queryExport({guid: element, wczt: '
已
完成', pzlx: '17'})
let res = await ViewdrdcModel.queryExport({guid: element, wczt: '完成', pzlx: '17'})
const jhguidArr = res.map((item) => item.guid)
const jhguidArr = res.map((item) => item.guid)
if (jhguidArr && jhguidArr.length > 0) {
if (jhguidArr && jhguidArr.length > 0) {
const date = dateUtils.formatDateTime(new Date(), 'before')
const date = dateUtils.formatDateTime(new Date(), 'before')
...
@@ -277,7 +277,7 @@ export struct WzOutPage {
...
@@ -277,7 +277,7 @@ export struct WzOutPage {
})
})
} else if (this.dataSource.filter(i => i.wczt == '未完成').length > 0) {
} else if (this.dataSource.filter(i => i.wczt == '未完成').length > 0) {
promptAction.showToast({
promptAction.showToast({
message: '请选择
已
完成的单据'
message: '请选择完成的单据'
})
})
} else {
} else {
if (this.exportDialogController != undefined) {
if (this.exportDialogController != undefined) {
...
...
entry/src/main/ets/pages/metailmange/WzPositionPage.ets
View file @
ba0f5d43
...
@@ -19,7 +19,7 @@ struct WzPositionPage{
...
@@ -19,7 +19,7 @@ struct WzPositionPage{
@State selectedFontColor: string = '#fff'
@State selectedFontColor: string = '#fff'
@State currentIndex: number = 0
@State currentIndex: number = 0
@State titleBarPadding:number=0
@State titleBarPadding:number=0
@State selectValue: Array<SelectOption> = [{ value: "未完成" }, { value: "
已
完成" }, { value: "完成已绑定" }]
@State selectValue: Array<SelectOption> = [{ value: "未完成" }, { value: "完成" }, { value: "完成已绑定" }]
itemClick() {
itemClick() {
router.pushUrl({url:'pages/order_detail/PzPourStoragePage'})
router.pushUrl({url:'pages/order_detail/PzPourStoragePage'})
}
}
...
...
entry/src/main/ets/pages/metailmange/WzReversePage.ets
View file @
ba0f5d43
...
@@ -88,7 +88,7 @@ struct WzReversePage{
...
@@ -88,7 +88,7 @@ struct WzReversePage{
TabContent() {
TabContent() {
// Column().width('100%').height('100%').backgroundColor('#007DFF')
// Column().width('100%').height('100%').backgroundColor('#007DFF')
}.tabBar(this.TabBuilder(1, '
已
完成'))
}.tabBar(this.TabBuilder(1, '完成'))
}
}
.height(60)
.height(60)
.margin({top:-15})
.margin({top:-15})
...
...
entry/src/main/ets/pages/metailmange/WzReversePage/WzReversePage.ets
View file @
ba0f5d43
...
@@ -55,7 +55,7 @@ struct WzReversePage{
...
@@ -55,7 +55,7 @@ struct WzReversePage{
const res = await wzcrkModel.query({
const res = await wzcrkModel.query({
pzlx: "19",
pzlx: "19",
pzh: this.searchData.pzh,
pzh: this.searchData.pzh,
wczt: this.currentIndex === 0 ? "未完成" : "
已
完成" })
wczt: this.currentIndex === 0 ? "未完成" : "完成" })
res.forEach(element => {
res.forEach(element => {
this.dataSource.push(new WzClass(element))
this.dataSource.push(new WzClass(element))
});
});
...
@@ -107,7 +107,7 @@ struct WzReversePage{
...
@@ -107,7 +107,7 @@ struct WzReversePage{
onSubmit() {
onSubmit() {
try{
try{
this.checkedList.forEach(async (element)=>{
this.checkedList.forEach(async (element)=>{
let num = await wzcrkModel.updateWzcrkWczt(element, (this.radioChecked == undefined || this.radioChecked ? '
已
完成' : '未完成'))
let num = await wzcrkModel.updateWzcrkWczt(element, (this.radioChecked == undefined || this.radioChecked ? '完成' : '未完成'))
if(num) {
if(num) {
this.dataSource.splice(this.dataSource.findIndex(i => i.guid == element), 1)
this.dataSource.splice(this.dataSource.findIndex(i => i.guid == element), 1)
}
}
...
@@ -136,7 +136,7 @@ struct WzReversePage{
...
@@ -136,7 +136,7 @@ struct WzReversePage{
}
}
onExportSubmit() {
onExportSubmit() {
this.checkedList.forEach(async element => {
this.checkedList.forEach(async element => {
let res = await ViewdrdcModel.queryExport({guid: element, wczt: '
已
完成', pzlx: '17'})
let res = await ViewdrdcModel.queryExport({guid: element, wczt: '完成', pzlx: '17'})
const jhguidArr = res.map((item) => item.guid)
const jhguidArr = res.map((item) => item.guid)
if (jhguidArr && jhguidArr.length > 0) {
if (jhguidArr && jhguidArr.length > 0) {
const date = dateUtils.formatDateTime(new Date(), 'before')
const date = dateUtils.formatDateTime(new Date(), 'before')
...
@@ -245,7 +245,7 @@ struct WzReversePage{
...
@@ -245,7 +245,7 @@ struct WzReversePage{
})
})
} else if (this.dataSource.filter(i => i.wczt == '未完成').length > 0) {
} else if (this.dataSource.filter(i => i.wczt == '未完成').length > 0) {
promptAction.showToast({
promptAction.showToast({
message: '请选择
已
完成的单据'
message: '请选择完成的单据'
})
})
} else {
} else {
if (this.exportDialogController != undefined) {
if (this.exportDialogController != undefined) {
...
@@ -297,7 +297,7 @@ struct WzReversePage{
...
@@ -297,7 +297,7 @@ struct WzReversePage{
TabContent() {
TabContent() {
// Column().width('100%').height('100%').backgroundColor('#007DFF')
// Column().width('100%').height('100%').backgroundColor('#007DFF')
}.tabBar(this.TabBuilder(1, '
已
完成'))
}.tabBar(this.TabBuilder(1, '完成'))
}
}
.height(80)
.height(80)
.margin({top:-15})
.margin({top:-15})
...
...
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论