Browse Source

所有打印只打印了第一页问题处理

dev_web_online
安虹睿 2 years ago
parent
commit
1d40849732
  1. 4
      fe/PC/src/views/finishedProductManage/deliver/FISDeliverNote-Query.vue
  2. 4
      fe/PC/src/views/finishedProductManage/productionReturn/returnNote.vue
  3. 2
      fe/PC/src/views/inventoryManage/customerStorageAllocation/customerStorageAllocationNote.vue
  4. 2
      fe/PC/src/views/inventoryManage/interStorageAllocation/interStorageAllocationNote.vue
  5. 2
      fe/PC/src/views/inventoryManage/lineSideWarehouseAdjustmentSheet/lineSideWarehouseAdjustmentSheetNote.vue
  6. 2
      fe/PC/src/views/inventoryManage/lineSideWarehouseAllocation/lineSideWarehouseAllocationNote.vue
  7. 2
      fe/PC/src/views/inventoryManage/lineSideWarehouseScrapping/lineSideWarehouseScrappingNote.vue
  8. 8
      fe/PC/src/views/inventoryManage/nonproductive/materialReturnRequest.vue
  9. 8
      fe/PC/src/views/inventoryManage/nonproductive/pickingRequest.vue
  10. 2
      fe/PC/src/views/inventoryManage/recycledMaterials/materialsReceipt.vue
  11. 2
      fe/PC/src/views/rawMaterialManage/automaticMaterialCall/automaticCallJob-msQuery.vue
  12. 2
      fe/PC/src/views/rawMaterialManage/automaticMaterialCall/automaticCallNote.vue
  13. 4
      fe/PC/src/views/rawMaterialManage/beforeGroundingReturn/beforeGroundingReturnNote.vue
  14. 2
      fe/PC/src/views/rawMaterialManage/directIssue/directIssueNote.vue
  15. 2
      fe/PC/src/views/rawMaterialManage/manualMaterialRequest/IssueJob.vue
  16. 2
      fe/PC/src/views/rawMaterialManage/manualMaterialRequest/IssueNote.vue
  17. 2
      fe/PC/src/views/rawMaterialManage/materialDirectSend/materialDirectSendNote.vue
  18. 4
      fe/PC/src/views/rawMaterialManage/purchaseOnShelves/PutawayNote.vue
  19. 4
      fe/PC/src/views/rawMaterialManage/purchaseReceipt/PurchaseReceiptNote-msQuery.vue
  20. 4
      fe/PC/src/views/rawMaterialManage/purchaseReceipt/PurchaseReceiptRequest.vue
  21. 4
      fe/PC/src/views/rawMaterialManage/purchaseReturn/returnNote.vue

4
fe/PC/src/views/finishedProductManage/deliver/FISDeliverNote-Query.vue

@ -124,7 +124,7 @@ export default {
packingCode:"toPackingCode", packingCode:"toPackingCode",
} }
} }
let data = initPrintAllData(this.propsData,'chdmxb.rdlx',false,_option); let data = initPrintAllData(this.tableDataDetails,'chdmxb.rdlx',false,_option);
this.Print(data) this.Print(data)
this.beforePrintHandle(()=>{ this.beforePrintHandle(()=>{
let _option = { let _option = {
@ -132,7 +132,7 @@ export default {
packingCode:"toPackingCode", packingCode:"toPackingCode",
} }
} }
let data = initPrintAllData(this.propsData,'chdmxb.rdlx',false,_option); let data = initPrintAllData(this.tableDataDetails,'chdmxb.rdlx',false,_option);
this.Print(data) this.Print(data)
}) })
} }

4
fe/PC/src/views/finishedProductManage/productionReturn/returnNote.vue

@ -88,13 +88,13 @@ export default {
drawerbutton (val) { drawerbutton (val) {
// //
if(val == 'printer'){ if(val == 'printer'){
this.propsData.title = "线边仓退料单" this.tableDataDetails.title = "线边仓退料单"
let _option = { let _option = {
details:{ details:{
fromLot:'toLot' fromLot:'toLot'
} }
} }
let _data = initPrintAllData(this.propsData,'xbctl.rdlx',false,_option); let _data = initPrintAllData(this.tableDataDetails,'xbctl.rdlx',false,_option);
this.Print(_data) this.Print(_data)
} }
}, },

2
fe/PC/src/views/inventoryManage/customerStorageAllocation/customerStorageAllocationNote.vue

@ -102,7 +102,7 @@ export default {
// //
drawerbutton (val) { drawerbutton (val) {
if(val == 'print'){ if(val == 'print'){
let data = initPrintAllData(this.propsData,'khcwdbd.rdlx'); let data = initPrintAllData(this.tableDataDetails,'khcwdbd.rdlx');
this.Print(data) this.Print(data)
} }
}, },

2
fe/PC/src/views/inventoryManage/interStorageAllocation/interStorageAllocationNote.vue

@ -102,7 +102,7 @@ export default {
// //
drawerbutton (val) { drawerbutton (val) {
if(val == 'print'){ if(val == 'print'){
let data = initPrintAllData(this.propsData,'cwdbd.rdlx'); let data = initPrintAllData(this.tableDataDetails,'cwdbd.rdlx');
this.Print(data) this.Print(data)
} }
}, },

2
fe/PC/src/views/inventoryManage/lineSideWarehouseAdjustmentSheet/lineSideWarehouseAdjustmentSheetNote.vue

@ -95,7 +95,7 @@ export default {
locationCode:"toLocationCode", locationCode:"toLocationCode",
} }
} }
let data = initPrintAllData(this.propsData,'tzd.rdlx','AdjustmentReason',_option); let data = initPrintAllData(this.tableDataDetails,'tzd.rdlx','AdjustmentReason',_option);
this.Print(data) this.Print(data)
} }
}, },

2
fe/PC/src/views/inventoryManage/lineSideWarehouseAllocation/lineSideWarehouseAllocationNote.vue

@ -102,7 +102,7 @@ export default {
// //
drawerbutton (val) { drawerbutton (val) {
if(val == 'print'){ if(val == 'print'){
let data = initPrintAllData(this.propsData,'lineSideWarehouse.rdlx'); let data = initPrintAllData(this.tableDataDetails,'lineSideWarehouse.rdlx');
this.Print(data) this.Print(data)
} }
}, },

2
fe/PC/src/views/inventoryManage/lineSideWarehouseScrapping/lineSideWarehouseScrappingNote.vue

@ -90,7 +90,7 @@ export default {
// //
drawerbutton (val) { drawerbutton (val) {
if(val == 'print'){ if(val == 'print'){
let data = initPrintAllData(this.propsData,'xbcbfd.rdlx','Reason'); let data = initPrintAllData(this.tableDataDetails,'xbcbfd.rdlx','Reason');
this.Print(data) this.Print(data)
} }
}, },

8
fe/PC/src/views/inventoryManage/nonproductive/materialReturnRequest.vue

@ -125,7 +125,7 @@ export default {
this.PageListParams.SkipCount = 0 this.PageListParams.SkipCount = 0
this.PageListParams.MaxResultCount= 1000 this.PageListParams.MaxResultCount= 1000
this.PageListParams.condition = {filters: []} this.PageListParams.condition = {filters: []}
this.propsData.details.forEach(item=>{ this.tableDataDetails.details.forEach(item=>{
this.PageListParams.condition.filters.push({ this.PageListParams.condition.filters.push({
action: '==', action: '==',
column: 'code', column: 'code',
@ -137,18 +137,18 @@ export default {
getPageList(this.PageListParams, 'basedata/item-basic').then(res => { getPageList(this.PageListParams, 'basedata/item-basic').then(res => {
this.Loading.appMainLoading = false this.Loading.appMainLoading = false
res.items.forEach(res_item=>{ res.items.forEach(res_item=>{
this.propsData.details.forEach(detail=>{ this.tableDataDetails.details.forEach(detail=>{
if(detail.itemCode == res_item.code){ if(detail.itemCode == res_item.code){
detail.configuration = res_item.configuration detail.configuration = res_item.configuration
} }
}) })
}) })
let data = initPrintAllData(this.propsData,'fsctl.rdlx'); let data = initPrintAllData(this.tableDataDetails,'fsctl.rdlx');
this.Print(data) this.Print(data)
}).catch(err => { }).catch(err => {
this.Loading.appMainLoading = false this.Loading.appMainLoading = false
this.$message.error('物品信息配置获取失败'); this.$message.error('物品信息配置获取失败');
let data = initPrintAllData(this.propsData,'fsctl.rdlx'); let data = initPrintAllData(this.tableDataDetails,'fsctl.rdlx');
this.Print(data) this.Print(data)
}) })
} else { } else {

8
fe/PC/src/views/inventoryManage/nonproductive/pickingRequest.vue

@ -125,7 +125,7 @@ export default {
this.PageListParams.SkipCount = 0 this.PageListParams.SkipCount = 0
this.PageListParams.MaxResultCount= 1000 this.PageListParams.MaxResultCount= 1000
this.PageListParams.condition = {filters: []} this.PageListParams.condition = {filters: []}
this.propsData.details.forEach(item=>{ this.tableDataDetails.details.forEach(item=>{
this.PageListParams.condition.filters.push({ this.PageListParams.condition.filters.push({
action: '==', action: '==',
column: 'code', column: 'code',
@ -137,18 +137,18 @@ export default {
getPageList(this.PageListParams, 'basedata/item-basic').then(res => { getPageList(this.PageListParams, 'basedata/item-basic').then(res => {
this.Loading.appMainLoading = false this.Loading.appMainLoading = false
res.items.forEach(res_item=>{ res.items.forEach(res_item=>{
this.propsData.details.forEach(detail=>{ this.tableDataDetails.details.forEach(detail=>{
if(detail.itemCode == res_item.code){ if(detail.itemCode == res_item.code){
detail.configuration = res_item.configuration detail.configuration = res_item.configuration
} }
}) })
}) })
let data = initPrintAllData(this.propsData,'fscll.rdlx'); let data = initPrintAllData(this.tableDataDetails,'fscll.rdlx');
this.Print(data) this.Print(data)
}).catch(err => { }).catch(err => {
this.Loading.appMainLoading = false this.Loading.appMainLoading = false
this.$message.error('物品信息配置获取失败'); this.$message.error('物品信息配置获取失败');
let data = initPrintAllData(this.propsData,'fscll.rdlx'); let data = initPrintAllData(this.tableDataDetails,'fscll.rdlx');
this.Print(data) this.Print(data)
}) })
} else { } else {

2
fe/PC/src/views/inventoryManage/recycledMaterials/materialsReceipt.vue

@ -89,7 +89,7 @@ export default {
drawerbutton (val) { drawerbutton (val) {
// //
if(val == 'print'){ if(val == 'print'){
let data = initPrintAllData(this.propsData,'hslrkd.rdlx'); let data = initPrintAllData(this.tableDataDetails,'hslrkd.rdlx');
this.Print(data) this.Print(data)
} }
}, },

2
fe/PC/src/views/rawMaterialManage/automaticMaterialCall/automaticCallJob-msQuery.vue

@ -463,7 +463,7 @@ export default {
drawerbutton (val) { drawerbutton (val) {
// //
if(val == 'print'){ if(val == 'print'){
let _propsData = JSON.parse(JSON.stringify(this.propsData)) let _propsData = JSON.parse(JSON.stringify(this.tableDataDetails))
_propsData.title = "线边仓领料单" _propsData.title = "线边仓领料单"
_propsData.details.forEach(item=>{ _propsData.details.forEach(item=>{
item.recommendLot = item.recommendLot + " " item.recommendLot = item.recommendLot + " "

2
fe/PC/src/views/rawMaterialManage/automaticMaterialCall/automaticCallNote.vue

@ -125,7 +125,7 @@ export default {
drawerbutton (val) { drawerbutton (val) {
// //
if(val == 'print'){ if(val == 'print'){
let _propsData = JSON.parse(JSON.stringify(this.propsData)) let _propsData = JSON.parse(JSON.stringify(this.tableDataDetails))
// _propsData.title = "" // _propsData.title = ""
_propsData.title = "线边仓领料单" _propsData.title = "线边仓领料单"
_propsData.details.forEach(item=>{ _propsData.details.forEach(item=>{

4
fe/PC/src/views/rawMaterialManage/beforeGroundingReturn/beforeGroundingReturnNote.vue

@ -110,13 +110,13 @@ export default {
if((this.propsData.supplierCode) && (!this.propsData.supplierShortName)){ if((this.propsData.supplierCode) && (!this.propsData.supplierShortName)){
getOneSupplierInfoByCode(this.propsData.supplierCode).then(res => { getOneSupplierInfoByCode(this.propsData.supplierCode).then(res => {
if(res){this.propsData.supplierShortName = res.shortName || res.name} if(res){this.propsData.supplierShortName = res.shortName || res.name}
let data = initPrintAllData(this.propsData,'thd.rdlx','UnqualifiedReason'); let data = initPrintAllData(this.tableDataDetails,'thd.rdlx','UnqualifiedReason');
this.Print(data) this.Print(data)
}).catch(err => { }).catch(err => {
console.log(err) console.log(err)
}) })
}else{ }else{
let data = initPrintAllData(this.propsData,'thd.rdlx','UnqualifiedReason'); let data = initPrintAllData(this.tableDataDetails,'thd.rdlx','UnqualifiedReason');
this.Print(data) this.Print(data)
} }
} }

2
fe/PC/src/views/rawMaterialManage/directIssue/directIssueNote.vue

@ -105,7 +105,7 @@ export default {
drawerbutton (val) { drawerbutton (val) {
// //
if(val == 'print'){ if(val == 'print'){
let _propsData = JSON.parse(JSON.stringify(this.propsData)) let _propsData = JSON.parse(JSON.stringify(this.tableDataDetails))
_propsData.title = "线边仓领料单" _propsData.title = "线边仓领料单"
_propsData.details.forEach(item=>{ _propsData.details.forEach(item=>{
item.fromLot = item.fromLot + " " item.fromLot = item.fromLot + " "

2
fe/PC/src/views/rawMaterialManage/manualMaterialRequest/IssueJob.vue

@ -465,7 +465,7 @@ export default {
drawerbutton (val) { drawerbutton (val) {
// //
if(val == 'print'){ if(val == 'print'){
let _propsData = JSON.parse(JSON.stringify(this.propsData)) let _propsData = JSON.parse(JSON.stringify(this.tableDataDetails))
_propsData.title = "线边仓领料单" _propsData.title = "线边仓领料单"
_propsData.details.forEach(item=>{ _propsData.details.forEach(item=>{
item.recommendLot = item.recommendLot + " " item.recommendLot = item.recommendLot + " "

2
fe/PC/src/views/rawMaterialManage/manualMaterialRequest/IssueNote.vue

@ -106,7 +106,7 @@ export default {
drawerbutton (val) { drawerbutton (val) {
// //
if(val == 'print'){ if(val == 'print'){
let _propsData = JSON.parse(JSON.stringify(this.propsData)) let _propsData = JSON.parse(JSON.stringify(this.tableDataDetails))
// _propsData.title = "" // _propsData.title = ""
_propsData.title = "线边仓领料单" _propsData.title = "线边仓领料单"
_propsData.details.forEach(item=>{ _propsData.details.forEach(item=>{

2
fe/PC/src/views/rawMaterialManage/materialDirectSend/materialDirectSendNote.vue

@ -124,7 +124,7 @@
packingCode:"toPackingCode", packingCode:"toPackingCode",
} }
} }
let data = initPrintAllData(this.propsData,'chdmxb.rdlx',false,_option); let data = initPrintAllData(this.tableDataDetails,'chdmxb.rdlx',false,_option);
this.Print(data) this.Print(data)
sumPrint(this.propsData.number, this.URL).then(res => { sumPrint(this.propsData.number, this.URL).then(res => {
this.paging() this.paging()

4
fe/PC/src/views/rawMaterialManage/purchaseOnShelves/PutawayNote.vue

@ -105,12 +105,12 @@ export default {
// //
if(val == 'print'){ if(val == 'print'){
let _ids = [] let _ids = []
this.propsData.details.forEach(item => { this.tableDataDetails.details.forEach(item => {
_ids.push(item.handledPackingCode) _ids.push(item.handledPackingCode)
}); });
getInventoryLabelByCodes(_ids).then(res => { getInventoryLabelByCodes(_ids).then(res => {
this.Loading.appMainLoading = false; this.Loading.appMainLoading = false;
let _printData = JSON.parse(JSON.stringify(this.propsData)) let _printData = JSON.parse(JSON.stringify(this.tableDataDetails))
if(res && res.length > 0){ if(res && res.length > 0){
_printData.supplierCode = res[0].supplierCode; _printData.supplierCode = res[0].supplierCode;
_printData.supplierSimpleName = res[0].supplierSimpleName; _printData.supplierSimpleName = res[0].supplierSimpleName;

4
fe/PC/src/views/rawMaterialManage/purchaseReceipt/PurchaseReceiptNote-msQuery.vue

@ -209,10 +209,10 @@ export default {
// //
if(val == 'print-shd'){ if(val == 'print-shd'){
this.toPrintHttp(()=>{ this.toPrintHttp(()=>{
let _printData = JSON.parse(JSON.stringify(this.propsData)) let _printData = JSON.parse(JSON.stringify(this.tableDataDetails))
_printData.details = [] _printData.details = []
let _hg=[],_no=[] let _hg=[],_no=[]
this.propsData.details.forEach(item => { this.tableDataDetails.details.forEach(item => {
if(item.purchaseReceiptInspectStatus == 2){ if(item.purchaseReceiptInspectStatus == 2){
item.statusStr = "合格" item.statusStr = "合格"
item.reasonStr = "" item.reasonStr = ""

4
fe/PC/src/views/rawMaterialManage/purchaseReceipt/PurchaseReceiptRequest.vue

@ -111,11 +111,11 @@ export default {
// //
if(val == 'print'){ if(val == 'print'){
let _ids = [] let _ids = []
this.propsData.details.forEach(item => { this.tableDataDetails.details.forEach(item => {
_ids.push(item.packingCode) _ids.push(item.packingCode)
}); });
this.Loading.appMainLoading = true; this.Loading.appMainLoading = true;
let _printData = JSON.parse(JSON.stringify(this.propsData)) let _printData = JSON.parse(JSON.stringify(this.tableDataDetails))
getInventoryLabelByCodes(_ids).then(res => { getInventoryLabelByCodes(_ids).then(res => {
this.Loading.appMainLoading = false; this.Loading.appMainLoading = false;
if(res && res.length > 0){ if(res && res.length > 0){

4
fe/PC/src/views/rawMaterialManage/purchaseReturn/returnNote.vue

@ -110,13 +110,13 @@ export default {
if((this.propsData.supplierCode) && (!this.propsData.supplierShortName)){ if((this.propsData.supplierCode) && (!this.propsData.supplierShortName)){
getOneSupplierInfoByCode(this.propsData.supplierCode).then(res => { getOneSupplierInfoByCode(this.propsData.supplierCode).then(res => {
if(res){this.propsData.supplierShortName = res.shortName || res.name} if(res){this.propsData.supplierShortName = res.shortName || res.name}
let data = initPrintAllData(this.propsData,'thd.rdlx','PurReturnReason'); let data = initPrintAllData(this.tableDataDetails,'thd.rdlx','PurReturnReason');
this.Print(data) this.Print(data)
}).catch(err => { }).catch(err => {
console.log(err) console.log(err)
}) })
}else{ }else{
let data = initPrintAllData(this.propsData,'thd.rdlx','PurReturnReason'); let data = initPrintAllData(this.tableDataDetails,'thd.rdlx','PurReturnReason');
this.Print(data) this.Print(data)
} }
} }

Loading…
Cancel
Save