|  | @@ -344,7 +344,6 @@
 | 
	
		
			
				|  |  |      />
 | 
	
		
			
				|  |  |      <!-- 新增或修改仓库主(出入库)对话框 -->
 | 
	
		
			
				|  |  |      <el-dialog
 | 
	
		
			
				|  |  | -      :title="title"
 | 
	
		
			
				|  |  |        :visible.sync="open"
 | 
	
		
			
				|  |  |        :close-on-click-modal="false"
 | 
	
		
			
				|  |  |        width="80%"
 | 
	
	
		
			
				|  | @@ -747,10 +746,11 @@
 | 
	
		
			
				|  |  |          </div>
 | 
	
		
			
				|  |  |        </el-form>
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  | -      <div class="dialogTableTitle flex a-center jlr">
 | 
	
		
			
				|  |  | -        <h3>库存明细</h3>
 | 
	
		
			
				|  |  | -        <el-button :disabled="browseStatus" @click.prevent="addRelevant()"
 | 
	
		
			
				|  |  | -          >新增
 | 
	
		
			
				|  |  | +      <div style="display:flex;justify-content:space-between;align-items:center;margin: 10px 0;">
 | 
	
		
			
				|  |  | +        
 | 
	
		
			
				|  |  | +        <div>
 | 
	
		
			
				|  |  | +          <el-button type="primary" :disabled="browseStatus" @click.prevent="addRelevant()"
 | 
	
		
			
				|  |  | +          >新行
 | 
	
		
			
				|  |  |          </el-button>
 | 
	
		
			
				|  |  |          <el-button
 | 
	
		
			
				|  |  |            :disabled="dataListSelection.length <= 0"
 | 
	
	
		
			
				|  | @@ -761,8 +761,9 @@
 | 
	
		
			
				|  |  |            >删除
 | 
	
		
			
				|  |  |          </el-button> -->
 | 
	
		
			
				|  |  |          <el-button type="primary" @click="submitForm(2)">保 存</el-button>
 | 
	
		
			
				|  |  | -         <!--点击展开-->
 | 
	
		
			
				|  |  | -        <el-button style="margin-left:19%;"
 | 
	
		
			
				|  |  | +        </div>
 | 
	
		
			
				|  |  | +        <div style="display:flex">
 | 
	
		
			
				|  |  | +           <el-button
 | 
	
		
			
				|  |  |            @click="
 | 
	
		
			
				|  |  |              detailsHidden ? (detailsHidden = false) : (detailsHidden = true)
 | 
	
		
			
				|  |  |            "
 | 
	
	
		
			
				|  | @@ -778,7 +779,11 @@
 | 
	
		
			
				|  |  |          <el-button type="info" prop="打印" @click="showEditDialog_sss"
 | 
	
		
			
				|  |  |            >作业单
 | 
	
		
			
				|  |  |          </el-button>
 | 
	
		
			
				|  |  | -        <el-button type="primary" @click="submitForm(6)">请核</el-button>
 | 
	
		
			
				|  |  | +        <el-button style="background-color: #008000;color:#fff" @click="submitForm(6)">请核</el-button>
 | 
	
		
			
				|  |  | +        </div>
 | 
	
		
			
				|  |  | +        <div style="font-size:18px">出库明细</div>
 | 
	
		
			
				|  |  | +         <!--点击展开-->
 | 
	
		
			
				|  |  | +       
 | 
	
		
			
				|  |  |        </div>
 | 
	
		
			
				|  |  |        <el-table
 | 
	
		
			
				|  |  |          :data="dataList"
 | 
	
	
		
			
				|  | @@ -1083,11 +1088,13 @@
 | 
	
		
			
				|  |  |            </template>
 | 
	
		
			
				|  |  |          </el-table-column>
 | 
	
		
			
				|  |  |        </el-table>
 | 
	
		
			
				|  |  | -      <div class="dialogTableTitle flex a-center jlr">
 | 
	
		
			
				|  |  | -        <h3>附件上传</h3>
 | 
	
		
			
				|  |  | -        <el-button :disabled="browseStatus" @click.prevent="addRelevt()"
 | 
	
		
			
				|  |  | -          >新增
 | 
	
		
			
				|  |  | +      <div class="dialogTableTitle flex a-center jlr" style="display:flex;justify-content:space-between;align-items:center;margin: 10px 0;">
 | 
	
		
			
				|  |  | +        <div>
 | 
	
		
			
				|  |  | +           <el-button :disabled="browseStatus" @click.prevent="addRelevt()"
 | 
	
		
			
				|  |  | +          >新行
 | 
	
		
			
				|  |  |          </el-button>
 | 
	
		
			
				|  |  | +        </div>
 | 
	
		
			
				|  |  | +       <div style="font-size:18px">附件明细</div>
 | 
	
		
			
				|  |  |        </div>
 | 
	
		
			
				|  |  |        <el-table
 | 
	
		
			
				|  |  |          :data="relevantAttachments"
 | 
	
	
		
			
				|  | @@ -1127,7 +1134,7 @@
 | 
	
		
			
				|  |  |              <el-input
 | 
	
		
			
				|  |  |                v-model="scope.row.createBy"
 | 
	
		
			
				|  |  |                :disabled="browseStatus"
 | 
	
		
			
				|  |  | -              placeholder="上传人"
 | 
	
		
			
				|  |  | +              placeholder="默认登陆人"
 | 
	
		
			
				|  |  |                show-word-limit
 | 
	
		
			
				|  |  |              />
 | 
	
		
			
				|  |  |            </template>
 | 
	
	
		
			
				|  | @@ -1177,10 +1184,10 @@
 | 
	
		
			
				|  |  |            </template>
 | 
	
		
			
				|  |  |          </el-table-column>
 | 
	
		
			
				|  |  |        </el-table>
 | 
	
		
			
				|  |  | -      <div class="dialogTableTitle flex a-center jlr">
 | 
	
		
			
				|  |  | -        <h3>收款信息</h3>
 | 
	
		
			
				|  |  | +      <div class="dialogTableTitle flex a-center jlr" style="display:flex;justify-content:space-between;align-items:center;margin: 10px 0;">
 | 
	
		
			
				|  |  | +        <div>
 | 
	
		
			
				|  |  |          <el-button :disabled="browseStatus" @click.prevent="addCollection()"
 | 
	
		
			
				|  |  | -          >新增
 | 
	
		
			
				|  |  | +          >新行
 | 
	
		
			
				|  |  |          </el-button>
 | 
	
		
			
				|  |  |          <!-- <el-button :disabled="browseStatus" @click.prevent="deleteRow(warehouseDrList)"
 | 
	
		
			
				|  |  |            >删除
 | 
	
	
		
			
				|  | @@ -1188,6 +1195,8 @@
 | 
	
		
			
				|  |  |          <el-button type="primary" @click="submitForm(2)">保 存</el-button>
 | 
	
		
			
				|  |  |          <el-button type="warning">仓储费协议</el-button>
 | 
	
		
			
				|  |  |          <el-button type="danger">作业费协议</el-button>
 | 
	
		
			
				|  |  | +        </div>
 | 
	
		
			
				|  |  | +        <div style="font-size:18px;">收款信息</div>
 | 
	
		
			
				|  |  |        </div>
 | 
	
		
			
				|  |  |        <el-table
 | 
	
		
			
				|  |  |          :data="warehouseDrList"
 | 
	
	
		
			
				|  | @@ -1253,18 +1262,13 @@
 | 
	
		
			
				|  |  |            </template>
 | 
	
		
			
				|  |  |          </el-table-column>
 | 
	
		
			
				|  |  |          <el-table-column
 | 
	
		
			
				|  |  | -          prop="ffeeUnitid"
 | 
	
		
			
				|  |  | +          prop="fFeeUnitid"
 | 
	
		
			
				|  |  |            header-align="center"
 | 
	
		
			
				|  |  |            align="center"
 | 
	
		
			
				|  |  |            width="180px"
 | 
	
		
			
				|  |  |            label="计价单位"
 | 
	
		
			
				|  |  |          >
 | 
	
		
			
				|  |  |            <template slot-scope="scope">
 | 
	
		
			
				|  |  | -            <!-- <el-input
 | 
	
		
			
				|  |  | -              v-model="scope.row.fFeeUnitid"
 | 
	
		
			
				|  |  | -              placeholder="计价单位"
 | 
	
		
			
				|  |  | -              show-word-limit
 | 
	
		
			
				|  |  | -            /> -->
 | 
	
		
			
				|  |  |              <el-select
 | 
	
		
			
				|  |  |                v-model="scope.row.fFeeUnitid"
 | 
	
		
			
				|  |  |                placeholder="请选择计费单位"
 | 
	
	
		
			
				|  | @@ -1414,10 +1418,11 @@
 | 
	
		
			
				|  |  |            </template>
 | 
	
		
			
				|  |  |          </el-table-column>
 | 
	
		
			
				|  |  |        </el-table>
 | 
	
		
			
				|  |  | -      <div class="dialogTableTitle flex a-center jlr">
 | 
	
		
			
				|  |  | -        <h3>付款信息</h3>
 | 
	
		
			
				|  |  | -        <el-button :disabled="browseStatus" @click.prevent="addpayment()"
 | 
	
		
			
				|  |  | -          >新增
 | 
	
		
			
				|  |  | +      <div class="dialogTableTitle flex a-center jlr" style="display:flex;justify-content:space-between;align-items:center;margin: 10px 0;">
 | 
	
		
			
				|  |  | +       
 | 
	
		
			
				|  |  | +       <div> 
 | 
	
		
			
				|  |  | +         <el-button :disabled="browseStatus" @click.prevent="addpayment()"
 | 
	
		
			
				|  |  | +          >新行
 | 
	
		
			
				|  |  |          </el-button>
 | 
	
		
			
				|  |  |          <!-- <el-button :disabled="browseStatus" @click.prevent="deleteRow(warehouseDrList)"
 | 
	
		
			
				|  |  |            >删除
 | 
	
	
		
			
				|  | @@ -1425,6 +1430,9 @@
 | 
	
		
			
				|  |  |          <el-button type="primary" @click="submitForm(2)">保 存</el-button>
 | 
	
		
			
				|  |  |          <el-button type="warning">仓储费协议</el-button>
 | 
	
		
			
				|  |  |          <el-button type="danger">作业费协议</el-button>
 | 
	
		
			
				|  |  | +         </div> 
 | 
	
		
			
				|  |  | +         <div style="font-size:18px">付款信息</div>
 | 
	
		
			
				|  |  | +       
 | 
	
		
			
				|  |  |        </div>
 | 
	
		
			
				|  |  |        <el-table
 | 
	
		
			
				|  |  |          :data="warehouseCrList"
 | 
	
	
		
			
				|  | @@ -1657,7 +1665,7 @@
 | 
	
		
			
				|  |  |            >作业单
 | 
	
		
			
				|  |  |          </el-button>
 | 
	
		
			
				|  |  |          <el-button type="primary" @click="submitForm(2)">保 存</el-button>
 | 
	
		
			
				|  |  | -        <el-button type="primary" @click="submitForm(6)">提交审核</el-button>
 | 
	
		
			
				|  |  | +        <el-button style="background-color: #008000;color:#fff" @click="submitForm(6)">请核</el-button>
 | 
	
		
			
				|  |  |          <el-button @click="cancel">取 消</el-button>
 | 
	
		
			
				|  |  |        </div>
 | 
	
		
			
				|  |  |        <!-- 选择库存总账数据 -->
 | 
	
	
		
			
				|  | @@ -2404,7 +2412,7 @@ export default {
 | 
	
		
			
				|  |  |            var D = (date.getDate() < 10 ? '0' + date.getDate() : date.getDate()) + ' '
 | 
	
		
			
				|  |  |            this.$set(this.Printinglist[aorp], 'fBsdate', Y + M + D)
 | 
	
		
			
				|  |  |       }
 | 
	
		
			
				|  |  | -          
 | 
	
		
			
				|  |  | +
 | 
	
		
			
				|  |  |        this.editDialogVisible_s = true;
 | 
	
		
			
				|  |  |        console.log(this.fMblnoOptions)
 | 
	
		
			
				|  |  |        console.log(this.form.fCorpid)
 | 
	
	
		
			
				|  | @@ -2413,7 +2421,7 @@ export default {
 | 
	
		
			
				|  |  |                  this.$set(this.form, "fCorpid", this.fMblnoOptions[corp].fName);
 | 
	
		
			
				|  |  |                }
 | 
	
		
			
				|  |  |              }
 | 
	
		
			
				|  |  | -            
 | 
	
		
			
				|  |  | +
 | 
	
		
			
				|  |  |              for(let sorp in this.warehouseOptions){
 | 
	
		
			
				|  |  |                console.log(this.form.fWarehouseid)
 | 
	
		
			
				|  |  |                if(this.form.fWarehouseid === this.warehouseOptions[sorp].fId) {
 | 
	
	
		
			
				|  | @@ -2893,7 +2901,16 @@ export default {
 | 
	
		
			
				|  |  |            formData.append("warehousebillsitems", JSON.stringify(this.dataListSelection));
 | 
	
		
			
				|  |  |            formData.append("whgenleg", JSON.stringify(this.relevantAttachments));
 | 
	
		
			
				|  |  |            addWhgenleg(formData).then((response) => {
 | 
	
		
			
				|  |  | -            this.fid = response.data;
 | 
	
		
			
				|  |  | +            this.fid = response.data.fPid;
 | 
	
		
			
				|  |  | +            // 仓储费得出的明细
 | 
	
		
			
				|  |  | +            this.fWbuOptions = response.data.fees;
 | 
	
		
			
				|  |  | +            let warehousebillsfees = response.data.warehousebillsfees;
 | 
	
		
			
				|  |  | +            for (let fees in warehousebillsfees) {
 | 
	
		
			
				|  |  | +              this.$set(warehousebillsfees[fees], 'fFeeid', warehousebillsfees[fees].fFeeid + '')
 | 
	
		
			
				|  |  | +              this.$set(warehousebillsfees[fees], 'fCorpid', warehousebillsfees[fees].fCorpid + '')
 | 
	
		
			
				|  |  | +              this.$set(warehousebillsfees[fees], 'fFeeUnitid', warehousebillsfees[fees].fFeeUnitid + '')
 | 
	
		
			
				|  |  | +              this.warehouseDrList.push(warehousebillsfees[fees])
 | 
	
		
			
				|  |  | +            }
 | 
	
		
			
				|  |  |              this.msgSuccess("出库成功");
 | 
	
		
			
				|  |  |              this.formBrowseStatus = true
 | 
	
		
			
				|  |  |              for (let li in this.dataListSelection) {
 | 
	
	
		
			
				|  | @@ -2952,7 +2969,7 @@ export default {
 | 
	
		
			
				|  |  |            var M = (date.getMonth() + 1 < 10 ? '0' + (date.getMonth() + 1) : date.getMonth() + 1) + '-'
 | 
	
		
			
				|  |  |            var D = (date.getDate() < 10 ? '0' + date.getDate() : date.getDate()) + ' '
 | 
	
		
			
				|  |  |            this.fBsdate = Y + M + D;
 | 
	
		
			
				|  |  | -         
 | 
	
		
			
				|  |  | +
 | 
	
		
			
				|  |  |        }
 | 
	
		
			
				|  |  |      },
 | 
	
		
			
				|  |  |      // 计价单位选择
 |