Bläddra i källkod

Merge branch 'master' of http://121.40.253.172:3000/pengyue/jsh_erp into master_huangjunjie

huang 4 veckor sedan
förälder
incheckning
ccdbbc436e

+ 2 - 2
jshERP-web/src/views/bill/modules/SaleOrderModal.vue

@@ -425,8 +425,8 @@ export default {
           { title: '序列号', key: 'snList', width: '12%', type: FormTypes.popupJsh, kind: 'sn', multi: true },
           { title: '序列号', key: 'snList', width: '12%', type: FormTypes.popupJsh, kind: 'sn', multi: true },
           { title: '有效期', key: 'expirationDate', width: '7%', type: FormTypes.input, readonly: true },
           { title: '有效期', key: 'expirationDate', width: '7%', type: FormTypes.input, readonly: true },
           { title: '多属性', key: 'sku', width: '9%', type: FormTypes.normal },
           { title: '多属性', key: 'sku', width: '9%', type: FormTypes.normal },
-          { title: '原数量', key: 'preNumber', width: '4%', type: FormTypes.normal },
-          { title: '已出库', key: 'finishNumber', width: '4%', type: FormTypes.normal },
+          // { title: '原数量', key: 'preNumber', width: '4%', type: FormTypes.normal },
+          // { title: '已出库', key: 'finishNumber', width: '4%', type: FormTypes.normal },
           {
           {
             title: '出库数量',
             title: '出库数量',
             key: 'operNumber',
             key: 'operNumber',

+ 5 - 4
jshERP-web/src/views/material/modules/MaterialModal.vue

@@ -540,8 +540,8 @@
               :actionButton="false"
               :actionButton="false"
             >
             >
               <template #buttonAfter>
               <template #buttonAfter>
-                <a-button style="margin: 0px 0px 8px 0px" @click="batchSetStock('initStock')">期初库存-批量</a-button>
-                <a-button style="margin-left: 8px" @click="batchSetStock('lowSafeStock')">最低安全库存-批量</a-button>
+                <!-- <a-button style="margin: 0px 0px 8px 0px" @click="batchSetStock('initStock')">期初库存-批量</a-button> -->
+                <a-button style="margin: 0px 0px 8px 0px" @click="batchSetStock('lowSafeStock')">最低安全库存-批量</a-button>
                 <a-button style="margin-left: 8px" @click="batchSetStock('highSafeStock')">最高安全库存-批量</a-button>
                 <a-button style="margin-left: 8px" @click="batchSetStock('highSafeStock')">最高安全库存-批量</a-button>
               </template>
               </template>
             </j-editable-table>
             </j-editable-table>
@@ -811,11 +811,12 @@ export default {
             type: FormTypes.normal,
             type: FormTypes.normal,
           },
           },
           {
           {
-            title: '期初库存数量',
-            key: 'initStock',
+            title: '库存数量',
+            key: 'currentStock',
             width: '15%',
             width: '15%',
             type: FormTypes.inputNumber,
             type: FormTypes.inputNumber,
             defaultValue: '',
             defaultValue: '',
+            disabled: true,
             placeholder: '请输入${title}',
             placeholder: '请输入${title}',
           },
           },
           {
           {

+ 3 - 3
jshERP-web/src/views/system/modules/RoleFunctionModal.vue

@@ -171,10 +171,10 @@ export default {
     },
     },
     setThisExpandedKeys(node) {
     setThisExpandedKeys(node) {
       if (node.checked == true) {
       if (node.checked == true) {
-        this.checkedKeys.push(Number(node.key))
+        this.checkedKeys.push(node.key)
       }
       }
       if (node.children && node.children.length > 0) {
       if (node.children && node.children.length > 0) {
-        this.iExpandedKeys.push(Number(node.key))
+        this.iExpandedKeys.push(node.key)
         for (let a = 0; a < node.children.length; a++) {
         for (let a = 0; a < node.children.length; a++) {
           this.setThisExpandedKeys(node.children[a])
           this.setThisExpandedKeys(node.children[a])
         }
         }
@@ -182,7 +182,7 @@ export default {
     },
     },
     getAllKeys(node) {
     getAllKeys(node) {
       // console.log('node',node);
       // console.log('node',node);
-      this.allTreeKeys.push(Number(node.key))
+      this.allTreeKeys.push(node.key)
       if (node.children && node.children.length > 0) {
       if (node.children && node.children.length > 0) {
         for (let a = 0; a < node.children.length; a++) {
         for (let a = 0; a < node.children.length; a++) {
           this.getAllKeys(node.children[a])
           this.getAllKeys(node.children[a])