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