新增选入时展示是否集采

busUser
anthonywj 2 years ago
parent 77b22ebb0e
commit 782f152346

@ -1,7 +1,7 @@
{
"BASE_URL": "http://192.168.0.166:9996",
"SERVER_IP": "http://192.168.0.166:9996",
"hosp_name": "福建省XX市医院"
"hosp_name": "云霄县中医院"
}

@ -145,7 +145,9 @@
show-overflow-tooltip
>
<template slot-scope="scope">
<el-tag :type="(scope.row.groupBuy) | statusFilterType">
<span>{{ enableMap[scope.row.groupBuy] }}</span>
</el-tag>
</template>
</el-table-column>
@ -1124,8 +1126,8 @@ export default {
activeNames: ['1'],
updateLoading: false,
enableMap: {
true: "",
false: "",
true: "集采",
false: "非集采",
},
};
},
@ -1663,6 +1665,16 @@ export default {
},
},
filters: {
statusFilterType(status) {
const statusMap = {
false: "warning",
true: "success",
};
return statusMap[status];
},
},
mounted() {
},
components: {

@ -803,7 +803,6 @@ export default {
});
},
selectProductFunction(event) {
debugger
if (event != null) {
event.target.select();
}

@ -1002,7 +1002,6 @@ export default {
this.codeArray = [];
this.closeConfirmFunction(false);
if (this.$isNotBlank(this.idQuery.id)) {
debugger
this.query.limit = 100;
this.query.orderIdFk = this.idQuery.id;
this.formData = this.idQuery.formData;

@ -35,6 +35,14 @@
<el-input v-model="listQuery.thrPiId" placeholder="第三方产品编码" clearable="true"></el-input>
</el-form-item>
<!-- <el-form-item class="query-form-item">-->
<!-- <el-select v-model="listQuery.groupBuy" placeholder="是否集采" clearable="true">-->
<!-- <el-option label="全部" value=""></el-option>-->
<!-- <el-option label="集采" value="true"></el-option>-->
<!-- <el-option label="非集采" value="false"></el-option>-->
<!-- </el-select>-->
<!-- </el-form-item>-->
<el-form-item>
<el-button-group>
<el-button type="primary" icon="el-icon-refresh" @click="onReset"></el-button>
@ -100,6 +108,21 @@
prop="qxlb"
show-overflow-tooltip
></el-table-column>
<el-table-column
label="是否集采"
prop="groupBuy"
show-overflow-tooltip
>
<template slot-scope="scope">
<el-tag :type="(scope.row.groupBuy) | statusFilterType">
<span>{{ enableMap[scope.row.groupBuy] }}</span>
</el-tag>
</template>
</el-table-column>
<el-table-column
label="配送企业"
prop="companyName"
@ -201,6 +224,10 @@ export default {
thirdSysFk: null,
busTypes: [],
actDateRange: [],
enableMap: {
true: "集采",
false: "非集采",
},
pickerOptions: {
shortcuts: [
{
@ -294,7 +321,6 @@ export default {
this.listQuery.companyName = this.data.companyName;
}
debugger
stockOrderDetailFilterProduct(this.listQuery)
.then((response) => {
this.loading = false;
@ -388,11 +414,20 @@ export default {
},
components: {udiRlDetailDialog},
filters: {
statusFilterType(status) {
const statusMap = {
false: "warning",
true: "success",
};
return statusMap[status];
},
},
created() {
if (this.$isNotBlank(this.data)) {
// this.listQuery.nameCode = this.data.udi;
// if (this.data.billType != null) {
// this.listQuery.billType = this.data.billType;

@ -815,7 +815,6 @@ export default {
}
},
printOrder(row) {
debugger
let tQuery = {
queryId: row.id,
moduleId: 2,

Loading…
Cancel
Save