Browse Source

【nev-pc】打印相关更改暂存

ag_report_nev
安虹睿 11 months ago
parent
commit
fc58a9a247
  1. 1
      fe/PC/src/mixins/printMixin.js
  2. 2
      fe/PC/src/views/finishedProductManage/deliver/FISDeliverNote-Query.vue
  3. 2
      fe/PC/src/views/finishedProductManage/productionReturn/returnNote.vue
  4. 2
      fe/PC/src/views/inventoryManage/lineSideWarehouseAllocation/lineSideWarehouseAllocationNote.vue
  5. 41
      fe/PC/src/views/inventoryManage/recycledMaterials/materialsAdjustment.vue

1
fe/PC/src/mixins/printMixin.js

@ -251,6 +251,7 @@ const printEnumOption = {
dataUrl: url || 'ccc', dataUrl: url || 'ccc',
jsonData: JSON.stringify(_printData) jsonData: JSON.stringify(_printData)
}; };
console.log(254,_printData)
return data return data
} }

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

@ -126,6 +126,8 @@ export default {
} }
} }
let data = initPrintAllData(this.tableDataDetails,'chdmxb.rdlx',false,_option); let data = initPrintAllData(this.tableDataDetails,'chdmxb.rdlx',false,_option);
// todo:
// let data = initPrintAllData(this.tableDataDetails,'fhd.rdlx',false,_option);
this.Print(data) this.Print(data)
}) })
} }

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

@ -94,6 +94,8 @@ export default {
fromLot:'toLot' fromLot:'toLot'
} }
} }
// todo:
// let _data = initPrintAllData(this.tableDataDetails,'fscll.rdlx',false,_option);
let _data = initPrintAllData(this.tableDataDetails,'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/lineSideWarehouseAllocation/lineSideWarehouseAllocationNote.vue

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

41
fe/PC/src/views/inventoryManage/recycledMaterials/materialsAdjustment.vue

@ -29,7 +29,7 @@
:DrawerLoading="Loading.DrawerLoading" :DrawerLoading="Loading.DrawerLoading"
:drawer="displayDialog.detailsDialog" :drawer="displayDialog.detailsDialog"
:propsData="propsData" :propsData="propsData"
:Butttondata="[]" :Butttondata="DrawerButtonData"
:tabsDesTions="tabsDesTions" :tabsDesTions="tabsDesTions"
@drawerShut="(val) => (displayDialog.detailsDialog = val)" @drawerShut="(val) => (displayDialog.detailsDialog = val)"
@drawerbutton="drawerbutton" @drawerbutton="drawerbutton"
@ -49,6 +49,7 @@ import { LoadingMixins } from "@/mixins/LoadingMixins";
import { drawerMixins } from "@/mixins/drawerMixins"; import { drawerMixins } from "@/mixins/drawerMixins";
import { TableHeaderMixins } from "@/mixins/TableHeaderMixins"; import { TableHeaderMixins } from "@/mixins/TableHeaderMixins";
import { mixins } from "@/mixins/mixins"; import { mixins } from "@/mixins/mixins";
import {initPrintAllData} from "@/mixins/printMixin"
export default { export default {
name: "materialsAdjustment", name: "materialsAdjustment",
mixins: [ mixins: [
@ -68,11 +69,49 @@ export default {
this.defaultFreshBtn(),// this.defaultFreshBtn(),//
this.defaultFilterBtn(),// this.defaultFilterBtn(),//
], ],
// todo:
DrawerButtonData: [
// {
// type: 'info',
// icon: 'el-icon-printer',
// label: '',
// hide: false,
// name: "print",
// size: 'mini'
// },
]
}; };
}, },
mounted() { mounted() {
this.paging(); this.paging();
}, },
methods: {
//
drawerbutton (val) {
//
if(val == 'print'){
//
// todo:
// let _propsData = JSON.parse(JSON.stringify(this.tableDataDetails))
// _propsData.details.forEach(item=>{
// item.recommendLot = item.recommendLot + " "
// })
// let _option = {
// details:{
// fromLocationCode:"recommendLocationCode",
// qty:"handledQty",
// uom:"recommendUom",
// fromLot:"recommendLot",
// toLocationErpCode:"locationErpCode",
// fromLocationErpCode:"recommendLocationErpCode",
// }
// }
// let data = initPrintAllData(_propsData,'tzd.rdlx','AdjustmentReason',_option);
let data = initPrintAllData(this.tableDataDetails,'tzd.rdlx','AdjustmentReason');
this.Print(data)
}
},
},
}; };
</script> </script>
<style lang="scss" scoped> <style lang="scss" scoped>

Loading…
Cancel
Save