1.交班新增选择是否打印商品销售数据
This commit is contained in:
@@ -133,8 +133,9 @@
|
||||
" type="primary" @click="recharge = true">退单</el-button>
|
||||
</div>
|
||||
<div class="orderbox_right_buttonbutton">
|
||||
<el-button @click="print('normal')" style="flex: 1">重打收银打票</el-button>
|
||||
<el-button @click="print('label')" style="flex: 1">重打标签小票</el-button>
|
||||
<!-- <el-button style="flex: 1" @click="invoiveHandle">开发票</el-button> -->
|
||||
<el-button @click="print('normal')" style="flex: 1">重打小票</el-button>
|
||||
<el-button @click="print('label')" style="flex: 1">重打标签</el-button>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
@@ -277,6 +278,7 @@
|
||||
|
||||
<script setup>
|
||||
import { ref, onMounted, reactive } from "vue";
|
||||
import { issuedby } from '@/api/invoice.js'
|
||||
import { ElMessage, dayjs } from "element-plus";
|
||||
import { useUser } from "@/store/user.js";
|
||||
import lodash from "lodash";
|
||||
@@ -327,6 +329,19 @@ const handlerecharge = () => {
|
||||
|
||||
const buttonloading = ref(); //loading
|
||||
|
||||
|
||||
// 获取开票人列表
|
||||
async function invoiveHandle() {
|
||||
try {
|
||||
const res = await issuedby({
|
||||
store_id: store.userInfo.loginName,
|
||||
is_pc: 1
|
||||
})
|
||||
} catch (error) {
|
||||
console.log(error);
|
||||
}
|
||||
}
|
||||
|
||||
// 确认选择时间
|
||||
function dateConfirm(time) {
|
||||
ordereData.startTime = time[0]
|
||||
|
||||
Reference in New Issue
Block a user