Commit 2a9c02db authored by youjie's avatar youjie

修复问题

parent 83a36388
...@@ -228,7 +228,7 @@ export default { ...@@ -228,7 +228,7 @@ export default {
this.$emit('cancel') this.$emit('cancel')
}, },
confirm(){ confirm(){
let that = this let that = this
if(this.submitCancel) return if(this.submitCancel) return
that.submitCancel = true that.submitCancel = true
that.apipost( that.apipost(
......
...@@ -119,7 +119,7 @@ ...@@ -119,7 +119,7 @@
</template> </template>
<script> <script>
import {mappingListType,transProductEnum} from "../../utils/producttypeenum"; import {mappingListType,mappingListTypeTy} from "../../utils/producttypeenum";
import EnumHelper from '../../utils/enumhelper'; import EnumHelper from '../../utils/enumhelper';
import OrderStatusEnum from '../../utils/orderStautsEnum'; import OrderStatusEnum from '../../utils/orderStautsEnum';
import AggOrdSearch from "./components/searchHeader.vue"; import AggOrdSearch from "./components/searchHeader.vue";
...@@ -278,7 +278,12 @@ ...@@ -278,7 +278,12 @@
res => { res => {
if (res.resultCode == 1) { if (res.resultCode == 1) {
res.data.pageData.forEach(x=>{ res.data.pageData.forEach(x=>{
// #ifdef MP-DI
x.goodTypeEnum = mappingListType(x.goodsType) x.goodTypeEnum = mappingListType(x.goodsType)
// #endif
// #ifdef MP-AG
x.goodTypeEnum = mappingListTypeTy(x.goodsType)
// #endif
x.orderStatusInfo = EnumHelper.ParseToEnum(OrderStatusEnum,x.orderStatus,'value') x.orderStatusInfo = EnumHelper.ParseToEnum(OrderStatusEnum,x.orderStatus,'value')
}) })
this.g = this.g.concat(res.data.pageData); this.g = this.g.concat(res.data.pageData);
......
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