md
This commit is contained in:
parent
81f7616ad9
commit
1062ad60c2
@ -26,6 +26,20 @@ export function addEmisSettleInvoiceChRecord(data) {
|
||||
})
|
||||
}
|
||||
|
||||
/**
|
||||
* 作废发票
|
||||
* @param {*} data
|
||||
* @returns
|
||||
*/
|
||||
export function invalidInvoice(data) {
|
||||
return request({
|
||||
url: '/emis/emisSettleInvoiceChRecord/invalidInvoice',
|
||||
method: 'post',
|
||||
data: data
|
||||
})
|
||||
}
|
||||
|
||||
|
||||
export function sendHXToOpen(data) {
|
||||
return request({
|
||||
url: '/emis/emisSettleInvoiceChRecord/sendHXToOpen',
|
||||
|
||||
@ -181,7 +181,7 @@
|
||||
</template>
|
||||
|
||||
<script>
|
||||
import { listEmisSettleInvoiceChRecord,sendHXToOpen, getEmisSettleInvoiceChRecord, delEmisSettleInvoiceChRecord, addEmisSettleInvoiceChRecord, updateEmisSettleInvoiceChRecord } from "@/api/emis/emisSettleInvoiceChRecord";
|
||||
import { listEmisSettleInvoiceChRecord,sendHXToOpen, getEmisSettleInvoiceChRecord, delEmisSettleInvoiceChRecord, addEmisSettleInvoiceChRecord, updateEmisSettleInvoiceChRecord,invalidInvoice } from "@/api/emis/emisSettleInvoiceChRecord";
|
||||
import elDateSimplePicker from '@/components/DatePickerAdv/elDateSimplePicker';
|
||||
// import emisSettleInvoiceChRecordView from '@/views/emis/emisSettleInvoiceChRecord/emisSettleInvoiceChRecordView';
|
||||
import emisSettleInvoiceChRecordForm from '@/views/emis/emisSettleInvoiceChRecord/emisSettleInvoiceChRecordForm';
|
||||
@ -379,7 +379,7 @@ export default {
|
||||
id:ids[0],
|
||||
openChStatus:'3'
|
||||
}
|
||||
return updateEmisSettleInvoiceChRecord(postForm);
|
||||
return invalidInvoice(postForm);
|
||||
}).then(() => {
|
||||
this.getList();
|
||||
this.$modal.msgSuccess("操作成功");
|
||||
|
||||
@ -229,6 +229,7 @@
|
||||
<el-table-column :label="$t('面单单号')" align="center" prop="billCode" width="80" :show-overflow-tooltip="true" />
|
||||
<!-- <el-table-column :label="$t('快递单号')" align="center" prop="mddh" width="80" :show-overflow-tooltip="true" /> -->
|
||||
<el-table-column :label="$t('业务员')" align="center" prop="salesmen" width="80" :show-overflow-tooltip="true" />
|
||||
<el-table-column :label="$t('申请人')" align="center" prop="applyManName" width="80" :show-overflow-tooltip="true" />
|
||||
|
||||
<el-table-column :label="$t('开票金额')" align="center" prop="openMoney" width="80" :show-overflow-tooltip="true" />
|
||||
<el-table-column :label="$t('公司抬头')" align="center" prop="companyName" width="170" :show-overflow-tooltip="true" />
|
||||
|
||||
Loading…
Reference in New Issue
Block a user