Browse Source

YT-720WMS11.物料补打标签

intex
zhaoyiran 3 weeks ago
parent
commit
cffe30a732
  1. 13
      src/views/wms/basicDataManage/labelManage/purchasePackage/index.vue

13
src/views/wms/basicDataManage/labelManage/purchasePackage/index.vue

@ -133,7 +133,10 @@ const searchTableSuccess = (formField, searchField, val, basicFormRef, type, row
}
if (formField == 'toDockCode') {
setV['receivedLocation'] = val[0]['name']
setV['defaultReceivingArea'] = val[0]['remark']
setV['defaultReceivingArea'] = val[0]['areaCode']
}
if (formField == 'packUnit') {
setV['packQty'] = val[0]['packQty']
}
basicFormRef.setValues(setV)
})
@ -229,7 +232,7 @@ const buttonTableClick = async (val, row) => {
} else if (val == 'delete') { //
handleDelete(row.id)
} else if (val == 'point') { //
handlePoint(row)
handleDocumentPrint(row.id)
} else if (val == 'enable') {
handleEnable(row.id)
} else if (val == 'disable') {
@ -306,6 +309,12 @@ const handleExport = async () => {
}
const BASE_URL = getJmreportBaseUrl()
const documentSrc = ref(BASE_URL + '/jmreport/view/1016234988731322368?token=' + getAccessToken())
const handleDocumentPrint = async (id) => {
window.open(documentSrc.value + '&id=' + id)
}
const labelType = ref('') //
const handlePoint = async (row) => {
PackageApi.getBalanceToPackage(row.relateNumber).then(res => {

Loading…
Cancel
Save