|  | @@ -151,10 +151,10 @@
 | 
											
												
													
														|  |            ></el-option>
 |  |            ></el-option>
 | 
											
												
													
														|  |          </el-select>
 |  |          </el-select>
 | 
											
												
													
														|  |        </el-form-item>
 |  |        </el-form-item>
 | 
											
												
													
														|  | -      <el-form-item label="唛头" prop="fMarks">
 |  | 
 | 
											
												
													
														|  | 
 |  | +      <el-form-item label="品牌" prop="fMarks">
 | 
											
												
													
														|  |          <el-input
 |  |          <el-input
 | 
											
												
													
														|  |            v-model="queryParams.fMarks"
 |  |            v-model="queryParams.fMarks"
 | 
											
												
													
														|  | -          placeholder="请输入唛头"
 |  | 
 | 
											
												
													
														|  | 
 |  | +          placeholder="请输入品牌"
 | 
											
												
													
														|  |            clearable
 |  |            clearable
 | 
											
												
													
														|  |            size="small"
 |  |            size="small"
 | 
											
												
													
														|  |            style="width: 80%"
 |  |            style="width: 80%"
 | 
											
										
											
												
													
														|  | @@ -249,7 +249,7 @@
 | 
											
												
													
														|  |          prop="fCorpid"
 |  |          prop="fCorpid"
 | 
											
												
													
														|  |        />
 |  |        />
 | 
											
												
													
														|  |        <el-table-column label="提单号" align="center" prop="fMblno" />
 |  |        <el-table-column label="提单号" align="center" prop="fMblno" />
 | 
											
												
													
														|  | -      <el-table-column label="唛头" align="center" prop="fMarks" />
 |  | 
 | 
											
												
													
														|  | 
 |  | +      <el-table-column label="品牌" align="center" prop="fMarks" />
 | 
											
												
													
														|  |        <el-table-column
 |  |        <el-table-column
 | 
											
												
													
														|  |          label="出库日期"
 |  |          label="出库日期"
 | 
											
												
													
														|  |          align="center"
 |  |          align="center"
 | 
											
										
											
												
													
														|  | @@ -574,12 +574,12 @@
 | 
											
												
													
														|  |              </el-form-item>
 |  |              </el-form-item>
 | 
											
												
													
														|  |            </el-col>
 |  |            </el-col>
 | 
											
												
													
														|  |            <el-col :span="8">
 |  |            <el-col :span="8">
 | 
											
												
													
														|  | -            <el-form-item label="唛头" prop="fMarks">
 |  | 
 | 
											
												
													
														|  | 
 |  | +            <el-form-item label="品牌" prop="fMarks">
 | 
											
												
													
														|  |                <el-input
 |  |                <el-input
 | 
											
												
													
														|  |                  v-model="form.fMarks"
 |  |                  v-model="form.fMarks"
 | 
											
												
													
														|  |                  style="width: 80%"
 |  |                  style="width: 80%"
 | 
											
												
													
														|  |                  :disabled="browseStatus || formBrowseStatus"
 |  |                  :disabled="browseStatus || formBrowseStatus"
 | 
											
												
													
														|  | -                placeholder="唛头"
 |  | 
 | 
											
												
													
														|  | 
 |  | +                placeholder="品牌"
 | 
											
												
													
														|  |                />
 |  |                />
 | 
											
												
													
														|  |              </el-form-item>
 |  |              </el-form-item>
 | 
											
												
													
														|  |            </el-col>
 |  |            </el-col>
 | 
											
										
											
												
													
														|  | @@ -730,32 +730,33 @@
 | 
											
												
													
														|  |              @click.prevent="addRelevant(10)"
 |  |              @click.prevent="addRelevant(10)"
 | 
											
												
													
														|  |              >新行
 |  |              >新行
 | 
											
												
													
														|  |            </el-button>
 |  |            </el-button>
 | 
											
												
													
														|  | -          <el-button
 |  | 
 | 
											
												
													
														|  | -            :disabled="dataListSelection.length <= 0"
 |  | 
 | 
											
												
													
														|  | -            @click.prevent="creditClick"
 |  | 
 | 
											
												
													
														|  | -            >出库确认
 |  | 
 | 
											
												
													
														|  | -          </el-button>
 |  | 
 | 
											
												
													
														|  | -          <el-button
 |  | 
 | 
											
												
													
														|  | -            :disabled="dataWithdrawList.length <= 0"
 |  | 
 | 
											
												
													
														|  | -            @click.prevent="withdrawClick"
 |  | 
 | 
											
												
													
														|  | -            >撤回出库</el-button
 |  | 
 | 
											
												
													
														|  | -          >
 |  | 
 | 
											
												
													
														|  |            <!-- <el-button :disabled="browseStatus" @click.prevent="deleteRow(warehouseDrList)"
 |  |            <!-- <el-button :disabled="browseStatus" @click.prevent="deleteRow(warehouseDrList)"
 | 
											
												
													
														|  |            >删除
 |  |            >删除
 | 
											
												
													
														|  |          </el-button> -->
 |  |          </el-button> -->
 | 
											
												
													
														|  | -          <el-button type="primary" @click="saveForm">保 存</el-button>
 |  | 
 | 
											
												
													
														|  | 
 |  | +          <el-button type="primary" :disabled="browseStatus" @click="saveForm">保 存</el-button>
 | 
											
												
													
														|  |          </div>
 |  |          </div>
 | 
											
												
													
														|  |          <div style="display: flex">
 |  |          <div style="display: flex">
 | 
											
												
													
														|  |            <el-button @click="detailsHidden ? (detailsHidden = false) : (detailsHidden = true)">{{ detailsHidden ? "隐藏" : "展开" }}</el-button>
 |  |            <el-button @click="detailsHidden ? (detailsHidden = false) : (detailsHidden = true)">{{ detailsHidden ? "隐藏" : "展开" }}</el-button>
 | 
											
												
													
														|  |            <el-button type="info" :disabled="printinglist.length <= 0" prop="打印" @click="printJobSheet">作业单</el-button>
 |  |            <el-button type="info" :disabled="printinglist.length <= 0" prop="打印" @click="printJobSheet">作业单</el-button>
 | 
											
												
													
														|  |            <el-button :disabled="printinglist.length <= 0" @click="discharge">装货</el-button>
 |  |            <el-button :disabled="printinglist.length <= 0" @click="discharge">装货</el-button>
 | 
											
												
													
														|  | 
 |  | +          <el-button
 | 
											
												
													
														|  | 
 |  | +            :disabled="dataListSelection.length <= 0 || browseStatus"
 | 
											
												
													
														|  | 
 |  | +            @click.prevent="creditClick"
 | 
											
												
													
														|  | 
 |  | +            >出库确认
 | 
											
												
													
														|  | 
 |  | +          </el-button>
 | 
											
												
													
														|  | 
 |  | +          <el-button
 | 
											
												
													
														|  | 
 |  | +            :disabled="dataWithdrawList.length <= 0 || browseStatus"
 | 
											
												
													
														|  | 
 |  | +            @click.prevent="withdrawClick"
 | 
											
												
													
														|  | 
 |  | +            >撤回出库</el-button
 | 
											
												
													
														|  | 
 |  | +          >
 | 
											
												
													
														|  |            <el-button type="warning" prop="打印" :disabled="printinglist.length <= 0" @click="showEditDialog_s"
 |  |            <el-button type="warning" prop="打印" :disabled="printinglist.length <= 0" @click="showEditDialog_s"
 | 
											
												
													
														|  |              >出库单
 |  |              >出库单
 | 
											
												
													
														|  |            </el-button>
 |  |            </el-button>
 | 
											
												
													
														|  | -          <el-button type="primary" @click="saveForm">保 存</el-button>
 |  | 
 | 
											
												
													
														|  | 
 |  | +          <!-- <el-button type="primary" :disabled="browseStatus" @click="saveForm">保 存</el-button> -->
 | 
											
												
													
														|  |            <el-button
 |  |            <el-button
 | 
											
												
													
														|  |              style="background-color: #008000; color: #fff"
 |  |              style="background-color: #008000; color: #fff"
 | 
											
												
													
														|  |              @click="submitForm(6)"
 |  |              @click="submitForm(6)"
 | 
											
												
													
														|  | 
 |  | +            :disabled="browseStatus"
 | 
											
												
													
														|  |              >请核</el-button
 |  |              >请核</el-button
 | 
											
												
													
														|  |            >
 |  |            >
 | 
											
												
													
														|  |          </div>
 |  |          </div>
 | 
											
										
											
												
													
														|  | @@ -804,7 +805,7 @@
 | 
											
												
													
														|  |            header-align="center"
 |  |            header-align="center"
 | 
											
												
													
														|  |            align="center"
 |  |            align="center"
 | 
											
												
													
														|  |            width="140px"
 |  |            width="140px"
 | 
											
												
													
														|  | -          label="*唛头"
 |  | 
 | 
											
												
													
														|  | 
 |  | +          label="*品牌"
 | 
											
												
													
														|  |          >
 |  |          >
 | 
											
												
													
														|  |          </el-table-column>
 |  |          </el-table-column>
 | 
											
												
													
														|  |          <el-table-column
 |  |          <el-table-column
 | 
											
										
											
												
													
														|  | @@ -1226,10 +1227,12 @@
 | 
											
												
													
														|  |            <el-button :disabled="browseStatus" @click.prevent="addCollection()"
 |  |            <el-button :disabled="browseStatus" @click.prevent="addCollection()"
 | 
											
												
													
														|  |              >新行
 |  |              >新行
 | 
											
												
													
														|  |            </el-button>
 |  |            </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="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
 |  |              >作业费协议</el-button
 | 
											
												
													
														|  |            >
 |  |            >
 | 
											
												
													
														|  |          </div>
 |  |          </div>
 | 
											
										
											
												
													
														|  | @@ -1470,11 +1473,13 @@
 | 
											
												
													
														|  |            <!-- <el-button :disabled="browseStatus" @click.prevent="deleteRow(warehouseDrList)"
 |  |            <!-- <el-button :disabled="browseStatus" @click.prevent="deleteRow(warehouseDrList)"
 | 
											
												
													
														|  |            >删除
 |  |            >删除
 | 
											
												
													
														|  |          </el-button> -->
 |  |          </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="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>
 | 
											
												
													
														|  |          <div style="font-size: 18px">付款信息</div>
 |  |          <div style="font-size: 18px">付款信息</div>
 | 
											
										
											
												
													
														|  | @@ -1702,17 +1707,18 @@
 | 
											
												
													
														|  |          <!-- <el-button type="success" prop="打印" @click="showEditDialog_ss"
 |  |          <!-- <el-button type="success" prop="打印" @click="showEditDialog_ss"
 | 
											
												
													
														|  |            >收货单
 |  |            >收货单
 | 
											
												
													
														|  |          </el-button> -->
 |  |          </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>
 | 
											
												
													
														|  | -        <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>
 | 
											
												
													
														|  | -        <el-button type="primary" @click="saveForm">保 存</el-button>
 |  | 
 | 
											
												
													
														|  | 
 |  | +        <el-button type="primary" :disabled="browseStatus" @click="saveForm">保 存</el-button>
 | 
											
												
													
														|  |          <el-button
 |  |          <el-button
 | 
											
												
													
														|  |            style="background-color: #008000; color: #fff"
 |  |            style="background-color: #008000; color: #fff"
 | 
											
												
													
														|  |            @click="submitForm"
 |  |            @click="submitForm"
 | 
											
												
													
														|  | 
 |  | +          :disabled="browseStatus"
 | 
											
												
													
														|  |            >请核</el-button
 |  |            >请核</el-button
 | 
											
												
													
														|  |          >
 |  |          >
 | 
											
												
													
														|  |          <el-button @click="cancel">取 消</el-button>
 |  |          <el-button @click="cancel">取 消</el-button>
 | 
											
										
											
												
													
														|  | @@ -1775,7 +1781,7 @@
 | 
											
												
													
														|  |              prop="fMarks"
 |  |              prop="fMarks"
 | 
											
												
													
														|  |              header-align="center"
 |  |              header-align="center"
 | 
											
												
													
														|  |              align="center"
 |  |              align="center"
 | 
											
												
													
														|  | -            label="唛头"
 |  | 
 | 
											
												
													
														|  | 
 |  | +            label="品牌"
 | 
											
												
													
														|  |            >
 |  |            >
 | 
											
												
													
														|  |            </el-table-column>
 |  |            </el-table-column>
 | 
											
												
													
														|  |          </el-table>
 |  |          </el-table>
 | 
											
										
											
												
													
														|  | @@ -1787,7 +1793,7 @@
 | 
											
												
													
														|  |            @pagination="getWhgenlegList"
 |  |            @pagination="getWhgenlegList"
 | 
											
												
													
														|  |          />
 |  |          />
 | 
											
												
													
														|  |          <div slot="footer" class="dialog-footer">
 |  |          <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>
 |  |            <el-button @click="whgenlegVisible = false">取 消</el-button>
 | 
											
												
													
														|  |          </div>
 |  |          </div>
 | 
											
												
													
														|  |        </el-dialog>
 |  |        </el-dialog>
 | 
											
										
											
												
													
														|  | @@ -3444,6 +3450,7 @@ export default {
 | 
											
												
													
														|  |                for (let li in this.dataList) {
 |  |                for (let li in this.dataList) {
 | 
											
												
													
														|  |                  if (this.dataList[li].fId === dataitem[ite].fId) {
 |  |                  if (this.dataList[li].fId === dataitem[ite].fId) {
 | 
											
												
													
														|  |                    this.$set(this.dataList[li], 'fBillstatus', dataitem[ite].fBillstatus)
 |  |                    this.$set(this.dataList[li], 'fBillstatus', dataitem[ite].fBillstatus)
 | 
											
												
													
														|  | 
 |  | +                  this.$set(this.dataList[li], 'fSerialNumber', dataitem[ite].fSerialNumber)
 | 
											
												
													
														|  |                  }
 |  |                  }
 | 
											
												
													
														|  |                }
 |  |                }
 | 
											
												
													
														|  |              }
 |  |              }
 | 
											
										
											
												
													
														|  | @@ -3617,24 +3624,6 @@ export default {
 | 
											
												
													
														|  |            this.$message.error('请新增库存明细!')
 |  |            this.$message.error('请新增库存明细!')
 | 
											
												
													
														|  |            return false
 |  |            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) {
 |  |          for (let list in this.dataList) {
 | 
											
												
													
														|  |            if (this.dataList[list].fQty === 0) {
 |  |            if (this.dataList[list].fQty === 0) {
 | 
											
												
													
														|  |              this.$message.error('请输入出库件数!')
 |  |              this.$message.error('请输入出库件数!')
 | 
											
										
											
												
													
														|  | @@ -3648,17 +3637,11 @@ export default {
 | 
											
												
													
														|  |              this.$message.error('请输入出库毛重!')
 |  |              this.$message.error('请输入出库毛重!')
 | 
											
												
													
														|  |              return false
 |  |              return false
 | 
											
												
													
														|  |            }
 |  |            }
 | 
											
												
													
														|  | -          if (this.dataList[list].fBillstatus != 40) {
 |  | 
 | 
											
												
													
														|  | 
 |  | +          if (this.dataList[list].fBillstatus !== 40) {
 | 
											
												
													
														|  |              this.$message.error('请入账库存明细!')
 |  |              this.$message.error('请入账库存明细!')
 | 
											
												
													
														|  |              return false
 |  |              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) {
 |  |          for (let list in this.warehouseDrList) {
 | 
											
												
													
														|  |            if (!this.warehouseDrList[list].fCorpid) {
 |  |            if (!this.warehouseDrList[list].fCorpid) {
 | 
											
												
													
														|  |              this.$message.error('请选择客户名称')
 |  |              this.$message.error('请选择客户名称')
 |