|
@@ -3909,40 +3909,53 @@ export default {
|
|
|
},
|
|
|
// 收款信息
|
|
|
addCollection() {
|
|
|
- this.warehouseDrList.push({
|
|
|
- fcorpid: this.form.fCorpid,
|
|
|
- ffeeid: null,
|
|
|
- fFeeUnitid: null,
|
|
|
- fQty: 0,
|
|
|
- funitprice: 0,
|
|
|
- fAmount: 0,
|
|
|
- fCurrency: "RMB",
|
|
|
- fExrate: 1,
|
|
|
- fTaxrate: this.fTaxrate,
|
|
|
- remarks: null,
|
|
|
- fMblno:this.form.fMblno,
|
|
|
- fProductName:this.form.fProductName,
|
|
|
- fMarks:this.form.fMarks,
|
|
|
- fBusinessType: this.form.fBusinessType + ''
|
|
|
- });
|
|
|
+ console.log(this.form.fBusinessType)
|
|
|
+ if(this.form.fBusinessType == null){
|
|
|
+ console.log("111")
|
|
|
+ this.$message.error("请维护作业类型")
|
|
|
+ return false
|
|
|
+ }else {
|
|
|
+ console.log("222")
|
|
|
+ this.warehouseDrList.push({
|
|
|
+ fcorpid: this.form.fCorpid,
|
|
|
+ ffeeid: null,
|
|
|
+ fFeeunitid: this.form.fFeetunit,
|
|
|
+ fQty: 0,
|
|
|
+ funitprice: 0,
|
|
|
+ fAmount: 0,
|
|
|
+ fCurrency: "RMB",
|
|
|
+ fExrate: 1,
|
|
|
+ fTaxrate: this.fTaxrate,
|
|
|
+ remarks: null,
|
|
|
+ fMblno: this.form.fMblno,
|
|
|
+ fProductName: this.form.fProductName,
|
|
|
+ fMarks: this.form.fMarks,
|
|
|
+ fBusinessType: this.form.fBusinessType
|
|
|
+ });
|
|
|
+ }
|
|
|
},
|
|
|
addpayment() {
|
|
|
- this.warehouseCrList.push({
|
|
|
- fcorpid: this.form.fCorpid,
|
|
|
- ffeeid: null,
|
|
|
- fFeeUnitid: null,
|
|
|
- fQty: 0,
|
|
|
- funitprice: 0,
|
|
|
- fAmount: 0,
|
|
|
- fCurrency: "RMB",
|
|
|
- fExrate: 1,
|
|
|
- fTaxrate: this.fTaxrate,
|
|
|
- remarks: null,
|
|
|
- fMblno:this.form.fMblno,
|
|
|
- fProductName:this.form.fProductName,
|
|
|
- fMarks:this.form.fMarks,
|
|
|
- fBusinessType:this.form.fBusinessType + ''
|
|
|
- });
|
|
|
+ if(this.form.fBusinessType == null){
|
|
|
+ this.$message.error("请维护作业类型")
|
|
|
+ return false
|
|
|
+ }else {
|
|
|
+ this.warehouseCrList.push({
|
|
|
+ fcorpid: this.form.fCorpid,
|
|
|
+ ffeeid: null,
|
|
|
+ fFeeunitid: this.form.fFeetunit,
|
|
|
+ fQty: 0,
|
|
|
+ funitprice: 0,
|
|
|
+ fAmount: 0,
|
|
|
+ fCurrency: "RMB",
|
|
|
+ fExrate: 1,
|
|
|
+ fTaxrate: this.fTaxrate,
|
|
|
+ remarks: null,
|
|
|
+ fMblno: this.form.fMblno,
|
|
|
+ fProductName: this.form.fProductName,
|
|
|
+ fMarks: this.form.fMarks,
|
|
|
+ fBusinessType: this.form.fBusinessType
|
|
|
+ });
|
|
|
+ }
|
|
|
},
|
|
|
queryUser() {
|
|
|
queryUserVal().then((response) => {
|