Browse Source

制品收货申请创建标签修改参数

master_hella_20240701
陈薪名 8 months ago
parent
commit
83c639fac0
  1. 7
      src/views/wms/productionManage/productreceipt/productreceiptRequestMain/index.vue

7
src/views/wms/productionManage/productreceipt/productreceiptRequestMain/index.vue

@ -579,6 +579,9 @@ const searchFormClick = (searchData) => {
const submitFormLabel = async (formType, data) => {
try {
detatableData.tableList.forEach(async (item) => {
//
item.packUnit = null
item.inOfOut = 'in'
await PackageApi.createPackageLabel(item).then(res => {
isCreateLabel.value = true
message.success('创建标签成功')
@ -643,10 +646,10 @@ const handlePoint = async (row) => {
//
if (isCreateLabel.value) {
if (labelType.value == 'cg') {
const src = ref(BASE_URL + '/jmreport/view/922734157577715712?token=' + getAccessToken())
const src = ref(BASE_URL + '/jmreport/view/922729953438072832?token=' + getAccessToken())
window.open(src.value+'&request_number='+row.number)
} else {
const src = ref(BASE_URL + '/jmreport/view/922729953438072832?token=' + getAccessToken())
const src = ref(BASE_URL + '/jmreport/view/922734157577715712?token=' + getAccessToken())
window.open(src.value+'&request_number='+row.number)
}
} else {

Loading…
Cancel
Save