|
@@ -1564,6 +1564,7 @@
|
|
|
remote
|
|
|
:disabled="browseStatus"
|
|
|
:remote-method="fWRemoteMethod"
|
|
|
+ @change="changeFeeId(scope.row)"
|
|
|
placeholder="费用名称"
|
|
|
>
|
|
|
<el-option
|
|
@@ -1856,6 +1857,7 @@
|
|
|
:disabled="browseStatus"
|
|
|
remote
|
|
|
:remote-method="fWRemoteMethod"
|
|
|
+ @change="changeFeeId(scope.row)"
|
|
|
placeholder="费用名称"
|
|
|
>
|
|
|
<el-option
|
|
@@ -4547,6 +4549,16 @@ export default {
|
|
|
this.goodsOptions = response.rows;
|
|
|
});
|
|
|
},
|
|
|
+ // 选择费用信息时获取计价单位
|
|
|
+ changeFeeId (row) {
|
|
|
+ for (let li in this.fWbuOptions) {
|
|
|
+ if (row.fFeeid === this.fWbuOptions[li].fId) {
|
|
|
+ this.$set(row, 'fFeeUnitid', this.fWbuOptions[li].fFeeunitid + '')
|
|
|
+ this.changeFeeUnit(row)
|
|
|
+ break
|
|
|
+ }
|
|
|
+ }
|
|
|
+ },
|
|
|
// 远程模糊查询费用名称
|
|
|
fWRemoteMethod(name) {
|
|
|
if (name == null || name === "") {
|
|
@@ -4555,7 +4567,6 @@ export default {
|
|
|
let queryParams = { pageNum: 1, pageSize: 10, fName: name };
|
|
|
listFees(queryParams).then((response) => {
|
|
|
this.fWbuOptions = response.rows;
|
|
|
- console.log(response)
|
|
|
});
|
|
|
},
|
|
|
/* 远程模糊查询经营单位 */
|