Pārlūkot izejas kodu

10/13 销售列表确认收货方式

mo 4 gadi atpakaļ
vecāks
revīzija
2c76ba9ebf

+ 9 - 0
src/utils/vueFilter.js

@@ -610,3 +610,12 @@ Vue.filter('teamPayStatus', value => {
 Vue.filter('moneyFormat', value => {
   return numeral(value).format('0,0.00')
 })
+// 确认收货类型
+Vue.filter('receiveFormat', value => {
+  let template = {
+    'NO_RECEIVE': "未确认",
+    'MANUAL_RECEIVE': "手动确认",
+    'AUTO_RECEIVE': "自动确认",
+  }
+  return template[value]
+})

+ 5 - 0
src/views/businessManager/orderManager/salesList.vue

@@ -154,6 +154,11 @@
                            prop="eduTeacher"
                            label="教务老师"></el-table-column>
           <el-table-column align='center'
+                           prop="receiveStatus"
+                           label="确认收货">
+            <template slot-scope="scope">{{ scope.row.receiveStatus | receiveFormat }}</template>
+          </el-table-column>
+          <el-table-column align='center'
                            fixed="right"
                            label="操作">
             <template slot-scope="scope">

+ 2 - 2
vue.config.js

@@ -19,9 +19,9 @@ const name = defaultSettings.title || '管乐迷后台管理系统' // page titl
 // let target = 'https://online.dayaedu.com' //线上
 // let target = 'http://dyme.utools.club' //test环境
 // let target = 'http://192.168.3.139:8000' // 箭河
-// let target = 'http://192.168.3.248:8000' //邹璇
+let target = 'http://192.168.3.248:8000' //邹璇
 // let target = 'http://192.168.3.8:8000' //勇哥
-let target = 'http://dev.dayaedu.com' // 测试服
+// let target = 'http://dev.dayaedu.com' // 测试服
 // let target = 'http://192.168.3.196:8080' // 乔
 // All configuration item explanations can be find in https://cli.vuejs.org/config/
 module.exports = {