|
|
@@ -110,6 +110,7 @@
|
|
|
</div>
|
|
|
<el-table
|
|
|
border
|
|
|
+ v-if="items!=null"
|
|
|
:data="items"
|
|
|
size="small"
|
|
|
style="width: 100%;margin-top: 20px" >
|
|
|
@@ -118,30 +119,69 @@
|
|
|
<img :src="JSON.parse(scope.row.jsonInfo).image" style="height: 80px">
|
|
|
</template>
|
|
|
</el-table-column>
|
|
|
+ <el-table-column label="商品编码" width="300" align="center">
|
|
|
+ <template slot-scope="scope">
|
|
|
+ <p>{{JSON.parse(scope.row.jsonInfo).barCode}}</p>
|
|
|
+ </template>
|
|
|
+ </el-table-column>
|
|
|
+ <el-table-column label="商品组合编码" width="300" align="center">
|
|
|
+ <template slot-scope="scope">
|
|
|
+ <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="240" align="center">
|
|
|
+ <el-table-column label="单价" width="240" align="center">
|
|
|
<template slot-scope="scope">
|
|
|
- <p>价格:¥{{JSON.parse(scope.row.jsonInfo).price}}</p>
|
|
|
-
|
|
|
+ <p>¥{{JSON.parse(scope.row.jsonInfo).price.toFixed(2)}}</p>
|
|
|
</template>
|
|
|
</el-table-column>
|
|
|
- <el-table-column label="属性" width="240" align="center">
|
|
|
+ <el-table-column label="规格" width="240" align="center">
|
|
|
<template slot-scope="scope">
|
|
|
{{JSON.parse(scope.row.jsonInfo).sku}}
|
|
|
</template>
|
|
|
</el-table-column>
|
|
|
<el-table-column label="数量" width="180" align="center">
|
|
|
<template slot-scope="scope">
|
|
|
- {{scope.row.num}}
|
|
|
+ {{scope.row.num}}
|
|
|
</template>
|
|
|
</el-table-column>
|
|
|
- <el-table-column label="小计" align="center">
|
|
|
+ <el-table-column label="剂型" width="180" align="center">
|
|
|
+ <template slot-scope="scope">
|
|
|
+ {{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}}
|
|
|
+ </template>
|
|
|
+ </el-table-column>
|
|
|
+ <el-table-column label="上市许可持有人" width="180" align="center">
|
|
|
<template slot-scope="scope">
|
|
|
- ¥{{scope.row.num*JSON.parse(scope.row.jsonInfo).price}}
|
|
|
+ {{scope.row.mah}}
|
|
|
+ </template>
|
|
|
+ </el-table-column>
|
|
|
+ <el-table-column label="处方药" width="240" align="center">
|
|
|
+ <template slot-scope="scope">
|
|
|
+ {{scope.row.isPrescribe!=null&&scope.row.isPrescribe==1?'是':'否'}}
|
|
|
+ </template>
|
|
|
+ </el-table-column>
|
|
|
+ <el-table-column label="小计" align="center">
|
|
|
+ <template slot-scope="scope" >
|
|
|
+ ¥{{scope.row.num*JSON.parse(scope.row.jsonInfo).price.toFixed(2)}}
|
|
|
</template>
|
|
|
</el-table-column>
|
|
|
</el-table>
|