|
@@ -417,6 +417,19 @@ export default {
|
|
|
this.showTable = true
|
|
|
})
|
|
|
}
|
|
|
+ // 全局过滤特殊列表
|
|
|
+ /**------------------------------------------------------------------------------------------------------- */
|
|
|
+ var listcp = [...res.fieldBeans]
|
|
|
+ if (!~['100093', '600023', '', null, undefined].indexOf(this.$store.state?.user?.userInfo?.customerNumber)) {
|
|
|
+ for (var i = 0; i < listcp.length; i++) {
|
|
|
+ if (~['是否同步到格匠采购入库单', '同步格匠失败原因'].indexOf(listcp[i].label)) {
|
|
|
+ listcp.splice(i, 1)
|
|
|
+ i--
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
+ res.fieldBeans = listcp
|
|
|
+ /**------------------------------------------------------------------------------------------------------- */
|
|
|
if (this.fieldBeansHook) {
|
|
|
res.fieldBeans = this.fieldBeansHook(res.fieldBeans) || res.fieldBeans
|
|
|
}
|