|  | @@ -168,10 +168,10 @@
 | 
	
		
			
				|  |  |            icon="el-icon-search"
 | 
	
		
			
				|  |  |            size="mini"
 | 
	
		
			
				|  |  |            @click="handleQuery"
 | 
	
		
			
				|  |  | -          >搜索
 | 
	
		
			
				|  |  | +        >搜索
 | 
	
		
			
				|  |  |          </el-button>
 | 
	
		
			
				|  |  |          <el-button icon="el-icon-refresh" size="mini" @click="resetQuery"
 | 
	
		
			
				|  |  | -          >重置
 | 
	
		
			
				|  |  | +        >重置
 | 
	
		
			
				|  |  |          </el-button>
 | 
	
		
			
				|  |  |        </el-form-item>
 | 
	
		
			
				|  |  |      </el-form>
 | 
	
	
		
			
				|  | @@ -184,7 +184,7 @@
 | 
	
		
			
				|  |  |            size="mini"
 | 
	
		
			
				|  |  |            @click="handleAdd(false)"
 | 
	
		
			
				|  |  |            v-hasPermi="['warehouseBusiness:warehousebills:add']"
 | 
	
		
			
				|  |  | -          >新增
 | 
	
		
			
				|  |  | +        >新增
 | 
	
		
			
				|  |  |          </el-button>
 | 
	
		
			
				|  |  |        </el-col>
 | 
	
		
			
				|  |  |        <el-col :span="1.5">
 | 
	
	
		
			
				|  | @@ -195,7 +195,7 @@
 | 
	
		
			
				|  |  |            :disabled="single"
 | 
	
		
			
				|  |  |            @click="handleUpdate"
 | 
	
		
			
				|  |  |            v-hasPermi="['warehouseBusiness:warehousebills:edit']"
 | 
	
		
			
				|  |  | -          >修改
 | 
	
		
			
				|  |  | +        >修改
 | 
	
		
			
				|  |  |          </el-button>
 | 
	
		
			
				|  |  |        </el-col>
 | 
	
		
			
				|  |  |        <!-- <el-col :span="1.5">
 | 
	
	
		
			
				|  | @@ -216,7 +216,7 @@
 | 
	
		
			
				|  |  |            size="mini"
 | 
	
		
			
				|  |  |            @click="handleExport"
 | 
	
		
			
				|  |  |            v-hasPermi="['warehouseBusiness:warehousebills:export']"
 | 
	
		
			
				|  |  | -          >导出
 | 
	
		
			
				|  |  | +        >导出
 | 
	
		
			
				|  |  |          </el-button>
 | 
	
		
			
				|  |  |        </el-col>
 | 
	
		
			
				|  |  |        <el-col :span="1.5">
 | 
	
	
		
			
				|  | @@ -227,7 +227,7 @@
 | 
	
		
			
				|  |  |            @click="handleExport"
 | 
	
		
			
				|  |  |            :disabled="multiple"
 | 
	
		
			
				|  |  |            v-hasPermi="['warehouseBusiness:warehousebills:export']"
 | 
	
		
			
				|  |  | -          >导入
 | 
	
		
			
				|  |  | +        >导入
 | 
	
		
			
				|  |  |          </el-button>
 | 
	
		
			
				|  |  |        </el-col>
 | 
	
		
			
				|  |  |        <right-toolbar
 | 
	
	
		
			
				|  | @@ -257,9 +257,9 @@
 | 
	
		
			
				|  |  |          align="center"
 | 
	
		
			
				|  |  |          prop="fBsdate"
 | 
	
		
			
				|  |  |          width="180"
 | 
	
		
			
				|  |  | -        ><template slot-scope="scope">
 | 
	
		
			
				|  |  | -          <span>{{ parseTime(scope.row.fBsdate, "{y}-{m}-{d}") }}</span>
 | 
	
		
			
				|  |  | -        </template>
 | 
	
		
			
				|  |  | +      ><template slot-scope="scope">
 | 
	
		
			
				|  |  | +        <span>{{ parseTime(scope.row.fBsdate, "{y}-{m}-{d}") }}</span>
 | 
	
		
			
				|  |  | +      </template>
 | 
	
		
			
				|  |  |        </el-table-column>
 | 
	
		
			
				|  |  |        <!-- <el-table-column
 | 
	
		
			
				|  |  |          label="贸易方式"
 | 
	
	
		
			
				|  | @@ -315,7 +315,7 @@
 | 
	
		
			
				|  |  |              icon="el-icon-edit"
 | 
	
		
			
				|  |  |              @click="handleUpdate(scope.row, true)"
 | 
	
		
			
				|  |  |              v-hasPermi="['warehouseBusiness:warehousebills:edit']"
 | 
	
		
			
				|  |  | -            >查看
 | 
	
		
			
				|  |  | +          >查看
 | 
	
		
			
				|  |  |            </el-button>
 | 
	
		
			
				|  |  |            <el-button
 | 
	
		
			
				|  |  |              size="mini"
 | 
	
	
		
			
				|  | @@ -328,7 +328,7 @@
 | 
	
		
			
				|  |  |              "
 | 
	
		
			
				|  |  |              @click="handleUpdate(scope.row, false)"
 | 
	
		
			
				|  |  |              v-hasPermi="['warehouseBusiness:warehousebills:edit']"
 | 
	
		
			
				|  |  | -            >修改
 | 
	
		
			
				|  |  | +          >修改
 | 
	
		
			
				|  |  |            </el-button>
 | 
	
		
			
				|  |  |            <el-button
 | 
	
		
			
				|  |  |              size="mini"
 | 
	
	
		
			
				|  | @@ -337,7 +337,7 @@
 | 
	
		
			
				|  |  |              v-if="scope.row.fBillstatus !== 6 && scope.row.fItemsStatus === 1"
 | 
	
		
			
				|  |  |              @click="handleDelete(scope.row)"
 | 
	
		
			
				|  |  |              v-hasPermi="['warehouseBusiness:warehousebills:remove']"
 | 
	
		
			
				|  |  | -            >删除
 | 
	
		
			
				|  |  | +          >删除
 | 
	
		
			
				|  |  |            </el-button>
 | 
	
		
			
				|  |  |          </template>
 | 
	
		
			
				|  |  |        </el-table-column>
 | 
	
	
		
			
				|  | @@ -549,7 +549,7 @@
 | 
	
		
			
				|  |  |                  style="width: 100%"
 | 
	
		
			
				|  |  |                  v-model="form.remark"
 | 
	
		
			
				|  |  |                  type="textarea"
 | 
	
		
			
				|  |  | -                :disabled="browseStatus || formBrowseStatus"
 | 
	
		
			
				|  |  | +                :disabled="browseStatus"
 | 
	
		
			
				|  |  |                  placeholder="请输入内容"
 | 
	
		
			
				|  |  |                />
 | 
	
		
			
				|  |  |              </el-form-item>
 | 
	
	
		
			
				|  | @@ -797,13 +797,13 @@
 | 
	
		
			
				|  |  |              type="primary"
 | 
	
		
			
				|  |  |              :disabled="browseStatus"
 | 
	
		
			
				|  |  |              @click.prevent="addRelevant(10)"
 | 
	
		
			
				|  |  | -            >新行
 | 
	
		
			
				|  |  | +          >新行
 | 
	
		
			
				|  |  |            </el-button>
 | 
	
		
			
				|  |  |            <el-button
 | 
	
		
			
				|  |  |              :disabled="browseStatus"
 | 
	
		
			
				|  |  |              type="primary"
 | 
	
		
			
				|  |  |              @click="submitForm(2)"
 | 
	
		
			
				|  |  | -            >保 存</el-button
 | 
	
		
			
				|  |  | +          >保 存</el-button
 | 
	
		
			
				|  |  |            >
 | 
	
		
			
				|  |  |          </div>
 | 
	
		
			
				|  |  |          <div>
 | 
	
	
		
			
				|  | @@ -811,27 +811,27 @@
 | 
	
		
			
				|  |  |              @click="
 | 
	
		
			
				|  |  |                detailsHidden ? (detailsHidden = false) : (detailsHidden = true)
 | 
	
		
			
				|  |  |              "
 | 
	
		
			
				|  |  | -            >{{ detailsHidden ? "隐藏" : "展开" }}</el-button
 | 
	
		
			
				|  |  | +          >{{ detailsHidden ? "隐藏" : "展开" }}</el-button
 | 
	
		
			
				|  |  |            >
 | 
	
		
			
				|  |  |            <el-button type="info" prop="打印" @click="showEditDialog_sss"
 | 
	
		
			
				|  |  | -            >作业单
 | 
	
		
			
				|  |  | +          >作业单
 | 
	
		
			
				|  |  |            </el-button>
 | 
	
		
			
				|  |  |            <el-button @click="discharge">卸货 </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
 | 
	
		
			
				|  |  |            >
 | 
	
		
			
				|  |  |            <el-button type="success" prop="打印" @click="showEditDialog_ss"
 | 
	
		
			
				|  |  | -            >收货单
 | 
	
		
			
				|  |  | +          >收货单
 | 
	
		
			
				|  |  |            </el-button>
 | 
	
		
			
				|  |  |            <el-button type="warning" prop="打印" @click="showEditDialog_s"
 | 
	
		
			
				|  |  | -            >入库单
 | 
	
		
			
				|  |  | +          >入库单
 | 
	
		
			
				|  |  |            </el-button>
 | 
	
		
			
				|  |  |            <!--
 | 
	
		
			
				|  |  |            <el-button
 | 
	
	
		
			
				|  | @@ -844,15 +844,16 @@
 | 
	
		
			
				|  |  |              :disabled="browseStatus"
 | 
	
		
			
				|  |  |              style="background-color: #008000; color: #fff"
 | 
	
		
			
				|  |  |              @click="submitForm(6)"
 | 
	
		
			
				|  |  | -            >请核</el-button
 | 
	
		
			
				|  |  | +          >请核</el-button
 | 
	
		
			
				|  |  |            >
 | 
	
		
			
				|  |  |          </div>
 | 
	
		
			
				|  |  |          <div style="font-size: 18px">入库明细</div>
 | 
	
		
			
				|  |  |        </div>
 | 
	
		
			
				|  |  |        <el-table
 | 
	
		
			
				|  |  |          :data="dataList"
 | 
	
		
			
				|  |  | -        ref="tableList"
 | 
	
		
			
				|  |  |          tooltip-effect="dark"
 | 
	
		
			
				|  |  | +        :rules="checkout"
 | 
	
		
			
				|  |  | +        ref="checkout"
 | 
	
		
			
				|  |  |          border
 | 
	
		
			
				|  |  |          stripe
 | 
	
		
			
				|  |  |          :summary-method="getSummaries"
 | 
	
	
		
			
				|  | @@ -1264,10 +1265,7 @@
 | 
	
		
			
				|  |  |                v-model="scope.row.remark"
 | 
	
		
			
				|  |  |                placeholder="备注"
 | 
	
		
			
				|  |  |                :disabled="
 | 
	
		
			
				|  |  | -                browseStatus ||
 | 
	
		
			
				|  |  | -                scope.row.fBillstatus === 20 ||
 | 
	
		
			
				|  |  | -                scope.row.fBillstatus === 30 ||
 | 
	
		
			
				|  |  | -                scope.row.fBillstatus === 40
 | 
	
		
			
				|  |  | +                browseStatus
 | 
	
		
			
				|  |  |                "
 | 
	
		
			
				|  |  |                show-word-limit
 | 
	
		
			
				|  |  |              />
 | 
	
	
		
			
				|  | @@ -1312,7 +1310,7 @@
 | 
	
		
			
				|  |  |                "
 | 
	
		
			
				|  |  |                @click.native.prevent="wDeleteRow(scope.$index, dataList)"
 | 
	
		
			
				|  |  |                size="small"
 | 
	
		
			
				|  |  | -              >移除</el-button
 | 
	
		
			
				|  |  | +            >移除</el-button
 | 
	
		
			
				|  |  |              >
 | 
	
		
			
				|  |  |            </template>
 | 
	
		
			
				|  |  |          </el-table-column>
 | 
	
	
		
			
				|  | @@ -1331,7 +1329,7 @@
 | 
	
		
			
				|  |  |              type="primary"
 | 
	
		
			
				|  |  |              :disabled="browseStatus"
 | 
	
		
			
				|  |  |              @click.prevent="addRelevt()"
 | 
	
		
			
				|  |  | -            >新行
 | 
	
		
			
				|  |  | +          >新行
 | 
	
		
			
				|  |  |            </el-button>
 | 
	
		
			
				|  |  |          </div>
 | 
	
		
			
				|  |  |          <div style="font-size: 18px">附件明细</div>
 | 
	
	
		
			
				|  | @@ -1424,7 +1422,7 @@
 | 
	
		
			
				|  |  |                "
 | 
	
		
			
				|  |  |                :disabled="browseStatus"
 | 
	
		
			
				|  |  |                size="small"
 | 
	
		
			
				|  |  | -              >移除
 | 
	
		
			
				|  |  | +            >移除
 | 
	
		
			
				|  |  |              </el-button>
 | 
	
		
			
				|  |  |            </template>
 | 
	
		
			
				|  |  |          </el-table-column>
 | 
	
	
		
			
				|  | @@ -1443,7 +1441,7 @@
 | 
	
		
			
				|  |  |              type="primary"
 | 
	
		
			
				|  |  |              :disabled="browseStatus"
 | 
	
		
			
				|  |  |              @click.prevent="addCollection()"
 | 
	
		
			
				|  |  | -            >新行
 | 
	
		
			
				|  |  | +          >新行
 | 
	
		
			
				|  |  |            </el-button>
 | 
	
		
			
				|  |  |            <!-- <el-button :disabled="browseStatus" @click.prevent="deleteRow(warehouseDrList)"
 | 
	
		
			
				|  |  |            >删除
 | 
	
	
		
			
				|  | @@ -1451,7 +1449,7 @@
 | 
	
		
			
				|  |  |            <el-button type="primary" @click="submitForm(2)">保 存</el-button>
 | 
	
		
			
				|  |  |            <!-- <el-button @click.prevent="addAgreement()" type="warning">仓储费协议</el-button> -->
 | 
	
		
			
				|  |  |            <el-button @click.prevent="addAgreement()" type="danger"
 | 
	
		
			
				|  |  | -            >作业费协议</el-button
 | 
	
		
			
				|  |  | +          >作业费协议</el-button
 | 
	
		
			
				|  |  |            >
 | 
	
		
			
				|  |  |          </div>
 | 
	
		
			
				|  |  |          <div style="font-size: 18px">收款信息</div>
 | 
	
	
		
			
				|  | @@ -1671,7 +1669,7 @@
 | 
	
		
			
				|  |  |              <el-button
 | 
	
		
			
				|  |  |                @click.native.prevent="deleteRow(scope.$index, warehouseDrList)"
 | 
	
		
			
				|  |  |                size="small"
 | 
	
		
			
				|  |  | -              >移除</el-button
 | 
	
		
			
				|  |  | +            >移除</el-button
 | 
	
		
			
				|  |  |              >
 | 
	
		
			
				|  |  |            </template>
 | 
	
		
			
				|  |  |          </el-table-column>
 | 
	
	
		
			
				|  | @@ -1690,7 +1688,7 @@
 | 
	
		
			
				|  |  |              type="primary"
 | 
	
		
			
				|  |  |              :disabled="browseStatus"
 | 
	
		
			
				|  |  |              @click.prevent="addpayment()"
 | 
	
		
			
				|  |  | -            >新行
 | 
	
		
			
				|  |  | +          >新行
 | 
	
		
			
				|  |  |            </el-button>
 | 
	
		
			
				|  |  |            <!-- <el-button :disabled="browseStatus" @click.prevent="deleteRow(warehouseCrList)"
 | 
	
		
			
				|  |  |            >删除
 | 
	
	
		
			
				|  | @@ -1698,7 +1696,7 @@
 | 
	
		
			
				|  |  |            <el-button type="primary" @click="submitForm(2)">保 存</el-button>
 | 
	
		
			
				|  |  |            <!-- <el-button type="warning">仓储费协议</el-button> -->
 | 
	
		
			
				|  |  |            <el-button type="danger" @click.prevent="addAgreements()"
 | 
	
		
			
				|  |  | -            >作业费协议</el-button
 | 
	
		
			
				|  |  | +          >作业费协议</el-button
 | 
	
		
			
				|  |  |            >
 | 
	
		
			
				|  |  |          </div>
 | 
	
		
			
				|  |  |          <div style="font-size: 18px">付款信息</div>
 | 
	
	
		
			
				|  | @@ -1920,7 +1918,7 @@
 | 
	
		
			
				|  |  |              <el-button
 | 
	
		
			
				|  |  |                @click.native.prevent="deleteRoww(scope.$index, warehouseCrList)"
 | 
	
		
			
				|  |  |                size="small"
 | 
	
		
			
				|  |  | -              >移除</el-button
 | 
	
		
			
				|  |  | +            >移除</el-button
 | 
	
		
			
				|  |  |              >
 | 
	
		
			
				|  |  |            </template>
 | 
	
		
			
				|  |  |          </el-table-column>
 | 
	
	
		
			
				|  | @@ -1930,13 +1928,13 @@
 | 
	
		
			
				|  |  |            type="primary"
 | 
	
		
			
				|  |  |            :disabled="approvalStatus"
 | 
	
		
			
				|  |  |            @click="addOrUpdateHandle(form)"
 | 
	
		
			
				|  |  | -          >查看审批</el-button
 | 
	
		
			
				|  |  | +        >查看审批</el-button
 | 
	
		
			
				|  |  |          >
 | 
	
		
			
				|  |  |          <el-button
 | 
	
		
			
				|  |  |            type="primary"
 | 
	
		
			
				|  |  |            :disabled="approvalStatus"
 | 
	
		
			
				|  |  |            @click="addOrUpdateHand(form)"
 | 
	
		
			
				|  |  | -          >审批弹窗</el-button
 | 
	
		
			
				|  |  | +        >审批弹窗</el-button
 | 
	
		
			
				|  |  |          >
 | 
	
		
			
				|  |  |          <!-- 弹窗, 新增 / 修改 -->
 | 
	
		
			
				|  |  |          <add-or-update
 | 
	
	
		
			
				|  | @@ -1950,26 +1948,26 @@
 | 
	
		
			
				|  |  |            @refreshDataList="returnData"
 | 
	
		
			
				|  |  |          ></approval-comments>
 | 
	
		
			
				|  |  |          <el-button type="success" prop="打印" @click="showEditDialog_ss"
 | 
	
		
			
				|  |  | -          >收货单
 | 
	
		
			
				|  |  | +        >收货单
 | 
	
		
			
				|  |  |          </el-button>
 | 
	
		
			
				|  |  |          <el-button type="warning" prop="打印" @click="showEditDialog_s"
 | 
	
		
			
				|  |  | -          >入库单
 | 
	
		
			
				|  |  | +        >入库单
 | 
	
		
			
				|  |  |          </el-button>
 | 
	
		
			
				|  |  |          <el-button @click="discharge">卸货 </el-button>
 | 
	
		
			
				|  |  |          <el-button type="info" prop="打印" @click="showEditDialog_sss"
 | 
	
		
			
				|  |  | -          >作业单
 | 
	
		
			
				|  |  | +        >作业单
 | 
	
		
			
				|  |  |          </el-button>
 | 
	
		
			
				|  |  |          <el-button
 | 
	
		
			
				|  |  |            :disabled="browseStatus"
 | 
	
		
			
				|  |  |            type="primary"
 | 
	
		
			
				|  |  |            @click="submitForm(2)"
 | 
	
		
			
				|  |  | -          >保 存</el-button
 | 
	
		
			
				|  |  | +        >保 存</el-button
 | 
	
		
			
				|  |  |          >
 | 
	
		
			
				|  |  |          <el-button
 | 
	
		
			
				|  |  |            :disabled="browseStatus"
 | 
	
		
			
				|  |  |            style="background-color: #008000; color: #fff"
 | 
	
		
			
				|  |  |            @click="submitForm(6)"
 | 
	
		
			
				|  |  | -          >请核</el-button
 | 
	
		
			
				|  |  | +        >请核</el-button
 | 
	
		
			
				|  |  |          >
 | 
	
		
			
				|  |  |          <el-button @click="cancel">取 消</el-button>
 | 
	
		
			
				|  |  |        </div>
 | 
	
	
		
			
				|  | @@ -2115,7 +2113,7 @@
 | 
	
		
			
				|  |  |          />
 | 
	
		
			
				|  |  |          <div slot="footer" class="dialog-footer">
 | 
	
		
			
				|  |  |            <el-button type="primary" @click="whgenlegData"
 | 
	
		
			
				|  |  | -            >导入作业费协议</el-button
 | 
	
		
			
				|  |  | +          >导入作业费协议</el-button
 | 
	
		
			
				|  |  |            >
 | 
	
		
			
				|  |  |            <el-button @click="warehousingagreement = false">取 消</el-button>
 | 
	
		
			
				|  |  |          </div>
 | 
	
	
		
			
				|  | @@ -2519,7 +2517,7 @@
 | 
	
		
			
				|  |  |              type="primary"
 | 
	
		
			
				|  |  |              :disabled="browseStatus"
 | 
	
		
			
				|  |  |              @click="printSomething2"
 | 
	
		
			
				|  |  | -            >打印
 | 
	
		
			
				|  |  | +          >打印
 | 
	
		
			
				|  |  |            </el-button>
 | 
	
		
			
				|  |  |            <el-button @click="editDialogVisible_sss = false">取消 </el-button>
 | 
	
		
			
				|  |  |          </div>
 | 
	
	
		
			
				|  | @@ -2607,6 +2605,42 @@ export default {
 | 
	
		
			
				|  |  |          nickName: null,
 | 
	
		
			
				|  |  |          deptId: null,
 | 
	
		
			
				|  |  |        },
 | 
	
		
			
				|  |  | +      //表单校验
 | 
	
		
			
				|  |  | +      checkout: {
 | 
	
		
			
				|  |  | +        fGoodsid:[
 | 
	
		
			
				|  |  | +          { required: true, message: ' ', trigger: 'blur' }
 | 
	
		
			
				|  |  | +        ],
 | 
	
		
			
				|  |  | +        fMarks: [
 | 
	
		
			
				|  |  | +          { required: true, message: ' ', trigger: 'blur' }
 | 
	
		
			
				|  |  | +        ],
 | 
	
		
			
				|  |  | +        fWarehouselocid:[
 | 
	
		
			
				|  |  | +          { required: true, message: ' ', trigger: 'blur'}
 | 
	
		
			
				|  |  | +        ],
 | 
	
		
			
				|  |  | +        fGrossweight:[
 | 
	
		
			
				|  |  | +          { required: true, message: ' ', trigger: 'blur'}
 | 
	
		
			
				|  |  | +        ],
 | 
	
		
			
				|  |  | +        fNetweight:[
 | 
	
		
			
				|  |  | +          { required: true, message: ' ', trigger: 'blur'}
 | 
	
		
			
				|  |  | +        ],
 | 
	
		
			
				|  |  | +        fQty:[
 | 
	
		
			
				|  |  | +          { required: true, message: ' ', trigger: 'blur'}
 | 
	
		
			
				|  |  | +        ],
 | 
	
		
			
				|  |  | +        fPackagespecs:[
 | 
	
		
			
				|  |  | +          { required: true, message: ' ', trigger: 'blur'}
 | 
	
		
			
				|  |  | +        ],
 | 
	
		
			
				|  |  | +        fTruckno:[
 | 
	
		
			
				|  |  | +          { required: true, message: ' ', trigger: 'blur'}
 | 
	
		
			
				|  |  | +        ],
 | 
	
		
			
				|  |  | +        fDriverName:[
 | 
	
		
			
				|  |  | +          { required: true, message: ' ', trigger: 'blur'}
 | 
	
		
			
				|  |  | +        ],
 | 
	
		
			
				|  |  | +        fDriverTel:[
 | 
	
		
			
				|  |  | +          { required: true, message: ' ', trigger: 'blur'}
 | 
	
		
			
				|  |  | +        ],
 | 
	
		
			
				|  |  | +        fDriverIdCar:[
 | 
	
		
			
				|  |  | +          { required: true, message: ' ', trigger: 'blur'}
 | 
	
		
			
				|  |  | +        ]
 | 
	
		
			
				|  |  | +      },
 | 
	
		
			
				|  |  |        queryForm: {},
 | 
	
		
			
				|  |  |        // 新增用户对话框
 | 
	
		
			
				|  |  |        editDialogVisible_s: false,
 | 
	
	
		
			
				|  | @@ -3030,104 +3064,104 @@ export default {
 | 
	
		
			
				|  |  |        }
 | 
	
		
			
				|  |  |      },
 | 
	
		
			
				|  |  |      showEditDialog_sss() {
 | 
	
		
			
				|  |  | -      if (this.Printinglist.length > 0) {
 | 
	
		
			
				|  |  | -        for (let li in this.Printinglist) {
 | 
	
		
			
				|  |  | -          if (!this.Printinglist[li].fId) {
 | 
	
		
			
				|  |  | -            this.$message.error("请先保存!");
 | 
	
		
			
				|  |  | -            return false;
 | 
	
		
			
				|  |  | -          }
 | 
	
		
			
				|  |  | -          if (this.dataListSelection.length > 0) {
 | 
	
		
			
				|  |  | -            console.log(this.dataListSelection)
 | 
	
		
			
				|  |  | -            this.fTruckno = this.dataListSelection[0].fTruckno;
 | 
	
		
			
				|  |  | -            this.fCntrtype = this.dataListSelection[0].fCntrtype;
 | 
	
		
			
				|  |  | -            this.fGoodsids = this.dataListSelection[0].fGoodsids;
 | 
	
		
			
				|  |  | -            this.fDriverTel = this.dataListSelection[0].fDriverTel;
 | 
	
		
			
				|  |  | -            this.fPackagespecs = this.dataListSelection[0].fPackagespecs;
 | 
	
		
			
				|  |  | -            var date = new Date(this.dataListSelection[0].fBsdate);
 | 
	
		
			
				|  |  | -            var Y = date.getFullYear() + "-";
 | 
	
		
			
				|  |  | -            var M =
 | 
	
		
			
				|  |  | -              (date.getMonth() + 1 < 10
 | 
	
		
			
				|  |  | -                ? "0" + (date.getMonth() + 1)
 | 
	
		
			
				|  |  | -                : date.getMonth() + 1) + "-";
 | 
	
		
			
				|  |  | -            var D =
 | 
	
		
			
				|  |  | -              (date.getDate() < 10 ? "0" + date.getDate() : date.getDate()) +
 | 
	
		
			
				|  |  | -              " ";
 | 
	
		
			
				|  |  | -            this.fBsdates = Y + M + D;
 | 
	
		
			
				|  |  | -          }
 | 
	
		
			
				|  |  | -          for (let list in this.goodsOptions) {
 | 
	
		
			
				|  |  | -            if (
 | 
	
		
			
				|  |  | -              this.Printinglist[li].fGoodsid === this.goodsOptions[list].fId
 | 
	
		
			
				|  |  | -            ) {
 | 
	
		
			
				|  |  | -              this.$set(
 | 
	
		
			
				|  |  | -                this.Printinglist[li],
 | 
	
		
			
				|  |  | -                "fGoodsids",
 | 
	
		
			
				|  |  | -                this.goodsOptions[list].fName
 | 
	
		
			
				|  |  | -              );
 | 
	
		
			
				|  |  | -            }
 | 
	
		
			
				|  |  | -          }
 | 
	
		
			
				|  |  | -        }
 | 
	
		
			
				|  |  | -        if (this.Printinglist.length > 0) {
 | 
	
		
			
				|  |  | -          for (let warehouseCr in this.Printinglist) {
 | 
	
		
			
				|  |  | -            if (
 | 
	
		
			
				|  |  | -              this.Printinglist[warehouseCr].fTruckno !=
 | 
	
		
			
				|  |  | -              this.Printinglist[0].fTruckno
 | 
	
		
			
				|  |  | -            ) {
 | 
	
		
			
				|  |  | -              this.$message.error("请选择车相同车号");
 | 
	
		
			
				|  |  | -              return false;
 | 
	
		
			
				|  |  | -            }
 | 
	
		
			
				|  |  | -            if (
 | 
	
		
			
				|  |  | -              this.Printinglist[warehouseCr].fDriverName !=
 | 
	
		
			
				|  |  | -              this.Printinglist[0].fDriverName
 | 
	
		
			
				|  |  | -            ) {
 | 
	
		
			
				|  |  | -              this.$message.error("请选择相同司机名");
 | 
	
		
			
				|  |  | -              return false;
 | 
	
		
			
				|  |  | -            }
 | 
	
		
			
				|  |  | -            if (!this.Printinglist[warehouseCr].fGoodsid) {
 | 
	
		
			
				|  |  | -              this.$message.error("请选择品名");
 | 
	
		
			
				|  |  | -              return false;
 | 
	
		
			
				|  |  | -            }
 | 
	
		
			
				|  |  | -            if (!this.Printinglist[warehouseCr].fWarehouselocid) {
 | 
	
		
			
				|  |  | -              this.$message.error("请选择库区");
 | 
	
		
			
				|  |  | -              return false;
 | 
	
		
			
				|  |  | -            }
 | 
	
		
			
				|  |  | -            if (!this.Printinglist[warehouseCr].fGrossweight) {
 | 
	
		
			
				|  |  | -              this.$message.error("请选择入库毛重");
 | 
	
		
			
				|  |  | -              return false;
 | 
	
		
			
				|  |  | -            }
 | 
	
		
			
				|  |  | -            if (!this.Printinglist[warehouseCr].fNetweight) {
 | 
	
		
			
				|  |  | -              this.$message.error("请选择入库净重");
 | 
	
		
			
				|  |  | -              return false;
 | 
	
		
			
				|  |  | -            }
 | 
	
		
			
				|  |  | -            if (!this.Printinglist[warehouseCr].fPackagespecs) {
 | 
	
		
			
				|  |  | -              this.$message.error("请输入包装规格");
 | 
	
		
			
				|  |  | -              return false;
 | 
	
		
			
				|  |  | -            }
 | 
	
		
			
				|  |  | -            if (!this.Printinglist[warehouseCr].fMarks) {
 | 
	
		
			
				|  |  | -              this.$message.error("请输入品牌");
 | 
	
		
			
				|  |  | -              return false;
 | 
	
		
			
				|  |  | -            }
 | 
	
		
			
				|  |  | -            if (!this.Printinglist[warehouseCr].fQty) {
 | 
	
		
			
				|  |  | -              this.$message.error("请选择入库件数");
 | 
	
		
			
				|  |  | -              return false;
 | 
	
		
			
				|  |  | -            }
 | 
	
		
			
				|  |  | -            if (!this.Printinglist[warehouseCr].fDriverName) {
 | 
	
		
			
				|  |  | -              this.$message.error("请输入司机姓名");
 | 
	
		
			
				|  |  | -              return false;
 | 
	
		
			
				|  |  | -            }
 | 
	
		
			
				|  |  | -            if (!this.Printinglist[warehouseCr].fDriverTel) {
 | 
	
		
			
				|  |  | -              this.$message.error("请输入司机电话");
 | 
	
		
			
				|  |  | -              return false;
 | 
	
		
			
				|  |  | +          if (this.Printinglist.length > 0) {
 | 
	
		
			
				|  |  | +            for (let li in this.Printinglist) {
 | 
	
		
			
				|  |  | +              if (!this.Printinglist[li].fId) {
 | 
	
		
			
				|  |  | +                this.$message.error("请先保存!");
 | 
	
		
			
				|  |  | +                return false;
 | 
	
		
			
				|  |  | +              }
 | 
	
		
			
				|  |  | +              if (this.dataListSelection.length > 0) {
 | 
	
		
			
				|  |  | +                console.log(this.dataListSelection)
 | 
	
		
			
				|  |  | +                this.fTruckno = this.dataListSelection[0].fTruckno;
 | 
	
		
			
				|  |  | +                this.fCntrtype = this.dataListSelection[0].fCntrtype;
 | 
	
		
			
				|  |  | +                this.fGoodsids = this.dataListSelection[0].fGoodsids;
 | 
	
		
			
				|  |  | +                this.fDriverTel = this.dataListSelection[0].fDriverTel;
 | 
	
		
			
				|  |  | +                this.fPackagespecs = this.dataListSelection[0].fPackagespecs;
 | 
	
		
			
				|  |  | +                var date = new Date(this.dataListSelection[0].fBsdate);
 | 
	
		
			
				|  |  | +                var Y = date.getFullYear() + "-";
 | 
	
		
			
				|  |  | +                var M =
 | 
	
		
			
				|  |  | +                  (date.getMonth() + 1 < 10
 | 
	
		
			
				|  |  | +                    ? "0" + (date.getMonth() + 1)
 | 
	
		
			
				|  |  | +                    : date.getMonth() + 1) + "-";
 | 
	
		
			
				|  |  | +                var D =
 | 
	
		
			
				|  |  | +                  (date.getDate() < 10 ? "0" + date.getDate() : date.getDate()) +
 | 
	
		
			
				|  |  | +                  " ";
 | 
	
		
			
				|  |  | +                this.fBsdates = Y + M + D;
 | 
	
		
			
				|  |  | +              }
 | 
	
		
			
				|  |  | +              for (let list in this.goodsOptions) {
 | 
	
		
			
				|  |  | +                if (
 | 
	
		
			
				|  |  | +                  this.Printinglist[li].fGoodsid === this.goodsOptions[list].fId
 | 
	
		
			
				|  |  | +                ) {
 | 
	
		
			
				|  |  | +                  this.$set(
 | 
	
		
			
				|  |  | +                    this.Printinglist[li],
 | 
	
		
			
				|  |  | +                    "fGoodsids",
 | 
	
		
			
				|  |  | +                    this.goodsOptions[list].fName
 | 
	
		
			
				|  |  | +                  );
 | 
	
		
			
				|  |  | +                }
 | 
	
		
			
				|  |  | +              }
 | 
	
		
			
				|  |  |              }
 | 
	
		
			
				|  |  | -            if (!this.Printinglist[warehouseCr].fTruckno) {
 | 
	
		
			
				|  |  | -              this.$message.error("请输入车号");
 | 
	
		
			
				|  |  | -              return false;
 | 
	
		
			
				|  |  | +            if (this.Printinglist.length > 0) {
 | 
	
		
			
				|  |  | +              for (let warehouseCr in this.Printinglist) {
 | 
	
		
			
				|  |  | +                if (
 | 
	
		
			
				|  |  | +                  this.Printinglist[warehouseCr].fTruckno !=
 | 
	
		
			
				|  |  | +                  this.Printinglist[0].fTruckno
 | 
	
		
			
				|  |  | +                ) {
 | 
	
		
			
				|  |  | +                  this.$message.error("请选择车相同车号");
 | 
	
		
			
				|  |  | +                  return false;
 | 
	
		
			
				|  |  | +                }
 | 
	
		
			
				|  |  | +                if (
 | 
	
		
			
				|  |  | +                  this.Printinglist[warehouseCr].fDriverName !=
 | 
	
		
			
				|  |  | +                  this.Printinglist[0].fDriverName
 | 
	
		
			
				|  |  | +                ) {
 | 
	
		
			
				|  |  | +                  this.$message.error("请选择相同司机名");
 | 
	
		
			
				|  |  | +                  return false;
 | 
	
		
			
				|  |  | +                }
 | 
	
		
			
				|  |  | +                if (!this.Printinglist[warehouseCr].fGoodsid) {
 | 
	
		
			
				|  |  | +                  this.$message.error("请选择品名");
 | 
	
		
			
				|  |  | +                  return false;
 | 
	
		
			
				|  |  | +                }
 | 
	
		
			
				|  |  | +                if (!this.Printinglist[warehouseCr].fWarehouselocid) {
 | 
	
		
			
				|  |  | +                  this.$message.error("请选择库区");
 | 
	
		
			
				|  |  | +                  return false;
 | 
	
		
			
				|  |  | +                }
 | 
	
		
			
				|  |  | +                if (!this.Printinglist[warehouseCr].fGrossweight) {
 | 
	
		
			
				|  |  | +                  this.$message.error("请选择入库毛重");
 | 
	
		
			
				|  |  | +                  return false;
 | 
	
		
			
				|  |  | +                }
 | 
	
		
			
				|  |  | +                if (!this.Printinglist[warehouseCr].fNetweight) {
 | 
	
		
			
				|  |  | +                  this.$message.error("请选择入库净重");
 | 
	
		
			
				|  |  | +                  return false;
 | 
	
		
			
				|  |  | +                }
 | 
	
		
			
				|  |  | +                if (!this.Printinglist[warehouseCr].fPackagespecs) {
 | 
	
		
			
				|  |  | +                  this.$message.error("请输入包装规格");
 | 
	
		
			
				|  |  | +                  return false;
 | 
	
		
			
				|  |  | +                }
 | 
	
		
			
				|  |  | +                if (!this.Printinglist[warehouseCr].fMarks) {
 | 
	
		
			
				|  |  | +                  this.$message.error("请输入品牌");
 | 
	
		
			
				|  |  | +                  return false;
 | 
	
		
			
				|  |  | +                }
 | 
	
		
			
				|  |  | +                if (!this.Printinglist[warehouseCr].fQty) {
 | 
	
		
			
				|  |  | +                  this.$message.error("请选择入库件数");
 | 
	
		
			
				|  |  | +                  return false;
 | 
	
		
			
				|  |  | +                }
 | 
	
		
			
				|  |  | +                if (!this.Printinglist[warehouseCr].fDriverName) {
 | 
	
		
			
				|  |  | +                  this.$message.error("请输入司机姓名");
 | 
	
		
			
				|  |  | +                  return false;
 | 
	
		
			
				|  |  | +                }
 | 
	
		
			
				|  |  | +                if (!this.Printinglist[warehouseCr].fDriverTel) {
 | 
	
		
			
				|  |  | +                  this.$message.error("请输入司机电话");
 | 
	
		
			
				|  |  | +                  return false;
 | 
	
		
			
				|  |  | +                }
 | 
	
		
			
				|  |  | +                if (!this.Printinglist[warehouseCr].fTruckno) {
 | 
	
		
			
				|  |  | +                  this.$message.error("请输入车号");
 | 
	
		
			
				|  |  | +                  return false;
 | 
	
		
			
				|  |  | +                }
 | 
	
		
			
				|  |  | +              }
 | 
	
		
			
				|  |  | +              this.editDialogVisible_sss = true;
 | 
	
		
			
				|  |  |              }
 | 
	
		
			
				|  |  | +          } else {
 | 
	
		
			
				|  |  | +            this.$message.error("请选择需要打印的明细!");
 | 
	
		
			
				|  |  |            }
 | 
	
		
			
				|  |  | -          this.editDialogVisible_sss = true;
 | 
	
		
			
				|  |  | -        }
 | 
	
		
			
				|  |  | -      } else {
 | 
	
		
			
				|  |  | -        this.$message.error("请选择需要打印的明细!");
 | 
	
		
			
				|  |  | -      }
 | 
	
		
			
				|  |  |      },
 | 
	
		
			
				|  |  |      // 收款信息
 | 
	
		
			
				|  |  |      addCollection() {
 |