Compare commits
3 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 3bc63f076b | |||
| 7f660e72f7 | |||
| de7f71339b |
@@ -1,5 +1,5 @@
|
|||||||
// import { STATUS } from "@/constant";
|
// // import { STATUS } from "@/constant";
|
||||||
import { RenderScope } from "@/components/ProTable/interface";
|
// import { RenderScope } from "@/components/ProTable/interface";
|
||||||
|
|
||||||
// 销售订单 表格配置项
|
// 销售订单 表格配置项
|
||||||
export const COLUMNS = [
|
export const COLUMNS = [
|
||||||
@@ -129,10 +129,10 @@ export const COLUMNS = [
|
|||||||
align: "left",
|
align: "left",
|
||||||
label: "是否作废",
|
label: "是否作废",
|
||||||
prop: "isRepeal",
|
prop: "isRepeal",
|
||||||
width: "120",
|
width: "120"
|
||||||
render: (scope: RenderScope<any>): VNode | string | any => {
|
// render: (scope: RenderScope<any>): VNode | string | any => {
|
||||||
return scope.row.isRepeal ? "是" : "否";
|
// return scope.row.isRepeal ? "是" : "否";
|
||||||
}
|
// }
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
align: "left",
|
align: "left",
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
// import { STATUS } from "@/constant";
|
// import { STATUS } from "@/constant";
|
||||||
import { RenderScope } from "@/components/ProTable/interface";
|
// import { RenderScope } from "@/components/ProTable/interface";
|
||||||
|
|
||||||
// 销售订单 表格配置项
|
// 销售订单 表格配置项
|
||||||
export const COLUMNS = [
|
export const COLUMNS = [
|
||||||
@@ -129,10 +129,10 @@ export const COLUMNS = [
|
|||||||
align: "left",
|
align: "left",
|
||||||
label: "是否作废",
|
label: "是否作废",
|
||||||
prop: "isRepeal",
|
prop: "isRepeal",
|
||||||
width: "120",
|
width: "120"
|
||||||
render: (scope: RenderScope<any>): VNode | string | any => {
|
// render: (scope: RenderScope<any>): VNode | string | any => {
|
||||||
return scope.row.isRepeal ? "是" : "否";
|
// return scope.row.isRepeal ? "是" : "否";
|
||||||
}
|
// }
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
align: "left",
|
align: "left",
|
||||||
|
|||||||
@@ -29,9 +29,13 @@
|
|||||||
<template #successSync="scope">
|
<template #successSync="scope">
|
||||||
<a
|
<a
|
||||||
@click="handleSuccessSync(scope.row)"
|
@click="handleSuccessSync(scope.row)"
|
||||||
:class="scope.row.successSync == '失败' && scope.row.type == '采购入库' ? 'break-word to-detail1' : ''"
|
:class="
|
||||||
|
scope.row.successSync == '失败' && (scope.row.type == '采购入库' || scope.row.type == '生产入库')
|
||||||
|
? 'break-word to-detail1'
|
||||||
|
: ''
|
||||||
|
"
|
||||||
>
|
>
|
||||||
{{ scope.row.type == "采购入库" ? scope.row.successSync : "--" }}
|
{{ scope.row.type == "采购入库" || scope.row.type == "生产入库" ? scope.row.successSync : "--" }}
|
||||||
</a>
|
</a>
|
||||||
</template>
|
</template>
|
||||||
</ProTable>
|
</ProTable>
|
||||||
|
|||||||
@@ -62,29 +62,29 @@ export const COLUMNS = [
|
|||||||
{
|
{
|
||||||
align: "left",
|
align: "left",
|
||||||
label: "1级分类",
|
label: "1级分类",
|
||||||
prop: "beforeQty",
|
prop: "fProductLines1FName",
|
||||||
width: "120"
|
width: "160"
|
||||||
// fixed: true
|
// fixed: true
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
align: "left",
|
align: "left",
|
||||||
label: "2级分类",
|
label: "2级分类",
|
||||||
prop: "beforeQty",
|
prop: "fProductCATs1FName",
|
||||||
width: "120"
|
width: "160"
|
||||||
// fixed: true
|
// fixed: true
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
align: "left",
|
align: "left",
|
||||||
label: "3级分类",
|
label: "3级分类",
|
||||||
prop: "beforeQty",
|
prop: "fMaterialGroupFName",
|
||||||
width: "120"
|
width: "160"
|
||||||
// fixed: true
|
// fixed: true
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
align: "left",
|
align: "left",
|
||||||
label: "SPU",
|
label: "SPU",
|
||||||
prop: "beforeQty",
|
prop: "f_Product",
|
||||||
width: "160"
|
width: "240"
|
||||||
// fixed: true
|
// fixed: true
|
||||||
}
|
}
|
||||||
];
|
];
|
||||||
|
|||||||
Reference in New Issue
Block a user