| | |
| | | </el-select> |
| | | </template> |
| | | </el-table-column> |
| | | <el-table-column prop="price" align="center" label="单价" width="120" v-if="0"> |
| | | <el-table-column prop="price" align="center" label="单价" width="120" v-if="businessType == 4"> |
| | | <template slot-scope="scope"> |
| | | <el-input v-model="scope.row.price" placeholder="单价" @blur="val => { |
| | | sumTotalFee(scope.row); |
| | |
| | | " /> |
| | | </template> |
| | | </el-table-column> |
| | | <el-table-column prop="quantity" align="center" label="数量" width="120" v-if="0"> |
| | | <el-table-column prop="quantity" align="center" label="数量" width="120" v-if="businessType == 4"> |
| | | <template slot-scope="scope"> |
| | | <el-input v-model="scope.row.quantity" placeholder="数量" @blur="val => { |
| | | sumTotalFee(scope.row); |
| | |
| | | </template> |
| | | </el-table-column> |
| | | <el-table-column v-if="businessType == 3 || businessType == 4 || ismanager == true" prop="amount" |
| | | align="center" label="税前金额" width="120"> |
| | | align="center" :label=amountLabel width="120"> |
| | | <template slot-scope="scope"> |
| | | <!-- |
| | | <el-select v-model="scope.row.amount" placeholder="税前金额" clearable filterable allow-create |
| | |
| | | :value="dict.expense"></el-option> |
| | | </el-select> |
| | | --> |
| | | <el-input v-model="scope.row.amount" placeholder="税前金额" /> |
| | | <el-input v-model="scope.row.amount" placeholder="金额" /> |
| | | </template> |
| | | </el-table-column> |
| | | <el-table-column prop="taxedamount" align="center" label="税后金额" width="120" v-if="(this.ismanager == true) & |
| | |
| | | //专家/单位选择:expert/unit |
| | | selectionType: "", |
| | | showSelectionDialog: false, |
| | | //税前金额标题:专家费-税前金额;医学成本、办公费用-金额 |
| | | amountLabel:"税前金额", |
| | | |
| | | // 表单校验 |
| | | rules: { |
| | |
| | | if (this.businessType == "1") { |
| | | this.curCase = this.$route.query.curCase; |
| | | this.businessName = "专家劳务费申请单" |
| | | this.amountLabel="税前金额" |
| | | this.getUnitList(); |
| | | } |
| | | else if (this.businessType == "2") { |
| | | this.curCase = this.$route.query.curCase; |
| | | this.businessName = "伦理专家劳务费申请单"; |
| | | this.amountLabel="税前金额" |
| | | this.getUnitList(); |
| | | } |
| | | else if (this.businessType == "3") { |
| | |
| | | this.curCase = this.$route.query.curCase; |
| | | } |
| | | this.businessName = "医学成本报销单"; |
| | | this.amountLabel="金额" |
| | | } |
| | | else if (this.businessType == "4") { |
| | | this.businessName = "办公费用报销单"; |
| | | this.amountLabel="金额" |
| | | |
| | | // this.getBaseInfoList(); |
| | | } |
| | |
| | | if ( |
| | | this.userprofile.createBy == "admin" || |
| | | this.userprofile.createBy == "001" || |
| | | this.userprofile.createBy == "012" || |
| | | this.userprofile.createBy == "002" |
| | | ) { |
| | | this.ismanager = true; |