linwenxin 4 miesięcy temu
rodzic
commit
e9076e83d1

+ 2 - 2
src/views/salesPurchasing/mixins/storage_goods.js

@@ -477,7 +477,7 @@ export default {
                             保存
                           </el-button>
                         ) : null,
-                        this.isEditIndex == -1 && (this.joinCodeText != 'CODE' || this.formDialogType == 0) ? (
+                        this.isEditIndex == -1 && (this.joinCodeText != 'CODE' || this.formDialogType < 2) ? (
                           <el-button
                             type="text"
                             onClick={() => {
@@ -487,7 +487,7 @@ export default {
                             编辑
                           </el-button>
                         ) : null,
-                        this.joinCodeText != 'CODE' || this.formDialogType == 0 ? (
+                        this.joinCodeText != 'CODE' || this.formDialogType < 2 ? (
                           <el-button
                             type="text"
                             onClick={() => {