Browse Source

批量打印标签

master_hella_20240701
chenfang 7 months ago
parent
commit
12c289d473
  1. 6
      src/api/wms/package/index.ts
  2. 2
      src/views/wms/basicDataManage/itemManage/itemarea/index.vue
  3. 26
      src/views/wms/basicDataManage/itemManage/itemarea/itemarea.data.ts
  4. 11
      src/views/wms/purchasereceiptManage/supplierdeliver/supplierdeliverRequestMain/supplierdeliverRequestMain.data.ts

6
src/api/wms/package/index.ts

@ -94,3 +94,9 @@ export const importTemplate = () => {
export const createPackageLabel = async (data: PackageVO) => {
return await request.post({ url: `/wms/package/createLabel`, data })
}
// 创建标签
export const createBatchPrintingLable = async (data: PackageVO) => {
return await request.post({ url: `/wms/package/batchPrintingLable`, data })
}

2
src/views/wms/basicDataManage/itemManage/itemarea/index.vue

@ -141,6 +141,8 @@ const searchTableSuccess = (formField, searchField, val, formRef, type, row ) =>
setV['outPackUnit'] = val[0]['packUnit']
}else if(formField == 'itemCode') {
setV['itemCode'] = val[0]['code']
}else if(formField == 'overflowLocationCode') {
setV['overflowLocationCode'] = val[0]['code']
}else{
setV[formField] = setV[0][searchField]
}

26
src/views/wms/basicDataManage/itemManage/itemarea/itemarea.data.ts

@ -83,6 +83,30 @@ export const Itemarea = useCrudSchemas(reactive<CrudSchema[]>([
}
}
},
{
label: '溢出库位',
field: 'overflowLocationCode',
isTable: true,
sort: 'custom',
table: {
width: 150
},
form: {
// labelMessage: '信息提示说明!!!',
componentProps: {
isSearchList: true, // 开启查询弹窗
searchListPlaceholder: '请选择溢出库位代码', // 输入框占位文本
searchField: 'code', // 查询弹窗赋值字段
searchTitle: '库位信息', // 查询弹窗标题
searchAllSchemas: Location.allSchemas, // 查询弹窗所需类
searchPage: LocationApi.getLocationPage, // 查询弹窗所需分页方法
searchCondition: [{
key: 'available',
value: 'TRUE',
}]
}
}
},
{
label: '入库包装规格',
field: 'inPackUnit',
@ -279,7 +303,6 @@ export const Itemarea = useCrudSchemas(reactive<CrudSchema[]>([
activeValue: 'TRUE'
}
},
isTable:false
},
{
label: '出库自动转为出库包装规格',
@ -300,7 +323,6 @@ export const Itemarea = useCrudSchemas(reactive<CrudSchema[]>([
activeValue: 'TRUE'
}
},
isTable:false
},
{
label: '需要接收确认',

11
src/views/wms/purchasereceiptManage/supplierdeliver/supplierdeliverRequestMain/supplierdeliverRequestMain.data.ts

@ -648,6 +648,17 @@ export const SupplierdeliverRequestDetail = useCrudSchemas(reactive<CrudSchema[]
disabled: false
}
},
{
label: '供应商批次',
field: 'supplierBatch',
sort: 'custom',
table: {
width: 150
},
tableForm: {
disabled: false
}
},
{
label: '生产日期',
field: 'produceDate',

Loading…
Cancel
Save