Browse Source

库存移动记录(新)打印标签无数据,无法打印 YT-435

intex_online20241111
YEJIAXING-PC\lenovo 1 month ago
parent
commit
8dbc45fac3
  1. 16
      src/views/wms/issueManage/productionreturn/productionreturnRecordMain/productionreturnRecordMain.data.ts
  2. 4
      src/views/wms/moveManage/inventorymove/inventorymoveRecordMainNew/index.vue

16
src/views/wms/issueManage/productionreturn/productionreturnRecordMain/productionreturnRecordMain.data.ts

@ -414,14 +414,14 @@ export const ProductionreturnRecordMainRules = reactive({
* @returns {Array} 退 * @returns {Array} 退
*/ */
export const ProductionreturnRecordDetail = useCrudSchemas(reactive<CrudSchema[]>([ export const ProductionreturnRecordDetail = useCrudSchemas(reactive<CrudSchema[]>([
{ // {
label: '生产线代码', // label: '生产线代码',
field: 'productionLineCode', // field: 'productionLineCode',
sort: 'custom', // sort: 'custom',
table: { // table: {
width: 150 // width: 150
}, // },
}, // },
{ {
label: '工位代码', label: '工位代码',
field: 'workStationCode', field: 'workStationCode',

4
src/views/wms/moveManage/inventorymove/inventorymoveRecordMainNew/index.vue

@ -223,7 +223,9 @@ const getLabelType = async (row,useToPackingNumber)=>{
const getLabelDetailPage = async (row,useToPackingNumber)=>{ const getLabelDetailPage = async (row,useToPackingNumber)=>{
let defaultParams = {'moduleName':'move','recordNumber':row.number} let defaultParams = {'moduleName':'move','recordNumber':row.number}
if(useToPackingNumber){ if(useToPackingNumber){
defaultParams = {'moduleName':'move','recordNumber':row.toPackingNumber} // defaultParams = {'moduleName':'move','recordNumber':row.toPackingNumber}
////
defaultParams = {'moduleName':'move','recordNumber':'','itemCode': row.itemCode}
} }
const {tableObject:tableObjectPrint ,tableMethods} = useTable({ const {tableObject:tableObjectPrint ,tableMethods} = useTable({
defaultParams, defaultParams,

Loading…
Cancel
Save