|  | @@ -348,10 +348,10 @@ export default {
 | 
	
		
			
				|  |  |              change: (data) => {
 | 
	
		
			
				|  |  |                if (data.value == 0) {
 | 
	
		
			
				|  |  |                  this.findObject(this.tableOption.column, "price").label = "入库单价"
 | 
	
		
			
				|  |  | -                this.findObject(this.tableOption.column, "price").rules.required = false
 | 
	
		
			
				|  |  | +                this.findObject(this.tableOption.column, "price").rules[0].required = false
 | 
	
		
			
				|  |  |                } else {
 | 
	
		
			
				|  |  |                  this.findObject(this.tableOption.column, "price").label = "*入库单价"
 | 
	
		
			
				|  |  | -                this.findObject(this.tableOption.column, "price").rules.required = true
 | 
	
		
			
				|  |  | +                this.findObject(this.tableOption.column, "price").rules[0].required = true
 | 
	
		
			
				|  |  |                }
 | 
	
		
			
				|  |  |              },
 | 
	
		
			
				|  |  |              span: 6
 | 
	
	
		
			
				|  | @@ -413,7 +413,7 @@ export default {
 | 
	
		
			
				|  |  |      getStoragetree().then(res => {
 | 
	
		
			
				|  |  |        this.storagetreeList = res.data.data;
 | 
	
		
			
				|  |  |      })
 | 
	
		
			
				|  |  | -    this.getWorkDicts("approval_status").then(res => {
 | 
	
		
			
				|  |  | +    this.getWorkDicts("financing_status").then(res => {
 | 
	
		
			
				|  |  |        this.findObject(this.option.column, "status").dicData =
 | 
	
		
			
				|  |  |            res.data.data;
 | 
	
		
			
				|  |  |      });
 | 
	
	
		
			
				|  | @@ -446,13 +446,23 @@ export default {
 | 
	
		
			
				|  |  |      },
 | 
	
		
			
				|  |  |      getAllWorkDicts() {
 | 
	
		
			
				|  |  |        getAllgoods().then(res => {
 | 
	
		
			
				|  |  | -        this.findObject(this.tableOption.column, "itemId").dicData =
 | 
	
		
			
				|  |  | -            res.data.data;
 | 
	
		
			
				|  |  | +        this.findObject(this.tableOption.column, "itemId").dicData = res.data.data;
 | 
	
		
			
				|  |  |        })
 | 
	
		
			
				|  |  | +      this.findObject(this.tableOption.column, "itemId").change = (data)=>{
 | 
	
		
			
				|  |  | +        for (let item of this.findObject(this.tableOption.column, "itemId").dicData){
 | 
	
		
			
				|  |  | +          if (data.value == item.id){
 | 
	
		
			
				|  |  | +            this.itemsVOList[data.index].cname = item.cname
 | 
	
		
			
				|  |  | +          }
 | 
	
		
			
				|  |  | +        }
 | 
	
		
			
				|  |  | +      }
 | 
	
		
			
				|  |  |        this.getWorkDicts("unit").then(res => {
 | 
	
		
			
				|  |  |          this.findObject(this.tableOption.column, "unit").dicData =
 | 
	
		
			
				|  |  |              res.data.data;
 | 
	
		
			
				|  |  |        });
 | 
	
		
			
				|  |  | +      this.getWorkDicts("goods_grade").then(res => {
 | 
	
		
			
				|  |  | +        this.findObject(this.tableOption.column, "grade").dicData =
 | 
	
		
			
				|  |  | +            res.data.data;
 | 
	
		
			
				|  |  | +      });
 | 
	
		
			
				|  |  |      },
 | 
	
		
			
				|  |  |      cellStyle() {
 | 
	
		
			
				|  |  |        return "padding:0;height:40px;";
 |