|
|
@@ -526,12 +526,14 @@ import {releaseOrder, selectOrderDetail} from "@/api/prescription/prescriptionAu
|
|
|
import { updatePrintStatus } from "@/api/prescription/prescriptionCore"
|
|
|
import Pres from "@/components/Pres/index.vue";
|
|
|
import JsBarcode from "@/components/JsBarcode/index.vue";
|
|
|
+import dayjs from 'dayjs'
|
|
|
|
|
|
// import JsBarcode from "jsbarcode"
|
|
|
export default {
|
|
|
name: "PrescriptionCore",
|
|
|
components:{Pres, JsBarcode,},
|
|
|
data() {
|
|
|
+ const now = dayjs().format('YYYY-MM-DD');
|
|
|
return {
|
|
|
curPreNo:'',
|
|
|
curName:'',
|
|
|
@@ -635,7 +637,7 @@ export default {
|
|
|
age: null,
|
|
|
department: null,
|
|
|
doctor: null,
|
|
|
- prescriptionTime: [],
|
|
|
+ prescriptionTime: [now, now],
|
|
|
disCode: null,
|
|
|
disName: null,
|
|
|
symCode: null,
|
|
|
@@ -878,6 +880,8 @@ export default {
|
|
|
/** 重置按钮操作 */
|
|
|
resetQuery() {
|
|
|
this.resetForm("queryForm");
|
|
|
+ const now = dayjs().format('YYYY-MM-DD');
|
|
|
+ this.queryParams.prescriptionTime = [now, now];
|
|
|
this.handleQuery();
|
|
|
},
|
|
|
// 多选框选中数据
|