|  | @@ -1153,7 +1153,6 @@ export default {
 | 
	
		
			
				|  |  |                  this.isAdd = true
 | 
	
		
			
				|  |  |                  this.refresh(this.onLoad.id, true)
 | 
	
		
			
				|  |  |              } else if (this.onLoad.id) {
 | 
	
		
			
				|  |  | -                console.log(2);
 | 
	
		
			
				|  |  |                  this.refresh(this.onLoad.id, true)
 | 
	
		
			
				|  |  |              }
 | 
	
		
			
				|  |  |              // if (!this.form.id) {
 | 
	
	
		
			
				|  | @@ -1197,7 +1196,6 @@ export default {
 | 
	
		
			
				|  |  |          // 获取左侧筛选
 | 
	
		
			
				|  |  |          getAllWorkDicts(){
 | 
	
		
			
				|  |  |              getCorpTypes().then(res => {
 | 
	
		
			
				|  |  | -                // console.log(res.data,1050)
 | 
	
		
			
				|  |  |                  this.treeDataGoods = res.data.data;
 | 
	
		
			
				|  |  |              });
 | 
	
		
			
				|  |  |          },
 | 
	
	
		
			
				|  | @@ -1224,13 +1222,11 @@ export default {
 | 
	
		
			
				|  |  |          },
 | 
	
		
			
				|  |  |          // 点击搜索触发
 | 
	
		
			
				|  |  |          goodsSearch(params, done) {
 | 
	
		
			
				|  |  | -            console.log(params,done,1079)
 | 
	
		
			
				|  |  |              this.treeDeptId = ''
 | 
	
		
			
				|  |  |              params = {
 | 
	
		
			
				|  |  |                  ...params,
 | 
	
		
			
				|  |  |                  artsVision: this.form.belongToCorpId
 | 
	
		
			
				|  |  |              }
 | 
	
		
			
				|  |  | -            console.log(params,1085)
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  |              // params.specificationAndModel = params.cname
 | 
	
		
			
				|  |  |              // delete params.cname
 | 
	
	
		
			
				|  | @@ -1276,14 +1272,12 @@ export default {
 | 
	
		
			
				|  |  |          tableDataHandle(){
 | 
	
		
			
				|  |  |              // 循环获取库存数量
 | 
	
		
			
				|  |  |              for(let item of this.tableData) {
 | 
	
		
			
				|  |  | -                console.log(item,'循环导入')
 | 
	
		
			
				|  |  |                  let page = {}
 | 
	
		
			
				|  |  |                  if (this.form.storageId) {
 | 
	
		
			
				|  |  |                      page.storageId = this.form.storageId
 | 
	
		
			
				|  |  |                  }
 | 
	
		
			
				|  |  |                  page.goodsId = item.goodsId
 | 
	
		
			
				|  |  | -                let obj = {}
 | 
	
		
			
				|  |  | -                this.form.orderItemsList.push({
 | 
	
		
			
				|  |  | +                let obj = {
 | 
	
		
			
				|  |  |                      goodsId:item.id,
 | 
	
		
			
				|  |  |                      price:item.price,
 | 
	
		
			
				|  |  |                      goodsName:item.cname,
 | 
	
	
		
			
				|  | @@ -1308,7 +1302,13 @@ export default {
 | 
	
		
			
				|  |  |                      goodsNumtype:false,
 | 
	
		
			
				|  |  |                      // 价格
 | 
	
		
			
				|  |  |                      pricetype:false,
 | 
	
		
			
				|  |  | -                })
 | 
	
		
			
				|  |  | +                }
 | 
	
		
			
				|  |  | +                for(let ite of item.goodsFilesList) {
 | 
	
		
			
				|  |  | +                    if (ite.version == '0') {
 | 
	
		
			
				|  |  | +                        obj.url = ite.url
 | 
	
		
			
				|  |  | +                    }
 | 
	
		
			
				|  |  | +                }
 | 
	
		
			
				|  |  | +                this.form.orderItemsList.push(obj)
 | 
	
		
			
				|  |  |              }
 | 
	
		
			
				|  |  |              this.dialogVisible = false
 | 
	
		
			
				|  |  |          },
 | 
	
	
		
			
				|  | @@ -1331,7 +1331,6 @@ export default {
 | 
	
		
			
				|  |  |          //导入轮胎弹窗列表查询
 | 
	
		
			
				|  |  |          onLoadfun(page, params = { artsVision: this.form.belongToCorpId }) {
 | 
	
		
			
				|  |  |              this.loading = true;
 | 
	
		
			
				|  |  | -            console.log(params,page,1284)
 | 
	
		
			
				|  |  |              goodsPageXs({
 | 
	
		
			
				|  |  |                  ...params,
 | 
	
		
			
				|  |  |                  current: page.currentPage,
 | 
	
	
		
			
				|  | @@ -1340,7 +1339,6 @@ export default {
 | 
	
		
			
				|  |  |                  stock:this.form.storageId,
 | 
	
		
			
				|  |  |                  enableOrNot:1,
 | 
	
		
			
				|  |  |              }).then(res=>{
 | 
	
		
			
				|  |  | -                // console.log(res,1213)
 | 
	
		
			
				|  |  |                  const data = res.data.data;
 | 
	
		
			
				|  |  |                  this.page.total = data.total;
 | 
	
		
			
				|  |  |                  this.pageList.total = data.total
 | 
	
	
		
			
				|  | @@ -1395,7 +1393,6 @@ export default {
 | 
	
		
			
				|  |  |                  goodsId: goodsId
 | 
	
		
			
				|  |  |              }).then(res=>{
 | 
	
		
			
				|  |  |                  this.picihaolist = res.data.data
 | 
	
		
			
				|  |  | -                console.log(res.data.data,1282)
 | 
	
		
			
				|  |  |              })
 | 
	
		
			
				|  |  |          },
 | 
	
		
			
				|  |  |  
 | 
	
	
		
			
				|  | @@ -1703,7 +1700,6 @@ export default {
 | 
	
		
			
				|  |  |                      }
 | 
	
		
			
				|  |  |                  } else {
 | 
	
		
			
				|  |  |                      this.$refs["form"].validate((valid, done) => {
 | 
	
		
			
				|  |  | -                        console.log(valid);
 | 
	
		
			
				|  |  |                          if (valid) {
 | 
	
		
			
				|  |  |                              const loading = this.$loading({
 | 
	
		
			
				|  |  |                                  lock: true,
 | 
	
	
		
			
				|  | @@ -1741,7 +1737,6 @@ export default {
 | 
	
		
			
				|  |  |                                  }
 | 
	
		
			
				|  |  |                                  loading.close();
 | 
	
		
			
				|  |  |                              }).catch((err) => {
 | 
	
		
			
				|  |  | -                                console.log(err);
 | 
	
		
			
				|  |  |                                  if (err instanceof TooManyResultsException) {
 | 
	
		
			
				|  |  |                                      // 不显示错误消息
 | 
	
		
			
				|  |  |                                      return;
 | 
	
	
		
			
				|  | @@ -1762,9 +1757,6 @@ export default {
 | 
	
		
			
				|  |  |          },
 | 
	
		
			
				|  |  |          //联系人change
 | 
	
		
			
				|  |  |          contactsChange(e) {
 | 
	
		
			
				|  |  | -            console.log(e);
 | 
	
		
			
				|  |  | -            console.log(this.contactsOption);
 | 
	
		
			
				|  |  | -
 | 
	
		
			
				|  |  |              // 假设this.contactsOption是你的数组对象
 | 
	
		
			
				|  |  |              let matchedContact = this.contactsOption.find(item => item.contacts == e);
 | 
	
		
			
				|  |  |              // 判断是否找到匹配的对象
 | 
	
	
		
			
				|  | @@ -1830,7 +1822,6 @@ export default {
 | 
	
		
			
				|  |  |                        break
 | 
	
		
			
				|  |  |                      }
 | 
	
		
			
				|  |  |                    }
 | 
	
		
			
				|  |  | -
 | 
	
		
			
				|  |  |                      submit({
 | 
	
		
			
				|  |  |                          bsType: "XS",
 | 
	
		
			
				|  |  |                          ...this.form
 |