pull/12/head
xiaozhiyong 2 years ago
parent 45eb65c3c9
commit e58836f1dd
  1. 2
      src/views/order/components/confirmSubmit.vue
  2. 10
      src/views/order/index.vue

@ -157,6 +157,7 @@ export default {
}
serve.orderSuccess({ id: this.controlWindows.addInfo.id, ...targetPolicy[0] }).then(res => {
if (res.code == 20000) {
this.$message.success(res.msg)
this.closeWindow()
}
})
@ -164,6 +165,7 @@ export default {
}
serve.orderSuccess({ id: this.controlWindows.addInfo.id }).then(res => {
if (res.code == 20000) {
this.$message.success(res.msg)
this.closeWindow()
}
})

@ -116,7 +116,7 @@
<el-link slot="reference" type="primary" :underline="false">订单锁定</el-link>
</el-popconfirm>
<el-link v-else type="primary" :underline="false" @click="confirmSubmit(row)">下单确认</el-link>
<el-link v-if="row.orderStatus == 'ORDER_LOCKED'" type="primary" :underline="false" @click="confirmSubmit(row)">下单确认</el-link>
<el-popconfirm
:title="row.orderStatus == 'SUBMITED' || row.orderStatus == 'ORDER_LOCKED' ? '是否确认取消订单?' : '是否确认退款?'"
@ -156,8 +156,8 @@
</general-details>
</el-drawer>
<!-- 提货单 -->
<billOfLading :billData="billData" :controlWindows="controlWindows" @closeWindow="handleCurrentChange" />
<confirmSubmit :controlWindows="controlWindows" @closeWindow="() => {}" />
<billOfLading :billData="billData" :controlWindows="controlWindows" @closeWindow="search" />
<confirmSubmit :controlWindows="controlWindows" @closeWindow="search" />
</div>
</template>
@ -319,6 +319,10 @@ export default {
this.parameter.pageSize = size
this.getByPage()
},
search() {
this.parameter.currentPage = 1
getByPage()
},
//table list
getByPage() {
order.getByPage(this.parameter).then(res => {

Loading…
Cancel
Save