linwenxin 6 månader sedan
förälder
incheckning
aca44559ac

+ 6 - 6
src/views/partsManagement/masterAccountingManagement/components/website-parts-shop-sales-information.vue

@@ -29,19 +29,19 @@
               <el-descriptions-item>
                 <template slot="label"> 申请类别 </template>
                 <div>
-                  {{ item.applyCategory }}
+                  {{ { TRADE: '商用空调', ELEC: '生活电器(小家电)', HOME: '家用空调' }[item.applyCategory] }}
                 </div>
               </el-descriptions-item>
               <el-descriptions-item>
                 <template slot="label"> 申请类型 </template>
                 <div>
-                  {{ item.applyType }}
+                  {{ { '0': '普通申请', '1': '急件申请', '2': '备件申请' }[item.applyType] }}
                 </div>
               </el-descriptions-item>
               <el-descriptions-item>
                 <template slot="label"> 发货方式 </template>
                 <div>
-                  {{ item.deliveryType }}
+                  {{ { '0': '快递', '1': '自提' }[item.deliveryType] }}
                 </div>
               </el-descriptions-item>
             </el-descriptions>
@@ -57,7 +57,7 @@
               <el-descriptions-item>
                 <template slot="label"> 销售类型 </template>
                 <div>
-                  {{ item.buyPeople }}
+                  {{ { CUSTOMER: '客户', WORKER: '内部师傅' }[item.buyPeople] }}
                 </div>
               </el-descriptions-item>
               <el-descriptions-item>
@@ -129,7 +129,7 @@
               <el-descriptions-item>
                 <template slot="label"> 支付方式 </template>
                 <div>
-                  {{ item.payType }}
+                  {{ { CASH: '现金', ALLINPAY: '通联', CREDIT: '记账' }[item.payType] }}
                 </div>
               </el-descriptions-item>
               <el-descriptions-item>
@@ -147,7 +147,7 @@
               <el-descriptions-item>
                 <template slot="label"> 收款状态 </template>
                 <div>
-                  {{ item.creditStatus }}
+                  {{ item.creditStatus ? '已收款' : '未收款' }}
                 </div>
               </el-descriptions-item>
             </el-descriptions>

+ 2 - 0
src/views/partsManagement/masterAccountingManagement/index.vue

@@ -48,6 +48,7 @@
       @goBack="
         () => {
           showFromBool = false
+          $refs.pageRef.refreshList()
         }
       "
     />
@@ -64,6 +65,7 @@
         bool => {
           visible = bool
           rowData = null
+          $refs.pageRef.refreshList()
         }
       "
     />