3 Commits

Author SHA1 Message Date
3bc63f076b feat: 🚀 是否作废 2025-07-16 09:33:11 +08:00
7f660e72f7 feat: 🚀 修复lv1-3-sup 2025-07-15 15:58:51 +08:00
de7f71339b feat: 🚀 优化采购入库||生产入库同步金蝶文字显示判断条件 2025-07-15 14:00:39 +08:00
4 changed files with 25 additions and 21 deletions

View File

@@ -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",

View File

@@ -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",

View File

@@ -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>

View File

@@ -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
} }
]; ];