|
|
@ -92,7 +92,7 @@
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</el-dialog>
|
|
|
|
</el-dialog>
|
|
|
|
|
|
|
|
|
|
|
|
<el-dialog v-bind:width="'25%'" :visible.sync="firstSalesInvNoFormVisible" append-to-body>
|
|
|
|
<el-dialog v-bind:width="'25%'" :visible.sync="firstSalesInvNoFormVisible" append-to-body>
|
|
|
|
<el-form :model="batchForm">
|
|
|
|
<el-form :model="batchForm">
|
|
|
|
<label></label>
|
|
|
|
<label></label>
|
|
|
|
<el-form-item label="销售发票第一票:" :label-width="formLabelWidth">
|
|
|
|
<el-form-item label="销售发票第一票:" :label-width="formLabelWidth">
|
|
|
@ -105,7 +105,7 @@
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</el-dialog>
|
|
|
|
</el-dialog>
|
|
|
|
|
|
|
|
|
|
|
|
<el-dialog v-bind:width="'25%'" :visible.sync="secSalesInvNoFormVisible" append-to-body>
|
|
|
|
<el-dialog v-bind:width="'25%'" :visible.sync="secSalesInvNoFormVisible" append-to-body>
|
|
|
|
<el-form :model="batchForm">
|
|
|
|
<el-form :model="batchForm">
|
|
|
|
<label></label>
|
|
|
|
<label></label>
|
|
|
|
<el-form-item label="销售发票第二票:" :label-width="formLabelWidth">
|
|
|
|
<el-form-item label="销售发票第二票:" :label-width="formLabelWidth">
|
|
|
@ -182,6 +182,12 @@ export default {
|
|
|
|
},
|
|
|
|
},
|
|
|
|
batchSetParams(flag, type) {
|
|
|
|
batchSetParams(flag, type) {
|
|
|
|
if (flag == '1' && type == 'salesListNo') {
|
|
|
|
if (flag == '1' && type == 'salesListNo') {
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
if (this.$isBlank(this.batchForm.secSalesListNo)) {
|
|
|
|
|
|
|
|
this.$message.warning("请输入销售清单");
|
|
|
|
|
|
|
|
return;
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
this.salesListNoFormVisible = false;
|
|
|
|
this.salesListNoFormVisible = false;
|
|
|
|
this.detailList.forEach(data => {
|
|
|
|
this.detailList.forEach(data => {
|
|
|
|
this.multipId.forEach(id => {
|
|
|
|
this.multipId.forEach(id => {
|
|
|
@ -195,6 +201,10 @@ export default {
|
|
|
|
//置空批量设置表单
|
|
|
|
//置空批量设置表单
|
|
|
|
Object.keys(this.batchForm).forEach(key => this.batchForm[key] = '');
|
|
|
|
Object.keys(this.batchForm).forEach(key => this.batchForm[key] = '');
|
|
|
|
} else if (flag == '1' && type == 'firstSalesInvNo') {
|
|
|
|
} else if (flag == '1' && type == 'firstSalesInvNo') {
|
|
|
|
|
|
|
|
if (this.$isBlank(this.batchForm.firstSalesInvNo)) {
|
|
|
|
|
|
|
|
this.$message.warning("请输入销售发票第一票");
|
|
|
|
|
|
|
|
return;
|
|
|
|
|
|
|
|
}
|
|
|
|
this.firstSalesInvNoFormVisible = false;
|
|
|
|
this.firstSalesInvNoFormVisible = false;
|
|
|
|
this.detailList.forEach(data => {
|
|
|
|
this.detailList.forEach(data => {
|
|
|
|
this.multipId.forEach(id => {
|
|
|
|
this.multipId.forEach(id => {
|
|
|
@ -207,6 +217,10 @@ export default {
|
|
|
|
});
|
|
|
|
});
|
|
|
|
Object.keys(this.batchForm).forEach(key => this.batchForm[key] = '');
|
|
|
|
Object.keys(this.batchForm).forEach(key => this.batchForm[key] = '');
|
|
|
|
} else if (flag == '1' && type == 'secSalesInvNo') {
|
|
|
|
} else if (flag == '1' && type == 'secSalesInvNo') {
|
|
|
|
|
|
|
|
if (this.$isBlank(this.batchForm.secSalesInvNo)) {
|
|
|
|
|
|
|
|
this.$message.warning("请输入销售发票第二票");
|
|
|
|
|
|
|
|
return;
|
|
|
|
|
|
|
|
}
|
|
|
|
this.secSalesInvNoFormVisible = false;
|
|
|
|
this.secSalesInvNoFormVisible = false;
|
|
|
|
this.detailList.forEach(data => {
|
|
|
|
this.detailList.forEach(data => {
|
|
|
|
this.multipId.forEach(id => {
|
|
|
|
this.multipId.forEach(id => {
|
|
|
|