|  | @@ -126,8 +126,8 @@
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  |          <!-- 单据状态 -->
 | 
	
		
			
				|  |  |          <span slot="statusSlot" slot-scope="text, record">
 | 
	
		
			
				|  |  | -          <a-tag color="orange" v-if="record.status == '0' || record.status == null">未提交</a-tag>
 | 
	
		
			
				|  |  | -          <a-tag color="green" v-if="record.status == '1'">已提交</a-tag>
 | 
	
		
			
				|  |  | +          <a-tag color="orange" v-if="record.status == 0 || record.status == null">未提交</a-tag>
 | 
	
		
			
				|  |  | +          <a-tag color="green" v-if="record.status == 1">已提交</a-tag>
 | 
	
		
			
				|  |  |          </span>
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  |          <!-- 操作 默认按钮  未提交未推送-->
 | 
	
	
		
			
				|  | @@ -479,6 +479,7 @@ export default {
 | 
	
		
			
				|  |  |            this.$refs.addAdpackingDrawer.visible = true;
 | 
	
		
			
				|  |  |            this.$refs.addAdpackingDrawer.editDecide = 'edit';
 | 
	
		
			
				|  |  |            this.$refs.addAdpackingDrawer.addAdpacking = res.result; //接口参数
 | 
	
		
			
				|  |  | +          this.$refs.addAdpackingDrawer.addState = '0'; 
 | 
	
		
			
				|  |  |            this.$refs.addAdpackingDrawer.loadSizeTables(res.result.syPreAssembledPackingListItemList[0].sizeTables);
 | 
	
		
			
				|  |  |            // var totalNetWeight = 0;
 | 
	
		
			
				|  |  |            // var totalGrossWeight = 0;
 | 
	
	
		
			
				|  | @@ -546,6 +547,7 @@ export default {
 | 
	
		
			
				|  |  |      // 新增
 | 
	
		
			
				|  |  |      addAdpacking() {
 | 
	
		
			
				|  |  |        this.$refs.addAdpackingDrawer.visible = true;
 | 
	
		
			
				|  |  | +      this.$refs.addAdpackingDrawer.addState = '0'; 
 | 
	
		
			
				|  |  |      },
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  |      // 列表导出
 | 
	
	
		
			
				|  | @@ -613,12 +615,17 @@ export default {
 | 
	
		
			
				|  |  |        this.$nextTick(() => {
 | 
	
		
			
				|  |  |          submit({ id: record.id }).then(res => {
 | 
	
		
			
				|  |  |            if (res.success) {
 | 
	
		
			
				|  |  | -            record.status=1;
 | 
	
		
			
				|  |  | -            that.$message.success('提交成功');
 | 
	
		
			
				|  |  | +          this.adPaListClothesData.map(item =>{
 | 
	
		
			
				|  |  | +           if(item.id == record.id){
 | 
	
		
			
				|  |  | +               item.status = 1
 | 
	
		
			
				|  |  | +            }
 | 
	
		
			
				|  |  | +          })
 | 
	
		
			
				|  |  |              this.$forceUpdate()
 | 
	
		
			
				|  |  | +            that.$message.success('提交成功');
 | 
	
		
			
				|  |  |            }else{
 | 
	
		
			
				|  |  |              that.$message.error(res.message);
 | 
	
		
			
				|  |  |            }
 | 
	
		
			
				|  |  | +
 | 
	
		
			
				|  |  |          })
 | 
	
		
			
				|  |  |        })
 | 
	
		
			
				|  |  |      },
 |