diff --git a/fe/PC/public/config.js b/fe/PC/public/config.js
index aa046d202..d7e30dedf 100644
--- a/fe/PC/public/config.js
+++ b/fe/PC/public/config.js
@@ -11,7 +11,8 @@
// dev-new
window.SITE_CONFIG['base'] = 'http://dev.ccwin-in.com:21093'
window.SITE_CONFIG['user'] = 'http://dev.ccwin-in.com:21093/api/auth'
-window.SITE_CONFIG['print'] = 'print'
+// window.SITE_CONFIG['print'] = 'print'21384
+window.SITE_CONFIG['print'] = 'http://dev.ccwin-in.com:60074'
window.SITE_CONFIG['largeScreen'] = 'http://dev.ccwin-in.com:21093'
window.SITE_CONFIG['warehouseCode'] = 'T8'
window.SITE_CONFIG['company'] = 'DongYang'
diff --git a/fe/PC/src/api/wms-api.js b/fe/PC/src/api/wms-api.js
index 5c6ac6b44..3249536ab 100644
--- a/fe/PC/src/api/wms-api.js
+++ b/fe/PC/src/api/wms-api.js
@@ -2,6 +2,7 @@ import request from '@/utils/request'
import store from '@/store'
// let baseURL = process.env.VUE_APP_BASE_API + '/'
let baseURL = localStorage.getItem('base') + '/api/'
+let printURL = localStorage.getItem('print') + '/api/'
//新建
export function postCreate(data, url) {
if (Object.keys(data).includes('company')) {
@@ -242,7 +243,7 @@ export function getPage(data, url) {
//打印标签
export function PrintServices(data) {
return request({
- url: baseURL + 'reporting/PrintServices',
+ url: printURL + 'reporting/PrintServices',
method: 'post',
headers: {
'Content-Type': 'application/x-www-form-urlencoded; charset=UTF-8'
diff --git a/fe/PC/src/components/importFile/index.vue b/fe/PC/src/components/importFile/index.vue
index df0aa0930..f3c940a36 100644
--- a/fe/PC/src/components/importFile/index.vue
+++ b/fe/PC/src/components/importFile/index.vue
@@ -7,7 +7,7 @@
:visible.sync="show"
:append-to-body="true"
:modal-append-to-body="false"
- width="45%"
+ width="800px"
:show-close="false"
>
@@ -54,7 +54,7 @@
:append-to-body="true"
:modal-append-to-body="false"
:show-close="false"
- width="85%"
+ width="70%"
>
{
diff --git a/fe/PC/src/mixins/printMixin.js b/fe/PC/src/mixins/printMixin.js
index 6b47c491f..2adfc2d34 100644
--- a/fe/PC/src/mixins/printMixin.js
+++ b/fe/PC/src/mixins/printMixin.js
@@ -44,45 +44,8 @@ export function initPrintPackingCodeData(propsData,options,name,url){
"printIndex":item[_options.printIndex] || Number(key)+1,//打印序列
}
],
- // "asnNumber": propsData[_options.number] || propsData.number,
- // "supplierCode": propsData[_options.supplierCode] || propsData.supplierCode,
- // "supplierName": propsData[_options.supplierName] || propsData.supplierName,
- // "timeWindow": propsData[_options.timeWindow] || propsData.timeWindow,
- // "arriveTime": item[_options.arriveDate] || item.arriveDate,
- // "details": [
- // {
- // "poNumber": item[_options.poNumber] || item.poNumber,
- // "poLine":item[_options.poLine] || item.poLine,
- // "qty": {
- // "uom":item[_options.uom] || item.uom,//必填
- // "qty": item[_options.qty] || item.qty,//必填
- // },
- // "packingCode": item[_options.packingCode] || item.packingCode,
- // "containerCode": item[_options.containerCode] || item.containerCode,
- // "lot": item[_options.lot] || item.lot,//必填
- // "batch": {
- // "supplierBatch": item[_options.supplierBatch] || item.supplierBatch,
- // "produceDate": item[_options.produceDate] || item.produceDate,
- // "expireDate": item[_options.expireDate] || item.expireDate,
- // },
- // "itemCode": item[_options.itemCode] || item.itemCode,//必填
- // "item": {
- // "id": item[_options.itemId] || item.itemId,
- // "name": item[_options.itemName] || item.itemName,
- // "desc1": item[_options.itemDesc1] || item.itemDesc1,
- // "desc2": item[_options.itemDesc2] || item.itemDesc2,
- // },
- // "Elevel": null
- // }
- // ]
})
});
- // let paramName = ''
- // if (name) {
- // paramName = localStorage.getItem('print') + '/' + name
- // } else {
- // paramName = localStorage.getItem('print') + '/' + 'xiangbq.rdlx'
- // }
let data = {
reportName: name || 'xiangbq.rdlx',
dataUrl: url || 'ccc',
@@ -93,7 +56,7 @@ export function initPrintPackingCodeData(propsData,options,name,url){
// 打印【箱标签-单页4个】 (xiangbq_many.rdlx)
// 使用位置:半成品上架标签 (PartiallyPreparedProducts.vue) | 生产退库标签 (productionReturnLabel.vue)
-// | 创建标签 (RecycledMaterialsLabel.vue) | 到货请求详情 (PurchaseReceiptRequest.vue)
+// | 创建标签 (RecycledMaterialsLabel.vue) | 到货请求 (PurchaseReceiptRequest.vue)
/**
* @param {*} propsData 必填 详情数据 示例:this.propsData
* @param {*} options 自定义特殊配置值 示例:{'number':'poNumber'} (number值将传为poNumber)
@@ -153,12 +116,6 @@ export function initPrintPackingCodeData(propsData,options,name,url){
_printData.boxlabel[_index] = _label
})
})
- // let paramName = ''
- // if (name) {
- // paramName = localStorage.getItem('print') + '/' + name
- // } else {
- // paramName = localStorage.getItem('print') + '/' + 'xiangbq_many.rdlx'
- // }
let data = {
reportName: name || 'xiangbq_many.rdlx',
dataUrl: url || 'ccc',
@@ -243,7 +200,7 @@ const printEnumOption = {
// 物品代码:itemCode; 单位:uom; 预计调拨量:preQty; 调入储位:toLocationCode; 实际调拨量:qty; 调出储位:fromLocationCode;
// fscll.rdlx | fsctl.rdlx 使用参数
-// 使用位置:非生产领料申请 (lineSideWarehouseAllocationNote.vue - fscll.rdlx)
+// 使用位置:非生产领料申请 (pickingRequest.vue - fscll.rdlx)
// 使用位置:非生产退料申请 (materialReturnRequest.vue - fsctl.rdlx)
// 单号:number; 制表日:creationTime; 部门代码:deptCode; 部门名称:deptName
// 物品代码:itemCode; 物品名称:itemName; 预计量:preQty; 实际量:qty; 单位:uom; 储位:locationCode;
@@ -270,14 +227,14 @@ const printEnumOption = {
// 物品代码:itemCode; 物品名称:itemName; 储位:locationCode; 数量:adjustQty; 原因说明:reasonStr; 参考单据:requestNumber;
// xbcll.rdlx 使用参数
-// 使用位置:自动发料任务 (automaticCallJob-msQuery.vue) | 自动发料记录 (automaticCallNote.vue)
+// 使用位置:?自动发料任务 (automaticCallJob-msQuery.vue) | 自动发料记录 (automaticCallNote.vue)
// 使用位置:人工发料任务 (IssueJob.vue) | 人工发料记录 (IssueNote.vue)
// 单号:number; 制表日:creationTime; 部门名称:deptName;
// 物品代码:itemCode; 物品名称:itemName; 物品描述:itemDesc1; 零件号:itemCode; 来源库位:fromLocationCode;
// 实际数量:qty; 单位:uom; 批次:fromLot; 调入储位:toLocationErpCode; 调出储位:fromLocationErpCode;
// xbctl.rdlx 使用参数 xbctl.rdlx报表 和 xbcll.rdlx报表 目前字段相同,除了领/退字段
-// 使用位置:生产退库记录 (productionReturn => returnNote.vue)
+// 使用位置:生产退库记录 (productionReturn => returnNote.vue productionReturnNote)
// zjfl.rdlx 使用参数
// 使用位置:直接发料记录 (directIssueNote.vue)
@@ -286,12 +243,12 @@ const printEnumOption = {
// 实际数量:qty; 单位:uom; 批次:fromLot; 调入储位:toLocationErpCode; 调出储位:fromLocationErpCode;
// hslrkd.rdlx 使用参数
-// 使用位置:回收料收货记录 (materialsReceipt.vue)
+// 使用位置:回收料收货记录 (materialsReceipt.vue recycledMaterialsReceipt)
// 入库单号:number; 制表日:creationTime; 入库日期:activeDate; 部门代码:deptCode; 部门名称:deptName;
// 物品代码:itemCode; 物品名称:itemName; 物品描述1:itemDesc1; 物品描述2:itemDesc2; 数量:qty; 储位:locationErpCode;
// chdmxb.rdlx 使用参数
-// 使用位置:原料直发记录 (materialDirectSendNote.vue)
+// 使用位置:原料直发客户记录 (materialDirectSendNote.vue)
// 出货单号:number; 出货日期:deliverTime; 制表日:creationTime; 客户名称:customerCode; 客户地址:customerAddressCode;
// 序号:xh, 物品代码:itemCode; 物品名称:itemName; 单位:uom; 箱标签:packingCode, 出货数量:qty; 正厂编号:itemDesc2;
diff --git a/fe/PC/src/views/labelManage/PartiallyPreparedProducts/RecycledMaterialsLabel.vue b/fe/PC/src/views/labelManage/PartiallyPreparedProducts/RecycledMaterialsLabel.vue
index 6d3d37f06..7671d2e86 100644
--- a/fe/PC/src/views/labelManage/PartiallyPreparedProducts/RecycledMaterialsLabel.vue
+++ b/fe/PC/src/views/labelManage/PartiallyPreparedProducts/RecycledMaterialsLabel.vue
@@ -96,7 +96,7 @@ export default {
currenTableFlex,
resultStatus,
},
- name: "createNewLabel",
+ name: "RecycledMaterialsLabel",
data () {
let _this = this
return {