| 
						
						
							
								
							
						
						
					 | 
					 | 
					@ -50,6 +50,7 @@
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					                style="width: 100%"
 | 
					 | 
					 | 
					 | 
					                style="width: 100%"
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					                :clearable="false"
 | 
					 | 
					 | 
					 | 
					                :clearable="false"
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					                value-format="yyyy-MM-dd HH:mm:ss"
 | 
					 | 
					 | 
					 | 
					                value-format="yyyy-MM-dd HH:mm:ss"
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					                :disabled-date="disabledArrivalDate"
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					              >
 | 
					 | 
					 | 
					 | 
					              >
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					              </el-date-picker>
 | 
					 | 
					 | 
					 | 
					              </el-date-picker>
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					            </el-form-item>
 | 
					 | 
					 | 
					 | 
					            </el-form-item>
 | 
				
			
			
		
	
	
		
		
			
				
					| 
						
							
								
							
						
						
							
								
							
						
						
					 | 
					 | 
					@ -211,6 +212,7 @@ export default {
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					        id: null,
 | 
					 | 
					 | 
					 | 
					        id: null,
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					        billNo: null,
 | 
					 | 
					 | 
					 | 
					        billNo: null,
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					        createTime: "",
 | 
					 | 
					 | 
					 | 
					        createTime: "",
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					        arrivalTime: '',
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					        remark: "",
 | 
					 | 
					 | 
					 | 
					        remark: "",
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					        billType: "CGJH",
 | 
					 | 
					 | 
					 | 
					        billType: "CGJH",
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					        deptCode: null,
 | 
					 | 
					 | 
					 | 
					        deptCode: null,
 | 
				
			
			
		
	
	
		
		
			
				
					| 
						
							
								
							
						
						
							
								
							
						
						
					 | 
					 | 
					@ -288,6 +290,9 @@ export default {
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					            if (this.formData.arrivalTime == "" || this.formData.arrivalTime == null) {
 | 
					 | 
					 | 
					 | 
					            if (this.formData.arrivalTime == "" || this.formData.arrivalTime == null) {
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					              return this.$message.error("到货时间不能为空!");
 | 
					 | 
					 | 
					 | 
					              return this.$message.error("到货时间不能为空!");
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					            }
 | 
					 | 
					 | 
					 | 
					            }
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					            if (this.formData.arrivalTime<this.formData.createTime) {
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					              return this.$message.error("到货时间不能比单据日期早!!!");
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					            }
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					            for (let i = 0; i < this.codeArray.length; i++) {
 | 
					 | 
					 | 
					 | 
					            for (let i = 0; i < this.codeArray.length; i++) {
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					              if (this.$isBlank(this.codeArray[i].count) || this.codeArray[i].count == "0") {
 | 
					 | 
					 | 
					 | 
					              if (this.$isBlank(this.codeArray[i].count) || this.codeArray[i].count == "0") {
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					                return this.$message.error('单据数量不能为0');
 | 
					 | 
					 | 
					 | 
					                return this.$message.error('单据数量不能为0');
 | 
				
			
			
		
	
	
		
		
			
				
					| 
						
						
						
							
								
							
						
					 | 
					 | 
					@ -311,6 +316,9 @@ export default {
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					        }
 | 
					 | 
					 | 
					 | 
					        }
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					      });
 | 
					 | 
					 | 
					 | 
					      });
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					    },
 | 
					 | 
					 | 
					 | 
					    },
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					    disabledArrivalDate(time) {
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					      return time.getTime() < new Date(this.formData.createTime).getTime()
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					    },
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					    submitFunction(status) {
 | 
					 | 
					 | 
					 | 
					    submitFunction(status) {
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					      let tMessage = status === '1' ? '保存' : '提交';
 | 
					 | 
					 | 
					 | 
					      let tMessage = status === '1' ? '保存' : '提交';
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					      this.loading = true;
 | 
					 | 
					 | 
					 | 
					      this.loading = true;
 | 
				
			
			
		
	
	
		
		
			
				
					| 
						
							
								
							
						
						
							
								
							
						
						
					 | 
					 | 
					@ -394,6 +402,7 @@ export default {
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					      }
 | 
					 | 
					 | 
					 | 
					      }
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					    },
 | 
					 | 
					 | 
					 | 
					    },
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					    deleteCodeArray(index, row) {
 | 
					 | 
					 | 
					 | 
					    deleteCodeArray(index, row) {
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					      this.detailLoading=true;
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					      this.$confirm("此操作将永久删除该数据, 是否继续?", "提示", {
 | 
					 | 
					 | 
					 | 
					      this.$confirm("此操作将永久删除该数据, 是否继续?", "提示", {
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					        confirmButtonText: "确定",
 | 
					 | 
					 | 
					 | 
					        confirmButtonText: "确定",
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					        cancelButtonText: "取消",
 | 
					 | 
					 | 
					 | 
					        cancelButtonText: "取消",
 | 
				
			
			
		
	
	
		
		
			
				
					| 
						
						
						
							
								
							
						
					 | 
					 | 
					@ -413,7 +422,7 @@ export default {
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					                this.detailLoading = false;
 | 
					 | 
					 | 
					 | 
					                this.detailLoading = false;
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					                if (response.code === 20000) {
 | 
					 | 
					 | 
					 | 
					                if (response.code === 20000) {
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					                  this.$message.success(response.data);
 | 
					 | 
					 | 
					 | 
					                  this.$message.success(response.data);
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					                  // this.getStockOrderDetailList();
 | 
					 | 
					 | 
					 | 
					                  this.getStockOrderDetailList();
 | 
				
			
			
				
				
			
		
	
		
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					                  this.codeArray.splice(index, 1);
 | 
					 | 
					 | 
					 | 
					                  this.codeArray.splice(index, 1);
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					                } else {
 | 
					 | 
					 | 
					 | 
					                } else {
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					                  this.$message.error(response.message);
 | 
					 | 
					 | 
					 | 
					                  this.$message.error(response.message);
 | 
				
			
			
		
	
	
		
		
			
				
					| 
						
							
								
							
						
						
						
					 | 
					 | 
					
 
 |