|
@@ -12,6 +12,7 @@
|
|
|
:columnParsing="columnParsing"
|
|
|
:optionsEvensGroup="optionsEvensGroup"
|
|
|
:replaceOrNotMap="false"
|
|
|
+ :fieldBeansHook="fieldBeansHook"
|
|
|
>
|
|
|
</template-page>
|
|
|
<ExamineDialog
|
|
@@ -236,6 +237,18 @@ export default {
|
|
|
selectionChange(data) {
|
|
|
this.multipleSelection = data
|
|
|
},
|
|
|
+ fieldBeansHook(list) {
|
|
|
+ var listcp = [...list]
|
|
|
+ if (!~['100093', '600023', ''].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--
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
+ return listcp
|
|
|
+ },
|
|
|
operation() {
|
|
|
return (h, { row, index, column }) => {
|
|
|
return (
|
|
@@ -485,7 +498,6 @@ export default {
|
|
|
this.isShowForm = false
|
|
|
this.isShowReturnForm = false
|
|
|
this.$refs.pageRef.refreshList()
|
|
|
-
|
|
|
},
|
|
|
|
|
|
handleDelete(id) {
|