| 
					
				 | 
			
			
				@@ -14,7 +14,7 @@ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                     :disabled="isSaveBtn" @click="editCustomer">保 存 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                 </el-button> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                 <el-button class="el-button--small-yh" style="margin-left: 6px;" :type="buttonColor" size="small" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                    :disabled="isDisabledTask || form.status !== '待确认'" @click="generateOutbound"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                    :disabled="isDisabledTask || form.status !== '待确认' && form.status !== '待发货'" @click="generateOutbound"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                     {{ buttonText }} 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                 </el-button> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                 <el-dropdown style="padding: 0 6px;line-height: 0"> 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -702,6 +702,7 @@ export default { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         detailData: Object 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     }, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     async created() { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        this.findObject(this.optionContactsBack.column, "goodsId").click = ({ value, column }) => {} 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         // console.log(this.$route); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         //         if(this.$route.query.check.actId){ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				  
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -968,6 +969,7 @@ export default { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             if (this.form.status == '待发货') { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                 this.isAddBtn = true 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                this.isDisabledTask = false 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             this.optionContactsBack.column.forEach(its => { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                 if (its.prop == 'goodsId' || its.prop == 'goodsNum' || its.prop == 'price' || its.prop == 'dot' || its.prop == 'remarks') { 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -1091,7 +1093,7 @@ export default { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                     // this.$set(this.optionContactsBack, 'disabled', false) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                     this.$set(this.optionForm, 'disabled', false) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                     this.$set(this.optionContactsBack, 'disabled', false) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                    
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                     this.isContacts = false 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                     //删除按钮 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                     this.isDisabled = false 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -1126,28 +1128,28 @@ export default { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                     // }) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                     loading.close() 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                 } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                console.log(this.form.status); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                 if (this.form.status == '待发货') { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                     this.isSaveBtn = false; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                     this.isDisabledTask = false; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                     this.viewDisabled = false; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                 } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                // this.$set(this.form, 'shipType', '物流') 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                // this.$set(this.form, 'receivableType', '现金') 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                // this.optionContactsBack.column.forEach(item => { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                //     this.$set(item, 'disabled', false) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                // }) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                // this.optionContactsBack.column.forEach(item => { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                //     if (item.label === '规格型号' || item.label === '花纹' || item.label === '品牌' || item.label === '物料编码' || item.label === '单位' || item.label === '轮胎描述') { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                //         item.disabled = true; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                //     } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                // }) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                // this['optionContacts'] = this['optionContactsBack']; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                // this.delColumnData(this.getColumnName(269.1), this['optionContactsBack']); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                console.log(this.form.outboundRecordsList); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                 this.form.outboundRecordsList.forEach(item => { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                     if (item.statusName == '待出库') { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                         this.isDisabledTask = true 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                     } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                 }) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                if(this.form.checkStatus == '审核完成'){ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                    console.log('审核完成'); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                    this.$set(this.optionForm, 'disabled', true) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                    this.$set(this.optionContactsBack, 'disabled', true) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                    this.isContacts = true 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                    this.isDisabled = true 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                    //添加删除按钮禁用 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                    this.isAdd = true 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                    this.isAddBtn = true 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                 loading.close() 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             // this.$set(this.form.orderItemsList,'goodsNum',66) 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -1435,72 +1437,31 @@ export default { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                         items.subTotalMoney = items.goodsNum * items.price 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                         items.grossProfit = items.subTotalMoney - items.costprie 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                     } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                    // let brandName = items.brandId 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                    // items.brandId = items.brandName 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                    // items.brandName = brandName 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				- 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                    // let goodsName = items.goodsId 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                    // items.goodsId = items.goodsName 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                    // items.goodsName = goodsName 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				- 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                 }) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                if (res.data.data.checkStatus == '审核完成') { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                    console.log('审核完成'); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                    this.$set(this.optionForm, 'disabled', true) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                    this.$set(this.optionContactsBack, 'disabled', true) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                    this.isContacts = true 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                    this.isDisabled = true 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                    //添加删除按钮禁用 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                    this.isAdd = true 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                 loading.close(); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				- 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                // if (this.form.businessSource == "外部销售") { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                //     console.log('外部销售'); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                //     this.optionForm.column.forEach(its => { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                //         if (its.prop == 'customerId') { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                //             this.$set(its, 'disabled', true) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                //         } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                //     }) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                //     //不能录入不能删除 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                //     this.$set(this.optionContactsBack, "addBtn", false) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                //     this.isDisabled = true 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                //     this.$set(this.form, 'shipType', '物流') 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                //     this.$set(this.form, 'receivableType', '网络支付') 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                //     this.optionContactsBack.column.forEach(item => { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                //         this.$set(item, 'disabled', true) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                //         if (item.label == '批次号' || item.label == '备注') { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                //             item.disabled = false 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                //         } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                //     }) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                //     this['optionContacts'] = this['optionContactsBack']; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                //     this.delColumnData(this.getColumnName(269.1), this['optionContactsBack']); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                //     this.optionContactsBack.column.forEach(item => { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                //         if (item.prop == 'dot') { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                //             this.$set(item, disabled, false) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                //         } else { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                //             this.$set(item, disabled, true) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                //         } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                //     }) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				- 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                // } else { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                //     this.$set(this.form, 'shipType', '物流') 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                //     this.$set(this.form, 'receivableType', '现金') 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                //     this.optionContactsBack.column.forEach(item => { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                //         this.$set(item, 'disabled', false) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                //     }) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                //     this.optionContactsBack.column.forEach(item => { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                //         if (item.label === '规格型号' || item.label === '花纹' || item.label === '品牌' || item.label === '物料编码' || item.label === '单位' || item.label === '商品描述') { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                //             item.disabled = true; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                //         } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                //     }) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                //     console.log(324324); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                //     this['optionContacts'] = this['optionContactsBack']; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                //     this.delColumnData(this.getColumnName(269.1), this['optionContactsBack']); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                // } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                // // this.$set(this.form.orderItemsList,'goodsNum',66) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				- 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             }).catch(() => { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                 loading.close(); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             }) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         }, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        operationType() { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        }, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         //请核关闭 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         choceScheduleFun() { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             this.checkScheduleDialog = false 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         }, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         //关闭审核 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         choceCheckFun() { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            this.refresh(this.onLoad.id) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            // this.isDisabledTask = false 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             this.isExamineBtn = !this.isExamineBtn 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             this.checkDialog = false; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         }, 
			 |