|
|
|
|
@ -439,7 +439,7 @@ import { mapGetters } from "vuex"; |
|
|
|
|
import moment from "moment"; |
|
|
|
|
import { dateFormat } from "../../util/date"; |
|
|
|
|
import requestSub from '../components/requestSub.vue' |
|
|
|
|
import { getList, getDetail, evaluateSign, addFile, saveData,customerConfirm,customerReject,customerRepairConfirm,customerRepairReject } from '@/api/operation/hand' |
|
|
|
|
import { getList, getDetail, evaluateSign, addFile, saveData,customerConfirm,customerReject,customerRepairConfirm,customerRepairReject,serviceInvoice } from '@/api/operation/hand' |
|
|
|
|
import { getDeviceList } from '@/api/device/device' |
|
|
|
|
import { getChildList } from '@/api/system/dictbiz' |
|
|
|
|
let action = "https://api.avuejs.com/imgupload"; |
|
|
|
|
@ -752,7 +752,16 @@ export default { |
|
|
|
|
cancelButtonText: '取消', |
|
|
|
|
type: 'warning' |
|
|
|
|
}).then(() => { |
|
|
|
|
|
|
|
|
|
let queryData = [] |
|
|
|
|
this.selectionList.forEach(item => { |
|
|
|
|
queryData.push({ |
|
|
|
|
id: item.id |
|
|
|
|
}) |
|
|
|
|
}) |
|
|
|
|
serviceInvoice(queryData).then(res=>{ |
|
|
|
|
this.$message.success('发票开具成功') |
|
|
|
|
this.onLoad() |
|
|
|
|
}) |
|
|
|
|
}).catch(() =>{ |
|
|
|
|
|
|
|
|
|
}) |
|
|
|
|
|