Bladeren bron

店铺端、批次号和溯源码详情、分页拼接展示

yjwang 2 dagen geleden
bovenliggende
commit
086e02f3f2

+ 23 - 12
src/views/components/store/storeAfterSalesDetails.vue

@@ -91,12 +91,32 @@
          <p>{{JSON.parse(scope.row.jsonInfo).productName}}</p>
        </template>
      </el-table-column>
-     <el-table-column label="溯源码" width="300" align="center">
+
+     <el-table-column label="通用名称" width="180" align="center">
+       <template slot-scope="scope">
+         {{scope.row.commonName}}
+       </template>
+     </el-table-column>
+
+     <el-table-column label="生产许可证或备案凭证编号" width="180" align="center">
+       <template slot-scope="scope">
+         {{scope.row.prodLicenseNo || '-' }}
+       </template>
+     </el-table-column>
+
+     <el-table-column label="生产企业" width="180" align="center">
+       <template slot-scope="scope">
+         {{scope.row.manufacturer || '-' }}
+       </template>
+     </el-table-column>
+
+
+     <el-table-column label="溯源码/有效期" width="300" align="center">
        <template slot-scope="scope">
          <p>{{scope.row.verifyCode}}</p>
        </template>
      </el-table-column>
-     <el-table-column label="批次号" width="300" align="center">
+     <el-table-column label="生产批次号/序列号" width="300" align="center">
        <template slot-scope="scope">
          <p>{{scope.row.batchNumber}}</p>
        </template>
@@ -121,16 +141,7 @@
          {{scope.row.dosageForm}}
        </template>
      </el-table-column>
-     <el-table-column label="通用名称" width="180" align="center">
-       <template slot-scope="scope">
-         {{scope.row.commonName}}
-       </template>
-     </el-table-column>
-<!--     <el-table-column label="批号" width="180" align="center">-->
-<!--       <template slot-scope="scope">-->
-<!--         {{scope.row.batchNumber}}-->
-<!--       </template>-->
-<!--     </el-table-column>-->
+
      <el-table-column label="注册证书编号" width="180" align="center">
        <template slot-scope="scope">
          {{scope.row.drugRegCertNo}}

+ 23 - 12
src/views/components/store/storeOrderDetails.vue

@@ -214,17 +214,37 @@
               <p>{{JSON.parse(scope.row.jsonInfo).groupBarCode}}</p>
             </template>
           </el-table-column>
+
           <el-table-column label="商品名称" width="300" align="center">
             <template slot-scope="scope">
               <p>{{JSON.parse(scope.row.jsonInfo).productName}}</p>
             </template>
           </el-table-column>
-          <el-table-column label="溯源码" width="300" align="center">
+
+          <el-table-column label="通用名称" width="180" align="center">
+            <template slot-scope="scope">
+              {{scope.row.commonName}}
+            </template>
+          </el-table-column>
+
+          <el-table-column label="生产许可证或备案凭证编号" width="180" align="center">
+            <template slot-scope="scope">
+              {{scope.row.prodLicenseNo || '-' }}
+            </template>
+          </el-table-column>
+
+          <el-table-column label="生产企业" width="180" align="center">
+            <template slot-scope="scope">
+              {{scope.row.manufacturer || '-' }}
+            </template>
+          </el-table-column>
+
+          <el-table-column label="溯源码/有效期" width="300" align="center">
             <template slot-scope="scope">
               <p>{{scope.row.verifyCode}}</p>
             </template>
           </el-table-column>
-          <el-table-column label="批次号" width="300" align="center">
+          <el-table-column label="生产批次号/序列号" width="300" align="center">
             <template slot-scope="scope">
               <p>{{scope.row.batchNumber}}</p>
             </template>
@@ -249,16 +269,7 @@
               {{scope.row.dosageForm}}
             </template>
           </el-table-column>
-          <el-table-column label="通用名称" width="180" align="center">
-            <template slot-scope="scope">
-              {{scope.row.commonName}}
-            </template>
-          </el-table-column>
-          <el-table-column label="批号" width="180" align="center">
-            <template slot-scope="scope">
-              {{scope.row.batchNumber}}
-            </template>
-          </el-table-column>
+
           <el-table-column label="注册证书编号" width="180" align="center">
             <template slot-scope="scope">
               {{scope.row.drugRegCertNo}}

+ 6 - 6
src/views/store/storeOrder/index.vue

@@ -89,20 +89,20 @@
           @keyup.enter.native="handleQuery"
         />
       </el-form-item>
-      <el-form-item label="溯源码" prop="verifyCode">
+      <el-form-item label="溯源码/有效期" prop="verifyCode">
         <el-input
           v-model="queryParams.verifyCode"
           clearable
-          placeholder="请输入溯源码"
+          placeholder="请输入溯源码/有效期"
           size="small"
           @keyup.enter.native="handleQuery"
         />
       </el-form-item>
-      <el-form-item label="产批号" prop="batchNumber">
+      <el-form-item label="产批次号/序列号" prop="batchNumber">
         <el-input
           v-model="queryParams.batchNumber"
           clearable
-          placeholder="请输入产批号"
+          placeholder="请输入产批次号/序列号"
           size="small"
           @keyup.enter.native="handleQuery"
         />
@@ -146,8 +146,8 @@
       <el-table-column align="center" type="selection" width="55"/>
       <el-table-column align="center" label="药品订单号" prop="orderCode" width="180px"/>
       <el-table-column align="center" label="处方编码" prop="serialNo" width="180px"/>
-      <el-table-column label="溯源码" align="center" prop="verifyCode" width="200px" />
-      <el-table-column label="产批次号" align="center" prop="batchNumber" width="200px" />
+      <el-table-column label="溯源码/有效期" align="center" prop="verifyCode" width="200px" />
+      <el-table-column label="产批次号/序列号" align="center" prop="batchNumber" width="200px" />
       <el-table-column align="center" label="所属店铺" prop="storeName"/>
       <!--     <el-table-column label="员工" align="center" prop="companyUserName" />-->
       <el-table-column align="center" label="就诊人" prop="patientName"/>