中台订单--70%

dev
e 3 years ago
parent 9dde30cceb
commit b26d59d32b
  1. 640
      src/views/order/AddOrder.vue
  2. 2
      src/views/order/Order.vue
  3. 19
      src/views/order/selectClient.vue

File diff suppressed because it is too large Load Diff

@ -83,7 +83,7 @@
</el-table-column>
<el-table-column label="操作" align="center">
<template slot-scope="scope">
<el-button type="text" @click="handle('edit',scope.row)">编辑</el-button>
<el-button type="text" @click="handle('edit',scope.row)">修改</el-button>
<el-button type="text" @click="handle('watch',scope.row)">查看</el-button>
<el-button type="text" @click="handleDelete(scope.row)">删除</el-button>
<!-- <el-button type="text" @click="handleRenew(scope.row)">续费</el-button> -->

@ -108,7 +108,10 @@
<script>
export default {
props:{
refresh:{
type:Boolean,
default:false
}
},
data(){
return{
@ -136,6 +139,15 @@ export default {
this.getData()
this.getProvince()
},
watch:{
refresh:function(val,val2){
if(val){
this.getData()
this.getProvince()
}
}
},
methods:{
//
getData(){
@ -183,13 +195,16 @@ export default {
this.cityList = res.list
}).catch(res => {})
},
goback(val){
async goback(val){
if(val){
this.$emit('back',{show:true})
}else{
if(!this.checkedName){
return this.$message('请选择客户后再确定!')
}
await this.$get(this.api.queryCustomerDetails,{customerId:this.checkedID}).then(res=>{
console.log(res,'当前的res');
})
this.$emit('back',{show:true,id:this.checkedID,name:this.checkedName})
}
},

Loading…
Cancel
Save