入院物资申请问题,新增物价类别,新增单据类型预验收带回

test
anthonywj 1 year ago
parent 53854dd5fe
commit 25dd9c676b

@ -0,0 +1,9 @@
import axios from "@/utils/request";
export function getHslbs(query) {
return axios({
url: "/udiwms/thrsys/getHslbs",
method: "get",
params: query
});
}

@ -367,7 +367,7 @@
.el-form-item {
margin-right: 10px;
margin-bottom: 1px;
margin-top: -5px;
margin-top: 1px;
}

@ -319,6 +319,8 @@ export default {
checkExpire: true, //
checkCertExpire: false, //
editType: 2,
inPreInBack: 1,
},
enableMap: {
true: "是",
@ -589,6 +591,7 @@ export default {
editType: 2,
backPreinType: 1,
sortNum: 999,
inPreInBack: 1,
};
this.addDialogVisible = true;
},

@ -198,14 +198,23 @@
</el-select>
</el-form-item>
</el-col>
<el-col :span="11">
<el-form-item label="单据编辑状态" prop="prefix">
<el-select v-model="inputQuery.editType" style="width: 90%" placeholder="编辑状态">
<el-option label="仅查看" :value="1"></el-option>
<el-option label="可编辑" :value="2"></el-option>
</el-select>
</el-form-item>
</el-col>
</el-row>
<el-row type="flex">
<el-col :span="11">
<el-form-item prop="remark" label="备注">
<el-input v-model="inputQuery.remark" size="small" style="width: 90%" type="textarea" autosize
></el-input>
</el-form-item>
</el-col>
</el-row>
<el-row type="flex">
</el-row>
</el-form>
@ -307,6 +316,23 @@
</el-col>
</el-row>
<el-divider></el-divider>
<el-row v-if="inputQuery.actionType==2">
<el-col span="5">
<span class="sptext">预验收是否带回</span>
</el-col>
<el-divider direction="vertical"></el-divider>
<el-col span="5">
<el-select v-model="inputQuery.inPreInBack" style="width: 65%;margin-top: 4px" placeholder="是否带回">
<el-option label="带回" :value=1></el-option>
<el-option label="不带回" :value=2></el-option>
</el-select>
</el-col>
<el-divider direction="vertical"></el-divider>
<el-col span="13">
<span class="sptext">预验收是否带回</span>
</el-col>
</el-row>
<el-divider></el-divider>
</el-collapse-item>
<el-collapse-item title="出库单据设置" v-if="inputQuery.mainAction!='WareHouseIn'">

@ -499,7 +499,7 @@ export default {
created() {
//
let ttquery = {
uuid: this.editQuery.uuid,
originUuid: this.editQuery.uuid,
};
this.getDetailList(ttquery);
},

@ -252,12 +252,26 @@
</el-col>
<el-col :span="12" v-if="productRemarkSet.remarkEnable8">
<el-form-item :label="productRemarkSet.remarkTitle8+':'">
<el-input
style="width: 80%"
size="small"
splaceholder="请输入内容"
<el-select
v-model="editQuery.basicPrductRemak8"
></el-input>
filterable
remote
clearable="true"
reserve-keyword
placeholder="请选择物价类别"
:remote-method="findHsflMethod"
style="width: 80%"
>
<el-option
v-for="item in hsflOptions"
:key="item.hsbm"
:label="item.hsmc"
:value="item.hsbm"
>
<span style="float: left">{{ item.hsmc }}</span>
<span style="float: right; color: #8492a6; font-size: 13px">{{ item.hsbm }}</span>
</el-option>
</el-select>
</el-form-item>
</el-col>
</el-row>
@ -578,7 +592,8 @@ import ProductSingleEdit from "@/views/basic/product/productSingleEdit";
import selectErp from "./udiInfoselectErpUdi";
import "@riophae/vue-treeselect/dist/vue-treeselect.css";
import Treeselect from "@riophae/vue-treeselect";
import { getListMenu, getOneName } from '@/api/basic/basicHospType'
import {getListMenu, getOneName} from '@/api/basic/basicHospType'
import {getHslbs} from "@/api/thrsys/thrHsfl";
export default {
@ -637,6 +652,8 @@ export default {
measname: null,
nameCode: null
},
loading: false,
hsflOptions: [],
}
},
components: {
@ -655,6 +672,9 @@ export default {
id: this.relevanceEdit.id
}
this.getDetailList(ttquery);
if (this.editQuery.basicPrductRemak8 != null) {
this.findHsflMethod(this.editQuery.basicPrductRemak8);
}
},
methods: {
diableChange() {
@ -849,11 +869,11 @@ export default {
}
},
getTreeselect() {
getOneName().then(res =>{
const menu = {id: res.data.id,code:res.data.code, name: res.data.name, children: []};
getOneName().then(res => {
const menu = {id: res.data.id, code: res.data.code, name: res.data.name, children: []};
getListMenu({}).then(response => {
this.fromDeptOptions = [];
menu.children = this.handleTree(response.data,"code", "parentCode");
menu.children = this.handleTree(response.data, "code", "parentCode");
console.log(menu)
this.fromDeptOptions.push(menu);
});
@ -870,6 +890,24 @@ export default {
children: node.children
};
},
findHsflMethod(query) {
this.hsflOptions = [];
let cQuery = {
key: query,
page: 1,
limit: 20
};
getHslbs(cQuery)
.then((response) => {
this.loading = false;
this.hsflOptions = response.data.list || [];
})
.catch(() => {
this.loading = false;
});
}
,
}
}
</script>

@ -73,7 +73,7 @@
<el-input
size="small"
placeholder="请输入生产企业"
v-model="inputQuery.companyName"
v-model.trim="inputQuery.companyName"
@input="change()"
></el-input>
</el-form-item>

@ -162,12 +162,26 @@
</el-col>
<el-col :span="12" v-if="productRemarkSet.remarkEnable8">
<el-form-item :label="productRemarkSet.remarkTitle8+':'">
<el-input
style="width: 80%"
size="small"
splaceholder="请输入内容"
<el-select
v-model="editQuery.basicPrductRemak8"
></el-input>
filterable
remote
clearable="true"
reserve-keyword
placeholder="请选择物价类别"
:remote-method="findHsflMethod"
style="width: 80%"
>
<el-option
v-for="item in hsflOptions"
:key="item.hsbm"
:label="item.hsmc"
:value="item.hsbm"
>
<span style="float: left">{{ item.hsmc }}</span>
<span style="float: right; color: #8492a6; font-size: 13px">{{ item.hsbm }}</span>
</el-option>
</el-select>
</el-form-item>
</el-col>
</el-row>
@ -231,6 +245,7 @@ import {updateById} from '@/api/basic/udiRelevance'
import {filterByUuid} from '@/api/basic/udiInfo'
import selectErp from "./udiInfoselectErpUdi";
import selectUdiVersion from '@/views/basic/product/UdiinfoSelectVersion'
import {getHslbs} from "@/api/thrsys/thrHsfl";
export default {
name: 'productEdit',
@ -277,6 +292,7 @@ export default {
},
editSingleDiDialogVisible: false,
selectErpDialogVisible: false, //ERP
hsflOptions: [],
}
},
@ -297,7 +313,14 @@ export default {
isDateBy: this.editQuery.isDateBy,
relSupId: this.editQuery.id,
groupBuy: this.editQuery.groupBuy,
uid: this.editQuery.uid,
basicPrductRemak1: this.editQuery.basicPrductRemak1,
basicPrductRemak2: this.editQuery.basicPrductRemak2,
basicPrductRemak3: this.editQuery.basicPrductRemak3,
basicPrductRemak4: this.editQuery.basicPrductRemak4,
basicPrductRemak5: this.editQuery.basicPrductRemak5,
basicPrductRemak6: this.editQuery.basicPrductRemak6,
basicPrductRemak7: this.editQuery.basicPrductRemak7,
basicPrductRemak8: this.editQuery.basicPrductRemak8,
}
updateById(data).then(res => {
@ -407,6 +430,25 @@ export default {
this.selectVersionVisible = false;
this.getThirdSysDetail();
},
findHsflMethod(query) {
this.hsflOptions = [];
let cQuery = {
key: query,
page: 1,
limit: 20
};
getHslbs(cQuery)
.then((response) => {
this.loading = false;
this.hsflOptions = response.data.list || [];
})
.catch(() => {
this.loading = false;
});
}
,
},
components: {
selectErp
@ -419,6 +461,10 @@ export default {
limit: 10,
};
this.getDetailList(ttquery);
if (this.editQuery.basicPrductRemak8 != null) {
this.findHsflMethod(this.editQuery.basicPrductRemak8);
}
},
}
</script>

@ -18,9 +18,9 @@
</el-table>
</el-card>
<el-card>
<el-form :model="editQuery" :rules="rules" ref="editQuery" label-width="150px" style="margin-top: 20px" >
<el-form :model="editQuery" :rules="rules" ref="editQuery" label-width="150px" style="margin-top: 20px">
<el-row v-if="editQuery.isAudit==2" type="flex" justify="end">
<el-row v-if="editQuery.isAudit!=null && editQuery.isAudit==2" type="flex" justify="end">
<el-button-group style="display: flex;margin-bottom: 15px; margin-right: 50px;margin-top: -10px">
<el-button type="primary" @click="checkPass(2)"></el-button>
<el-button type="primary" @click="checkPass(3)"></el-button>
@ -30,7 +30,8 @@
<el-row>
<el-col :span="12">
<el-form-item label="审核意见:">
<el-input style="width: 65%" size="small" :disabled="editQuery.isAudit!=2" splaceholder="请输入审核意见" v-model="remark"></el-input>
<el-input style="width: 65%" size="small" :disabled="editQuery.isAudit!=2" splaceholder="请输入审核意见"
v-model="remark"></el-input>
</el-form-item>
</el-col>
</el-row>
@ -38,12 +39,14 @@
<el-row>
<el-col :span="12" class="el-col">
<el-form-item label="商品条码:">
<el-input style="width: 65%" size="small" :disabled="true" splaceholder="请输入内容" v-model="editQuery.sptm"></el-input>
<el-input style="width: 65%" size="small" :disabled="true" splaceholder="请输入内容"
v-model="editQuery.sptm"></el-input>
</el-form-item>
</el-col>
<el-col :span="12" class="el-col">
<el-form-item label="医保编码:">
<el-input style="width: 65%" size="small" :disabled="true" splaceholder="请输入内容" v-model="editQuery.ybbm" @input="change($event)"></el-input>
<el-input style="width: 65%" size="small" :disabled="true" splaceholder="请输入内容" v-model="editQuery.ybbm"
@input="change($event)"></el-input>
</el-form-item>
</el-col>
</el-row>
@ -51,12 +54,14 @@
<el-row>
<el-col :span="12" class="el-col">
<el-form-item label="计量单位:">
<el-input style="width: 65%" size="small" :disabled="true" splaceholder="请输入内容" v-model="editQuery.measname"></el-input>
<el-input style="width: 65%" size="small" :disabled="true" splaceholder="请输入内容"
v-model="editQuery.measname"></el-input>
</el-form-item>
</el-col>
<el-col :span="12" class="el-col">
<el-form-item label="生产企业:">
<el-input style="width: 65%" size="small" :disabled="true" v-model="editQuery.manufactory" splaceholder="请输入内容" @input="change($event)"></el-input>
<el-input style="width: 65%" size="small" :disabled="true" v-model="editQuery.manufactory"
splaceholder="请输入内容" @input="change($event)"></el-input>
</el-form-item>
</el-col>
</el-row>
@ -64,12 +69,14 @@
<el-row>
<el-col :span="12" class="el-col">
<el-form-item label="商品名称:">
<el-input style="width: 65%" size="small" :disabled="true" splaceholder="请输入内容" v-model="editQuery.cpmctymc"></el-input>
<el-input style="width: 65%" size="small" :disabled="true" splaceholder="请输入内容"
v-model="editQuery.cpmctymc"></el-input>
</el-form-item>
</el-col>
<el-col :span="12" class="el-col">
<el-form-item label="产品描述:">
<el-input style="width: 65%" size="small" :disabled="true" splaceholder="请输入内容" v-model="editQuery.cpms"></el-input>
<el-input style="width: 65%" size="small" :disabled="true" splaceholder="请输入内容"
v-model="editQuery.cpms"></el-input>
</el-form-item>
</el-col>
</el-row>
@ -77,7 +84,8 @@
<el-row>
<el-col :span="12" class="el-col">
<el-form-item label="产品价格:">
<el-input style="width: 65%" size="small" :disabled="true" splaceholder="请输入内容" type="number" step="0.01" v-model="editQuery.price"></el-input>
<el-input style="width: 65%" size="small" :disabled="true" splaceholder="请输入内容" type="number" step="0.01"
v-model="editQuery.price"></el-input>
</el-form-item>
</el-col>
</el-row>
@ -86,13 +94,15 @@
<el-row>
<el-col :span="12" class="el-col" v-if="productRemarkSet.remarkEnable1">
<el-form-item :label="productRemarkSet.remarkTitle1 ">
<el-input style="width: 65%" size="small" splaceholder="请输入内容" :disabled="true" v-model="editQuery.basicPrductRemak1"></el-input>
<el-input style="width: 65%" size="small" splaceholder="请输入内容" :disabled="true"
v-model="editQuery.basicPrductRemak1"></el-input>
</el-form-item>
</el-col>
<el-col :span="12" class="el-col" v-if="productRemarkSet.remarkEnable2">
<el-form-item :label="productRemarkSet.remarkTitle2 ">
<el-input style="width: 65%" size="small" splaceholder="请输入内容" :disabled="true" v-model="editQuery.basicPrductRemak2"></el-input>
<el-input style="width: 65%" size="small" splaceholder="请输入内容" :disabled="true"
v-model="editQuery.basicPrductRemak2"></el-input>
</el-form-item>
</el-col>
</el-row>
@ -100,27 +110,31 @@
<el-row>
<el-col :span="12" class="el-col" v-if="productRemarkSet.remarkEnable3">
<el-form-item :label="productRemarkSet.remarkTitle3 ">
<el-input style="width: 65%" size="small" splaceholder="请输入内容" :disabled="true" v-model="editQuery.basicPrductRemak3"></el-input>
<el-input style="width: 65%" size="small" splaceholder="请输入内容" :disabled="true"
v-model="editQuery.basicPrductRemak3"></el-input>
</el-form-item>
</el-col>
<el-col :span="12" class="el-col" v-if="productRemarkSet.remarkEnable4">
<el-form-item :label="productRemarkSet.remarkTitle4 ">
<el-input style="width: 65%" size="small" splaceholder="请输入内容" :disabled="true" v-model="editQuery.basicPrductRemak4"></el-input>
<el-input style="width: 65%" size="small" splaceholder="请输入内容" :disabled="true"
v-model="editQuery.basicPrductRemak4"></el-input>
</el-form-item>
</el-col>
</el-row>
<el-row >
<el-row>
<el-col :span="12" class="el-col" v-if="productRemarkSet.remarkEnable5">
<el-form-item :label="productRemarkSet.remarkTitle5 ">
<el-input style="width: 65%" size="small" splaceholder="请输入内容" :disabled="true" v-model="editQuery.basicPrductRemak5"></el-input>
<el-input style="width: 65%" size="small" splaceholder="请输入内容" :disabled="true"
v-model="editQuery.basicPrductRemak5"></el-input>
</el-form-item>
</el-col>
<el-col :span="12" class="el-col" v-if="productRemarkSet.remarkEnable6">
<el-form-item :label="productRemarkSet.remarkTitle6 ">
<el-input style="width: 65%" size="small" splaceholder="请输入内容" :disabled="true" v-model="editQuery.basicPrductRemak6"></el-input>
<el-input style="width: 65%" size="small" splaceholder="请输入内容" :disabled="true"
v-model="editQuery.basicPrductRemak6"></el-input>
</el-form-item>
</el-col>
</el-row>
@ -128,13 +142,15 @@
<el-row>
<el-col :span="12" class="el-col" v-if="productRemarkSet.remarkEnable7">
<el-form-item :label="productRemarkSet.remarkTitle7 ">
<el-input style="width: 65%" size="small" splaceholder="请输入内容" :disabled="true" v-model="editQuery.basicPrductRemak7"></el-input>
<el-input style="width: 65%" size="small" splaceholder="请输入内容" :disabled="true"
v-model="editQuery.basicPrductRemak7"></el-input>
</el-form-item>
</el-col>
<el-col :span="12" class="el-col" v-if="productRemarkSet.remarkEnable8">
<el-form-item :label="productRemarkSet.remarkTitle8">
<el-input style="width: 65%" size="small" splaceholder="请输入内容" :disabled="true" v-model="editQuery.basicPrductRemak8"></el-input>
<el-input style="width: 65%" size="small" splaceholder="请输入内容" :disabled="true"
v-model="editQuery.basicPrductRemak8"></el-input>
</el-form-item>
</el-col>
</el-row>
@ -150,7 +166,8 @@
<div class="itemTag">
<span>产品标识:&nbsp;</span>
</div>
<el-input style="width: 65%" :disabled="true" size="small" splaceholder="请输入内容" v-model="editQuery.nameCode"></el-input>
<el-input style="width: 65%" :disabled="true" size="small" splaceholder="请输入内容"
v-model="editQuery.nameCode"></el-input>
</div>
</el-col>
<el-col :span="12" class="el-col">
@ -158,7 +175,8 @@
<div class="itemTag">
<span>最小包装单元内包含使用单元数量:&nbsp;</span>
</div>
<el-input style="width: 65%" :disabled="true" size="small" splaceholder="请输入内容" v-model="editQuery.zxxsbzbhsydysl"></el-input>
<el-input style="width: 65%" :disabled="true" size="small" splaceholder="请输入内容"
v-model="editQuery.zxxsbzbhsydysl"></el-input>
</div>
</el-col>
</el-row>
@ -169,7 +187,8 @@
<div class="itemTag">
<span>包含下级产品编码:&nbsp;</span>
</div>
<el-input style="width: 65%" size="small" :disabled="true" splaceholder="请输入内容" v-model="editQuery.bhxjcpbm"></el-input>
<el-input style="width: 65%" size="small" :disabled="true" splaceholder="请输入内容"
v-model="editQuery.bhxjcpbm"></el-input>
</div>
</el-col>
@ -178,7 +197,8 @@
<div class="itemTag">
<span>包含最小销售包装数量:&nbsp;</span>
</div>
<el-input style="width: 65%" size="small" :disabled="true" splaceholder="请输入内容" v-model="editQuery.bhzxxsbzsl"></el-input>
<el-input style="width: 65%" size="small" :disabled="true" splaceholder="请输入内容"
v-model="editQuery.bhzxxsbzsl"></el-input>
</div>
</el-col>
</el-row>
@ -196,7 +216,8 @@
<div class="itemTag">
<span>物资名称:&nbsp;</span>
</div>
<el-input style="width: 65%" size="small" splaceholder="请输入内容" :disabled="true" v-model="editQuery.cpmctymc"></el-input>
<el-input style="width: 65%" size="small" splaceholder="请输入内容" :disabled="true"
v-model="editQuery.cpmctymc"></el-input>
</div>
</el-col>
@ -205,7 +226,8 @@
<div class="itemTag">
<span>规格型号:&nbsp;</span>
</div>
<el-input style="width: 65%" :disabled="true" size="small" splaceholder="请输入内容" v-model="editQuery.ggxh"></el-input>
<el-input style="width: 65%" :disabled="true" size="small" splaceholder="请输入内容"
v-model="editQuery.ggxh"></el-input>
</div>
</el-col>
</el-row>
@ -216,7 +238,8 @@
<div class="itemTag">
<span>产品类别:&nbsp;</span>
</div>
<el-input style="width: 65%" :disabled="true" size="small" splaceholder="请输入内容" v-model="editQuery.cplb"></el-input>
<el-input style="width: 65%" :disabled="true" size="small" splaceholder="请输入内容"
v-model="editQuery.cplb"></el-input>
</div>
</el-col>
<el-col :span="12" class="el-col">
@ -224,7 +247,8 @@
<div class="itemTag">
<span>分类编码:&nbsp;</span>
</div>
<el-input style="width: 65%" :disabled="true" size="small" splaceholder="请输入内容" v-model="editQuery.flbm"></el-input>
<el-input style="width: 65%" :disabled="true" size="small" splaceholder="请输入内容"
v-model="editQuery.flbm"></el-input>
</div>
</el-col>
</el-row>
@ -235,7 +259,8 @@
<div class="itemTag">
<span>医疗器械注册人:&nbsp;</span>
</div>
<el-input style="width: 65%" :disabled="true" size="small" splaceholder="ylqxzcrbarmc" v-model="editQuery.ylqxzcrbarmc"></el-input>
<el-input style="width: 65%" :disabled="true" size="small" splaceholder="ylqxzcrbarmc"
v-model="editQuery.ylqxzcrbarmc"></el-input>
</div>
</el-col>
<el-col :span="12" class="el-col">
@ -243,7 +268,8 @@
<div class="itemTag">
<span>注册人英文名称:&nbsp;</span>
</div>
<el-input style="width: 65%" :disabled="true" size="small" splaceholder="请输入内容" v-model="editQuery.ylqxzcrbarywmc"></el-input>
<el-input style="width: 65%" :disabled="true" size="small" splaceholder="请输入内容"
v-model="editQuery.ylqxzcrbarywmc"></el-input>
</div>
</el-col>
</el-row>
@ -254,7 +280,8 @@
<div class="itemTag">
<span>器械类别:&nbsp;</span>
</div>
<el-input style="width: 65%" :disabled="true" size="small" splaceholder="请输入内容" v-model="editQuery.qxlb"></el-input>
<el-input style="width: 65%" :disabled="true" size="small" splaceholder="请输入内容"
v-model="editQuery.qxlb"></el-input>
</div>
</el-col>
<el-col :span="12" class="el-col">
@ -262,7 +289,8 @@
<div class="itemTag">
<span>生产企业:&nbsp;</span>
</div>
<el-input style="width: 65%" :disabled="true" size="small" splaceholder="请输入内容" v-model="editQuery.manufactory"></el-input>
<el-input style="width: 65%" :disabled="true" size="small" splaceholder="请输入内容"
v-model="editQuery.manufactory"></el-input>
</div>
</el-col>
</el-row>
@ -273,7 +301,8 @@
<div class="itemTag">
<span>商品条码:&nbsp;</span>
</div>
<el-input style="width: 65%" size="small" :disabled="true" splaceholder="请输入内容" v-model="editQuery.sptm"></el-input>
<el-input style="width: 65%" size="small" :disabled="true" splaceholder="请输入内容"
v-model="editQuery.sptm"></el-input>
</div>
</el-col>
<el-col :span="12" class="el-col">
@ -281,7 +310,8 @@
<div class="itemTag">
<span>医保编码:&nbsp;</span>
</div>
<el-input style="width: 65%" :disabled="true" size="small" splaceholder="请输入内容" v-model="editQuery.ybbm"></el-input>
<el-input style="width: 65%" :disabled="true" size="small" splaceholder="请输入内容"
v-model="editQuery.ybbm"></el-input>
</div>
</el-col>
</el-row>
@ -292,7 +322,8 @@
<div class="itemTag">
<span>统一社会信用号:&nbsp;</span>
</div>
<el-input style="width: 65%" :disabled="true" size="small" splaceholder="请输入内容" v-model="editQuery.tyshxydm"></el-input>
<el-input style="width: 65%" :disabled="true" size="small" splaceholder="请输入内容"
v-model="editQuery.tyshxydm"></el-input>
</div>
</el-col>
<el-col :span="12" class="el-col">
@ -300,7 +331,8 @@
<div class="itemTag">
<span>注册证/备案号:&nbsp;</span>
</div>
<el-input style="width: 65%" :disabled="true" size="small" splaceholder="请输入内容" v-model="editQuery.zczbhhzbapzbh"></el-input>
<el-input style="width: 65%" :disabled="true" size="small" splaceholder="请输入内容"
v-model="editQuery.zczbhhzbapzbh"></el-input>
</div>
</el-col>
</el-row>
@ -311,7 +343,8 @@
<div class="itemTag">
<span>产品描述:&nbsp;</span>
</div>
<el-input style="width: 65%" :disabled="!checked" size="small" splaceholder="请输入内容" v-model="editQuery.cpms"></el-input>
<el-input style="width: 65%" :disabled="!checked" size="small" splaceholder="请输入内容"
v-model="editQuery.cpms"></el-input>
</div>
</el-col>
</el-row>
@ -329,7 +362,8 @@
<div class="itemTag">
<span>是否包含批号:&nbsp;</span>
</div>
<el-input style="width: 65%" :disabled="true" size="small" splaceholder="请输入内容" v-model="editQuery.scbssfbhph"></el-input>
<el-input style="width: 65%" :disabled="true" size="small" splaceholder="请输入内容"
v-model="editQuery.scbssfbhph"></el-input>
</div>
</el-col>
<el-col :span="12" class="el-col">
@ -337,7 +371,8 @@
<div class="itemTag">
<span>是否包含序列号:&nbsp;</span>
</div>
<el-input style="width: 65%" :disabled="true" size="small" v-model="editQuery.scbssfbhxlh" splaceholder="请输入内容"></el-input>
<el-input style="width: 65%" :disabled="true" size="small" v-model="editQuery.scbssfbhxlh"
splaceholder="请输入内容"></el-input>
</div>
</el-col>
</el-row>
@ -348,7 +383,8 @@
<div class="itemTag">
<span>是否包含生产日期:&nbsp;</span>
</div>
<el-input style="width: 65%" :disabled="true" size="small" splaceholder="请输入内容" v-model="editQuery.scbssfbhscrq"></el-input>
<el-input style="width: 65%" :disabled="true" size="small" splaceholder="请输入内容"
v-model="editQuery.scbssfbhscrq"></el-input>
</div>
</el-col>
<el-col :span="12" class="el-col">
@ -356,7 +392,8 @@
<div class="itemTag">
<span>是否包含失效日期:&nbsp;</span>
</div>
<el-input style="width: 65%" :disabled="true" v-model="editQuery.scbssfbhsxrq" size="small" splaceholder="请输入内容"></el-input>
<el-input style="width: 65%" :disabled="true" v-model="editQuery.scbssfbhsxrq" size="small"
splaceholder="请输入内容"></el-input>
</div>
</el-col>
</el-row>
@ -373,7 +410,8 @@
<div class="itemTag">
<span>上级产品编码:&nbsp;</span>
</div>
<el-input style="width: 65%" :disabled="true" size="small" splaceholder="请输入内容" v-model="editQuery.sjcpbm"></el-input>
<el-input style="width: 65%" :disabled="true" size="small" splaceholder="请输入内容"
v-model="editQuery.sjcpbm"></el-input>
</div>
</el-col>
<el-col :span="12" class="el-col">
@ -381,7 +419,8 @@
<div class="itemTag">
<span>包装级别:&nbsp;</span>
</div>
<el-input style="width: 65%" size="small" splaceholder="请输入内容" :disabled="true" v-model="editQuery.packLevel"></el-input>
<el-input style="width: 65%" size="small" splaceholder="请输入内容" :disabled="true"
v-model="editQuery.packLevel"></el-input>
</div>
</el-col>
</el-row>
@ -392,7 +431,8 @@
<div class="itemTag">
<span>包装级别:&nbsp;</span>
</div>
<el-input style="width: 65%" size="small" splaceholder="请输入内容" v-model="editQuery.bzcj" :disabled="true"></el-input>
<el-input style="width: 65%" size="small" splaceholder="请输入内容" v-model="editQuery.bzcj"
:disabled="true"></el-input>
</div>
</el-col>
@ -401,7 +441,8 @@
<div class="itemTag">
<span>包含下级包装数量:&nbsp;</span>
</div>
<el-input style="width: 65%" size="small" splaceholder="请输入内容" :disabled="true" v-model="editQuery.bhxjsl"></el-input>
<el-input style="width: 65%" size="small" splaceholder="请输入内容" :disabled="true"
v-model="editQuery.bhxjsl"></el-input>
</div>
</el-col>
</el-row>
@ -416,9 +457,9 @@
<script>
import { updateDiProduct } from '@/api/supplier/supProductsAddDi'
import { finProductSet } from '@/api/param/systemParamConfig'
import { selectOriginuuid } from '@/api/basic/product/udiInfo'
import {updateDiProduct} from '@/api/supplier/supProductsAddDi'
import {finProductSet} from '@/api/param/systemParamConfig'
import {selectOriginuuid} from '@/api/basic/product/udiInfo'
export default {
name: "SelectDIDetailDialog",
@ -427,8 +468,8 @@ export default {
type: Object,
required: true,
},
close:{
type:Function,
close: {
type: Function,
required: true,
},
editDate: {
@ -443,9 +484,9 @@ export default {
data() {
return {
activeNames: ['1'],
remark:"",
detailList:[],
productRemarkSet:{}
remark: "",
detailList: [],
productRemarkSet: {}
}
},
methods: {
@ -492,7 +533,7 @@ export default {
this.findBasicProductSet()
//
let ttquery = {
uuid: this.editQuery.uuid,
originUuid: this.editQuery.uuid,
};
this.getDetailList(ttquery);
},
@ -509,6 +550,7 @@ export default {
padding-bottom: 17px;
padding-top: 17px;
}
.itemTag {
float: left;
text-align: right;

@ -257,8 +257,27 @@
<el-col :span="12" class="el-col" v-if="productRemarkSet.remarkEnable8">
<el-form-item :label="productRemarkSet.remarkTitle8">
<el-input style="width: 65%" size="small" splaceholder="请输入内容"
v-model="editQuery.basicPrductRemak8"></el-input>
<el-select
v-model="editQuery.basicPrductRemak8"
filterable
remote
clearable="true"
reserve-keyword
placeholder="请选择物价类别"
:remote-method="findHsflMethod"
:loading="loading"
style="width: 65%"
>
<el-option
v-for="item in hsflOptions"
:key="item.hsbm"
:label="item.hsmc"
:value="item.hsbm"
>
<span style="float: left">{{ item.hsmc }}</span>
<span style="float: right; color: #8492a6; font-size: 13px">{{ item.hsbm }}</span>
</el-option>
</el-select>
</el-form-item>
</el-col>
</el-row>
@ -291,6 +310,7 @@ import selectDiDetail from './selectDIDetailDialog'
import store from '@/store'
import {getBasicThirdSys} from '@/api/basic/basicThirdSys'
import {finProductSet} from '@/api/param/systemParamConfig'
import {getHslbs} from "@/api/thrsys/thrHsfl";
export default {
name: 'closeDialog',
@ -371,8 +391,8 @@ export default {
thirdSys: [],
curSelectDi: null,
selectThirdSys: [],
productRemarkSet: {}
productRemarkSet: {},
hsflOptions: [],
}
},
methods: {
@ -594,7 +614,24 @@ export default {
//
}
})
},
findHsflMethod(query) {
this.hsflOptions = [];
let cQuery = {
key: query,
page: 1,
limit: 20
};
getHslbs(cQuery)
.then((response) => {
this.loading = false;
this.hsflOptions = response.data.list || [];
})
.catch(() => {
this.loading = false;
});
}
,
},
created() {

@ -303,7 +303,7 @@ export default {
}
if (row.type == 1) {
let query = {uuid: row.uuid}
let query = {devKey: row.deviceRecordKey}
getDiProductDetail(query).then((res) => {
if (res.code === 20000) {
this.thisData = res.data

@ -323,7 +323,7 @@ export default {
},
detail(row) {
if (row.type == 1) {
let query = { uuid: row.uuid };
let query = {devKey: row.deviceRecordKey}
getDiProductDetail(query).then((res) => {
if (res.code === 20000) {
this.delect = row;

@ -4,7 +4,7 @@
<div v-if="!isImport" style="margin-bottom: 20px">
<el-form :model="data" size="mini" label-width="150px">
<el-row v-if="data.isAudit==2" type="flex" justify="end">
<el-row v-if="data.isAudit!=null && data.isAudit==2" type="flex" justify="end">
<el-button-group style="display: flex;margin-bottom: 15px; margin-right: 50px;margin-top: -10px">
<el-button type="primary" @click="checkPass(2)"></el-button>
<el-button type="primary" @click="checkPass(3)"></el-button>

Loading…
Cancel
Save