Browse Source

【bug】制造单产品放大镜带出默认仓库

zhuth 7 years ago
parent
commit
6b2fdf4384

+ 12 - 0
frontend/saas-web/app/view/core/dbfind/types/BomDbfindTrigger.js

@@ -56,6 +56,18 @@ Ext.define('saas.view.core.dbfind.types.BomDbfindTrigger', {
         text: "版本",
         width: 80,
         dataIndex: "bo_version"
+    }, {
+        text: "默认仓库id",
+        hidden: true,
+        dataIndex: "pr_whid"
+    }, {
+        text: "默认仓库编号",
+        hidden: true,
+        dataIndex: "pr_whcode"
+    }, {
+        text: "默认仓库名称",
+        hidden: true,
+        dataIndex: "pr_whname"
     }, {
         dataIndex: '',
         flex: 1

+ 9 - 0
frontend/saas-web/app/view/stock/make/FormPanelController.js

@@ -99,6 +99,15 @@ Ext.define('saas.view.stock.make.FormPanelController', {
                         }, {
                             from: 'pr_orispeccode',
                             to: 'ma_prodorispec'
+                        }, {
+                            from: 'pr_whid',
+                            to: 'ma_whid'
+                        }, {
+                            from: 'pr_whcode',
+                            to: 'ma_whcode'
+                        }, {
+                            from: 'pr_whname',
+                            to: 'ma_whname'
                         }],
                         aftertrigger: function (f, record) {
                             me.getBomData(record.data.id)