| | |
| | | </template> |
| | | </el-table-column> |
| | | <el-table-column |
| | | prop="taxamount" |
| | | align="center" |
| | | label="扣税金额" |
| | | width="120" |
| | | v-if=" |
| | | (this.ismanager == true) & |
| | | (form.applytype == '1' || form.applytype == '2') |
| | | " |
| | | > |
| | | <template slot-scope="scope"> |
| | | <el-input |
| | | v-model="scope.row.taxamount" |
| | | placeholder="扣税金额" |
| | | /> |
| | | </template> |
| | | </el-table-column> |
| | | <el-table-column |
| | | prop="taxedamount" |
| | | align="center" |
| | | label="税后金额" |
| | |
| | | <template slot-scope="scope"> |
| | | <el-form-item :error="scope.row.error" label-width="0"> |
| | | <el-input |
| | | :disabled=" |
| | | userprofile.nickName != '陈慕华' && businessType == 1 |
| | | " |
| | | v-model.number="scope.row.idcardno" |
| | | @input="tableParValueChange1(scope.row)" |
| | | placeholder="身份证号" |
| | |
| | | <!-- v-if="form.applytype != '4'" --> |
| | | <template slot-scope="scope"> |
| | | <el-input |
| | | :disabled=" |
| | | userprofile.nickName != '陈慕华' && businessType == 1 |
| | | " |
| | | v-model="scope.row.depositbank" |
| | | placeholder="开户银行" |
| | | /> |
| | |
| | | > |
| | | <template slot-scope="scope"> |
| | | <el-input |
| | | :disabled=" |
| | | userprofile.nickName != '陈慕华' && businessType == 1 |
| | | " |
| | | v-model="scope.row.bankcardno" |
| | | placeholder="银行帐号" |
| | | /> |
| | | </template> |
| | | </el-table-column> |
| | | <el-table-column |
| | | prop="itemdescribe" |
| | | prop="itemdescrisca" |
| | | align="center" |
| | | width="330" |
| | | label="项目说明" |
| | |
| | | <el-button |
| | | type="success" |
| | | size="mini" |
| | | icon="el-icon-search" circle |
| | | icon="el-icon-search" |
| | | circle |
| | | @click.native.prevent.stop="Downloadfile(scope.row)" |
| | | ></el-button |
| | | > |
| | | ></el-button> |
| | | </template> |
| | | </el-table-column> |
| | | </el-table> |
| | |
| | | <el-button |
| | | type="success" |
| | | size="mini" |
| | | icon="el-icon-search" circle |
| | | icon="el-icon-search" |
| | | circle |
| | | @click.native.prevent.stop="Downloadfile(scope.row)" |
| | | ></el-button |
| | | > |
| | | ></el-button> |
| | | </template> |
| | | </el-table-column> |
| | | </el-table> |
| | |
| | | JSON.stringify(this.rbDetails) |
| | | ); |
| | | sessionStorage.setItem("apiform", JSON.stringify(this.form)); |
| | | addorupdateFund(this.form).then(response => { |
| | | console.log(this.form); |
| | | console.log(response, "保存返参"); |
| | | if (response.code === 200) { |
| | | if (this.form.id) { |
| | | this.$modal.msgSuccess("申请单修改成功!"); |
| | | this.$router.go(-1); |
| | | addorupdateFund(this.form) |
| | | .then(response => { |
| | | console.log(this.form); |
| | | console.log(response, "保存返参"); |
| | | if (response.code === 200) { |
| | | if (this.form.id) { |
| | | this.$modal.msgSuccess("申请单修改成功!"); |
| | | this.$router.go(-1); |
| | | } else { |
| | | this.$modal.msgSuccess("申请单保存成功!"); |
| | | this.$store.dispatch("tagsView/delView", this.$route); |
| | | this.$router.push({ |
| | | path: "/finance/applyDetail/", |
| | | query: { |
| | | id: response.data, |
| | | businessType: "2", |
| | | operationType: "update", |
| | | curCase: this.curCase |
| | | } |
| | | }); |
| | | } |
| | | this.form.id = response.data; |
| | | } else { |
| | | this.$modal.msgSuccess("申请单保存成功!"); |
| | | this.$store.dispatch("tagsView/delView", this.$route); |
| | | this.$router.push({ |
| | | path: "/finance/applyDetail/", |
| | | query: { |
| | | id: response.data, |
| | | businessType: "2", |
| | | operationType: "update", |
| | | curCase: this.curCase |
| | | } |
| | | }); |
| | | this.$modal.msgError("申请单保存失败:" + response.msg); |
| | | } |
| | | this.form.id = response.data; |
| | | } else { |
| | | this.$modal.msgError("申请单保存失败:" + response.msg); |
| | | } |
| | | }); |
| | | }) |
| | | .catch(res => { |
| | | this.$modal.msgError("申请单保存失败:" + res); |
| | | }); |
| | | //关闭窗口 |
| | | this.loading = false; |
| | | // this.getfundList(); |