Commit 8060334d by 陈桂东

提交代码

parent 0919e842
......@@ -35,14 +35,13 @@ export struct WzInfo {
@State isHaveButton: boolean = false // 完成状态, 未完成是true, 其他false
@State isAutomation: boolean = true //控制扫描提示显示隐藏
@State pzxqGuild: string = '' //当前凭证guid
@State historicalInformation: Array<any> = [] //物资数据
@State historicalInformation: WzmxClass[] = [] //物资数据
@State currentPmdmcode: string = '' //当前扫描pmdm10位
@State defaultHwh: string = this.convertionDefaultHwh()
@Link pzForm: PzFormClass
@State currentDw: string = ''
@State kfmc: string = ''
@State wzmx: WzmxClass[] = []
@ObjectLink wzcrk: WzClass
getDetail: (wzpm?: string) => void
scanInfoDialog: CustomDialogController = new CustomDialogController({
......@@ -369,6 +368,7 @@ export struct WzInfo {
// 2.换出和换入的品种号型必须一样
}
console.log('---historicalInformation---', JSON.stringify(this.historicalInformation))
const [data] = this.historicalInformation.filter((item, index) => item
.pmdmcode == ITEM.pmdmcode && item.hwh == this.pzForm.hwh)
console.log('---过滤后的data---', JSON.stringify(data))
......@@ -418,6 +418,7 @@ export struct WzInfo {
})
}
this.currentPmdmcode = ITEM.pmdmcode
// @ts-ignore
this.historicalInformation = res
this.setDefaultActive()
callback && callback()
......@@ -776,7 +777,7 @@ export struct WzInfo {
.pmdmcode == data
.pmdmcode && item.currentModel == newCurrentModel)
console.log('没有货位====================')
console.log(newIsDk)
//console.log(newIsDk)
if (newIsDk) {
// console.log('==========================存在===============1')
// 如果没有货位号,则覆盖这条数据货位并合计
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论