Browse Source

创建标签相关业务修改

master
陈薪名 11 months ago
parent
commit
5d9c5fff79
  1. 2
      src/utils/disposition/defaultButtons.ts
  2. 5
      src/views/wms/inventoryjobManage/unplannedreceipt/unplannedreceiptRequestMain/index.vue
  3. 4
      src/views/wms/productionManage/productreceipt/productreceiptRequestMain/index.vue

2
src/utils/disposition/defaultButtons.ts

@ -630,7 +630,7 @@ export function mainListJobExeBtn(option:any) {
// 主列表-打印
export function mainListPointBtn(option:any) {
return __defaultBtnOption(option,{
label: '标签打印',
label: '打印标签',
name: 'point',
hide: false,
type: 'primary',

5
src/views/wms/inventoryjobManage/unplannedreceipt/unplannedreceiptRequestMain/index.vue

@ -524,11 +524,6 @@ const submitFormLabel = async (formType, data) => {
try {
detatableData.tableList.forEach(async (item) => {
await PackageApi.createPackageLabel(item).then(res => {
console.log("BBBBB",res)
if (res) {
//
UnplannedreceiptRequestDetailApi.updateDetailPackingNumber(res.id,res.number)
}
isCreateLabel.value = true
message.success('创建标签成功')
}).catch(err => {

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

@ -525,10 +525,6 @@ const submitFormLabel = async (formType, data) => {
try {
detatableData.tableList.forEach(async (item) => {
await PackageApi.createPackageLabel(item).then(res => {
if (res) {
//
ProductreceiptRequestDetailApi.updateDetailPackingNumber(res.id,res.number)
}
isCreateLabel.value = true
message.success('创建标签成功')
}).catch(err => {

Loading…
Cancel
Save