Browse Source

银农app

wulanhaote
yujk 3 years ago
parent
commit
92fd1c205f
4 changed files with 8 additions and 8 deletions
  1. +2
    -2
      src/views/yinnong/bankAgriculture/paymentApproval/approvalAdd11.vue
  2. +2
    -2
      src/views/yinnong/bankAgriculture/paymentApproval/approvalAdd12.vue
  3. +2
    -2
      src/views/yinnong/bankAgriculture/paymentApproval/approvalModify11.vue
  4. +2
    -2
      src/views/yinnong/bankAgriculture/paymentApproval/approvalModify12.vue

+ 2
- 2
src/views/yinnong/bankAgriculture/paymentApproval/approvalAdd11.vue View File

@@ -666,9 +666,9 @@
}) })
.then(() => { .then(() => {
addCash(this.form).then((response) => { addCash(this.form).then((response) => {
this.chargeItme.map(res => {
this.chargeItme.map((r,idx) => {
res.cashId = response.data.id res.cashId = response.data.id
addCashdetail(res).then((r,idx) => {
addCashdetail(res).then(r => {
if(idx == (_this.chargeItme.length - 1)){ if(idx == (_this.chargeItme.length - 1)){
if(_this.form.capitalExpenditureType==2){ if(_this.form.capitalExpenditureType==2){
_this.projectForm.outId = response.data.id _this.projectForm.outId = response.data.id


+ 2
- 2
src/views/yinnong/bankAgriculture/paymentApproval/approvalAdd12.vue View File

@@ -748,9 +748,9 @@
}) })
.then(() => { .then(() => {
addCash(this.form).then((response) => { addCash(this.form).then((response) => {
this.chargeItme.map(res => {
_this.chargeItme.map((res,idx) => {
res.cashId = response.data.id res.cashId = response.data.id
addCashdetail(res).then((r,idx) => {
addCashdetail(res).then(rdd => {
if(idx == (_this.chargeItme.length - 1)){ if(idx == (_this.chargeItme.length - 1)){
if(_this.form.capitalExpenditureType==2){ if(_this.form.capitalExpenditureType==2){
_this.projectForm.outId = response.data.id _this.projectForm.outId = response.data.id


+ 2
- 2
src/views/yinnong/bankAgriculture/paymentApproval/approvalModify11.vue View File

@@ -669,9 +669,9 @@
}) })
.then(() => { .then(() => {
updateCash(this.form).then((response) => { updateCash(this.form).then((response) => {
this.chargeItme.map(res => {
this.chargeItme.map((res,idx) => {
res.cashId = response.data.id res.cashId = response.data.id
addCashdetail(res).then((r,idx) => {
addCashdetail(res).then(r => {
if(idx == (_this.chargeItme.length - 1)){ if(idx == (_this.chargeItme.length - 1)){
if(_this.form.capitalExpenditureType==2){ if(_this.form.capitalExpenditureType==2){
_this.projectForm.outId = response.data.id _this.projectForm.outId = response.data.id


+ 2
- 2
src/views/yinnong/bankAgriculture/paymentApproval/approvalModify12.vue View File

@@ -755,9 +755,9 @@
}) })
.then(() => { .then(() => {
updateCash(this.form).then((response) => { updateCash(this.form).then((response) => {
this.chargeItme.map(res => {
this.chargeItme.map((res,idx) => {
res.cashId = response.data.id res.cashId = response.data.id
addCashdetail(res).then((r,idx) => {
addCashdetail(res).then(r => {
if(idx == (_this.chargeItme.length - 1)){ if(idx == (_this.chargeItme.length - 1)){
if(_this.form.capitalExpenditureType==2){ if(_this.form.capitalExpenditureType==2){
_this.projectForm.outId = response.data.id _this.projectForm.outId = response.data.id


Loading…
Cancel
Save