瀏覽代碼

货转查看修改

wengyuwen 4 年之前
父節點
當前提交
80668f8064
共有 1 個文件被更改,包括 10 次插入2 次删除
  1. 10 2
      src/views/warehouseBusiness/goodsTransfer/index.vue

+ 10 - 2
src/views/warehouseBusiness/goodsTransfer/index.vue

@@ -850,7 +850,7 @@
         >
           <template slot-scope="scope">
             <el-button
-              :disabled="browseStatus || scope.row.fBillstatus === 6"
+              :disabled="browseStatus"
               @click.native.prevent="deleteRow(scope.$index, dataList)"
               size="small"
             >移除
@@ -1220,10 +1220,11 @@
           width="150px"
         >
           <template slot-scope="scope">
-            <el-button size="small">审核费用</el-button>
+            <el-button size="small" :disabled="browseStatus">审核费用</el-button>
             <el-button
               @click.native.prevent="deleteRow(scope.$index, warehouseDrList)"
               size="small"
+              :disabled="browseStatus"
             >移除
             </el-button
             >
@@ -2349,13 +2350,20 @@
               this.formBrowseStatus = true
             }
             this.$set(this.dataList[list], 'fBsdate', Date.parse(this.dataList[list].fBsdate))
+            this.$set(this.dataList[list], 'fBusinessType', this.dataList[list].fBusinessType + '')
           }
           this.goodsOptions = response.data.goodsList
           if (response.data.warehousebillsfeesDr) {
             this.warehouseDrList = response.data.warehousebillsfeesDr
+            for (let dr in this.warehouseDrList) {
+              this.$set(this.warehouseDrList[dr], "fFeeunitid", this.warehouseDrList[dr].fFeeunitid + '');
+            }
           }
           if (response.data.warehousebillsfeesCr) {
             this.warehouseCrList = response.data.warehousebillsfeesCr
+            for (let cr in this.warehouseCrList) {
+              this.$set(this.warehouseCrList[cr], "fFeeunitid", this.warehouseCrList[cr].fFeeunitid + "");
+            }
           }
           if (response.data.enclosures) {
             this.relevantAttachments = response.data.enclosures;