|  | @@ -18,7 +18,16 @@ $(function () {
 | 
	
		
			
				|  |  |              {label: '经度', name: 'longitude', index: 'longitude', width: 120, align: 'right'},
 | 
	
		
			
				|  |  |              // {label: '配送半径(km)', name: 'coverRadius', index: 'cover_radius', width: 60, align: 'center'},
 | 
	
		
			
				|  |  |              {label: '备注', name: 'remark', index: 'remark', width: 80, align: 'center'},
 | 
	
		
			
				|  |  | -
 | 
	
		
			
				|  |  | +            {
 | 
	
		
			
				|  |  | +                label: '门店二维码',
 | 
	
		
			
				|  |  | +                name: 'storeImgUrl',
 | 
	
		
			
				|  |  | +                index: 'store_img_url',
 | 
	
		
			
				|  |  | +                align: 'center',
 | 
	
		
			
				|  |  | +                width: 100,
 | 
	
		
			
				|  |  | +                formatter: function (value) {
 | 
	
		
			
				|  |  | +                    return transImg(value);
 | 
	
		
			
				|  |  | +                }
 | 
	
		
			
				|  |  | +            },
 | 
	
		
			
				|  |  |              {label: '是否显示', name: 'isValid', index: 'is_valid', width: 80, align: 'center',
 | 
	
		
			
				|  |  |                  formatter: function (value) {
 | 
	
		
			
				|  |  |                      if (value == '0') {
 | 
	
	
		
			
				|  | @@ -106,7 +115,7 @@ let vm = new Vue({
 | 
	
		
			
				|  |  |          add: function () {
 | 
	
		
			
				|  |  |              vm.showList = false;
 | 
	
		
			
				|  |  |              vm.title = "新增";
 | 
	
		
			
				|  |  | -            vm.store = {isValid: 0,exprAgreementType:'00',distId:''};
 | 
	
		
			
				|  |  | +            vm.store = {storeImgUrl: '',isValid: 0,exprAgreementType:'00',distId:''};
 | 
	
		
			
				|  |  |              vm.merchList = [];
 | 
	
		
			
				|  |  |              vm.getMerchList();
 | 
	
		
			
				|  |  |          },
 | 
	
	
		
			
				|  | @@ -118,6 +127,7 @@ let vm = new Vue({
 | 
	
		
			
				|  |  |              vm.showList = false;
 | 
	
		
			
				|  |  |              vm.title = "修改";
 | 
	
		
			
				|  |  |              vm.merchList = [];
 | 
	
		
			
				|  |  | +            vm.store = {storeImgUrl: '',isValid: 0,exprAgreementType:'00',distId:''};
 | 
	
		
			
				|  |  |              vm.thirdMerchantBizList = [];
 | 
	
		
			
				|  |  |              vm.getMerchList();
 | 
	
		
			
				|  |  |              vm.getInfo(id);
 | 
	
	
		
			
				|  | @@ -140,6 +150,31 @@ let vm = new Vue({
 | 
	
		
			
				|  |  |                  }
 | 
	
		
			
				|  |  |              });
 | 
	
		
			
				|  |  |          },
 | 
	
		
			
				|  |  | +        handleFormatError: function (file) {
 | 
	
		
			
				|  |  | +            this.$Notice.warning({
 | 
	
		
			
				|  |  | +                title: '文件格式不正确',
 | 
	
		
			
				|  |  | +                desc: '文件 ' + file.name + ' 格式不正确,请上传 jpg 或 png 格式的图片。'
 | 
	
		
			
				|  |  | +            });
 | 
	
		
			
				|  |  | +        },
 | 
	
		
			
				|  |  | +        handleMaxSize: function (file) {
 | 
	
		
			
				|  |  | +            this.$Notice.warning({
 | 
	
		
			
				|  |  | +                title: '超出文件大小限制',
 | 
	
		
			
				|  |  | +                desc: '文件 ' + file.name + ' 太大,不能超过 100k。'
 | 
	
		
			
				|  |  | +            });
 | 
	
		
			
				|  |  | +        },
 | 
	
		
			
				|  |  | +        eyeImageListPicUrl: function () {
 | 
	
		
			
				|  |  | +            var url = vm.store.storeImgUrl;
 | 
	
		
			
				|  |  | +            eyeImage(url);
 | 
	
		
			
				|  |  | +        },
 | 
	
		
			
				|  |  | +        handleSuccessListPicUrl: function (res, file) {
 | 
	
		
			
				|  |  | +            if (res.code == "500" && res.msg == "没有权限,请联系管理员授权") {
 | 
	
		
			
				|  |  | +                this.$Notice.warning({
 | 
	
		
			
				|  |  | +                    title: res.msg,
 | 
	
		
			
				|  |  | +                    desc: "无上传文件的权限,请联系管理员授权"
 | 
	
		
			
				|  |  | +                });
 | 
	
		
			
				|  |  | +            }
 | 
	
		
			
				|  |  | +            vm.store.storeImgUrl = file.response.url;
 | 
	
		
			
				|  |  | +        },
 | 
	
		
			
				|  |  |          del: function (event) {
 | 
	
		
			
				|  |  |              let ids = getSelectedRows();
 | 
	
		
			
				|  |  |              if (ids == null) {
 |