|  |  |  | @ -39,16 +39,8 @@ | 
			
		
	
		
			
				
					|  |  |  |  |                         </div> | 
			
		
	
		
			
				
					|  |  |  |  |                     </el-col> | 
			
		
	
		
			
				
					|  |  |  |  |                     <el-col :span="7"> | 
			
		
	
		
			
				
					|  |  |  |  |                         <el-form-item prop="billdate"> | 
			
		
	
		
			
				
					|  |  |  |  |                             <el-date-picker | 
			
		
	
		
			
				
					|  |  |  |  |                                 v-model="formData.billDate" | 
			
		
	
		
			
				
					|  |  |  |  |                                 type="datetime" | 
			
		
	
		
			
				
					|  |  |  |  |                                 placeholder="选择日期" | 
			
		
	
		
			
				
					|  |  |  |  |                                 style="width: 100%" | 
			
		
	
		
			
				
					|  |  |  |  |                                 :clearable="false" | 
			
		
	
		
			
				
					|  |  |  |  |                                 value-format="yyyy-MM-dd HH:mm:ss" | 
			
		
	
		
			
				
					|  |  |  |  |                             > | 
			
		
	
		
			
				
					|  |  |  |  |                             </el-date-picker> | 
			
		
	
		
			
				
					|  |  |  |  |                         <el-form-item prop="billNo"> | 
			
		
	
		
			
				
					|  |  |  |  |                             <el-input v-model="formData.billDate" auto-complete="off" :disabled="true"></el-input> | 
			
		
	
		
			
				
					|  |  |  |  |                         </el-form-item> | 
			
		
	
		
			
				
					|  |  |  |  |                     </el-col> | 
			
		
	
		
			
				
					|  |  |  |  |                 </el-row> | 
			
		
	
	
		
			
				
					|  |  |  | @ -267,7 +259,7 @@ export default { | 
			
		
	
		
			
				
					|  |  |  |  |                     } | 
			
		
	
		
			
				
					|  |  |  |  |                     if (status === '0') { | 
			
		
	
		
			
				
					|  |  |  |  |                         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'); | 
			
		
	
		
			
				
					|  |  |  |  |                             } | 
			
		
	
		
			
				
					|  |  |  |  |                         } | 
			
		
	
	
		
			
				
					|  |  |  | @ -275,6 +267,16 @@ export default { | 
			
		
	
		
			
				
					|  |  |  |  |                     if (status == "1") { | 
			
		
	
		
			
				
					|  |  |  |  |                         this.submitFunction(status); | 
			
		
	
		
			
				
					|  |  |  |  |                     } else { | 
			
		
	
		
			
				
					|  |  |  |  |                         if (this.codeArray.length < 1) { | 
			
		
	
		
			
				
					|  |  |  |  |                             this.$message.warning('未添加产品'); | 
			
		
	
		
			
				
					|  |  |  |  |                             return; | 
			
		
	
		
			
				
					|  |  |  |  |                         } | 
			
		
	
		
			
				
					|  |  |  |  |                         for (let i = 0; i < this.codeArray.length; i++) { | 
			
		
	
		
			
				
					|  |  |  |  |                             if (isBlank(this.codeArray[i].count) || this.codeArray[i].count === 0) { | 
			
		
	
		
			
				
					|  |  |  |  |                                 this.$message.error('单据数量不能为0'); | 
			
		
	
		
			
				
					|  |  |  |  |                                 return; | 
			
		
	
		
			
				
					|  |  |  |  |                             } | 
			
		
	
		
			
				
					|  |  |  |  |                         } | 
			
		
	
		
			
				
					|  |  |  |  |                         let tip = "是否确定提交订单?"; | 
			
		
	
		
			
				
					|  |  |  |  |                         this.$confirm(tip, "提示", { | 
			
		
	
		
			
				
					|  |  |  |  |                             confirmButtonText: "确定", | 
			
		
	
	
		
			
				
					|  |  |  | @ -419,6 +421,8 @@ export default { | 
			
		
	
		
			
				
					|  |  |  |  |             this.query.limit = 100; | 
			
		
	
		
			
				
					|  |  |  |  |             this.query.orderIdFk = this.idQuery.id; | 
			
		
	
		
			
				
					|  |  |  |  |             this.formData = this.idQuery.formData; | 
			
		
	
		
			
				
					|  |  |  |  |             this.formData.billNo = this.idQuery.formData.recordKey; | 
			
		
	
		
			
				
					|  |  |  |  |             this.formData.billDate = this.idQuery.formData.createTime; | 
			
		
	
		
			
				
					|  |  |  |  |             this.orderEditor = true; | 
			
		
	
		
			
				
					|  |  |  |  |             this.sValue = this.formData.corpName; | 
			
		
	
		
			
				
					|  |  |  |  |             this.getStockOrderDetailList(); | 
			
		
	
	
		
			
				
					|  |  |  | 
 |