瀏覽代碼

海盐站点特殊订单样品表格显示调整

qymljy 2 月之前
父節點
當前提交
10b406783c
共有 1 個文件被更改,包括 2 次插入2 次删除
  1. 2 2
      src/HDrpManagement/orderManage/details/tabs/productlist.vue

+ 2 - 2
src/HDrpManagement/orderManage/details/tabs/productlist.vue

@@ -297,7 +297,7 @@ export default {
   computed: {
     checkNB () {
       let siteid = JSON.parse(sessionStorage.getItem('active_account')).siteid
-      if (siteid === 'NB' && this.data.type === '特殊订单' && this.data.typemx === '样品') {
+      if ((siteid === 'NB' || siteid === 'HY') && this.data.type === '特殊订单' && this.data.typemx === '样品') {
         return true
       } else {
         return false
@@ -697,7 +697,7 @@ export default {
     setTimeout(() => {
       /* 处理宁波站点 */
       let siteid = JSON.parse(sessionStorage.getItem('active_account')).siteid
-      if (siteid === 'NB' && this.data.type === '特殊订单' && this.data.typemx === '样品') {
+      if ((siteid === 'NB' || siteid === 'HY') && this.data.type === '特殊订单' && this.data.typemx === '样品') {
         this.tablecols = this.tool.tabelCol(this.$route.name).OrderListTable.tablecols
       } else {
         this.tablecols = this.tool.tabelCol(this.$route.name).OrderListTable.tablecols.filter(item => {