仓管-存料登记卡打印跳转

dev-scheduling
jinna 1 month ago
parent 8618c1e732
commit b96e37ac7c
  1. 2
      public/config.js
  2. 10
      src/api/storeManagement/inventorySummary.js
  3. 10
      src/views/statisticalAnalysis/warehouseAnalysis/inventorySummary.vue

@ -10,3 +10,5 @@ window.SCHEDULING_EXCEPTION = "http://192.168.169.172:8088/SCHEDULING_EXCEPTION"
window.SCHEDULING_ANALYSIS = "http://192.168.169.172:8088/SCHEDULING_ANALYSIS" //排产统计分析地址
window.PROCESS_QUALITY_RECORD = "http://192.168.169.172:9000/jmreport/view/1153140195292762112" //电子档案-热表分厂-质量记录
window.WARE_MATERIAL_STOCK = "http://192.168.169.172:9000/jmreport/view/1186917825215324160" //仓管-库存汇总-存料登记卡打印

@ -8,4 +8,12 @@ export const getList = params => {
method: 'get',
params
});
};
};
// // 存料登记卡打印
// export const getPrint = params => {
// return request({
// url: `/api/blade-wms/jmreport/index/${params.id}`,
// method: 'get',
// });
// };

@ -43,7 +43,7 @@
</template>
<script>
import {getList,getPrint} from "@/api/storeManagement/inventorySummary"
import {getList} from "@/api/storeManagement/inventorySummary"
export default {
data() {
return {
@ -623,9 +623,11 @@ export default {
this.$message.error('请先选择数据')
return
}
getPrint({id:this.selectionList[0].id}).then(res =>{
console.log('res--------------',res)
})
window.open(window.WARE_MATERIAL_STOCK+'?id='+this.selectionList.map(item => item.id).join(','));
// getPrint({id:this.selectionList[0].id}).then(res =>{
// console.log('res--------------',res)
// })
},
searchChange(params, done){
this.query = params;

Loading…
Cancel
Save