新增选入时展示是否集采

busUser
anthonywj 2 years ago
parent 77b22ebb0e
commit 782f152346

@ -1,7 +1,7 @@
{ {
"BASE_URL": "http://192.168.0.166:9996", "BASE_URL": "http://192.168.0.166:9996",
"SERVER_IP": "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 show-overflow-tooltip
> >
<template slot-scope="scope"> <template slot-scope="scope">
<el-tag :type="(scope.row.groupBuy) | statusFilterType">
<span>{{ enableMap[scope.row.groupBuy] }}</span> <span>{{ enableMap[scope.row.groupBuy] }}</span>
</el-tag>
</template> </template>
</el-table-column> </el-table-column>
@ -1057,7 +1059,7 @@ export default {
data() { data() {
return { return {
filterQuery: { filterQuery: {
supId:null, supId: null,
lockStatus: null, lockStatus: null,
unionCode: null, unionCode: null,
udiCode: null, udiCode: null,
@ -1124,8 +1126,8 @@ export default {
activeNames: ['1'], activeNames: ['1'],
updateLoading: false, updateLoading: false,
enableMap: { enableMap: {
true: "", true: "集采",
false: "", false: "非集采",
}, },
}; };
}, },
@ -1146,7 +1148,7 @@ export default {
page: 1, page: 1,
limit: 20, limit: 20,
addType: 1, addType: 1,
supId:null, supId: null,
}; };
this.getList(); this.getList();
}, },
@ -1663,6 +1665,16 @@ export default {
}, },
}, },
filters: {
statusFilterType(status) {
const statusMap = {
false: "warning",
true: "success",
};
return statusMap[status];
},
},
mounted() { mounted() {
}, },
components: { components: {

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

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

@ -35,6 +35,14 @@
<el-input v-model="listQuery.thrPiId" placeholder="第三方产品编码" clearable="true"></el-input> <el-input v-model="listQuery.thrPiId" placeholder="第三方产品编码" clearable="true"></el-input>
</el-form-item> </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-form-item>
<el-button-group> <el-button-group>
<el-button type="primary" icon="el-icon-refresh" @click="onReset"></el-button> <el-button type="primary" icon="el-icon-refresh" @click="onReset"></el-button>
@ -100,6 +108,21 @@
prop="qxlb" prop="qxlb"
show-overflow-tooltip show-overflow-tooltip
></el-table-column> ></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 <el-table-column
label="配送企业" label="配送企业"
prop="companyName" prop="companyName"
@ -189,7 +212,7 @@ export default {
erpName: "", erpName: "",
keys: [], keys: [],
}, },
ids:[], ids: [],
radioCheck: null, radioCheck: null,
dataList: [], dataList: [],
pageTotal: 1, pageTotal: 1,
@ -201,6 +224,10 @@ export default {
thirdSysFk: null, thirdSysFk: null,
busTypes: [], busTypes: [],
actDateRange: [], actDateRange: [],
enableMap: {
true: "集采",
false: "非集采",
},
pickerOptions: { pickerOptions: {
shortcuts: [ shortcuts: [
{ {
@ -245,12 +272,12 @@ export default {
this.$router.push({ this.$router.push({
path: "", path: "",
}); });
this.listQuery.udiCode=null this.listQuery.udiCode = null
this.listQuery.unionCode=null this.listQuery.unionCode = null
this.listQuery.cpmctymc=null this.listQuery.cpmctymc = null
this.listQuery.ggxh=null this.listQuery.ggxh = null
this.listQuery.ylqxzcrbarmc=null this.listQuery.ylqxzcrbarmc = null
this.listQuery.thrPiId=null this.listQuery.thrPiId = null
this.getList(); this.getList();
}, },
tableRowClassName({row}) { tableRowClassName({row}) {
@ -290,11 +317,10 @@ export default {
getList() { getList() {
this.loading = true; this.loading = true;
this.listQuery.customerId = store.getters.customerId; this.listQuery.customerId = store.getters.customerId;
if( this.data.companyName!=undefined && this.data.companyName!=null ){ if (this.data.companyName != undefined && this.data.companyName != null) {
this.listQuery.companyName = this.data.companyName; this.listQuery.companyName = this.data.companyName;
} }
debugger
stockOrderDetailFilterProduct(this.listQuery) stockOrderDetailFilterProduct(this.listQuery)
.then((response) => { .then((response) => {
this.loading = false; this.loading = false;
@ -379,7 +405,7 @@ export default {
selectCert() { selectCert() {
if (this.currentCert == null) { if (this.currentCert == null) {
this.$message.error("请先选择对应的注册证!"); this.$message.error("请先选择对应的注册证!");
}else{ } else {
this.multipleSelection.zczbhhzbapzbh = this.currentCert; this.multipleSelection.zczbhhzbapzbh = this.currentCert;
this.combine(); this.combine();
} }
@ -388,11 +414,20 @@ export default {
}, },
components: {udiRlDetailDialog}, components: {udiRlDetailDialog},
filters: {
statusFilterType(status) {
const statusMap = {
false: "warning",
true: "success",
};
return statusMap[status];
},
},
created() { created() {
if (this.$isNotBlank(this.data)) { if (this.$isNotBlank(this.data)) {
// this.listQuery.nameCode = this.data.udi; // this.listQuery.nameCode = this.data.udi;
// if (this.data.billType != null) { // if (this.data.billType != null) {
// this.listQuery.billType = this.data.billType; // this.listQuery.billType = this.data.billType;
@ -404,9 +439,9 @@ export default {
// } // }
// this.orderEditor = this.data.orderEditor; // this.orderEditor = this.data.orderEditor;
// this.orderId = this.data.orderId; // this.orderId = this.data.orderId;
this.ids=[]; this.ids = [];
if(this.data.stockOrderLists.length>0){ if (this.data.stockOrderLists.length > 0) {
for(var i=0;i<this.data.stockOrderLists.length;i++){ for (var i = 0; i < this.data.stockOrderLists.length; i++) {
this.ids.push(this.data.stockOrderLists[i].productId); this.ids.push(this.data.stockOrderLists[i].productId);
} }
} }

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

Loading…
Cancel
Save