feat(标签系统): 添加脱脂原料库标签类型并优化透视表功能
新增脱脂原料库标签类型6及相关组件TuoZhiTag 优化透视表功能,增加保存明细选项和导出功能 在标签渲染组件中添加对脱脂原料库类型的判断 更新相关API调用和UI交互逻辑
This commit is contained in:
@@ -410,7 +410,6 @@ import {
|
||||
cancelExportCoil,
|
||||
checkCoilNo,
|
||||
returnCoil,
|
||||
exportCoilWithAll
|
||||
} from "@/api/wms/coil";
|
||||
import { listBoundCoil } from "@/api/wms/deliveryWaybillDetail";
|
||||
import WarehouseSelect from "@/components/KLPService/WarehouseSelect";
|
||||
@@ -807,7 +806,12 @@ export default {
|
||||
// 在镀锌颜料库的卷使用镀锌原料标签
|
||||
if (itemType == 'raw_material' && (warehouseId == '1988150263284953089' || warehouseId == '1988150487185289217')) {
|
||||
this.labelRender.type = '5';
|
||||
} else if (itemType == 'raw_material') {
|
||||
}
|
||||
// 脱脂原料库
|
||||
else if (itemType == 'raw_material' && (warehouseId == '1988150545175736322')) {
|
||||
this.labelRender.type = '6';
|
||||
}
|
||||
else if (itemType == 'raw_material') {
|
||||
this.labelRender.type = '2';
|
||||
} else if (itemType == 'product' && itemName == '冷硬卷') {
|
||||
this.labelRender.type = '3';
|
||||
@@ -1060,7 +1064,7 @@ export default {
|
||||
const res = await listBoundCoil(query)
|
||||
coilIds = res.rows.map(item => item.coilId).join(',')
|
||||
this.loading = false
|
||||
this.download('wms/deliveryWaybill/export', {
|
||||
this.download('/wms/materialCoil/exportDelivery', {
|
||||
coilIds,
|
||||
}, 'coil.xlsx')
|
||||
} else {
|
||||
@@ -1071,8 +1075,6 @@ export default {
|
||||
coilIds,
|
||||
}, 'coil.xlsx')
|
||||
}
|
||||
|
||||
|
||||
},
|
||||
handleCheck(row) {
|
||||
this.isCheck = true;
|
||||
|
||||
Reference in New Issue
Block a user