فهرست منبع

出库移除修改

wengyuwen 4 سال پیش
والد
کامیت
a90afb6183
1فایلهای تغییر یافته به همراه7 افزوده شده و 3 حذف شده
  1. 7 3
      src/views/warehouseBusiness/outStock/index.vue

+ 7 - 3
src/views/warehouseBusiness/outStock/index.vue

@@ -1561,6 +1561,7 @@
             <el-button
               @click.native.prevent="deleteRow(scope.$index, warehouseDrList)"
               size="small"
+              :disabled="browseStatus"
             >移除</el-button
             >
           </template>
@@ -1859,6 +1860,7 @@
             <el-button
               @click.native.prevent="deleteRow(scope.$index, warehouseCrList)"
               size="small"
+              :disabled="browseStatus"
             >移除</el-button
             >
           </template>
@@ -2751,7 +2753,7 @@ export default {
         this.approval = JSON.parse(this.approval)
         this.approVal = true
         this.browseStatus = status;
-
+        // this.contrOl = true
         this.detailsHidden = false;
         this.formBrowseStatus = false;
         this.dataList = [];
@@ -2920,7 +2922,7 @@ export default {
       this.costStatus = status
       if (!this.form.fCorpid) {
         this.$message({ message: "请维护货权方", type: "warning", });
-      }else if(!this.dataList[0].fGoodsid) {
+      }else if(this.form.fProductName == undefined) {
         this.$message({
           message: "请维护入库明细品名",
           type: "warning",
@@ -3193,7 +3195,7 @@ export default {
         });
       }
       this.whgenlegVisible = false;
-      this.contrOl = true
+      // this.contrOl = true
     },
     // 收货单打印界面
     showEditDialog_s() {
@@ -3541,6 +3543,7 @@ export default {
       this.title = "出库单";
       this.formBrowseStatus = false;
       this.form.fFeetunit = "2"
+      this.contrOl = false
     },
     /** 修改按钮操作 */
     handleUpdate(row, status) {
@@ -3866,6 +3869,7 @@ export default {
             this.msgSuccess("出库成功");
             this.$refs.tableList.clearSelection();
             this.formBrowseStatus = true;
+            this.contrOl = true
             for (let li in listSelection) {
               for (let i in this.dataList) {
                 if (listSelection[li].fId === this.dataList[i].fId) {