-
-
-
-
-
-
- {{ inventory_order_data.code }}
-
-
-
-
-
- {{ inventory_order_data.managerUserName }}
-
-
-
-
-
- {{ inventory_order_data.purchaseDate }}
-
-
-
-
-
- {{ inventory_order_data.shippingCode }}
-
-
-
-
-
-
-
- {{ inventory_order_data.invoiceCode }}
-
-
-
-
-
-
+
+
+
+
+
+
+
+ {{ inventory_order_data.code }}
+
+
+
+
+
+ {{ inventory_order_data.managerUserName }}
+
+
+
+
+
-
- {{ inventory_order_data.supplierName }}
-
-
-
-
-
- {{ inventory_order_data.remark }}
-
-
-
-
- 保存
- 编辑
-
-
-
-
+
{{ inventory_order_data.purchaseDate }}
+
+
+
+
+
+ {{ inventory_order_data.shippingCode }}
+
+
+
+
+
+
+
+ {{ inventory_order_data.invoiceCode }}
+
+
+
+
+
+
+
+ {{ inventory_order_data.supplierName }}
+
+
+
+
+
+ {{ inventory_order_data.remark }}
+
+
+
+
+ 保存
+ 编辑
+
+
+
+
+
+
+
+
{{ showGoodSearch ? '取消' : '添加药品' }}
+
+
+
+
+
+
+
+
+
+
+
+
+
+ {{ scope.row.wholeNumber }}
+
+
+
+
+
+
+ {{ scope.row.purchaseUnitPrice }}
+
+
+
+
+
+ {{ scope.row.productionBatchCode }}
+
+
+
+
+
+ {{ scope.row.productionDate }}
+
+
+
+
+
+
+ {{ scope.row.expiryDate }}
+
+
+
+
+ 保存
+
+ 移除
+
+ 保存
+
+ 编辑
+
+ 退货
+
+
+
+
+
+
-
-
-
{{ showGoodSearch ? '取消' : '添加药品' }}
-
-
+
+
+
+ 订单总金额:¥{{ inventory_order_data.totalPrice.toFixed(2) }}
+
+
+ 整单退货
+ 关闭
-
-
-
-
-
-
-
-
-
- {{ scope.row.wholeNumber }}
-
+
+
-
-
-
-
- {{ scope.row.purchaseUnitPrice }}
-
-
-
-
-
- {{ scope.row.productionBatchCode }}
-
-
-
-
-
- {{ scope.row.productionDate }}
-
-
-
-
-
-
- {{ scope.row.expiryDate }}
-
-
-
-
- 保存
-
- 移除
-
- 保存
-
- 编辑
-
- 退货
-
-
-
-
-
-
-
-
- 订单总金额:¥{{ inventory_order_data.totalPrice.toFixed(2) }}
-
-
- 整单退货
- 关闭
-
-
-
@@ -202,7 +208,7 @@ import {ElMessage, ElMessageBox} from "element-plus";
import GoodsSearch from "@/components/inventory/GoodsSearch.vue";
import CloseBtn from "@/components/CloseBtn.vue";
-let props = defineProps({
+const props = defineProps({
code: {
type: String,
default: ""
@@ -291,10 +297,14 @@ const saveOrderEdit = () => {
})
}
-onMounted(() => {
+const isShow = ref(false)
+const code = ref('')
+const init = (e: any) => {
+ code.value = e
+ isShow.value = true
getSupplierList()
getOrderDetail()
-})
+}
const getTotalPrice = () => {
let totalPrice = 0;
table_list.value.forEach((item: any) => {
@@ -304,6 +314,7 @@ const getTotalPrice = () => {
}
const emit = defineEmits(['close', 'updateOrderDetail'])
let exit = () => {
+ isShow.value = false
emit('close')
}
const table_list: any = ref([])
@@ -331,7 +342,7 @@ const getSupplierList = () => {
})
}
const getOrderDetail = () => {
- post("inventory/order/detail", {code: props.code}).then((res: any) => {
+ post("inventory/order/detail", {code: code.value}).then((res: any) => {
inventory_order_data.value = res.inventoryOrder
table_list.value = res.inventoryOrderGoodsList
})
@@ -387,7 +398,7 @@ const goodsSelectCallBack = (inventory: any) => {
}, 200)
}
-
+defineExpose({init})
\ No newline at end of file
diff --git a/src/components/manger/Auth.vue b/src/components/manger/Auth.vue
index c87e782..479d51c 100644
--- a/src/components/manger/Auth.vue
+++ b/src/components/manger/Auth.vue
@@ -15,13 +15,6 @@
-
-
-
-
-
-
-
- {{ decryptedText.rule == 1 ? "禁用医保" : decryptedText.rule == 2 ? "全部开放" : "" }}
+ {{ decryptedText.rule == 1 ? "禁用医保" : decryptedText.rule == 2 ? "全部开放" : "暂无" }}
- {{ decryptedText.fixmedinsCode}}
+ {{ decryptedText.fixmedinsCode||'无'}}
diff --git a/src/views/inventory/inventory.vue b/src/views/inventory/inventory.vue
index 17526af..787e447 100644
--- a/src/views/inventory/inventory.vue
+++ b/src/views/inventory/inventory.vue
@@ -47,10 +47,7 @@