处方编号未更新
This commit is contained in:
parent
86d6fe299c
commit
a7381e2363
@ -7,7 +7,7 @@
|
|||||||
</a-table>
|
</a-table>
|
||||||
</template>
|
</template>
|
||||||
<script setup>
|
<script setup>
|
||||||
import {toRefs} from 'vue';
|
import { watch,toRefs } from 'vue';
|
||||||
const props = defineProps({
|
const props = defineProps({
|
||||||
// 数组名称
|
// 数组名称
|
||||||
data: {
|
data: {
|
||||||
@ -21,5 +21,9 @@ const props = defineProps({
|
|||||||
type: Array
|
type: Array
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
const { data, columns,pagination} = toRefs(props);
|
const { data, columns,pagination} = toRefs(props);
|
||||||
|
// watch(()=>props.data,(value)=>{
|
||||||
|
// data.value=value;
|
||||||
|
// },{immediate:true})
|
||||||
</script>
|
</script>
|
||||||
@ -671,6 +671,7 @@ const patientVisible = ref(false);
|
|||||||
const patientData = reactive({});
|
const patientData = reactive({});
|
||||||
const lookAllAddress=ref(false);
|
const lookAllAddress=ref(false);
|
||||||
const AddressData=reactive({});
|
const AddressData=reactive({});
|
||||||
|
let chufang_data = ref([]);
|
||||||
const chufang_columns = reactive([
|
const chufang_columns = reactive([
|
||||||
{
|
{
|
||||||
title: '处方编号',
|
title: '处方编号',
|
||||||
@ -698,7 +699,7 @@ const chufang_columns = reactive([
|
|||||||
slotName: 'url',
|
slotName: 'url',
|
||||||
},
|
},
|
||||||
]);
|
]);
|
||||||
let chufang_data = reactive([]);
|
|
||||||
watch(
|
watch(
|
||||||
() => deleteVisible.value,
|
() => deleteVisible.value,
|
||||||
(value) => {
|
(value) => {
|
||||||
@ -871,6 +872,7 @@ const handleQuery = async () => {
|
|||||||
getProductInfo(params);
|
getProductInfo(params);
|
||||||
};
|
};
|
||||||
const getDetail = async (order_product_id) => {
|
const getDetail = async (order_product_id) => {
|
||||||
|
chufang_data.vlaue=[];
|
||||||
const { code, data, message } = await getProductDetail(order_product_id);
|
const { code, data, message } = await getProductDetail(order_product_id);
|
||||||
if (code == 200) {
|
if (code == 200) {
|
||||||
Object.assign(modalForm, data);
|
Object.assign(modalForm, data);
|
||||||
@ -904,8 +906,7 @@ const getDetail = async (order_product_id) => {
|
|||||||
data_arr[0][item.dataIndex] = result[item.dataIndex];
|
data_arr[0][item.dataIndex] = result[item.dataIndex];
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
chufang_data.value= data_arr;
|
||||||
chufang_data = data_arr;
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user