Browse Source

修改bug

master
rose 4 years ago
parent
commit
fd46f47bbf
  1. 12
      src/App.vue
  2. 10
      src/components/EntityApply/EntityApplyEdit.vue

12
src/App.vue

@ -1,7 +1,7 @@
<template> <template>
<a-config-provider :locale="zh_CN"> <a-config-provider :locale="zh_CN">
<div class="d-flex flex-row flex-nowrap" id="app"> <div class="d-flex flex-row flex-nowrap" id="app">
<!-- <btn-con /> --> <btn-con />
<router-view class="flex-1 bg pa-3"></router-view> <router-view class="flex-1 bg pa-3"></router-view>
</div> </div>
</a-config-provider> </a-config-provider>
@ -10,11 +10,11 @@
<script> <script>
import { mapState, mapActions, mapMutations } from 'vuex'; import { mapState, mapActions, mapMutations } from 'vuex';
import zh_CN from 'ant-design-vue/lib/locale-provider/zh_CN'; import zh_CN from 'ant-design-vue/lib/locale-provider/zh_CN';
// import BtnCon from 'components/BtnCom/BtnCon.vue'; import BtnCon from 'components/BtnCom/BtnCon.vue';
export default { export default {
name: 'app', name: 'app',
// components: { BtnCon }, components: { BtnCon },
data() { data() {
return { return {
zh_CN, zh_CN,
@ -35,9 +35,9 @@ export default {
created() { created() {
// //
// const userId = '1218763410024566784'; const userId = '1218763410024566784';
// const params = { userId }; const params = { userId };
// this.getUserId(params); this.getUserId(params);
const that = this; const that = this;
window.plugin = window.TallPlugin.init(); window.plugin = window.TallPlugin.init();

10
src/components/EntityApply/EntityApplyEdit.vue

@ -16,7 +16,9 @@
</a-form-item> </a-form-item>
<a-form-item :label-col="formItemLayout.labelCol" :wrapper-col="formItemLayout.wrapperCol" label="成立时间" required> <a-form-item :label-col="formItemLayout.labelCol" :wrapper-col="formItemLayout.wrapperCol" label="成立时间" required>
<!-- 时间选择器时间点 --> <!-- 时间选择器时间点 -->
<a-date-picker :default-value="$moment(platform.buildTime).format('YYYY-MM-DD HH:mm:ss')" @change="changeBirthday" /> <!-- <div>{{ platform.buildTime}}</div> -->
<a-date-picker :default-value="$moment(+platform.buildTime).format('YYYY-MM-DD HH:mm:ss')" @change="changeBirthday" />
</a-form-item> </a-form-item>
<a-form-item :label-col="formItemLayout.labelCol" :wrapper-col="formItemLayout.wrapperCol" label="法人代码" required> <a-form-item :label-col="formItemLayout.labelCol" :wrapper-col="formItemLayout.wrapperCol" label="法人代码" required>
<a-input placeholder="请输入法人代码..." v-model.trim="platform.legalPerson" /> <a-input placeholder="请输入法人代码..." v-model.trim="platform.legalPerson" />
@ -212,7 +214,11 @@ export default {
console.log("wacth") console.log("wacth")
console.log(val) console.log(val)
this.platform = val this.platform = val
this.platform.buildTime = 0 if( this.platform.buildTime === null){
this.platform.buildTime = 0
}
console.log("========>",this.platform)
}, },

Loading…
Cancel
Save