Browse Source

addEditFromApiPop更新处理

noToken
安虹睿 1 year ago
parent
commit
57c6058ec4
  1. 6
      PC/UI.WinIn.FasterZ.Store/src/components/addEditFromApiPop/index.vue
  2. 1
      PC/UI.WinIn.FasterZ.Store/src/views/demo/demo_api_handle.vue

6
PC/UI.WinIn.FasterZ.Store/src/components/addEditFromApiPop/index.vue

@ -145,13 +145,11 @@
<script> <script>
import { ApiTypePost, ApiTypePut } from "@/api/wms-api" import { ApiTypePost, ApiTypePut } from "@/api/wms-api"
import { LoadingMixins } from "@/mixins/LoadingMixins"; import { LoadingMixins } from "@/mixins/LoadingMixins";
import { tableMixins } from "@/mixins/TableMixins"
import currenTableFlex from "@/components/currenTableFlex" import currenTableFlex from "@/components/currenTableFlex"
import * as allUrlOption from '@/utils/baseData/urlOption' import * as allUrlOption from '@/utils/baseData/urlOption'
import { timeAgo } from "@/filters";
export default { export default {
name:"addEditFromApiPop", name:"addEditFromApiPop",
mixins:[ LoadingMixins,tableMixins ], mixins:[ LoadingMixins ],
components: { currenTableFlex }, components: { currenTableFlex },
props: { props: {
// //
@ -315,7 +313,7 @@ export default {
this.close() this.close()
if(this.active == '1')this.oldSkipCount = 1; if(this.active == '1')this.oldSkipCount = 1;
this.show = false this.show = false
this.paging() this.$emit("exitAfterHandle")
this.$nextTick(()=>{ this.$nextTick(()=>{
this.active = 0 this.active = 0
}) })

1
PC/UI.WinIn.FasterZ.Store/src/views/demo/demo_api_handle.vue

@ -62,6 +62,7 @@
:handleType="addEditApiType" :handleType="addEditApiType"
:editRowData="editFromApiRowData" :editRowData="editFromApiRowData"
@closePop="closeAddEditApiPop" @closePop="closeAddEditApiPop"
@exitAfterHandle="paging"
></addEditFromApiPop> ></addEditFromApiPop>
</div> </div>
</template> </template>

Loading…
Cancel
Save