Bladeren bron

订单管理

liuyifan 5 jaren geleden
bovenliggende
commit
bd18f444f1

+ 10 - 0
CallCenterWeb.UI/src/api/orderManagement/orderList.js

@@ -82,6 +82,16 @@ export function getOrderListCustomerService(data) {
82 82
   })
83 83
 }
84 84
 
85
+// 客服审核
86
+export function checkOrderCustomerService(data) {
87
+  return request({
88
+    url: 'api/order/checkorderbykf',
89
+    method: 'post',
90
+    data
91
+  })
92
+}
93
+
94
+
85 95
 // 获取库管订单列表
86 96
 export function getOrderListCustodian(data) {
87 97
   return request({

+ 23 - 11
CallCenterWeb.UI/src/views/commodityManagement/commodityList/components/addOrEdit.vue

@@ -39,29 +39,36 @@
39 39
           </el-form-item>
40 40
         </el-col>
41 41
         <el-col :md="12">
42
-          <el-form-item label="市场价格" prop="MarketPrice">
43
-            <el-input v-model="ruleForm.MarketPrice" placeholder="请输入市场价格"/>
42
+          <el-form-item label="款号名称/品名" prop="ProductNumberName">
43
+            <el-input v-model="ruleForm.ProductNumberName" placeholder="请输入款号名称/品名"/>
44 44
           </el-form-item>
45 45
         </el-col>
46 46
       </el-row>
47 47
       <el-row :gutter="20">
48 48
         <el-col :md="12">
49
+          <el-form-item label="市场价格" prop="MarketPrice">
50
+            <el-input v-model="ruleForm.MarketPrice" placeholder="请输入市场价格"/>
51
+          </el-form-item>
52
+        </el-col>
53
+        <el-col :md="12">
49 54
           <el-form-item label="会员价格" prop="MemberPrice">
50 55
             <el-input v-model="ruleForm.MemberPrice" placeholder="请输入会员价格"/>
51 56
           </el-form-item>
52 57
         </el-col>
58
+      </el-row>
59
+      <el-row :gutter="20">
53 60
         <el-col :md="12">
54 61
           <el-form-item label="特惠价格" prop="SpecialPrice">
55 62
             <el-input v-model="ruleForm.SpecialPrice" placeholder="请输入特惠价格"/>
56 63
           </el-form-item>
57 64
         </el-col>
58
-      </el-row>
59
-      <el-row :gutter="20">
60 65
         <el-col :md="12">
61 66
           <el-form-item label="拼音简写" prop="PinyinShort">
62 67
             <el-input v-model="ruleForm.PinyinShort" placeholder="请输入拼音简写"/>
63 68
           </el-form-item>
64 69
         </el-col>
70
+      </el-row>
71
+      <el-row :gutter="20">
65 72
         <el-col :md="12">
66 73
           <el-form-item label="商品标签" prop="tag">
67 74
             <el-select v-model="ruleForm.tag" placeholder="请选择商品标签" class="form_select" clearable>
@@ -74,18 +81,11 @@
74 81
             </el-select>
75 82
           </el-form-item>
76 83
         </el-col>
77
-      </el-row>
78
-      <el-row :gutter="20">
79 84
         <el-col :md="12">
80 85
           <el-form-item label="产地" prop="Address">
81 86
             <el-input v-model="ruleForm.Address" placeholder="请输入产地"/>
82 87
           </el-form-item>
83 88
         </el-col>
84
-        <el-col :md="12">
85
-          <el-form-item label="描述" prop="Des">
86
-            <el-input v-model="ruleForm.Des" placeholder="请输入描述"/>
87
-          </el-form-item>
88
-        </el-col>
89 89
       </el-row>
90 90
       <el-row :gutter="20">
91 91
         <el-col :md="12">
@@ -120,6 +120,11 @@
120 120
             </el-select>
121 121
           </el-form-item>
122 122
         </el-col>
123
+        <el-col :md="12">
124
+          <el-form-item label="描述" prop="Des">
125
+            <el-input v-model="ruleForm.Des" placeholder="请输入描述"/>
126
+          </el-form-item>
127
+        </el-col>
123 128
       </el-row>
124 129
       <el-row>
125 130
         <el-col>
@@ -167,6 +172,7 @@ export default {
167 172
         ProductName: '', //商品名称
168 173
         ProductShortName: '', //副标题
169 174
         ProductNumber: '', //款号
175
+        ProductNumberName: '', //款号名称/品名
170 176
         MarketPrice: '', //市场价格
171 177
         MemberPrice: '', //会员价格
172 178
         SpecialPrice: '', //特惠价格
@@ -206,6 +212,11 @@ export default {
206 212
           trigger: 'blur',
207 213
           message: '请输入款号',
208 214
         }],
215
+        ProductNumberName: [{
216
+          required: true,
217
+          trigger: 'blur',
218
+          message: '请输入款号名称/品名',
219
+        }],
209 220
         MarketPrice: [{
210 221
           required: true,
211 222
           trigger: 'blur',
@@ -297,6 +308,7 @@ export default {
297 308
           this.ruleForm.ProductName = res.F_ProductName //商品名称
298 309
           this.ruleForm.ProductShortName = res.F_ProductShortName //副标题
299 310
           this.ruleForm.ProductNumber = res.F_ProductNumber //款号
311
+          this.ruleForm.ProductNumberName = res.F_ProductNumberName //款号名称/品名
300 312
           this.ruleForm.MarketPrice = res.F_MarketPrice //市场价格
301 313
           this.ruleForm.MemberPrice = res.F_MemberPrice //会员价格
302 314
           this.ruleForm.SpecialPrice = res.F_SpecialPrice //特惠价格

+ 23 - 11
CallCenterWeb.UI/src/views/orderManagement/createOrder/index.vue

@@ -132,24 +132,29 @@
132 132
                 </el-form-item>
133 133
               </el-col>
134 134
               <el-col :span='12'>
135
-                <el-form-item label="支付方式" prop="F_PayType" >
136
-                  <el-input v-model="ruleForm.F_PayType" placeholder="请输入支付方式"/>
135
+                <el-form-item label="运费" prop="F_ExpressFee" >
136
+                  <el-input v-model="ruleForm.F_ExpressFee" placeholder="请输入运费"/>
137 137
                 </el-form-item>
138 138
               </el-col>
139 139
             </el-row>
140 140
             <el-row>
141 141
               <el-col :span='12'>
142
+                <el-form-item label="支付方式" prop="F_PayType" >
143
+                  <el-input v-model="ruleForm.F_PayType" placeholder="请输入支付方式"/>
144
+                </el-form-item>
145
+              </el-col>
146
+              <el-col :span='12'>
142 147
                 <el-form-item label="实收金额" prop="F_RealPrice" >
143 148
                   <el-input v-model="ruleForm.F_RealPrice" placeholder="请输入实收金额"/>
144 149
                 </el-form-item>
145 150
               </el-col>
151
+            </el-row>
152
+            <el-row>
146 153
               <el-col :span='12'>
147 154
                 <el-form-item label="使用积分" prop="F_Score" >
148 155
                   <el-input v-model="ruleForm.F_Score" placeholder="请输入使用积分"/>
149 156
                 </el-form-item>
150 157
               </el-col>
151
-            </el-row>
152
-            <el-row>
153 158
               <el-col :span='12'>
154 159
                 <el-form-item label="关联会员ID" prop="F_VipId" >
155 160
                   <el-input v-model="ruleForm.F_VipId" placeholder="请输入关联会员ID"/>
@@ -313,6 +318,7 @@ export default {
313 318
         F_Address: '', //否 string 详细地址
314 319
         F_PostalCode: '', //否 string 邮编
315 320
         F_Express: '', //否 string 选择的快递
321
+        F_ExpressFee: '', //否 number 运费
316 322
         F_PayType: '', //否 string  支付方式
317 323
         F_Stock: '', //否 string 出货仓库
318 324
         F_RealPrice: '', //否 number 实收金额
@@ -340,11 +346,6 @@ export default {
340 346
           trigger: 'blur',
341 347
           message: '请输入订单类型',
342 348
         }],
343
-        F_Stock: [{
344
-          required: true,
345
-          trigger: 'blur',
346
-          message: '请输入订单类型',
347
-        }],
348 349
         F_Id: [{
349 350
           required: true,
350 351
           trigger: 'blur',
@@ -369,6 +370,7 @@ export default {
369 370
         if (valid) {
370 371
           this.ruleForm.F_State = state
371 372
           this.ruleForm.OrderDetailList = this.commodityTableData
373
+          this.ruleForm.F_ExpressFee = this.ruleForm.F_ExpressFee == '' ? 0 : this.ruleForm.F_ExpressFee
372 374
           this.ruleForm.F_RealPrice = this.ruleForm.F_RealPrice == '' ? 0 : this.ruleForm.F_RealPrice
373 375
           this.ruleForm.F_VipId = this.ruleForm.F_VipId == '' ? 0 : this.ruleForm.F_VipId
374 376
           this.ruleForm.F_Score = this.ruleForm.F_Score == '' ? 0 : this.ruleForm.F_Score
@@ -389,9 +391,16 @@ export default {
389 391
       })
390 392
     },
391 393
     resetForm() {
394
+      // this.$refs.commoditySearchData.resetFields()
395
+      this.$refs.ruleForm.resetFields()
392 396
       this.activityAccountData = []
393 397
       this.commodityTableData = []
394
-      this.$refs.ruleForm.resetFields()
398
+      this.generateId()
399
+      this.commoditySearchData.classId = '' // 商品分类id
400
+      this.commoditySearchData.className = '' // 商品分类名称
401
+      this.commoditySearchData.productName = '' //商品名称
402
+      this.commoditySearchData.productId = '' //商品id
403
+      this.commoditySearchData.num = 1 //商品数量
395 404
     },
396 405
     //获取省下拉数据
397 406
     getProvince() {
@@ -500,7 +509,9 @@ export default {
500 509
       })
501 510
     },
502 511
     generateId() {
512
+      console.log("1231231")
503 513
       let timestamp = new Date().getTime()
514
+      console.log("213",timestamp)
504 515
       this.ruleForm.F_Id = 'BJ' + this.staffNumber + 'T' + timestamp
505 516
     },
506 517
     //获取商品分类
@@ -535,7 +546,8 @@ export default {
535 546
           PinyinShort: '',
536 547
           ProductNumber: '',
537 548
           ProductShortName: '',
538
-          tag: ''
549
+          tag: '',
550
+          issale: 1,
539 551
         }
540 552
         getCommodityList(params).then(response => {
541 553
           this.loading = false

+ 11 - 4
CallCenterWeb.UI/src/views/orderManagement/orderList/edit.vue

@@ -112,6 +112,11 @@
112 112
             </el-select>
113 113
           </el-form-item>
114 114
         </el-col>
115
+        <el-col :span='12'>
116
+          <el-form-item label="运费" prop="F_ExpressFee" >
117
+            <el-input v-model="ruleForm.F_ExpressFee" placeholder="请输入运费"/>
118
+          </el-form-item>
119
+        </el-col>
115 120
         <el-col :span="12">
116 121
           <el-form-item label="支付方式" >
117 122
             <el-input v-model="ruleForm.F_PayType" placeholder="请输入支付方式"/>
@@ -268,7 +273,6 @@ export default {
268 273
       pickerOptions, // 日期数据
269 274
 
270 275
       ruleForm: {
271
-        orderid: "",
272 276
         F_Customer: '', //是 sring 客户姓名
273 277
         F_CustomerPhone: '', //是 sting 手机号码
274 278
         F_ADFrom: '', //是 string 消息来源
@@ -288,6 +292,7 @@ export default {
288 292
         F_Address: '', //否 string 详细地址
289 293
         F_PostalCode: '', //否 string 邮编
290 294
         F_Express: '', //否 string 选择的快递
295
+        F_ExpressFee: '', //否 number 运费
291 296
         F_PayType: '', //否 string  支付方式
292 297
         F_Stock: '', //否 string 出货仓库
293 298
         F_RealPrice: '', //否 number 实收金额
@@ -333,7 +338,6 @@ export default {
333 338
     Promise.all([
334 339
     ]).then(() => {
335 340
       if (this.rowid) {
336
-        this.ruleForm.orderid = this.rowid;
337 341
         this.getDetail(this.rowid);
338 342
       }
339 343
     });
@@ -344,7 +348,8 @@ export default {
344 348
         if (valid) {
345 349
           this.loading = true;
346 350
           this.ruleForm.F_State = state
347
-          this.ruleForm.OrderDetailList = this.commodityTableData
351
+          this.ruleForm.OrderDetailList = this.ruleForm.OrderDetailList === this.commodityTableData ? [] : this.commodityTableData
352
+          this.ruleForm.F_ExpressFee = this.ruleForm.F_ExpressFee == '' ? 0 : this.ruleForm.F_ExpressFee
348 353
           this.ruleForm.F_RealPrice = this.ruleForm.F_RealPrice == '' ? 0 : this.ruleForm.F_RealPrice
349 354
           this.ruleForm.F_VipId = this.ruleForm.F_VipId == '' ? 0 : this.ruleForm.F_VipId
350 355
           this.ruleForm.F_Score = this.ruleForm.F_Score == '' ? 0 : this.ruleForm.F_Score
@@ -504,7 +509,8 @@ export default {
504 509
           PinyinShort: '',
505 510
           ProductNumber: '',
506 511
           ProductShortName: '',
507
-          tag: ''
512
+          tag: '',
513
+          issale: 1,
508 514
         }
509 515
         getCommodityList(params).then(response => {
510 516
           this.loading = false
@@ -593,6 +599,7 @@ export default {
593 599
           this.ruleForm.F_Address = res.F_Address //详细地址
594 600
           this.ruleForm.F_PostalCode = res.F_PostalCode //邮编
595 601
           this.ruleForm.F_Express = res.F_Express + '' //选择的快递
602
+          this.ruleForm.F_ExpressFee = res.F_ExpressFee //运费
596 603
           this.ruleForm.F_PayType = res.F_PayType //支付方式
597 604
           this.ruleForm.F_Stock = res.F_Stock //出货仓库
598 605
           this.ruleForm.F_RealPrice = res.F_RealPrice == 0 ? '' : res.F_RealPrice //实收金额

+ 8 - 15
CallCenterWeb.UI/src/views/orderManagement/orderListCustodian/index.vue

@@ -56,15 +56,19 @@
56 56
       <el-table-column prop="F_BelongName" label="归属员工" align="center" />
57 57
       <el-table-column prop="F_Type" label="订单类型" align="center" />
58 58
       <el-table-column prop="F_Express" label="快递公司" align="center" />
59
-      <!-- <el-table-column label="操作" width="240" align="center" class-name="oparate_btn" fixed="right">
59
+      <el-table-column label="操作" width="240" align="center" class-name="oparate_btn" fixed="right">
60 60
         <template slot-scope="scope">
61
-          <el-button v-permission="'HY_detail'" type="text" @click="btn_detail(scope.row.F_Id)">详情</el-button>
61
+          <el-button v-permission="'HY_apply'" type="text" @click="btn_apply(scope.row.F_Id)">申请</el-button>
62
+          <el-button v-permission="'HY_apply'" type="text" @click="btn_apply(scope.row.F_Id)">申请</el-button>
63
+          <el-button v-permission="'HY_apply'" type="text" @click="btn_apply(scope.row.F_Id)">申请</el-button>
64
+          <el-button v-permission="'HY_apply'" type="text" @click="btn_apply(scope.row.F_Id)">申请</el-button>
65
+          <!-- <el-button v-permission="'HY_detail'" type="text" @click="btn_detail(scope.row.F_Id)">详情</el-button>
62 66
           <el-button v-permission="'HY_apply'" type="text" @click="btn_apply(scope.row.F_Id)">申请</el-button>
63 67
           <el-button v-permission="'HY_edit'" type="text" @click="btn_edit(scope.row.F_Id)">编辑</el-button>
64 68
           <el-button v-permission="'HY_cancel'" type="text" @click="btn_cancel(scope.row.F_Id)">取消</el-button>
65
-          <el-button v-permission="'HY_afterSales'" type="text" @click="btn_afterSales(scope.row.F_Id)">售后</el-button>
69
+          <el-button v-permission="'HY_afterSales'" type="text" @click="btn_afterSales(scope.row.F_Id)">售后</el-button> -->
66 70
         </template>
67
-      </el-table-column> -->
71
+      </el-table-column>
68 72
     </el-table>
69 73
     <pagination
70 74
       v-show="pageParams.total > 0"
@@ -187,17 +191,6 @@ export default {
187 191
     handleTabClick(tab, event) {
188 192
       this.getList()
189 193
     },
190
-    handle(ordercode){
191
-       this.$layer.iframe({
192
-        content: {
193
-          content: detail, // 传递的组件对象
194
-          parent: this, // 当前的vue对象
195
-          data: { 'rowid': ordercode }// props
196
-        },
197
-        area: ['80%', '90%'],
198
-        title: '订单详情'
199
-      })
200
-    },
201 194
     btn_detail(ordercode){
202 195
        this.$layer.iframe({
203 196
         content: {

+ 56 - 0
CallCenterWeb.UI/src/views/orderManagement/orderListCustomerService/goback.vue

@@ -0,0 +1,56 @@
1
+<template>
2
+    <div>
3
+        <el-form ref="form" :model="form" label-width="80px">
4
+            <el-form-item label="订单编号">
5
+                <el-col :span='12'>
6
+                    <span>{{ ruleForm.orderid }}</span>
7
+                </el-col>
8
+            </el-form-item>
9
+            <el-form-item label="退回原因">
10
+                <el-input v-model="ruleForm.remark" type="textarea" placeholder="退回原因"></el-input>
11
+            </el-form-item>
12
+            <el-form-item>
13
+                <el-button type="primary" @click="submitForm()">提交</el-button>
14
+            </el-form-item>
15
+        </el-form>
16
+    </div>
17
+</template>
18
+<script>
19
+
20
+import { checkOrderCustomerService } from '@/api/orderManagement/orderList'
21
+export default {
22
+    props: {
23
+        rowid: {
24
+            type: String,
25
+            default: ''
26
+        },
27
+    },
28
+    data(){
29
+        return{
30
+            ruleForm: {
31
+                orderid: '', //订单编号
32
+                state: 2, //订单状态 —— 2 退回
33
+                remark: '', //备注
34
+            },
35
+        }
36
+    },
37
+    created() {
38
+        if (this.rowid) {
39
+            this.ruleForm.orderid = this.rowid
40
+        }
41
+    },
42
+    methods: {
43
+        submitForm(){
44
+            checkOrderCustomerService(this.ruleForm).then(response => {
45
+                if (response.state.toLowerCase() === 'success') {
46
+                this.$message.success('恭喜你,工单信息审核成功!')
47
+                }
48
+            }).catch(() => {
49
+                this.loading = false
50
+            })
51
+        },
52
+    },
53
+}
54
+</script>
55
+<style lang="scss" scoped>
56
+</style>

+ 18 - 43
CallCenterWeb.UI/src/views/orderManagement/orderListCustomerService/index.vue

@@ -56,15 +56,14 @@
56 56
       <el-table-column prop="F_BelongName" label="归属员工" align="center" />
57 57
       <el-table-column prop="F_Type" label="订单类型" align="center" />
58 58
       <el-table-column prop="F_Express" label="快递公司" align="center" />
59
-      <!-- <el-table-column label="操作" width="240" align="center" class-name="oparate_btn" fixed="right">
59
+      <el-table-column label="操作" width="240" align="center" class-name="oparate_btn" fixed="right">
60 60
         <template slot-scope="scope">
61
-          <el-button v-permission="'HY_detail'" type="text" @click="btn_detail(scope.row.F_Id)">详情</el-button>
62
-          <el-button v-permission="'HY_apply'" type="text" @click="btn_apply(scope.row.F_Id)">申请</el-button>
63 61
           <el-button v-permission="'HY_edit'" type="text" @click="btn_edit(scope.row.F_Id)">编辑</el-button>
64
-          <el-button v-permission="'HY_cancel'" type="text" @click="btn_cancel(scope.row.F_Id)">取消</el-button>
65
-          <el-button v-permission="'HY_afterSales'" type="text" @click="btn_afterSales(scope.row.F_Id)">售后</el-button>
62
+          <el-button v-permission="'HY_return'" type="text" @click="btn_goback(scope.row.F_Id)">退回</el-button>
63
+          <el-button v-permission="'HY_through'" type="text" @click="btn_through(scope.row.F_Id)">通过</el-button>
64
+          <!-- <el-button v-permission="'HY_detail'" type="text" @click="btn_detail(scope.row.F_Id)">详情</el-button> -->
66 65
         </template>
67
-      </el-table-column> -->
66
+      </el-table-column>
68 67
     </el-table>
69 68
     <pagination
70 69
       v-show="pageParams.total > 0"
@@ -81,12 +80,11 @@
81 80
 import { getDictionaryValueList } from '@/api/commonAPI'
82 81
 import { getOrderListCustomerService, cancelOrder } from "@/api/orderManagement/orderList";
83 82
 import { pickerOptions, formatterContent } from "@/utils";
83
+import goback from "./goback";
84
+import through from "./through";
84 85
 // import edit from "./edit";
85
-// import cancel from './cancel';
86 86
 // import detail from './detail';
87
-// import apply from './apply';
88 87
 // import importAuth from './importAuth';
89
-// import afterSales from './afterSales';
90 88
 import Pagination from "@/components/Pagination"; // 对el-pagination 二次封装
91 89
 
92 90
 export default {
@@ -187,17 +185,6 @@ export default {
187 185
     handleTabClick(tab, event) {
188 186
       this.getList()
189 187
     },
190
-    handle(ordercode){
191
-       this.$layer.iframe({
192
-        content: {
193
-          content: detail, // 传递的组件对象
194
-          parent: this, // 当前的vue对象
195
-          data: { 'rowid': ordercode }// props
196
-        },
197
-        area: ['80%', '90%'],
198
-        title: '订单详情'
199
-      })
200
-    },
201 188
     btn_detail(ordercode){
202 189
        this.$layer.iframe({
203 190
         content: {
@@ -209,7 +196,6 @@ export default {
209 196
         title: '订单详情'
210 197
       })
211 198
     },
212
-
213 199
     btn_search() {
214 200
       this.pageParams.pageindex = 1;
215 201
       this.getList();
@@ -240,42 +226,31 @@ export default {
240 226
         title: '导入订单信息'
241 227
       })
242 228
     },
243
-    //申请
244
-    btn_apply(applyId) {
245
-       this.$layer.iframe({
246
-        content: {
247
-          content: apply, // 传递的组件对象
248
-          parent: this, // 当前的vue对象
249
-          data: { rowid: applyId } // props
250
-        },
251
-        area: ["30%", "40%"],
252
-        title: "申请内容"
253
-      });
254
-    },
255
-    //取消
256
-    btn_cancel(cancelId) {
229
+    //退回订单
230
+    btn_goback(orderid) {
257 231
       this.$layer.iframe({
258 232
         content: {
259
-          content: cancel, // 传递的组件对象
233
+          content: goback, // 传递的组件对象
260 234
           parent: this, // 当前的vue对象
261
-          data: { rowid: cancelId } // props
235
+          data: { rowid: orderid } // props
262 236
         },
263 237
         area: ["30%", "40%"],
264
-        title: "取消订单"
238
+        title: "退回订单"
265 239
       });
266 240
     },
267
-    //售后
268
-    btn_afterSales(afterSalesId) {
241
+    //通过订单
242
+    btn_through(orderid) {
269 243
       this.$layer.iframe({
270 244
         content: {
271
-          content: afterSales, // 传递的组件对象
245
+          content: through, // 传递的组件对象
272 246
           parent: this, // 当前的vue对象
273
-          data: { rowid: afterSalesId } // props
247
+          data: { rowid: orderid } // props
274 248
         },
275 249
         area: ["30%", "40%"],
276
-        title: "售后内容"
250
+        title: "通过订单"
277 251
       });
278 252
     },
253
+
279 254
     //合并
280 255
     btn_merge() {},
281 256
     //拆分

+ 56 - 0
CallCenterWeb.UI/src/views/orderManagement/orderListCustomerService/through.vue

@@ -0,0 +1,56 @@
1
+<template>
2
+    <div>
3
+        <el-form ref="form" :model="form" label-width="80px">
4
+            <el-form-item label="订单编号">
5
+                <el-col :span='12'>
6
+                    <span>{{ ruleForm.orderid }}</span>
7
+                </el-col>
8
+            </el-form-item>
9
+            <el-form-item label="备注">
10
+                <el-input v-model="ruleForm.remark" type="textarea" placeholder="备注"></el-input>
11
+            </el-form-item>
12
+            <el-form-item>
13
+                <el-button type="primary" @click="submitForm()">提交</el-button>
14
+            </el-form-item>
15
+        </el-form>
16
+    </div>
17
+</template>
18
+<script>
19
+
20
+import { checkOrderCustomerService } from '@/api/orderManagement/orderList'
21
+export default {
22
+    props: {
23
+        rowid: {
24
+            type: String,
25
+            default: ''
26
+        },
27
+    },
28
+    data(){
29
+        return{
30
+            ruleForm: {
31
+                orderid: '', //订单编号
32
+                state: 3, //订单状态 —— 2 退回
33
+                remark: '', //备注
34
+            },
35
+        }
36
+    },
37
+    created() {
38
+        if (this.rowid) {
39
+            this.ruleForm.orderid = this.rowid
40
+        }
41
+    },
42
+    methods: {
43
+        submitForm(){
44
+            checkOrderCustomerService(this.ruleForm).then(response => {
45
+                if (response.state.toLowerCase() === 'success') {
46
+                this.$message.success('恭喜你,工单信息审核成功!')
47
+                }
48
+            }).catch(() => {
49
+                this.loading = false
50
+            })
51
+        },
52
+    },
53
+}
54
+</script>
55
+<style lang="scss" scoped>
56
+</style>