|
@@ -2744,6 +2744,7 @@ export default {
|
|
|
},
|
|
|
data() {
|
|
|
return {
|
|
|
+ key_s:'',
|
|
|
// 劳务公司
|
|
|
fCompanyOptIons: [],
|
|
|
Navigation:false,
|
|
@@ -3333,6 +3334,7 @@ export default {
|
|
|
fTaskType:Number(fTaskType),
|
|
|
fLabour:this.form.fLabour
|
|
|
}
|
|
|
+ this.key_s = kye
|
|
|
}else if (kye == 1) {
|
|
|
console.log("11111")
|
|
|
this.Navigation = true
|
|
@@ -3342,6 +3344,7 @@ export default {
|
|
|
fTaskType:Number(fTaskType),
|
|
|
fFleet:this.form.fFleet
|
|
|
}
|
|
|
+ this.key_s = kye
|
|
|
}else {
|
|
|
console.log("3333")
|
|
|
this.Navigation = false
|
|
@@ -3350,6 +3353,7 @@ export default {
|
|
|
pageSize:10,
|
|
|
fCorpid:this.form.fCorpid
|
|
|
}
|
|
|
+ this.key_s = kye
|
|
|
}
|
|
|
operationAgreement(data).then((response) => {
|
|
|
console.log(response)
|
|
@@ -3433,41 +3437,75 @@ export default {
|
|
|
}
|
|
|
// qty=(qty/1000).toFixed(2);
|
|
|
let fAmount = parseFloat(Number(this.dialogWhgenlegList[zhgen].fPrice) * Number(qty)).toFixed(2)
|
|
|
- if (this.costStatus === 'Cr') {
|
|
|
- this.warehouseCrList.push({
|
|
|
- fQty: qty,
|
|
|
- fCorpid: this.dialogWhgenlegList[zhgen].fCorpid,
|
|
|
- fFeeid: feeId,
|
|
|
- fFeeunitid: this.dialogWhgenlegList[zhgen].fFeeUnitid + '',
|
|
|
- fUnitprice: this.dialogWhgenlegList[zhgen].fPrice,
|
|
|
- fCurrency: 'RMB',
|
|
|
- fExrate: 1,
|
|
|
- fAmount: fAmount,
|
|
|
- fTaxrate: this.fTaxrate,
|
|
|
- fMblno:this.form.fMblno,
|
|
|
- fProductName:this.form.fProductName,
|
|
|
- fMarks:this.form.fMarks,
|
|
|
- fBusinessType:this.$set(this.warehouseCrList,'fBusinessType',this.form.fBusinessType)
|
|
|
- })
|
|
|
- console.log(this.fQty)
|
|
|
- } else {
|
|
|
+ console.log(this.costStatus)
|
|
|
+ if(this.costStatus == '3' ){
|
|
|
+ console.log("jinzhe")
|
|
|
this.warehouseDrList.push({
|
|
|
- fQty: qty,
|
|
|
- fCorpid: this.dialogWhgenlegList[zhgen].fCorpid,
|
|
|
- fFeeid: feeId,
|
|
|
- fFeeunitid: this.dialogWhgenlegList[zhgen].fFeeUnitid + '',
|
|
|
- fUnitprice: this.dialogWhgenlegList[zhgen].fPrice,
|
|
|
- fCurrency: 'RMB',
|
|
|
- fExrate: 1,
|
|
|
- fAmount: fAmount,
|
|
|
- fTaxrate: this.fTaxrate,
|
|
|
- fMblno:this.form.fMblno,
|
|
|
- fProductName:this.form.fProductName,
|
|
|
- fMarks:this.form.fMarks,
|
|
|
- fBusinessType:this.$set(this.warehouseDrList,'fBusinessType',this.form.fBusinessType)
|
|
|
-
|
|
|
- })
|
|
|
+ fQty: qty,
|
|
|
+ fCorpid: this.dialogWhgenlegList[zhgen].fCorpid,
|
|
|
+ fFeeid: feeId,
|
|
|
+ fFeeunitid: this.dialogWhgenlegList[zhgen].fFeeUnitid + '',
|
|
|
+ fUnitprice: this.dialogWhgenlegList[zhgen].fPrice,
|
|
|
+ fCurrency: 'RMB',
|
|
|
+ fExrate: 1,
|
|
|
+ fAmount: fAmount,
|
|
|
+ fTaxrate: this.fTaxrate,
|
|
|
+ fMblno:this.form.fMblno,
|
|
|
+ fProductName:this.form.fProductName,
|
|
|
+ fMarks:this.form.fMarks,
|
|
|
+ fBusinessType:this.$set(this.warehouseDrList,'fBusinessType',this.form.fBusinessType)
|
|
|
+ })
|
|
|
+ }else{
|
|
|
+ this.warehouseCrList.push({
|
|
|
+ fQty: qty,
|
|
|
+ fCorpid: this.dialogWhgenlegList[zhgen].fCorpid,
|
|
|
+ fFeeid: feeId,
|
|
|
+ fFeeunitid: this.dialogWhgenlegList[zhgen].fFeeUnitid + '',
|
|
|
+ fUnitprice: this.dialogWhgenlegList[zhgen].fPrice,
|
|
|
+ fCurrency: 'RMB',
|
|
|
+ fExrate: 1,
|
|
|
+ fAmount: fAmount,
|
|
|
+ fTaxrate: this.fTaxrate,
|
|
|
+ fMblno:this.form.fMblno,
|
|
|
+ fProductName:this.form.fProductName,
|
|
|
+ fMarks:this.form.fMarks,
|
|
|
+ fBusinessType:this.$set(this.warehouseCrList,'fBusinessType',this.form.fBusinessType)
|
|
|
+ })
|
|
|
}
|
|
|
+ // if (this.costStatus === 'Cr' ) {
|
|
|
+ // this.warehouseCrList.push({
|
|
|
+ // fQty: qty,
|
|
|
+ // fCorpid: this.dialogWhgenlegList[zhgen].fCorpid,
|
|
|
+ // fFeeid: feeId,
|
|
|
+ // fFeeunitid: this.dialogWhgenlegList[zhgen].fFeeUnitid + '',
|
|
|
+ // fUnitprice: this.dialogWhgenlegList[zhgen].fPrice,
|
|
|
+ // fCurrency: 'RMB',
|
|
|
+ // fExrate: 1,
|
|
|
+ // fAmount: fAmount,
|
|
|
+ // fTaxrate: this.fTaxrate,
|
|
|
+ // fMblno:this.form.fMblno,
|
|
|
+ // fProductName:this.form.fProductName,
|
|
|
+ // fMarks:this.form.fMarks,
|
|
|
+ // fBusinessType:this.$set(this.warehouseCrList,'fBusinessType',this.form.fBusinessType)
|
|
|
+ // })
|
|
|
+ // console.log(this.fQty)
|
|
|
+ // } else {
|
|
|
+ // this.warehouseDrList.push({
|
|
|
+ // fQty: qty,
|
|
|
+ // fCorpid: this.dialogWhgenlegList[zhgen].fCorpid,
|
|
|
+ // fFeeid: feeId,
|
|
|
+ // fFeeunitid: this.dialogWhgenlegList[zhgen].fFeeUnitid + '',
|
|
|
+ // fUnitprice: this.dialogWhgenlegList[zhgen].fPrice,
|
|
|
+ // fCurrency: 'RMB',
|
|
|
+ // fExrate: 1,
|
|
|
+ // fAmount: fAmount,
|
|
|
+ // fTaxrate: this.fTaxrate,
|
|
|
+ // fMblno:this.form.fMblno,
|
|
|
+ // fProductName:this.form.fProductName,
|
|
|
+ // fMarks:this.form.fMarks,
|
|
|
+ // fBusinessType:this.$set(this.warehouseDrList,'fBusinessType',this.form.fBusinessType)
|
|
|
+ // })
|
|
|
+ // }
|
|
|
}
|
|
|
this.warehousingagreements = false
|
|
|
},
|