huangxw 10 сар өмнө
parent
commit
6afe2fa539

+ 12 - 0
src/api/price/report/index.ts

@@ -50,3 +50,15 @@ export const priceDetailCount = (query?: any): any => {
         params: query
     });
 };
+/**
+ * 价格审批
+ * @param query
+ * @returns {*}
+ */
+export const approvalPrice = (query?: any): any => {
+    return request({
+        url: '/dgtmedicine/originPriceDetail/approvalPrice',
+        method: 'post',
+        data: query
+    });
+};

+ 1 - 1
src/views/cdt/orders/detail/index.vue

@@ -21,7 +21,7 @@
                 <div v-show="activeName === '1'" class="flex1 ov-hd d-flex flex-cln">
                     <orderInfo :info="orderItem"></orderInfo>
                 </div>
-                <div v-show="activeName === '2'" class="flex1 ov-hd">
+                <div v-show="activeName === '2'" class="flex1 over-auto">
                     <menuInfo :info="orderItem?.testOrderDetailList[0]"></menuInfo>
                 </div>
             </template>

+ 9 - 2
src/views/price/models/priceRepordCheck.vue

@@ -23,12 +23,19 @@
             </vxe-column>
             <vxe-column title="积分" field="points" width="60" :formatter="colNoData" />
             <vxe-column title="上报人" field="createByName" width="100" :formatter="colNoData" />
-            <vxe-column title="上报时间" field="createTime" min-width="100" :formatter="colNoData" />
-            <vxe-column title="状态" fixed="right" width="110">
+            <vxe-column title="上报时间" field="createTime" width="160" :formatter="colNoData" />
+            <vxe-column title="审核状态" fixed="right" width="110">
                 <template #default="{ row }">
                     <div :class="['c-res-' + row?.auditStatus]">{{ selectDictLabel(check_status, row?.auditStatus) }}</div>
                 </template>
             </vxe-column>
+            <!-- 操作 -->
+            <vxe-column title="操作" align="center" fixed="right" width="180">
+                <template #default="{ row }">
+                    <el-button text type="primary">通过</el-button>
+                    <el-button text type="danger">不通过</el-button>
+                </template>
+            </vxe-column>
         </vxe-table>
     </div>
     <pagination v-show="total > 0" :total="total" v-model:page="queryParams.pageNum" v-model:limit="queryParams.pageSize" @pagination="getList" />

+ 1 - 1
src/views/price/report/detail/index.vue

@@ -1,7 +1,7 @@
 <template>
     <div class="p-3">
         <div class="bg-fff flex1 ov-hd d-flex flex-cln">
-            <div class="d-flex a-c pd-16">
+            <div class="d-flex a-c pd-16" style="padding-bottom: 0;">
                 <div class="f-s-20 c-333 f-w-7 mr-10">上报详情</div>
                 <el-button @click="router.go(-1)" type="primary" text>
                     <el-icon>