|
|
|
@ -182,6 +182,12 @@ export default {
|
|
|
|
|
},
|
|
|
|
|
batchSetParams(flag, type) {
|
|
|
|
|
if (flag == '1' && type == 'salesListNo') {
|
|
|
|
|
|
|
|
|
|
if (this.$isBlank(this.batchForm.secSalesListNo)) {
|
|
|
|
|
this.$message.warning("请输入销售清单");
|
|
|
|
|
return;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
this.salesListNoFormVisible = false;
|
|
|
|
|
this.detailList.forEach(data => {
|
|
|
|
|
this.multipId.forEach(id => {
|
|
|
|
@ -195,6 +201,10 @@ export default {
|
|
|
|
|
//置空批量设置表单
|
|
|
|
|
Object.keys(this.batchForm).forEach(key => this.batchForm[key] = '');
|
|
|
|
|
} else if (flag == '1' && type == 'firstSalesInvNo') {
|
|
|
|
|
if (this.$isBlank(this.batchForm.firstSalesInvNo)) {
|
|
|
|
|
this.$message.warning("请输入销售发票第一票");
|
|
|
|
|
return;
|
|
|
|
|
}
|
|
|
|
|
this.firstSalesInvNoFormVisible = false;
|
|
|
|
|
this.detailList.forEach(data => {
|
|
|
|
|
this.multipId.forEach(id => {
|
|
|
|
@ -207,6 +217,10 @@ export default {
|
|
|
|
|
});
|
|
|
|
|
Object.keys(this.batchForm).forEach(key => this.batchForm[key] = '');
|
|
|
|
|
} else if (flag == '1' && type == 'secSalesInvNo') {
|
|
|
|
|
if (this.$isBlank(this.batchForm.secSalesInvNo)) {
|
|
|
|
|
this.$message.warning("请输入销售发票第二票");
|
|
|
|
|
return;
|
|
|
|
|
}
|
|
|
|
|
this.secSalesInvNoFormVisible = false;
|
|
|
|
|
this.detailList.forEach(data => {
|
|
|
|
|
this.multipId.forEach(id => {
|
|
|
|
|