|
|
@@ -510,11 +510,15 @@ export const indexMixin = {
|
|
|
* @author : 周兴
|
|
|
* @date : 2023/1/6 13:04
|
|
|
*/
|
|
|
- getMaxDisplayNo(displayNoTable, formDataName = null) {
|
|
|
+ getMaxDisplayNo(displayNoTable,otherParams = null, formDataName = null) {
|
|
|
let params = {
|
|
|
table: displayNoTable.model + "." + displayNoTable.table,
|
|
|
ftyId: this.$store.state.user.ftyId
|
|
|
}
|
|
|
+ // 如果有其他条件,需要合并到查询条件中
|
|
|
+ if(otherParams){
|
|
|
+ this.objectMerge(params, otherParams)
|
|
|
+ }
|
|
|
this.excute(this.$service.commonService, this.$service.commonService.getMaxDisplayNo, params).then(res => {
|
|
|
if (res.code === this.$config.SUCCESS_CODE) {
|
|
|
if (!formDataName) {
|