调整以销定购的查询逻辑
This commit is contained in:
@@ -164,6 +164,8 @@ export const BillModalMixin = {
|
|||||||
let multiBillType = res.data.multiBillType
|
let multiBillType = res.data.multiBillType
|
||||||
let multiLevelApprovalFlag = res.data.multiLevelApprovalFlag
|
let multiLevelApprovalFlag = res.data.multiLevelApprovalFlag
|
||||||
this.checkFlag = getCheckFlag(multiBillType, multiLevelApprovalFlag, this.prefixNo)
|
this.checkFlag = getCheckFlag(multiBillType, multiLevelApprovalFlag, this.prefixNo)
|
||||||
|
this.purchaseBySaleFlag = res.data.purchaseBySaleFlag==='1'?true:false
|
||||||
|
this.inOutManageFlag = res.data.inOutManageFlag==='1'?true:false
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
},
|
},
|
||||||
|
|||||||
@@ -221,6 +221,7 @@
|
|||||||
prefixNo: 'CGDD',
|
prefixNo: 'CGDD',
|
||||||
fileList:[],
|
fileList:[],
|
||||||
rowCanEdit: true,
|
rowCanEdit: true,
|
||||||
|
//以销定购的场景开关
|
||||||
purchaseBySaleFlag: false,
|
purchaseBySaleFlag: false,
|
||||||
model: {},
|
model: {},
|
||||||
labelCol: {
|
labelCol: {
|
||||||
@@ -293,7 +294,6 @@
|
|||||||
this.currentSelectDepotId = ''
|
this.currentSelectDepotId = ''
|
||||||
this.rowCanEdit = true
|
this.rowCanEdit = true
|
||||||
this.materialTable.columns[0].type = FormTypes.popupJsh
|
this.materialTable.columns[0].type = FormTypes.popupJsh
|
||||||
this.getSystemConfig()
|
|
||||||
this.changeColumnHide()
|
this.changeColumnHide()
|
||||||
this.changeFormTypes(this.materialTable.columns, 'preNumber', 0)
|
this.changeFormTypes(this.materialTable.columns, 'preNumber', 0)
|
||||||
this.changeFormTypes(this.materialTable.columns, 'finishNumber', 0)
|
this.changeFormTypes(this.materialTable.columns, 'finishNumber', 0)
|
||||||
@@ -419,14 +419,7 @@
|
|||||||
})
|
})
|
||||||
this.materialTable.dataSource = selectBillDetailRows
|
this.materialTable.dataSource = selectBillDetailRows
|
||||||
}
|
}
|
||||||
},
|
|
||||||
getSystemConfig() {
|
|
||||||
getCurrentSystemConfig().then((res) => {
|
|
||||||
if(res.code === 200 && res.data){
|
|
||||||
this.purchaseBySaleFlag = res.data.purchaseBySaleFlag==='1'?true:false
|
|
||||||
}
|
}
|
||||||
})
|
|
||||||
},
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
</script>
|
</script>
|
||||||
|
|||||||
Reference in New Issue
Block a user