@ -60,8 +60,8 @@
< el -option
v - for = "(item,key) in PLChildGroupList"
: key = "key"
: label = "item"
: value = "item"
: label = "item.groupName "
: value = "item.groupCode "
/ >
< / e l - s e l e c t >
< / e l - f o r m - i t e m >
@ -613,7 +613,7 @@ export default {
GroupName : undefined
} ,
hostCheckQuery : {
printType : undefined , / / 0 : 打 印 ; 1 : 重 打 ; 2 : 补 打 ;
printType : undefined , / / 0 : 打 印 ; 1 : 重 打 ; 2 : 补 打 ; - > 1 : 打 印 ; 2 : 补 打
productLine : undefined ,
beginHostSN : undefined ,
endHostSN : undefined ,
@ -622,7 +622,7 @@ export default {
GroupName : undefined
} ,
hostPrintQuery : {
printType : undefined , / / 0 : 打 印 ; 1 : 重 打 ; 2 : 补 打 ;
printType : undefined , / / 0 : 打 印 ; 1 : 重 打 ; 2 : 补 打 ; - > 1 : 打 印 ; 2 : 补 打
productLine : undefined ,
beginHostSN : undefined ,
endHostSN : undefined ,
@ -631,7 +631,7 @@ export default {
GroupName : undefined ,
} ,
vinPrintQuery : {
printType : undefined , / / 0 : 打 印 ; 1 : 重 打 ; 2 : 补 打 ;
printType : undefined , / / 0 : 打 印 ; 1 : 重 打 ; 2 : 补 打 ; - > 1 : 打 印 ; 2 : 补 打
productLine : undefined ,
beginHostSN : undefined ,
endHostSN : undefined ,
@ -715,11 +715,11 @@ export default {
prop : "vehicleModelCode" ,
width : 120 ,
} ) ;
tempsTabs . push ( {
label : "版本" ,
prop : "version" ,
width : 150 ,
} ) ;
/ / t e m p s T a b s . p u s h ( {
/ / l a b e l : " 版 本 " ,
/ / p r o p : " v e r s i o n " ,
/ / w i d t h : 1 5 0 ,
/ / } ) ;
tempsTabs . push ( {
label : "R100上线时间" ,
prop : "r100OnlineTime" ,
@ -741,17 +741,17 @@ export default {
width : 120 ,
} ) ;
tempsTabs . push ( {
label : "柱护板状态" ,
prop : "printBillNum" ,
width : 120 ,
} ) ;
/ / t e m p s T a b s . p u s h ( {
/ / l a b e l : " 柱 护 板 状 态 " ,
/ / p r o p : " p r i n t B i l l N u m " ,
/ / w i d t h : 1 2 0 ,
/ / } ) ;
tempsTabs . push ( {
label : "备注" ,
prop : "remark" ,
width : 120 ,
} ) ;
/ / t e m p s T a b s . p u s h ( {
/ / l a b e l : " 备 注 " ,
/ / p r o p : " r e m a r k " ,
/ / w i d t h : 1 2 0 ,
/ / } ) ;
return tempsTabs ;
} ,
... mapGetters ( [ "userInfo" ] ) , / / 获 取 当 前 用 户 信 息
@ -910,7 +910,8 @@ export default {
/ / 默 认 值 是 1 2
this . $axios
. gets (
"/api/newjit/bill-m100/get-print-start-hostsn2" ,
/ / " / a p i / n e w j i t / b i l l - m 1 0 0 / g e t - p r i n t - s t a r t - h o s t s n 2 " ,
"/api/newjit/wait-print/get-print-start-hostsn2" ,
this . hostSNQuery
)
. then ( ( response ) => {
@ -931,26 +932,7 @@ export default {
this . form . endHostSN =
parseInt ( this . printNum ) + parseInt ( this . form . beginHostSN ) - 1 ;
}
/ / t h i s . $ a x i o s
/ / . g e t s ( " / a p i / n e w j i t / b i l l - m 1 0 0 / g e t - p r i n t - s t a r t - h o s t s n 2 " , t h i s . h o s t S N Q u e r y )
/ / . t h e n ( ( r e s p o n s e ) = > {
/ / i f ( r e s p o n s e . i t e m ! = = n u l l ) {
/ / t h i s . f o r m . b e g i n H o s t S N = p a r s e I n t ( r e s p o n s e . i t e m ) ;
/ / i f ( v a l = = 1 2 ) {
/ / / / 门 板
/ / t h i s . f o r m . e n d H o s t S N = p a r s e I n t ( r e s p o n s e . i t e m ) + 1 1 ;
/ / } e l s e {
/ / t h i s . f o r m . e n d H o s t S N =
/ / p a r s e I n t ( r e s p o n s e . i t e m ) + p a r s e I n t ( t h i s . p r i n t N u m ) - 1 ;
/ / }
/ / } e l s e {
/ / t h i s . $ m e s s a g e ( {
/ / m e s s a g e : " 获 取 不 到 大 众 顺 序 号 " ,
/ / t y p e : " w a r n i n g " ,
/ / } ) ;
/ / r e t u r n ;
/ / }
/ / } ) ;
} ,
/ / 柱 护 板 打 印 更 改
valueNumChangeZHB ( val ) {
@ -959,7 +941,8 @@ export default {
/ / 默 认 值 是 1 2
this . $axios
. gets (
"/api/newjit/bill-m100/get-print-start-hostsn2" ,
/ / " / a p i / n e w j i t / b i l l - m 1 0 0 / g e t - p r i n t - s t a r t - h o s t s n 2 " ,
"/api/newjit/wait-print/get-print-start-hostsn2" ,
this . hostSNQuery
)
. then ( ( response ) => {
@ -980,26 +963,7 @@ export default {
this . form . endHostSN =
parseInt ( this . printNumZHB ) + parseInt ( this . form . beginHostSN ) - 1 ;
}
/ / t h i s . $ a x i o s
/ / . g e t s ( " / a p i / n e w j i t / b i l l - m 1 0 0 / g e t - p r i n t - s t a r t - h o s t s n 2 " , t h i s . h o s t S N Q u e r y )
/ / . t h e n ( ( r e s p o n s e ) = > {
/ / i f ( r e s p o n s e . i t e m ! = = n u l l ) {
/ / t h i s . f o r m . b e g i n H o s t S N = p a r s e I n t ( r e s p o n s e . i t e m ) ;
/ / i f ( v a l = = 2 4 ) {
/ / / / 柱 护 板
/ / t h i s . f o r m . e n d H o s t S N = p a r s e I n t ( r e s p o n s e . i t e m ) + 2 3 ;
/ / } e l s e {
/ / t h i s . f o r m . e n d H o s t S N =
/ / p a r s e I n t ( r e s p o n s e . i t e m ) + t h i s . p r i n t N u m Z H B - 1 ;
/ / }
/ / } e l s e {
/ / t h i s . $ m e s s a g e ( {
/ / m e s s a g e : " 获 取 不 到 大 众 顺 序 号 " ,
/ / t y p e : " w a r n i n g " ,
/ / } ) ;
/ / r e t u r n ;
/ / }
/ / } ) ;
} ,
/ / 抽 屉
handleDrawerOpen ( param ) {
@ -1026,12 +990,28 @@ export default {
} ,
/** 导出功能 assembly-cfg-erp/export */
handleDownload ( ) {
debugger
this . listLoading = true ;
this . listExportQuery . erpAssemblyCode = this . listQuery . ErpAssemblyCode ;
this . listExportQuery . erpAssemblyName = this . listQuery . ErpAssemblyName ;
if ( this . listQuery . productType === 2 ) { / / 1 门 板 2 柱 护 板
if ( this . listQuery . GroupName == "3" ) { / / 分 组 名 称 : 2 其 它 柱 护 板 3 A C 柱 护 板
this . listQuery . BusinessType = 3 ;
} else {
this . listQuery . BusinessType = 2 ;
}
} else {
this . listQuery . BusinessType = 1
}
this . listQuery . PrintType = 1 ;
console . log ( JSON . stringify ( this . listQuery ) ) ;
this . $axios
. posts ( "/api/newjit/bill-m100/export" , this . listQuery )
/ / . p o s t s ( " / a p i / n e w j i t / b i l l - m 1 0 0 / e x p o r t " , t h i s . l i s t Q u e r y )
. posts ( "/api/newjit/wait-print/export" , this . listQuery )
. then ( ( res ) => {
let filename = res . item ;
this . $axios
@ -1135,30 +1115,47 @@ export default {
return projectTypeKeyValue [ type ] ;
} ,
getList ( data ) {
/ *
http : / / l o c a l h o s t : 4 4 3 4 4 / a p i / n e w j i t / w a i t - p r i n t / w a i t - p r i n t - l i s t ?
BusinessType = 1 业务类型 : 1 门板 2 其它柱护板 3 柱护板
& ProductLine = 01 打印类型 : 1 顺序打印 2 补账打印
& PrintType = 1
& HostSNBegin = 1 & HostSNEnd = 1999
* /
this . listLoading = true ;
if ( data != undefined ) {
this . listQueryList . SkipCount = ( this . page - 1 ) * data . limit ;
} else {
this . listQueryList . SkipCount = ( this . page - 1 ) * 15 ;
}
if ( this . listQuery . productType === 2 ) {
this . listQueryList . ZHBBillStatus = 2 ;
if ( this . listQuery . productType === 2 ) { / / 1 门 板 2 柱 护 板
/ / t h i s . l i s t Q u e r y L i s t . Z H B B i l l S t a t u s = 2 ;
if ( this . listQuery . GroupName == "3" ) { / / 分 组 名 称 : 2 其 它 柱 护 板 3 A C 柱 护 板
this . listQueryList . BusinessType = 3 ;
} else {
this . listQueryList . ZHBBillStatus = 0 ;
this . listQueryList . BusinessType = 2 ;
}
if ( this . listQuery . productType === 2 ) {
this . listQuery . ZHBBillStatus = 2 ;
} else {
this . listQuery . ZHBBillStatus = 0 ;
/ / t h i s . l i s t Q u e r y L i s t . Z H B B i l l S t a t u s = 0 ;
this . listQueryList . BusinessType = 1
}
this . listQueryList . BillStatus = 2 ; / / 状 态
/ / i f ( t h i s . l i s t Q u e r y . p r o d u c t T y p e = = = 2 ) {
/ / t h i s . l i s t Q u e r y . Z H B B i l l S t a t u s = 2 ;
/ / } e l s e {
/ / t h i s . l i s t Q u e r y . Z H B B i l l S t a t u s = 0 ;
/ / }
/ / t h i s . l i s t Q u e r y L i s t . B i l l S t a t u s = 2 ; / / 状 态
this . listQueryList . ProductLine = this . listQuery . productLine ; / / 产 线
this . listQueryList . CanNotPrint = false ; / / 不 可 打 印
this . listQueryList . GroupName = this . listQuery . GroupName
/ / t h i s . l i s t Q u e r y L i s t . C a n N o t P r i n t = f a l s e ; / / 不 可 打 印
/ / t h i s . l i s t Q u e r y L i s t . G r o u p N a m e = t h i s . l i s t Q u e r y . G r o u p N a m e
this . listQueryList . PrintType = 1 ;
console . log ( "日常打印M100查询条件:" + JSON . stringify ( this . listQueryList ) ) ;
/ / t h i s . c l i c k ( ) ;
this . $axios
. gets ( "/api/newjit/bill-m100/list" , this . listQueryList )
/ / . g e t s ( " / a p i / n e w j i t / b i l l - m 1 0 0 / l i s t " , t h i s . l i s t Q u e r y L i s t )
. gets ( "/api/newjit/wait-print/wait-print-list" , this . listQueryList )
. then ( ( response ) => {
this . list = response . items ;
this . totalCount = response . totalCount ;
@ -1199,7 +1196,24 @@ export default {
} ,
/ / 向 子 组 件 更 新 值
valueselectChange ( val ) {
debugger
this . $forceUpdate ( ) ;
if ( this . listQuery . productType === 2 ) { / / 1 门 板 2 柱 护 板
/ / t h i s . l i s t Q u e r y L i s t . Z H B B i l l S t a t u s = 2 ;
if ( this . listQuery . GroupName == "3" ) { / / 分 组 名 称 : 2 其 它 柱 护 板 3 A C 柱 护 板
this . listQueryList . BusinessType = 3 ;
} else {
this . listQueryList . BusinessType = 2 ;
}
} else {
/ / t h i s . l i s t Q u e r y L i s t . Z H B B i l l S t a t u s = 0 ;
this . listQueryList . BusinessType = 1
}
this . customerInfosMB = [ ] ;
this . customerInfosZHB = [ ] ;
if ( this . listQuery . productType === 1 ) {
@ -1208,6 +1222,7 @@ export default {
{
PrintType : 1 ,
ProductLine : this . listQuery . productLine ,
BusinessType : this . listQueryList . BusinessType
} ,
] ;
}
@ -1217,7 +1232,8 @@ export default {
{
PrintType : 1 ,
ProductLine : this . listQuery . productLine ,
GroupName : this . listQuery . GroupName
GroupName : this . listQuery . GroupName ,
BusinessType : this . listQueryList . BusinessType
} ,
] ;
}
@ -1284,7 +1300,7 @@ export default {
/**打印 */
print ( ) {
( this . hostPrintQuery = {
printType : undefined , / / 0 : 打 印 ; 1 : 重 打 ; 2 : 补 打 ;
printType : undefined , / / 0 : 打 印 ; 1 : 重 打 ; 2 : 补 打 ; - > 1 : 打 印 ; 2 : 补 打
productLine : undefined ,
beginHostSN : undefined ,
endHostSN : undefined ,
@ -1292,9 +1308,9 @@ export default {
endVin : undefined ,
GroupName : undefined ,
} ) ,
( this . hostCheckQuery . printType = 0 ) ;
this . hostPrintQuery . printType = 0 ;
this . vinPrintQuery . printType = 0 ;
( this . hostCheckQuery . printType = 1 ) ;
this . hostPrintQuery . printType = 1 ;
this . vinPrintQuery . printType = 1 ;
if ( this . listQuery . productLine === "" || this . listQuery . productLine === undefined ) {
this . $message ( {
message : "请选择生产线" ,
@ -1323,7 +1339,8 @@ export default {
console . log ( "门板hostsn2参数" + JSON . stringify ( this . hostSNQuery ) ) ;
this . $axios
. gets (
"/api/newjit/bill-m100/get-print-start-hostsn2" ,
/ / " / a p i / n e w j i t / b i l l - m 1 0 0 / g e t - p r i n t - s t a r t - h o s t s n 2 " ,
"/api/newjit/wait-print/get-print-start-hostsn2" ,
this . hostSNQuery
)
. then ( ( response ) => {
@ -1351,7 +1368,8 @@ export default {
this . $axios
. gets (
"/api/newjit/bill-m100/get-print-start-hostsn2" ,
/ / " / a p i / n e w j i t / b i l l - m 1 0 0 / g e t - p r i n t - s t a r t - h o s t s n 2 " ,
"/api/newjit/wait-print/get-print-start-hostsn2" ,
this . hostSNQuery
)
. then ( ( response ) => {
@ -1412,16 +1430,16 @@ export default {
/**重打 */
rePrint ( ) {
( this . hostPrintQuery = {
printType : undefined , / / 0 : 打 印 ; 1 : 重 打 ; 2 : 补 打 ;
printType : undefined , / / 0 : 打 印 ; 1 : 重 打 ; 2 : 补 打 ; - > 1 : 打 印 ; 2 : 补 打
productLine : undefined ,
beginHostSN : undefined ,
endHostSN : undefined ,
beginVin : undefined ,
endVin : undefined ,
} ) ,
( this . hostCheckQuery . printType = 1 ) ;
this . hostPrintQuery . printType = 1 ;
this . vinPrintQuery . printType = 1 ;
( this . hostCheckQuery . printType = - 1 ) ;
this . hostPrintQuery . printType = - 1 ;
this . vinPrintQuery . printType = - 1 ;
if (
this . listQuery . productLine === "" ||
this . listQuery . productLine === undefined
@ -1452,7 +1470,7 @@ export default {
/**补打 */
makeUpPrint ( ) {
( this . hostPrintQuery = {
printType : undefined , / / 0 : 打 印 ; 1 : 重 打 ; 2 : 补 打 ;
printType : undefined , / / 0 : 打 印 ; 1 : 重 打 ; 2 : 补 打 ; - > 1 : 打 印 ; 2 : 补 打
productLine : undefined ,
beginHostSN : undefined ,
endHostSN : undefined ,
@ -1563,7 +1581,8 @@ export default {
) ;
this . $axios
. posts (
"/api/newjit/bill-m100/check-mb-hostsn-break-num" ,
/ / " / a p i / n e w j i t / b i l l - m 1 0 0 / c h e c k - m b - h o s t s n - b r e a k - n u m " ,
"/api/newjit/wait-print/check-mb-hostsn-break-num" ,
this . hostCheckQuery
)
. then ( ( response ) => {
@ -1608,7 +1627,8 @@ export default {
this . isDisable = true ;
this . $axios
. posts (
"/api/newjit/bill-m100/check-zhb-hostsn-break-num" ,
/ / " / a p i / n e w j i t / b i l l - m 1 0 0 / c h e c k - z h b - h o s t s n - b r e a k - n u m " ,
"/api/newjit/wait-print/check-zhb-hostsn-break-num" ,
this . hostCheckQuery
)
. then ( ( response ) => {
@ -1673,7 +1693,8 @@ export default {
{
this . $axios
. posts (
"/api/newjit/bill-m100/save-menban-report" ,
/ / " / a p i / n e w j i t / b i l l - m 1 0 0 / s a v e - m e n b a n - r e p o r t " ,
"/api/newjit/wait-print/save-menban-report" ,
this . hostPrintQuery
)
. then ( ( response ) => {
@ -1686,21 +1707,7 @@ export default {
return ;
} else if ( response . status === true ) {
let loadInput = response . item ;
/ / - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
this . $axios
. posts (
"/api/newjit/bill-m100/load-menban-report" ,
loadInput
)
. then ( ( response ) => {
console . log ( "加载门板报表" ) ;
if ( response . status === false ) {
this . $message ( {
message : response . message ,
type : "error" ,
} ) ;
return ;
} else if ( response . status === true ) {
/ / 传 给 g r i d + + 接 口 j s o n 数 据 , 得 到 返 回 的 文 件 b a s e 6 4
/ / t h i s . f i l e Q u e r y . r e p o r t = " m e n b a n " ;
this . fileQuery . dataname = JSON . stringify (
@ -1723,8 +1730,47 @@ export default {
this . formLoading = false ;
this . isDisable = false ;
} ) ;
}
} ) ;
/ / - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
/ / t h i s . $ a x i o s
/ / . p o s t s (
/ / " / a p i / n e w j i t / b i l l - m 1 0 0 / l o a d - m e n b a n - r e p o r t " ,
/ / l o a d I n p u t
/ / )
/ / . t h e n ( ( r e s p o n s e ) = > {
/ / c o n s o l e . l o g ( " 加 载 门 板 报 表 " ) ;
/ / i f ( r e s p o n s e . s t a t u s = = = f a l s e ) {
/ / t h i s . $ m e s s a g e ( {
/ / m e s s a g e : r e s p o n s e . m e s s a g e ,
/ / t y p e : " e r r o r " ,
/ / } ) ;
/ / r e t u r n ;
/ / } e l s e i f ( r e s p o n s e . s t a t u s = = = t r u e ) {
/ / / / 传 给 g r i d + + 接 口 j s o n 数 据 , 得 到 返 回 的 文 件 b a s e 6 4
/ / / / t h i s . f i l e Q u e r y . r e p o r t = " m e n b a n " ;
/ / t h i s . f i l e Q u e r y . d a t a n a m e = J S O N . s t r i n g i f y (
/ / r e s p o n s e . i t e m
/ / ) ;
/ / / / t h i s . f i l e Q u e r y . d a t a n a m e = " " ;
/ / c o n s o l e . l o g ( " 打 印 j s o n " ) ;
/ / t h i s . $ a x i o s
/ / . p o s t s (
/ / " / H a n d l e r s / H a n d l e r 1 . a s h x ? r e p o r t = m e n b a n " ,
/ / q s . s t r i n g i f y ( t h i s . f i l e Q u e r y )
/ / )
/ / . t h e n ( ( r e s p o n s e ) = > {
/ / c o n s o l e . l o g ( " 获 取 文 件 b a s e 6 4 编 码 " ) ;
/ / t h i s . f o r m L o a d i n g = f a l s e ;
/ / t h i s . i s D i s a b l e = f a l s e ;
/ / t h i s . p r i n t p d f ( r e s p o n s e ) ; / / 打 印 我 文 件 流
/ / } )
/ / . c a t c h ( ( e r r o r ) = > {
/ / t h i s . f o r m L o a d i n g = f a l s e ;
/ / t h i s . i s D i s a b l e = f a l s e ;
/ / } ) ;
/ / }
/ / } ) ;
/ / - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
}
} ) ;
@ -1739,7 +1785,9 @@ export default {
/ / 传 递 大 众 顺 序 号 起 止
this . $axios
. posts (
"/api/newjit/bill-m100/save-group-zhuhuban-report" ,
/ / " / a p i / n e w j i t / b i l l - m 1 0 0 / s a v e - g r o u p - z h u h u b a n - r e p o r t " ,
"/api/newjit/wait-print/save-group-zhuhuban-report" ,
this . hostPrintQuery
)
. then ( ( response ) => {
@ -1751,26 +1799,7 @@ export default {
} ) ;
return ;
} else if ( response . status === true ) {
let loadInput = { } ;
loadInput . dataResultType = ( isSelAll == true ) ? "1" : "2" ;
loadInput . reportIdList = response . item ;
/ / - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
/ / 门 板
/ / 传 递 大 众 顺 序 号 起 止
this . $axios
. posts (
"/api/newjit/bill-m100/load-zhuhuban-report" ,
loadInput
)
. then ( ( response ) => {
console . log ( "加载柱护板报表" ) ;
if ( response . status === false ) {
this . $message ( {
message : response . message ,
type : "error" ,
} ) ;
return ;
} else if ( response . status === true ) {
/ / 传 给 g r i d + + 接 口 j s o n 数 据 , 得 到 返 回 的 文 件 b a s e 6 4
/ / t h i s . f i l e Q u e r y . r e p o r t = " m e n b a n " ;
this . fileQuery . dataname = JSON . stringify (
@ -1793,8 +1822,53 @@ export default {
this . formLoading = false ;
this . isDisable = false ;
} ) ;
}
} ) ;
/ / l e t l o a d I n p u t = { } ;
/ / l o a d I n p u t . d a t a R e s u l t T y p e = ( i s S e l A l l = = t r u e ) ? " 1 " : " 2 " ;
/ / l o a d I n p u t . r e p o r t I d L i s t = r e s p o n s e . i t e m ;
/ / - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
/ / 门 板
/ / 传 递 大 众 顺 序 号 起 止
/ / t h i s . $ a x i o s
/ / . p o s t s (
/ / " / a p i / n e w j i t / b i l l - m 1 0 0 / l o a d - z h u h u b a n - r e p o r t " ,
/ / l o a d I n p u t
/ / )
/ / . t h e n ( ( r e s p o n s e ) = > {
/ / c o n s o l e . l o g ( " 加 载 柱 护 板 报 表 " ) ;
/ / i f ( r e s p o n s e . s t a t u s = = = f a l s e ) {
/ / t h i s . $ m e s s a g e ( {
/ / m e s s a g e : r e s p o n s e . m e s s a g e ,
/ / t y p e : " e r r o r " ,
/ / } ) ;
/ / r e t u r n ;
/ / } e l s e i f ( r e s p o n s e . s t a t u s = = = t r u e ) {
/ / / / 传 给 g r i d + + 接 口 j s o n 数 据 , 得 到 返 回 的 文 件 b a s e 6 4
/ / / / t h i s . f i l e Q u e r y . r e p o r t = " m e n b a n " ;
/ / t h i s . f i l e Q u e r y . d a t a n a m e = J S O N . s t r i n g i f y (
/ / r e s p o n s e . i t e m
/ / ) ;
/ / / / t h i s . f i l e Q u e r y . d a t a n a m e = " " ;
/ / c o n s o l e . l o g ( " 打 印 j s o n " ) ;
/ / t h i s . $ a x i o s
/ / . p o s t s (
/ / " / H a n d l e r s / H a n d l e r 1 . a s h x ? r e p o r t = z h u h u b a n " ,
/ / q s . s t r i n g i f y ( t h i s . f i l e Q u e r y )
/ / )
/ / . t h e n ( ( r e s p o n s e ) = > {
/ / c o n s o l e . l o g ( " 获 取 文 件 b a s e 6 4 编 码 " ) ;
/ / t h i s . f o r m L o a d i n g = f a l s e ;
/ / t h i s . i s D i s a b l e = f a l s e ;
/ / t h i s . p r i n t p d f ( r e s p o n s e ) ; / / 打 印 我 文 件 流
/ / } )
/ / . c a t c h ( ( e r r o r ) = > {
/ / t h i s . f o r m L o a d i n g = f a l s e ;
/ / t h i s . i s D i s a b l e = f a l s e ;
/ / } ) ;
/ / }
/ / } ) ;
/ / - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
}
} ) ;
@ -1823,6 +1897,7 @@ export default {
{
PrintType : 1 ,
ProductLine : this . PLChildList [ 0 ] . productLineCode ,
BusinessType : this . listQueryList . BusinessType
} ,
] ;
}
@ -1839,7 +1914,7 @@ export default {
return a . productLineCode - b . productLineCode ;
} ) ;
this . listQuery . productLine = this . PLChildList [ 0 ] . productLineCode ;
this . listQuery . GroupName = this . listQuery . productType == '1' ? undefined : this . PLChildGroupList [ 0 ]
this . listQuery . GroupName = this . listQuery . productType == '1' ? undefined : this . PLChildGroupList [ 0 ] . groupCode
this . changeMainTableHeight ( )
this . valueselectChange ( )
/ / 变 更 打 印 按 钮 文 字
@ -1943,7 +2018,7 @@ export default {
getPLChildGroupList ( ) {
this . $axios
. gets (
"/api/newjit/print-template-configuration/list" ,
"/api/newjit/print-template-configuration/group- list" ,
)
. then ( ( response ) => {
if ( response . item !== null ) {