1/8 发票恢复

dev2.0
wangwei 6 months ago
parent 1cd52c8490
commit 66da01abbb

@ -155,99 +155,99 @@
</el-card> </el-card>
</el-form> </el-form>
<!--<el-tabs type="border-card" style="margin: 15px">--> <el-tabs type="border-card" style="margin: 15px">
<!-- &lt;!&ndash;单据业务详情&ndash;&gt;--> <!--单据业务详情-->
<!-- <el-tab-pane>--> <el-tab-pane>
<!-- <span slot="label">单据 {{ input.billNo }}-单据详情</span>--> <span slot="label">单据 {{ input.billNo }}-单据详情</span>
<!-- <el-table--> <el-table
<!-- v-loading="bizDetailLoading"--> v-loading="bizDetailLoading"
<!-- :data="codeDetailList"--> :data="codeDetailList"
<!-- style="width: 100%"--> style="width: 100%"
<!-- border--> border
<!-- @current-change="BizDetailInv"--> @current-change="BizDetailInv"
<!-- @selection-change="handleSelectionUdiChange"--> @selection-change="handleSelectionUdiChange"
<!-- row-key="id"--> row-key="id"
<!-- highlight-current-row--> highlight-current-row
<!-- >--> >
<!-- <el-table-column type="selection" width="55"></el-table-column>--> <el-table-column type="selection" width="55"></el-table-column>
<!-- <el-table-column label="序号" type="index"></el-table-column>--> <el-table-column label="序号" type="index"></el-table-column>
<!-- <el-table-column--> <el-table-column
<!-- label="发票编码"--> label="发票编码"
<!-- prop="invoiceCodes"--> prop="invoiceCodes"
<!-- show-overflow-tooltip--> show-overflow-tooltip
<!-- ></el-table-column>--> ></el-table-column>
<!-- <el-table-column--> <el-table-column
<!-- label="物资名称"--> label="物资名称"
<!-- prop="coName"--> prop="coName"
<!-- width="150"--> width="150"
<!-- show-overflow-tooltip--> show-overflow-tooltip
<!-- ></el-table-column>--> ></el-table-column>
<!-- <el-table-column--> <el-table-column
<!-- label="规格型号"--> label="规格型号"
<!-- width="150"--> width="150"
<!-- prop="spec"--> prop="spec"
<!-- ></el-table-column>--> ></el-table-column>
<!-- <el-table-column--> <el-table-column
<!-- label="批次号"--> label="批次号"
<!-- width="100"--> width="100"
<!-- prop="batchNo"--> prop="batchNo"
<!-- ></el-table-column>--> ></el-table-column>
<!-- <el-table-column--> <el-table-column
<!-- label="数量"--> label="数量"
<!-- prop="count"--> prop="count"
<!-- width="100"--> width="100"
<!-- ></el-table-column>--> ></el-table-column>
<!-- <el-table-column--> <el-table-column
<!-- label="扫码数量"--> label="扫码数量"
<!-- prop="reCount"--> prop="reCount"
<!-- width="100"--> width="100"
<!-- ></el-table-column>--> ></el-table-column>
<!-- <el-table-column--> <el-table-column
<!-- label="价格"--> label="价格"
<!-- prop="price"--> prop="price"
<!-- width="100"--> width="100"
<!-- ></el-table-column>--> ></el-table-column>
<!-- <el-table-column--> <el-table-column
<!-- label="金额"--> label="金额"
<!-- prop="amount"--> prop="amount"
<!-- width="100"--> width="100"
<!-- ></el-table-column>--> ></el-table-column>
<!-- <el-table-column--> <el-table-column
<!-- label="生产日期"--> label="生产日期"
<!-- prop="productDate"--> prop="productDate"
<!-- width="100"--> width="100"
<!-- ></el-table-column>--> ></el-table-column>
<!-- <el-table-column--> <el-table-column
<!-- label="失效日期"--> label="失效日期"
<!-- prop="expireDate"--> prop="expireDate"
<!-- width="100"--> width="100"
<!-- ></el-table-column>--> ></el-table-column>
<!-- <el-table-column width="100" label="计量单位" prop="measname">--> <el-table-column width="100" label="计量单位" prop="measname">
<!-- </el-table-column>--> </el-table-column>
<!-- <el-table-column--> <el-table-column
<!-- label="生产企业"--> label="生产企业"
<!-- prop="manufacturer"--> prop="manufacturer"
<!-- width="160"--> width="160"
<!-- show-overflow-tooltip--> show-overflow-tooltip
<!-- ></el-table-column>--> ></el-table-column>
<!-- <el-table-column--> <el-table-column
<!-- label="注册/备案号"--> label="注册/备案号"
<!-- width="160"--> width="160"
<!-- prop="certCode"--> prop="certCode"
<!-- show-overflow-tooltip--> show-overflow-tooltip
<!-- ></el-table-column>--> ></el-table-column>
<!-- </el-table>--> </el-table>
<!-- <pagination--> <pagination
<!-- v-show="codeTotal > 0"--> v-show="codeTotal > 0"
<!-- :total="codeTotal"--> :total="codeTotal"
<!-- :page.sync="codeQuery.page"--> :page.sync="codeQuery.page"
<!-- :limit.sync="codeQuery.limit"--> :limit.sync="codeQuery.limit"
<!-- @pagination="getCodeDetailLists"--> @pagination="getCodeDetailLists"
<!-- />--> />
<!-- </el-tab-pane>--> </el-tab-pane>
<!--</el-tabs>--> </el-tabs>
<el-image-viewer <el-image-viewer
v-if="imgViewerVisible" v-if="imgViewerVisible"
style="z-index: 9999" style="z-index: 9999"
@ -306,7 +306,7 @@ export default {
data() { data() {
return { return {
idList: [], idList: [],
// invoiceRow: [], invoiceRow: [],
statusCode: null, statusCode: null,
choiceFile: "选取文件", choiceFile: "选取文件",
fileList: [], fileList: [],
@ -482,10 +482,10 @@ export default {
components: {AcceptOrder, DialogInvoice, InvoiceRegister, ElImageViewer}, components: {AcceptOrder, DialogInvoice, InvoiceRegister, ElImageViewer},
methods: { methods: {
onSubmit() { onSubmit() {
// if (this.invoiceRow == null|| this.invoiceRow.length === 0) { if (this.invoiceRow == null|| this.invoiceRow.length === 0) {
// this.$message.error("! "); this.$message.error("请选择要登记的物资! ");
// return false; return false;
// } }
if (this.$isBlank(this.inputQuery.invoiceEncode)) { if (this.$isBlank(this.inputQuery.invoiceEncode)) {
this.$message.error("发票编码不能为空!"); this.$message.error("发票编码不能为空!");
return; return;

@ -798,7 +798,6 @@
:closeDialog="closecheckInvoice" :closeDialog="closecheckInvoice"
:input="inputInv" :input="inputInv"
:getOrderDetails="getOrderDetails" :getOrderDetails="getOrderDetails"
:invoiceRow="detaillist"
></checkInvoice> ></checkInvoice>
</el-dialog> </el-dialog>
@ -1061,7 +1060,6 @@ export default {
acceptQuery: null, acceptQuery: null,
acceptOrderVisible: false, acceptOrderVisible: false,
subRow: null, subRow: null,
detaillist:[],
}; };
}, },
components: {AcceptOrder, DialogInvoice, InvoiceRegister, ElImageViewer, InvoiceRegistrationDetermine, checkInvoice}, components: {AcceptOrder, DialogInvoice, InvoiceRegister, ElImageViewer, InvoiceRegistrationDetermine, checkInvoice},
@ -1092,11 +1090,9 @@ export default {
InvoiceRegister1(_this,row) { InvoiceRegister1(_this,row) {
_this.savebillno = _this.currentRow.billNo _this.savebillno = _this.currentRow.billNo
_this.inputInv = row; _this.inputInv = row;
_this.detaillist.push(row)
_this.checkInvoice = true; _this.checkInvoice = true;
}, },
closecheckInvoice() { closecheckInvoice() {
this.detaillist = []
this.checkInvoice = false; this.checkInvoice = false;
this.getList(); this.getList();
this.currentRow.billNo = this.savebillno; this.currentRow.billNo = this.savebillno;

Loading…
Cancel
Save