Kaynağa Gözat

修改库存管理bug

shenjj 7 yıl önce
ebeveyn
işleme
b165ff625c

+ 3 - 1
src/main/webapp/resources/js/vendor/controllers/forstore/vendor_materialCtrl.js

@@ -2586,7 +2586,9 @@ define(['app/app', 'jquery-uploadify'], function(app) {
         return;
       }
       if (index === 0) {
-        if (Number(prices[index].rMBPrice) > 0) {
+        if (Number(prices[index].rMBPrice) > 0 && $scope.store.enType !== 'HK') {
+          $scope.productUpOff.goods.autoPublish = true
+        } else if (Number(prices[index].uSDPrice) > 0) {
           $scope.productUpOff.goods.autoPublish = true
         }
       }