|
@@ -471,7 +471,7 @@
|
|
|
fixed: 'left'
|
|
fixed: 'left'
|
|
|
}
|
|
}
|
|
|
];
|
|
];
|
|
|
-
|
|
|
|
|
|
|
+
|
|
|
// 出库单号 - 条件显示
|
|
// 出库单号 - 条件显示
|
|
|
if (this.isIds) {
|
|
if (this.isIds) {
|
|
|
columns.push({
|
|
columns.push({
|
|
@@ -482,7 +482,7 @@
|
|
|
showOverflowTooltip: true
|
|
showOverflowTooltip: true
|
|
|
});
|
|
});
|
|
|
}
|
|
}
|
|
|
-
|
|
|
|
|
|
|
+
|
|
|
// 基础列
|
|
// 基础列
|
|
|
columns.push(
|
|
columns.push(
|
|
|
{
|
|
{
|
|
@@ -506,7 +506,7 @@
|
|
|
showOverflowTooltip: true
|
|
showOverflowTooltip: true
|
|
|
}
|
|
}
|
|
|
);
|
|
);
|
|
|
-
|
|
|
|
|
|
|
+
|
|
|
// 级别 - 仅 clientEnvironmentId == 4 时显示
|
|
// 级别 - 仅 clientEnvironmentId == 4 时显示
|
|
|
if (this.clientEnvironmentId == 4) {
|
|
if (this.clientEnvironmentId == 4) {
|
|
|
columns.push({
|
|
columns.push({
|
|
@@ -515,7 +515,7 @@
|
|
|
align: 'center'
|
|
align: 'center'
|
|
|
});
|
|
});
|
|
|
}
|
|
}
|
|
|
-
|
|
|
|
|
|
|
+
|
|
|
// 型号、规格、牌号
|
|
// 型号、规格、牌号
|
|
|
columns.push(
|
|
columns.push(
|
|
|
{
|
|
{
|
|
@@ -538,7 +538,7 @@
|
|
|
showOverflowTooltip: true
|
|
showOverflowTooltip: true
|
|
|
}
|
|
}
|
|
|
);
|
|
);
|
|
|
-
|
|
|
|
|
|
|
+
|
|
|
// 动态列
|
|
// 动态列
|
|
|
this.newColumns.forEach(item => {
|
|
this.newColumns.forEach(item => {
|
|
|
columns.push({
|
|
columns.push({
|
|
@@ -549,7 +549,7 @@
|
|
|
showOverflowTooltip: item.showOverflowTooltip
|
|
showOverflowTooltip: item.showOverflowTooltip
|
|
|
});
|
|
});
|
|
|
});
|
|
});
|
|
|
-
|
|
|
|
|
|
|
+
|
|
|
// 批次号
|
|
// 批次号
|
|
|
columns.push({
|
|
columns.push({
|
|
|
label: '批次号',
|
|
label: '批次号',
|
|
@@ -558,7 +558,7 @@
|
|
|
align: 'center',
|
|
align: 'center',
|
|
|
showOverflowTooltip: true
|
|
showOverflowTooltip: true
|
|
|
});
|
|
});
|
|
|
-
|
|
|
|
|
|
|
+
|
|
|
// 包装数量 - 根据 clientEnvironmentId 显示不同内容
|
|
// 包装数量 - 根据 clientEnvironmentId 显示不同内容
|
|
|
if (this.clientEnvironmentId == 3) {
|
|
if (this.clientEnvironmentId == 3) {
|
|
|
columns.push({
|
|
columns.push({
|
|
@@ -574,7 +574,7 @@
|
|
|
width: 80
|
|
width: 80
|
|
|
});
|
|
});
|
|
|
}
|
|
}
|
|
|
-
|
|
|
|
|
|
|
+
|
|
|
// 最小包装单元/单位 - 根据 clientEnvironmentId 显示
|
|
// 最小包装单元/单位 - 根据 clientEnvironmentId 显示
|
|
|
if (this.clientEnvironmentId == 3) {
|
|
if (this.clientEnvironmentId == 3) {
|
|
|
columns.push({
|
|
columns.push({
|
|
@@ -590,7 +590,7 @@
|
|
|
prop: 'packingUnit'
|
|
prop: 'packingUnit'
|
|
|
});
|
|
});
|
|
|
}
|
|
}
|
|
|
-
|
|
|
|
|
|
|
+
|
|
|
// 计量数量、计量单位
|
|
// 计量数量、计量单位
|
|
|
columns.push(
|
|
columns.push(
|
|
|
{
|
|
{
|
|
@@ -603,7 +603,7 @@
|
|
|
prop: 'measureUnit'
|
|
prop: 'measureUnit'
|
|
|
}
|
|
}
|
|
|
);
|
|
);
|
|
|
-
|
|
|
|
|
|
|
+
|
|
|
// 重量、重量单位
|
|
// 重量、重量单位
|
|
|
columns.push(
|
|
columns.push(
|
|
|
{
|
|
{
|
|
@@ -619,7 +619,7 @@
|
|
|
showOverflowTooltip: true
|
|
showOverflowTooltip: true
|
|
|
}
|
|
}
|
|
|
);
|
|
);
|
|
|
-
|
|
|
|
|
|
|
+
|
|
|
// 机型、颜色
|
|
// 机型、颜色
|
|
|
columns.push(
|
|
columns.push(
|
|
|
{
|
|
{
|
|
@@ -633,7 +633,7 @@
|
|
|
width: 150
|
|
width: 150
|
|
|
}
|
|
}
|
|
|
);
|
|
);
|
|
|
-
|
|
|
|
|
|
|
+
|
|
|
// 单价 - 条件显示
|
|
// 单价 - 条件显示
|
|
|
if (this.isPrice == 1) {
|
|
if (this.isPrice == 1) {
|
|
|
columns.push({
|
|
columns.push({
|
|
@@ -643,7 +643,7 @@
|
|
|
slot: 'singlePrice'
|
|
slot: 'singlePrice'
|
|
|
});
|
|
});
|
|
|
}
|
|
}
|
|
|
-
|
|
|
|
|
|
|
+
|
|
|
// 锁定数量、库存
|
|
// 锁定数量、库存
|
|
|
columns.push(
|
|
columns.push(
|
|
|
{
|
|
{
|
|
@@ -658,7 +658,7 @@
|
|
|
showOverflowTooltip: true
|
|
showOverflowTooltip: true
|
|
|
}
|
|
}
|
|
|
);
|
|
);
|
|
|
-
|
|
|
|
|
|
|
+
|
|
|
// 金额 - 条件显示
|
|
// 金额 - 条件显示
|
|
|
if (this.isPrice == 1) {
|
|
if (this.isPrice == 1) {
|
|
|
columns.push({
|
|
columns.push({
|
|
@@ -669,7 +669,7 @@
|
|
|
slot: 'totalMoney'
|
|
slot: 'totalMoney'
|
|
|
});
|
|
});
|
|
|
}
|
|
}
|
|
|
-
|
|
|
|
|
|
|
+
|
|
|
// 采购原因 - 仅 clientEnvironmentId == 4 时显示
|
|
// 采购原因 - 仅 clientEnvironmentId == 4 时显示
|
|
|
if (this.clientEnvironmentId == 4) {
|
|
if (this.clientEnvironmentId == 4) {
|
|
|
columns.push({
|
|
columns.push({
|
|
@@ -679,7 +679,7 @@
|
|
|
showOverflowTooltip: true
|
|
showOverflowTooltip: true
|
|
|
});
|
|
});
|
|
|
}
|
|
}
|
|
|
-
|
|
|
|
|
|
|
+
|
|
|
return columns;
|
|
return columns;
|
|
|
}
|
|
}
|
|
|
},
|
|
},
|