qukaidi 4 年之前
父節點
當前提交
b5fa51cb90
共有 2 個文件被更改,包括 4 次插入4 次删除
  1. 2 2
      src/views/Warehousing/inStock/AddOrUpdate.vue
  2. 2 2
      src/views/Warehousing/outStock/AddOrUpdate.vue

+ 2 - 2
src/views/Warehousing/inStock/AddOrUpdate.vue

@@ -2624,7 +2624,7 @@
         >保 存</el-button
       >
       <el-button
-        :disabled="browseStatus"
+        :disabled="form.fBillstatus >3"
         style="background-color: #008000; color: #fff"
         @click="submitForm()"
         >请核</el-button
@@ -3792,7 +3792,7 @@ export default {
     },
     TFformdata(data) {
       this.form = data;
-      if (this.form.fBillstatus > 5) {
+      if (this.form.fBillstatus > 3) {
         this.approvalStatus = false;
         this.browseStatus = true;
       } else {

+ 2 - 2
src/views/Warehousing/outStock/AddOrUpdate.vue

@@ -2705,7 +2705,7 @@
         >保 存</el-button
       >
       <el-button
-        :disabled="browseStatus"
+        :disabled="form.fBillstatus >3"
         style="background-color: #008000; color: #fff"
         @click="submitForm()"
         >请核</el-button
@@ -4165,7 +4165,7 @@ export default {
     getForm() {
       getWarehousebills(this.chiId).then((response) => {
         this.form = response.data.warehousebills;
-        if (this.form.fBillstatus > 5) {
+        if (this.form.fBillstatus > 3) {
           this.approvalStatus = false;
           this.browseStatus = true;
         } else {