627

parent 54b28aa9
<!DOCTYPE html><html><head><meta charset=utf-8><meta name=viewport content="width=device-width,initial-scale=1"><meta name=referrer content=never><link rel=stylesheet href=https:////at.alicdn.com/t/font_746649_x1rivf5f5.css><link rel=stylesheet href=https://lib.baomitu.com/element-ui/2.7.2/theme-chalk/index.css><title>唱唱启蒙-后台</title></head><body><script src=https://cdn.bootcss.com/vue/2.5.17/vue.min.js></script><script src=https://unpkg.com/vuex@3.0.1></script><script src=https://cdn.bootcss.com/axios/0.18.0/axios.min.js></script><script src=https://lib.baomitu.com/element-ui/2.7.2/index.js></script><div id=app></div><script type=text/javascript src=/static/js/manifest.165d1820b5fa0d0d70f8.js></script><script type=text/javascript src=/static/js/vendor.c75c8ffdd44fcdb01df5.js></script><script type=text/javascript src=/static/js/app.34906f6c5b6497f69e87.js></script></body><script>let el = document.getElementsByTagName("script");
<!DOCTYPE html><html><head><meta charset=utf-8><meta name=viewport content="width=device-width,initial-scale=1"><meta name=referrer content=never><link rel=stylesheet href=https:////at.alicdn.com/t/font_746649_x1rivf5f5.css><link rel=stylesheet href=https://lib.baomitu.com/element-ui/2.7.2/theme-chalk/index.css><title>唱唱启蒙-后台</title></head><body><script src=https://cdn.bootcss.com/vue/2.5.17/vue.min.js></script><script src=https://unpkg.com/vuex@3.0.1></script><script src=https://cdn.bootcss.com/axios/0.18.0/axios.min.js></script><script src=https://lib.baomitu.com/element-ui/2.7.2/index.js></script><div id=app></div><script type=text/javascript src=/static/js/manifest.9b237266f12ec2c4fc35.js></script><script type=text/javascript src=/static/js/vendor.c75c8ffdd44fcdb01df5.js></script><script type=text/javascript src=/static/js/app.34906f6c5b6497f69e87.js></script></body><script>let el = document.getElementsByTagName("script");
el.onerror = function(a,b,c){
console.log('error:',a,b,c);
};
......
This diff is collapsed.
This diff is collapsed.
!function(e){var c=window.webpackJsonp;window.webpackJsonp=function(a,d,n){for(var r,t,o,i=0,u=[];i<a.length;i++)t=a[i],f[t]&&u.push(f[t][0]),f[t]=0;for(r in d)Object.prototype.hasOwnProperty.call(d,r)&&(e[r]=d[r]);for(c&&c(a,d,n);u.length;)u.shift()();if(n)for(i=0;i<n.length;i++)o=b(b.s=n[i]);return o};var a={},f={60:0};function b(c){if(a[c])return a[c].exports;var f=a[c]={i:c,l:!1,exports:{}};return e[c].call(f.exports,f,f.exports,b),f.l=!0,f.exports}b.e=function(e){var c=f[e];if(0===c)return new Promise(function(e){e()});if(c)return c[2];var a=new Promise(function(a,b){c=f[e]=[a,b]});c[2]=a;var d=document.getElementsByTagName("head")[0],n=document.createElement("script");n.type="text/javascript",n.charset="utf-8",n.async=!0,n.timeout=12e4,b.nc&&n.setAttribute("nonce",b.nc),n.src=b.p+"static/js/"+e+"."+{0:"47ed74c06ff3928972e9",1:"2c9ebf7b732aa3fdf3c2",2:"0761b60c669971a9a44a",3:"9a5b97380970b0933ae8",4:"48823e704707c0d69214",5:"1cdcbc229c82e6de28c8",6:"a7c511688213d49b5afd",7:"34f9c1a6c911a69ec382",8:"14de3ae9cd758d45251b",9:"f0289cec1e521b7d3cef",10:"de9f467d9b4a34f88d8b",11:"ea6cf614c2fd66d92483",12:"05e16e3a1024dc75793f",13:"cb2f5287d7d7547dfa43",14:"9dd8c3471bb99c0a2b76",15:"8dcdb6aa54482b4481bd",16:"ec1eb5bdf3d5d8cfc587",17:"866854bdaa7ca71446ff",18:"4c7a513f0ce0c3621266",19:"2cc6119881abc20dfad2",20:"01e3a63dea996bea1f83",21:"5b9caa2fae623be9123e",22:"845c38458cc4eb58b34a",23:"1b0ae0527da127f428b4",24:"146f0f96eced0f23ce48",25:"8a1d26d812fac2d9bec5",26:"4e4fe295227884864f16",27:"2879e58772a7b23ace75",28:"34063e45734c65d85595",29:"f9f42d473eabb576f23f",30:"84e334d877dbb87b9eb3",31:"b29b93be543a2fe65b17",32:"01fa2805877c6cbdf7af",33:"267c1a2242ebf9a028aa",34:"cfd2507442dd13e428cd",35:"65d3ab3b0202027fa637",36:"5011b2196b584b14826b",37:"e94f2bdac1d4a783d393",38:"6b9fabd2c071d6cdf54f",39:"aa7684a8b9f54f736cf2",40:"3e9a225da6813b2511eb",41:"f5cbc80a06389832a034",42:"2b22e6c6c95c4e96b9a0",43:"50825adcf2f817189dbe",44:"68e1726458ff7d7bcacb",45:"253771485fb2b1ecb8dc",46:"be944d0abe4a9d1b4e10",47:"aa2b49f936dcc8774648",48:"8f6508ff229ef77496c1",49:"87fdb289e269eee51211",50:"82bb387148b6e4c12d0b",51:"f350310b3fb52ad6b1be",52:"0240e3bc0b518830e466",53:"515e0918fb090883dd7d",54:"dc7ad71bf0a1c7a9e137",55:"8e5b3dce840d40858ac5",56:"d59bc249a4c16f386f8a",57:"0f6370ae48e7c5c030f1"}[e]+".js";var r=setTimeout(t,12e4);function t(){n.onerror=n.onload=null,clearTimeout(r);var c=f[e];0!==c&&(c&&c[1](new Error("Loading chunk "+e+" failed.")),f[e]=void 0)}return n.onerror=n.onload=t,d.appendChild(n),a},b.m=e,b.c=a,b.d=function(e,c,a){b.o(e,c)||Object.defineProperty(e,c,{configurable:!1,enumerable:!0,get:a})},b.n=function(e){var c=e&&e.__esModule?function(){return e.default}:function(){return e};return b.d(c,"a",c),c},b.o=function(e,c){return Object.prototype.hasOwnProperty.call(e,c)},b.p="/",b.oe=function(e){throw console.error(e),e}}([]);
\ No newline at end of file
......@@ -85,6 +85,7 @@
mounted() {
let vm = this
vm.show = vm.showAddressPicker
console.log(88)
},
computed: {
cities: function () {
......@@ -127,6 +128,23 @@
form: {
handler: function (val) {
this.$emit('change', val);
console.log(this.form)
},
deep: true
},
name: {
handler: function (val) {
this.$emit('change', val);
// console.log(this.form)
// console.log(this.name)
this.form={
province: this.province,
city: this.city,
district: this.district,
detail: this.detail,
name: this.name,
mobile: this.mobile
}
},
deep: true
}
......
......@@ -66,9 +66,9 @@
</el-table-column>
<el-table-column prop="address" label="收货地址">
<template slot-scope="scope">
<p>{{scope.row.receive_name}}</p>
<p>{{scope.row.receive_mobile}}</p>
<p>{{scope.row.province_name}}{{scope.row.city_name}}{{scope.row.area_name}}{{scope.row.address}}</p>
{{scope.row.receive_name}}<br>
{{scope.row.receive_mobile}}<br>
{{scope.row.province_name}}{{scope.row.city_name}}{{scope.row.area_name}}{{scope.row.address}}
</template>
</el-table-column>
<el-table-column prop="periods_title" label="期数名称">
......@@ -162,30 +162,23 @@ export default {
},
methods: {
editAddress(row) {
// this.dialogObj={show:true}
console.log(row)
if (!row || !row.province_name) {
this.dialogObj.province = "";
this.dialogObj.city = "";
this.dialogObj.district = "";
} else {
this.dialogObj.province = "";
this.dialogObj.district = "";
this.dialogObj.city = "";
}
this.dialogObj.detail = row ? row.address : "";
this.dialogObj.receive_mobile = row
? row.receive_mobile
: "";
this.dialogObj.receive_name = row
? row.receive_name
: "";
this.dialogObj.province_name = row
? row.province_name
: "";
this.dialogObj.city_name = row ? row.city : "";
this.dialogObj.district_name = row
? row.area
: "";
// if (!row || !row.province_name) {
// this.dialogObj.province = "";
// this.dialogObj.city = "";
// this.dialogObj.district = "";
// } else {
// this.dialogObj.province = "";
// this.dialogObj.district = "";
// this.dialogObj.city = "";
// }
this.dialogObj.detail = row.address;
this.dialogObj.receive_mobile = row.receive_mobile;
this.dialogObj.receive_name =row.receive_name;
this.dialogObj.province_name = '';
this.dialogObj.city_name = "";
this.dialogObj.district_name ='';
this.dialogObj.id = row.id;
this.dialogObj.show = true;
},
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment