|  | @@ -731,19 +731,19 @@
 | 
	
		
			
				|  |  |              >新行
 | 
	
		
			
				|  |  |            </el-button>
 | 
	
		
			
				|  |  |            <el-button
 | 
	
		
			
				|  |  | -            :disabled="dataListSelection.length <= 0"
 | 
	
		
			
				|  |  | +            :disabled="dataListSelection.length <= 0 || browseStatus"
 | 
	
		
			
				|  |  |              @click.prevent="creditClick"
 | 
	
		
			
				|  |  |              >出库确认
 | 
	
		
			
				|  |  |            </el-button>
 | 
	
		
			
				|  |  |            <el-button
 | 
	
		
			
				|  |  | -            :disabled="dataWithdrawList.length <= 0"
 | 
	
		
			
				|  |  | +            :disabled="dataWithdrawList.length <= 0 || browseStatus"
 | 
	
		
			
				|  |  |              @click.prevent="withdrawClick"
 | 
	
		
			
				|  |  |              >撤回出库</el-button
 | 
	
		
			
				|  |  |            >
 | 
	
		
			
				|  |  |            <!-- <el-button :disabled="browseStatus" @click.prevent="deleteRow(warehouseDrList)"
 | 
	
		
			
				|  |  |            >删除
 | 
	
		
			
				|  |  |          </el-button> -->
 | 
	
		
			
				|  |  | -          <el-button type="primary" @click="saveForm">保 存</el-button>
 | 
	
		
			
				|  |  | +          <el-button type="primary" :disabled="browseStatus" @click="saveForm">保 存</el-button>
 | 
	
		
			
				|  |  |          </div>
 | 
	
		
			
				|  |  |          <div style="display: flex">
 | 
	
		
			
				|  |  |            <el-button @click="detailsHidden ? (detailsHidden = false) : (detailsHidden = true)">{{ detailsHidden ? "隐藏" : "展开" }}</el-button>
 | 
	
	
		
			
				|  | @@ -752,10 +752,11 @@
 | 
	
		
			
				|  |  |            <el-button type="warning" prop="打印" :disabled="printinglist.length <= 0" @click="showEditDialog_s"
 | 
	
		
			
				|  |  |              >出库单
 | 
	
		
			
				|  |  |            </el-button>
 | 
	
		
			
				|  |  | -          <el-button type="primary" @click="saveForm">保 存</el-button>
 | 
	
		
			
				|  |  | +          <el-button type="primary" :disabled="browseStatus" @click="saveForm">保 存</el-button>
 | 
	
		
			
				|  |  |            <el-button
 | 
	
		
			
				|  |  |              style="background-color: #008000; color: #fff"
 | 
	
		
			
				|  |  |              @click="submitForm(6)"
 | 
	
		
			
				|  |  | +            :disabled="browseStatus"
 | 
	
		
			
				|  |  |              >请核</el-button
 | 
	
		
			
				|  |  |            >
 | 
	
		
			
				|  |  |          </div>
 | 
	
	
		
			
				|  | @@ -1226,10 +1227,12 @@
 | 
	
		
			
				|  |  |            <el-button :disabled="browseStatus" @click.prevent="addCollection()"
 | 
	
		
			
				|  |  |              >新行
 | 
	
		
			
				|  |  |            </el-button>
 | 
	
		
			
				|  |  | -          <el-button type="primary" @click="saveForm">保 存</el-button>
 | 
	
		
			
				|  |  | +          <el-button type="primary" :disabled="browseStatus" @click="saveForm">保 存</el-button>
 | 
	
		
			
				|  |  |            <!--暂时隐藏-->
 | 
	
		
			
				|  |  |  <!--          <el-button type="warning" @click.prevent="addStorages('Dr')">仓储费协议</el-button >-->
 | 
	
		
			
				|  |  | -          <el-button type="danger" @click.prevent="addAgreement('Dr')"
 | 
	
		
			
				|  |  | +          <el-button type="danger"
 | 
	
		
			
				|  |  | +                     :disabled="browseStatus"
 | 
	
		
			
				|  |  | +                     @click.prevent="addAgreement('Dr')"
 | 
	
		
			
				|  |  |              >作业费协议</el-button
 | 
	
		
			
				|  |  |            >
 | 
	
		
			
				|  |  |          </div>
 | 
	
	
		
			
				|  | @@ -1470,11 +1473,13 @@
 | 
	
		
			
				|  |  |            <!-- <el-button :disabled="browseStatus" @click.prevent="deleteRow(warehouseDrList)"
 | 
	
		
			
				|  |  |            >删除
 | 
	
		
			
				|  |  |          </el-button> -->
 | 
	
		
			
				|  |  | -          <el-button type="primary" @click="saveForm">保 存</el-button>
 | 
	
		
			
				|  |  | +          <el-button type="primary" :disabled="browseStatus" @click="saveForm">保 存</el-button>
 | 
	
		
			
				|  |  |            <!--暂时隐藏-->
 | 
	
		
			
				|  |  |  <!--          <el-button type="warning" @click.prevent="addStorages('Cr')">仓储费协议</el-button>-->
 | 
	
		
			
				|  |  | -          <el-button type="danger" @click.prevent="addAgreement('Cr')"
 | 
	
		
			
				|  |  | -            >作业费协议</el-button
 | 
	
		
			
				|  |  | +          <el-button type="danger"
 | 
	
		
			
				|  |  | +                     :disabled="browseStatus"
 | 
	
		
			
				|  |  | +                     @click.prevent="addAgreement('Cr')"
 | 
	
		
			
				|  |  | +          >作业费协议</el-button
 | 
	
		
			
				|  |  |            >
 | 
	
		
			
				|  |  |          </div>
 | 
	
		
			
				|  |  |          <div style="font-size: 18px">付款信息</div>
 | 
	
	
		
			
				|  | @@ -1702,17 +1707,18 @@
 | 
	
		
			
				|  |  |          <!-- <el-button type="success" prop="打印" @click="showEditDialog_ss"
 | 
	
		
			
				|  |  |            >收货单
 | 
	
		
			
				|  |  |          </el-button> -->
 | 
	
		
			
				|  |  | -        <el-button type="warning" prop="打印" :disabled="printinglist.length <= 0" @click="showEditDialog_s"
 | 
	
		
			
				|  |  | +        <el-button type="warning" prop="打印" :disabled="printinglist.length <= 0 || browseStatus" @click="showEditDialog_s"
 | 
	
		
			
				|  |  |            >出库单
 | 
	
		
			
				|  |  |          </el-button>
 | 
	
		
			
				|  |  | -        <el-button :disabled="printinglist.length <= 0" @click="discharge">装货</el-button>
 | 
	
		
			
				|  |  | -        <el-button type="info" prop="打印" :disabled="printinglist.length <= 0" @click="printJobSheet"
 | 
	
		
			
				|  |  | +        <el-button :disabled="printinglist.length <= 0 || browseStatus" @click="discharge">装货</el-button>
 | 
	
		
			
				|  |  | +        <el-button type="info" prop="打印" :disabled="printinglist.length <= 0 || browseStatus" @click="printJobSheet"
 | 
	
		
			
				|  |  |            >作业单
 | 
	
		
			
				|  |  |          </el-button>
 | 
	
		
			
				|  |  | -        <el-button type="primary" @click="saveForm">保 存</el-button>
 | 
	
		
			
				|  |  | +        <el-button type="primary" :disabled="browseStatus" @click="saveForm">保 存</el-button>
 | 
	
		
			
				|  |  |          <el-button
 | 
	
		
			
				|  |  |            style="background-color: #008000; color: #fff"
 | 
	
		
			
				|  |  |            @click="submitForm"
 | 
	
		
			
				|  |  | +          :disabled="browseStatus"
 | 
	
		
			
				|  |  |            >请核</el-button
 | 
	
		
			
				|  |  |          >
 | 
	
		
			
				|  |  |          <el-button @click="cancel">取 消</el-button>
 | 
	
	
		
			
				|  | @@ -1787,7 +1793,7 @@
 | 
	
		
			
				|  |  |            @pagination="getWhgenlegList"
 | 
	
		
			
				|  |  |          />
 | 
	
		
			
				|  |  |          <div slot="footer" class="dialog-footer">
 | 
	
		
			
				|  |  | -          <el-button type="primary" @click="whgenlegData">导入</el-button>
 | 
	
		
			
				|  |  | +          <el-button type="primary" @click="whgenlegData">导入库存总账</el-button>
 | 
	
		
			
				|  |  |            <el-button @click="whgenlegVisible = false">取 消</el-button>
 | 
	
		
			
				|  |  |          </div>
 | 
	
		
			
				|  |  |        </el-dialog>
 | 
	
	
		
			
				|  | @@ -3617,24 +3623,6 @@ export default {
 | 
	
		
			
				|  |  |            this.$message.error('请新增库存明细!')
 | 
	
		
			
				|  |  |            return false
 | 
	
		
			
				|  |  |          }
 | 
	
		
			
				|  |  | -        // if (this.relevantAttachments.length === 0) {
 | 
	
		
			
				|  |  | -        //   this.$message.error("请新增附件上传!");
 | 
	
		
			
				|  |  | -        //   return false;
 | 
	
		
			
				|  |  | -        // }
 | 
	
		
			
				|  |  | -        if (this.warehouseDrList.length === 0) {
 | 
	
		
			
				|  |  | -          this.$message.error('请新增收款信息!')
 | 
	
		
			
				|  |  | -          return false
 | 
	
		
			
				|  |  | -        }
 | 
	
		
			
				|  |  | -        if (this.warehouseCrList.length === 0) {
 | 
	
		
			
				|  |  | -          this.$message.error('请新增付款信息!')
 | 
	
		
			
				|  |  | -          return false
 | 
	
		
			
				|  |  | -        }
 | 
	
		
			
				|  |  | -        for (let list in this.dataList) {
 | 
	
		
			
				|  |  | -          if (!this.dataList[list].fWarehouselocid) {
 | 
	
		
			
				|  |  | -            this.$message.error('请输入库区!')
 | 
	
		
			
				|  |  | -            return false
 | 
	
		
			
				|  |  | -          }
 | 
	
		
			
				|  |  | -        }
 | 
	
		
			
				|  |  |          for (let list in this.dataList) {
 | 
	
		
			
				|  |  |            if (this.dataList[list].fQty === 0) {
 | 
	
		
			
				|  |  |              this.$message.error('请输入出库件数!')
 | 
	
	
		
			
				|  | @@ -3648,17 +3636,11 @@ export default {
 | 
	
		
			
				|  |  |              this.$message.error('请输入出库毛重!')
 | 
	
		
			
				|  |  |              return false
 | 
	
		
			
				|  |  |            }
 | 
	
		
			
				|  |  | -          if (this.dataList[list].fBillstatus != 40) {
 | 
	
		
			
				|  |  | +          if (this.dataList[list].fBillstatus !== 40) {
 | 
	
		
			
				|  |  |              this.$message.error('请入账库存明细!')
 | 
	
		
			
				|  |  |              return false
 | 
	
		
			
				|  |  |            }
 | 
	
		
			
				|  |  |          }
 | 
	
		
			
				|  |  | -        // for (let list in this.relevantAttachments) {
 | 
	
		
			
				|  |  | -        //   if (this.relevantAttachments[list].fName === null) {
 | 
	
		
			
				|  |  | -        //     this.$message.error("请输入附件名称!");
 | 
	
		
			
				|  |  | -        //     return false;
 | 
	
		
			
				|  |  | -        //   }
 | 
	
		
			
				|  |  | -        // }
 | 
	
		
			
				|  |  |          for (let list in this.warehouseDrList) {
 | 
	
		
			
				|  |  |            if (!this.warehouseDrList[list].fCorpid) {
 | 
	
		
			
				|  |  |              this.$message.error('请选择客户名称')
 |