| 
					
				 | 
			
			
				@@ -8,12 +8,12 @@ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             </div> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             <div class="add-customer-btn"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                 <el-button class="el-button--small-yh" style="margin-left: 6px;" type="primary" size="small" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                    v-if="editButton" @click="inEdit">编 辑 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                    v-if="editButton&&form.status == 0" @click="inEdit">编 辑 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                 </el-button> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                <el-button class="el-button--small-yh" v-else style="margin-left: 6px;" type="primary" size="small" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                    :disabled="isSaveBtn" @click="editCustomer(0)">保 存 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                <el-button class="el-button--small-yh" v-if="!editButton" style="margin-left: 6px;" type="primary" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                    size="small" :disabled="isSaveBtn" @click="editCustomer(0)">保 存 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                 </el-button> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                <el-button class="el-button--small-yh" v-if="form.id && form.status == 0" style="margin-left: 6px;" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                <el-button class="el-button--small-yh" style="margin-left: 6px;" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                     type="success" size="small" @click="editCustomer(1)" :disabled="form.status == 1">提 交 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                 </el-button> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                 <!-- <el-dropdown v-if="form.status == 1"> 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -41,8 +41,9 @@ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                     </template> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                     <tempalte slot="customerName"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                         <dic-select v-model="form.customerName" placeholder="货主" key="id" label="cname" res="records" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                            url="/blade-sales-part/corpsDesc/list?current=1&size=20&&enableOrNot=1&corpType=KH" :filterable="true" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                            :remote="true" dataName="cname" @selectChange="dicChange('customerName', $event)" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                            url="/blade-sales-part/corpsDesc/list?current=1&size=20&&enableOrNot=1&corpType=KH" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                            :filterable="true" :remote="true" dataName="cname" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                            @selectChange="dicChange('customerName', $event)" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                             :disabled="editButton || form.status == 1"></dic-select> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                     </tempalte> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                     <tempalte slot="storageName"> 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -50,7 +51,7 @@ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                             url="/blade-sales-part/tire/center/warehouse/storage/list?current=1&size=5" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                             :filterable="true" :remote="true" dataName="cname" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                             @selectChange="dicChange('storageName', $event)" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                            :disabled="editButton || form.status == 1||form.planItemsList.length>0"></dic-select> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                            :disabled="editButton || form.status == 1 || form.planItemsList.length > 0"></dic-select> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                     </tempalte> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                     <tempalte slot="warehouseKeeperName"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                         <dic-select v-model="form.warehouseKeeperName" placeholder="库管" key="id" label="realName" 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -63,8 +64,7 @@ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             <trade-card title="明细信息"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                 <el-tabs v-model="activeName" type="card"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                     <el-tab-pane label="商品明细" name="sale_detail"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                        <avue-crud :option="optionContacts" ref="formContacts" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                            :data="form.planItemsList" :key="key" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                        <avue-crud :option="optionContacts" ref="formContacts" :data="form.planItemsList" :key="key" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                             @row-update="rowUpdate" @row-close="rowClose" :before-close="beforeClose" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                             @selection-change="selectionContacts" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                             @resetColumn="resetColumnTwo('formContacts', 'optionContacts', 'optionContactsBack', 477)" 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -832,7 +832,7 @@ export default { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             //     return this.$message.error('请保存数据') 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             // } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             this.form.centerShipCostList.push({ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                goodsNum:this.form.goodsTotalNum, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                goodsNum: this.form.goodsTotalNum, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                 $cellEdit: true 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             }) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         }, 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -893,7 +893,7 @@ export default { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             if (name == 'storageName') { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                 if (row) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                     this.form.storageId = row.id 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                    this.form.storageName=row.cname 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                    this.form.storageName = row.cname 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                 } else { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                     this.form.storageId = null 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                     this.form.storageName = null 
			 |