修改bug

pro
wangwei 2 years ago
parent fde9342a9c
commit 1c760ada1d

@ -484,7 +484,7 @@ export default {
components: {AcceptOrder, DialogInvoice, InvoiceRegister, ElImageViewer}, components: {AcceptOrder, DialogInvoice, InvoiceRegister, ElImageViewer},
methods: { methods: {
onSubmit() { onSubmit() {
if (this.invoiceRow == null) { if (this.invoiceRow == null || this.invoiceRow.length==0) {
this.$message.error("请选择要登记的物资! "); this.$message.error("请选择要登记的物资! ");
return false; return false;
} }

@ -321,7 +321,7 @@
></el-table-column> ></el-table-column>
<el-table-column <el-table-column
label="扫码数量" label="扫码数量"
prop="scanCount" prop="reCount"
width="100" width="100"
></el-table-column> ></el-table-column>
<!--<el-table-column label="操作" width="160" fixed="right">--> <!--<el-table-column label="操作" width="160" fixed="right">-->
@ -860,13 +860,14 @@ export default {
if (response.code == 20000) { if (response.code == 20000) {
if(response.data.length == 0){ if(response.data.length == 0){
this.getList(); this.getList();
}else {
this.getCodeDetailList();
} }
this.getBizDetailListInv(this.subRow); this.getBizDetailListInv(this.subRow);
this.$message({ this.$message({
type: "success", type: "success",
message: "删除成功!", message: "删除成功!",
}); });
this.getCodeDetailList();
} }
}) })
.catch(() => { .catch(() => {

@ -127,7 +127,7 @@
:total="codeTotal" :total="codeTotal"
:page.sync="codeQuery.page" :page.sync="codeQuery.page"
:limit.sync="codeQuery.limit" :limit.sync="codeQuery.limit"
@pagination="getOrderDetails" @pagination="getCodeDetailList"
/> />
</el-tab-pane> </el-tab-pane>

Loading…
Cancel
Save