|
@ -192,6 +192,8 @@ const searchTableSuccess = (formField, searchField, val, formRef, type, row) => |
|
|
newRow['toBatch'] = item['batch'] |
|
|
newRow['toBatch'] = item['batch'] |
|
|
newRow['fromLocationCode'] = item['locationCode'] |
|
|
newRow['fromLocationCode'] = item['locationCode'] |
|
|
newRow['inventoryStatus'] = item['inventoryStatus'] |
|
|
newRow['inventoryStatus'] = item['inventoryStatus'] |
|
|
|
|
|
newRow['packUnit'] = item['packUnit'] |
|
|
|
|
|
newRow['packQty'] = item['packQty'] |
|
|
tableData.value.push(newRow) |
|
|
tableData.value.push(newRow) |
|
|
}) |
|
|
}) |
|
|
let itemCodes = [] |
|
|
let itemCodes = [] |
|
@ -229,9 +231,6 @@ const searchTableSuccess = (formField, searchField, val, formRef, type, row) => |
|
|
// console.log(row['itemCode']); |
|
|
// console.log(row['itemCode']); |
|
|
// ItembasicApi.getItemListByCodes(row['itemCode']) |
|
|
// ItembasicApi.getItemListByCodes(row['itemCode']) |
|
|
row['downItemCode'] = val[0]['code'] |
|
|
row['downItemCode'] = val[0]['code'] |
|
|
} else if(formField == 'packUnit'){ |
|
|
|
|
|
row['packUnit'] = val[0]['packUnit'] |
|
|
|
|
|
row['packQty'] = val[0]['packQty'] |
|
|
|
|
|
} else if (formField == 'toLocationCode') { |
|
|
} else if (formField == 'toLocationCode') { |
|
|
row['toLocationCode'] = val[0]['code'] |
|
|
row['toLocationCode'] = val[0]['code'] |
|
|
} else { |
|
|
} else { |
|
@ -400,16 +399,17 @@ const butttondata = (row,$index) => { |
|
|
defaultButtons.mainListApproveBtn({hide:isShowMainButton(row,['2']),hasPermi:'wms:relegate-request-main:agree'}), // 审批通过 |
|
|
defaultButtons.mainListApproveBtn({hide:isShowMainButton(row,['2']),hasPermi:'wms:relegate-request-main:agree'}), // 审批通过 |
|
|
defaultButtons.mainListHandleBtn({hide:isShowMainButton(row,['3']),hasPermi:'wms:relegate-request-main:handle'}), // 处理 |
|
|
defaultButtons.mainListHandleBtn({hide:isShowMainButton(row,['3']),hasPermi:'wms:relegate-request-main:handle'}), // 处理 |
|
|
defaultButtons.mainListEditBtn({hide:isShowMainButton(row,['1']),hasPermi:'wms:relegate-request-main:update'}), // 编辑 |
|
|
defaultButtons.mainListEditBtn({hide:isShowMainButton(row,['1']),hasPermi:'wms:relegate-request-main:update'}), // 编辑 |
|
|
{ |
|
|
// { |
|
|
label: '创建标签', |
|
|
// label: '创建标签', |
|
|
name: 'cjbq', |
|
|
// name: 'cjbq', |
|
|
hide: isShowMainButton(row,['3']), |
|
|
// hide: isShowMainButton(row,['3']), |
|
|
type: 'primary', |
|
|
// type: 'primary', |
|
|
icon: '', |
|
|
// icon: '', |
|
|
color: '', |
|
|
// color: '', |
|
|
hasPermi: '', |
|
|
// hasPermi: '', |
|
|
link: true, // 文本展现按钮 |
|
|
// link: true, // 文本展现按钮 |
|
|
},defaultButtons.mainListPointBtn({hide:isShowMainButton(row,['3','6','8'])}), // 标签打印 |
|
|
// }, |
|
|
|
|
|
defaultButtons.mainListPointBtn({hide:isShowMainButton(row,['3','6','8'])}), // 标签打印 |
|
|
// defaultButtons.mainListDeleteBtn({hasPermi:'wms:relegate-request-main:delete'}), // 删除 |
|
|
// defaultButtons.mainListDeleteBtn({hasPermi:'wms:relegate-request-main:delete'}), // 删除 |
|
|
] |
|
|
] |
|
|
} |
|
|
} |
|
|