|
|
|
@ -38,147 +38,207 @@
|
|
|
|
|
|
|
|
|
|
<el-col style="border-left: 3px solid #dddddd; overflow-y: hidden">
|
|
|
|
|
<el-form
|
|
|
|
|
v-if="queryList && queryList.length > 0"
|
|
|
|
|
:model="filterQuery"
|
|
|
|
|
size="mini"
|
|
|
|
|
label-width="100px"
|
|
|
|
|
v-show="showSearch"
|
|
|
|
|
>
|
|
|
|
|
<el-row>
|
|
|
|
|
<el-col :span="18">
|
|
|
|
|
<el-form-item class="query-form-item" label="UDI码:">
|
|
|
|
|
<el-row style=" display:flex; flex-wrap: wrap; ">
|
|
|
|
|
<template v-for="(item, index) in queryList" >
|
|
|
|
|
<el-form-item v-if="item.columnType == 'input'" :label="item.columnDesc+`:`" :key="item.id">
|
|
|
|
|
<el-input
|
|
|
|
|
v-model="filterQuery.udiCode"
|
|
|
|
|
style="width: 97%"
|
|
|
|
|
placeholder="请扫描或输入UDI码"
|
|
|
|
|
clearable="true"
|
|
|
|
|
@keyup.enter.native="keyup_submit($event)"
|
|
|
|
|
></el-input>
|
|
|
|
|
</el-form-item>
|
|
|
|
|
</el-col>
|
|
|
|
|
</el-row>
|
|
|
|
|
<el-row>
|
|
|
|
|
<el-col :span="6">
|
|
|
|
|
<el-form-item class="query-form-item" label="最小销售标识:">
|
|
|
|
|
<el-input
|
|
|
|
|
v-model="filterQuery.unionCode"
|
|
|
|
|
placeholder="请输入最小销售标识"
|
|
|
|
|
style="width: 90%"
|
|
|
|
|
clearable="true"
|
|
|
|
|
></el-input>
|
|
|
|
|
</el-form-item>
|
|
|
|
|
</el-col>
|
|
|
|
|
<el-col :span="6">
|
|
|
|
|
<el-form-item class="query-form-item" label="物资名称:">
|
|
|
|
|
<el-input
|
|
|
|
|
v-model="filterQuery.cpmctymc"
|
|
|
|
|
placeholder="请输入物资名称"
|
|
|
|
|
clearable="true"
|
|
|
|
|
style="width: 90%"
|
|
|
|
|
v-model="filterQuery[item.columnName]"
|
|
|
|
|
:placeholder="item.columnDesc"
|
|
|
|
|
@keyup.enter.native="executeFuc($event,null,'5',item.clickFuc)"
|
|
|
|
|
clearable
|
|
|
|
|
></el-input>
|
|
|
|
|
</el-form-item>
|
|
|
|
|
</el-col>
|
|
|
|
|
<el-col :span="6">
|
|
|
|
|
<el-form-item class="query-form-item" label="规格型号:">
|
|
|
|
|
<el-input
|
|
|
|
|
v-model="filterQuery.ggxh"
|
|
|
|
|
placeholder="请输入规格型号"
|
|
|
|
|
clearable="true"
|
|
|
|
|
style="width: 90%"
|
|
|
|
|
></el-input>
|
|
|
|
|
<el-form-item v-if="item.columnType == 'select'" :label="item.columnDesc+`:`">
|
|
|
|
|
<el-select v-model="filterQuery[item.columnName]" :placeholder="item.columnDesc" clearable>
|
|
|
|
|
<el-option
|
|
|
|
|
v-for="dict in item.lableRuleObj"
|
|
|
|
|
:key="dict.value"
|
|
|
|
|
:label="dict.label"
|
|
|
|
|
:value="dict.value"
|
|
|
|
|
/>
|
|
|
|
|
</el-select>
|
|
|
|
|
</el-form-item>
|
|
|
|
|
</el-col>
|
|
|
|
|
<el-col :span="6">
|
|
|
|
|
<el-form-item class="query-form-item" label="对照条件:">
|
|
|
|
|
<el-form-item v-if="item.columnType == 'selectServer'" :label="item.columnDesc+`:`">
|
|
|
|
|
<el-select
|
|
|
|
|
v-model="filterQuery.filterType"
|
|
|
|
|
placeholder="请选择过滤对照条件"
|
|
|
|
|
style="width: 90%"
|
|
|
|
|
>
|
|
|
|
|
v-model="filterQuery[item.columnName]"
|
|
|
|
|
:placeholder="item.columnDesc"
|
|
|
|
|
filterable
|
|
|
|
|
remote
|
|
|
|
|
:remote-method="(query) => executeFuc(query, null,'6',item.clickFuc)"
|
|
|
|
|
clearable>
|
|
|
|
|
<el-option
|
|
|
|
|
v-for="item in filterList"
|
|
|
|
|
v-for="item in options[item.clickFuc]"
|
|
|
|
|
:key="item.filterType"
|
|
|
|
|
:label="item.sysName"
|
|
|
|
|
:value="item.filterType"
|
|
|
|
|
>
|
|
|
|
|
<span style="float: left">{{ item.sysName }}</span>
|
|
|
|
|
</el-option>
|
|
|
|
|
</el-select>
|
|
|
|
|
</el-form-item>
|
|
|
|
|
</el-col>
|
|
|
|
|
</el-row>
|
|
|
|
|
<el-row>
|
|
|
|
|
<el-col :span="6">
|
|
|
|
|
<el-form-item class="query-form-item" label="注册备案人:">
|
|
|
|
|
<el-input
|
|
|
|
|
v-model="filterQuery.ylqxzcrbarmc"
|
|
|
|
|
placeholder="请输入注册备案人"
|
|
|
|
|
style="width: 90%"
|
|
|
|
|
clearable="true"
|
|
|
|
|
></el-input>
|
|
|
|
|
</el-form-item>
|
|
|
|
|
</el-col>
|
|
|
|
|
<el-col :span="6">
|
|
|
|
|
<el-form-item class="query-form-item" label="第三方编码:">
|
|
|
|
|
<el-input
|
|
|
|
|
v-model="filterQuery.thrPiId"
|
|
|
|
|
placeholder="请输入第三方主系统编码"
|
|
|
|
|
style="width: 90%"
|
|
|
|
|
clearable="true"
|
|
|
|
|
></el-input>
|
|
|
|
|
</el-form-item>
|
|
|
|
|
</el-col>
|
|
|
|
|
<el-col :span="6">
|
|
|
|
|
<el-form-item class="query-form-item" label="集采状态:">
|
|
|
|
|
<el-select
|
|
|
|
|
v-model="filterQuery.groupBuy"
|
|
|
|
|
placeholder="请选择集采状态"
|
|
|
|
|
clearable
|
|
|
|
|
style="width: 90%"
|
|
|
|
|
>
|
|
|
|
|
<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-col>
|
|
|
|
|
<el-col :span="6">
|
|
|
|
|
<el-form-item class="query-form-item" label="可配送状态:">
|
|
|
|
|
<el-select
|
|
|
|
|
v-model="filterQuery.dispatch"
|
|
|
|
|
placeholder="请选择可配送状态"
|
|
|
|
|
clearable
|
|
|
|
|
style="width: 90%"
|
|
|
|
|
>
|
|
|
|
|
<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-col>
|
|
|
|
|
</el-row>
|
|
|
|
|
|
|
|
|
|
<el-row>
|
|
|
|
|
<el-col :span="6">
|
|
|
|
|
<el-form-item class="query-form-item" label="注册/备案号:">
|
|
|
|
|
<el-input
|
|
|
|
|
v-model="filterQuery.zczbhhzbapzbh"
|
|
|
|
|
placeholder="请输入注册/备案号"
|
|
|
|
|
style="width: 90%"
|
|
|
|
|
clearable="true"
|
|
|
|
|
></el-input>
|
|
|
|
|
<el-form-item v-if="item.columnType == 'datePicker'" :label="item.columnDesc+`:`">
|
|
|
|
|
<el-date-picker
|
|
|
|
|
v-model="dateRange"
|
|
|
|
|
:style="`width:${item.width+'px'}`"
|
|
|
|
|
value-format="yyyy-MM-dd HH:mm:ss"
|
|
|
|
|
type="daterange"
|
|
|
|
|
range-separator="-"
|
|
|
|
|
start-placeholder="开始日期"
|
|
|
|
|
end-placeholder="结束日期"
|
|
|
|
|
:default-time="['00:00:00', '23:59:59']"
|
|
|
|
|
></el-date-picker>
|
|
|
|
|
</el-form-item>
|
|
|
|
|
</el-col>
|
|
|
|
|
<el-col :span="6">
|
|
|
|
|
<el-form-item class="query-form-item" label="生产企业:">
|
|
|
|
|
<el-input
|
|
|
|
|
v-model="filterQuery.manufactory"
|
|
|
|
|
placeholder="请输入生产企业"
|
|
|
|
|
style="width: 90%"
|
|
|
|
|
clearable="true"
|
|
|
|
|
></el-input>
|
|
|
|
|
<el-form-item v-if="item.columnType == 'date'" :label="item.columnDesc+`:`">
|
|
|
|
|
<el-date-picker
|
|
|
|
|
v-model="filterQuery[item.columnName]"
|
|
|
|
|
:style="`width:${item.width+'px'}`"
|
|
|
|
|
value-format="yyyy-MM-dd"
|
|
|
|
|
type="date"
|
|
|
|
|
:placeholder="item.columnDesc"
|
|
|
|
|
></el-date-picker>
|
|
|
|
|
</el-form-item>
|
|
|
|
|
</el-col>
|
|
|
|
|
</template>
|
|
|
|
|
</el-row>
|
|
|
|
|
<!-- <el-row>-->
|
|
|
|
|
<!-- <el-col :span="18">-->
|
|
|
|
|
<!-- <el-form-item class="query-form-item" label="UDI码:">-->
|
|
|
|
|
<!-- <el-input-->
|
|
|
|
|
<!-- v-model="filterQuery.udiCode"-->
|
|
|
|
|
<!-- style="width: 97%"-->
|
|
|
|
|
<!-- placeholder="请扫描或输入UDI码"-->
|
|
|
|
|
<!-- clearable="true"-->
|
|
|
|
|
<!-- @keyup.enter.native="keyup_submit($event)"-->
|
|
|
|
|
<!-- ></el-input>-->
|
|
|
|
|
<!-- </el-form-item>-->
|
|
|
|
|
<!-- </el-col>-->
|
|
|
|
|
<!-- </el-row>-->
|
|
|
|
|
<!-- <el-row>-->
|
|
|
|
|
<!-- <el-col :span="6">-->
|
|
|
|
|
<!-- <el-form-item class="query-form-item" label="最小销售标识:">-->
|
|
|
|
|
<!-- <el-input-->
|
|
|
|
|
<!-- v-model="filterQuery.unionCode"-->
|
|
|
|
|
<!-- placeholder="请输入最小销售标识"-->
|
|
|
|
|
<!-- style="width: 90%"-->
|
|
|
|
|
<!-- clearable="true"-->
|
|
|
|
|
<!-- ></el-input>-->
|
|
|
|
|
<!-- </el-form-item>-->
|
|
|
|
|
<!-- </el-col>-->
|
|
|
|
|
<!-- <el-col :span="6">-->
|
|
|
|
|
<!-- <el-form-item class="query-form-item" label="物资名称:">-->
|
|
|
|
|
<!-- <el-input-->
|
|
|
|
|
<!-- v-model="filterQuery.cpmctymc"-->
|
|
|
|
|
<!-- placeholder="请输入物资名称"-->
|
|
|
|
|
<!-- clearable="true"-->
|
|
|
|
|
<!-- style="width: 90%"-->
|
|
|
|
|
<!-- ></el-input>-->
|
|
|
|
|
<!-- </el-form-item>-->
|
|
|
|
|
<!-- </el-col>-->
|
|
|
|
|
<!-- <el-col :span="6">-->
|
|
|
|
|
<!-- <el-form-item class="query-form-item" label="规格型号:">-->
|
|
|
|
|
<!-- <el-input-->
|
|
|
|
|
<!-- v-model="filterQuery.ggxh"-->
|
|
|
|
|
<!-- placeholder="请输入规格型号"-->
|
|
|
|
|
<!-- clearable="true"-->
|
|
|
|
|
<!-- style="width: 90%"-->
|
|
|
|
|
<!-- ></el-input>-->
|
|
|
|
|
<!-- </el-form-item>-->
|
|
|
|
|
<!-- </el-col>-->
|
|
|
|
|
<!-- <el-col :span="6">-->
|
|
|
|
|
<!-- <el-form-item class="query-form-item" label="对照条件:">-->
|
|
|
|
|
<!-- <el-select-->
|
|
|
|
|
<!-- v-model="filterQuery.filterType"-->
|
|
|
|
|
<!-- placeholder="请选择过滤对照条件"-->
|
|
|
|
|
<!-- style="width: 90%"-->
|
|
|
|
|
<!-- >-->
|
|
|
|
|
<!-- <el-option-->
|
|
|
|
|
<!-- v-for="item in filterList"-->
|
|
|
|
|
<!-- :key="item.filterType"-->
|
|
|
|
|
<!-- :label="item.sysName"-->
|
|
|
|
|
<!-- :value="item.filterType"-->
|
|
|
|
|
<!-- >-->
|
|
|
|
|
<!-- <span style="float: left">{{ item.sysName }}</span>-->
|
|
|
|
|
<!-- </el-option>-->
|
|
|
|
|
<!-- </el-select>-->
|
|
|
|
|
<!-- </el-form-item>-->
|
|
|
|
|
<!-- </el-col>-->
|
|
|
|
|
<!-- </el-row>-->
|
|
|
|
|
<!-- <el-row>-->
|
|
|
|
|
<!-- <el-col :span="6">-->
|
|
|
|
|
<!-- <el-form-item class="query-form-item" label="注册备案人:">-->
|
|
|
|
|
<!-- <el-input-->
|
|
|
|
|
<!-- v-model="filterQuery.ylqxzcrbarmc"-->
|
|
|
|
|
<!-- placeholder="请输入注册备案人"-->
|
|
|
|
|
<!-- style="width: 90%"-->
|
|
|
|
|
<!-- clearable="true"-->
|
|
|
|
|
<!-- ></el-input>-->
|
|
|
|
|
<!-- </el-form-item>-->
|
|
|
|
|
<!-- </el-col>-->
|
|
|
|
|
<!-- <el-col :span="6">-->
|
|
|
|
|
<!-- <el-form-item class="query-form-item" label="第三方编码:">-->
|
|
|
|
|
<!-- <el-input-->
|
|
|
|
|
<!-- v-model="filterQuery.thrPiId"-->
|
|
|
|
|
<!-- placeholder="请输入第三方主系统编码"-->
|
|
|
|
|
<!-- style="width: 90%"-->
|
|
|
|
|
<!-- clearable="true"-->
|
|
|
|
|
<!-- ></el-input>-->
|
|
|
|
|
<!-- </el-form-item>-->
|
|
|
|
|
<!-- </el-col>-->
|
|
|
|
|
<!-- <el-col :span="6">-->
|
|
|
|
|
<!-- <el-form-item class="query-form-item" label="集采状态:">-->
|
|
|
|
|
<!-- <el-select-->
|
|
|
|
|
<!-- v-model="filterQuery.groupBuy"-->
|
|
|
|
|
<!-- placeholder="请选择集采状态"-->
|
|
|
|
|
<!-- clearable-->
|
|
|
|
|
<!-- style="width: 90%"-->
|
|
|
|
|
<!-- >-->
|
|
|
|
|
<!-- <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-col>-->
|
|
|
|
|
<!-- <el-col :span="6">-->
|
|
|
|
|
<!-- <el-form-item class="query-form-item" label="可配送状态:">-->
|
|
|
|
|
<!-- <el-select-->
|
|
|
|
|
<!-- v-model="filterQuery.dispatch"-->
|
|
|
|
|
<!-- placeholder="请选择可配送状态"-->
|
|
|
|
|
<!-- clearable-->
|
|
|
|
|
<!-- style="width: 90%"-->
|
|
|
|
|
<!-- >-->
|
|
|
|
|
<!-- <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-col>-->
|
|
|
|
|
<!-- </el-row>-->
|
|
|
|
|
|
|
|
|
|
<!-- <el-row>-->
|
|
|
|
|
<!-- <el-col :span="6">-->
|
|
|
|
|
<!-- <el-form-item class="query-form-item" label="注册/备案号:">-->
|
|
|
|
|
<!-- <el-input-->
|
|
|
|
|
<!-- v-model="filterQuery.zczbhhzbapzbh"-->
|
|
|
|
|
<!-- placeholder="请输入注册/备案号"-->
|
|
|
|
|
<!-- style="width: 90%"-->
|
|
|
|
|
<!-- clearable="true"-->
|
|
|
|
|
<!-- ></el-input>-->
|
|
|
|
|
<!-- </el-form-item>-->
|
|
|
|
|
<!-- </el-col>-->
|
|
|
|
|
<!-- <el-col :span="6">-->
|
|
|
|
|
<!-- <el-form-item class="query-form-item" label="生产企业:">-->
|
|
|
|
|
<!-- <el-input-->
|
|
|
|
|
<!-- v-model="filterQuery.manufactory"-->
|
|
|
|
|
<!-- placeholder="请输入生产企业"-->
|
|
|
|
|
<!-- style="width: 90%"-->
|
|
|
|
|
<!-- clearable="true"-->
|
|
|
|
|
<!-- ></el-input>-->
|
|
|
|
|
<!-- </el-form-item>-->
|
|
|
|
|
<!-- </el-col>-->
|
|
|
|
|
<!-- </el-row>-->
|
|
|
|
|
</el-form>
|
|
|
|
|
<div class="top-right-btn">
|
|
|
|
|
<el-button-group>
|
|
|
|
@ -219,189 +279,275 @@
|
|
|
|
|
style="width: 100%"
|
|
|
|
|
border
|
|
|
|
|
key="1"
|
|
|
|
|
@selection-change="handleSelectionChange"
|
|
|
|
|
@current-change="executeFuc"
|
|
|
|
|
>
|
|
|
|
|
<el-table-column label="序号" type="index"></el-table-column>
|
|
|
|
|
<el-table-column
|
|
|
|
|
label="最小销售产品标识"
|
|
|
|
|
prop="nameCode"
|
|
|
|
|
width="140"
|
|
|
|
|
show-overflow-tooltip
|
|
|
|
|
></el-table-column>
|
|
|
|
|
<el-table-column
|
|
|
|
|
label="主系统编码"
|
|
|
|
|
prop="mainId"
|
|
|
|
|
width="120"
|
|
|
|
|
show-overflow-tooltip
|
|
|
|
|
></el-table-column>
|
|
|
|
|
<el-table-column
|
|
|
|
|
label="物资名称"
|
|
|
|
|
prop="cpmctymc"
|
|
|
|
|
width="160"
|
|
|
|
|
show-overflow-tooltip
|
|
|
|
|
></el-table-column>
|
|
|
|
|
<el-table-column
|
|
|
|
|
label="规格型号"
|
|
|
|
|
prop="ggxh"
|
|
|
|
|
width="160"
|
|
|
|
|
show-overflow-tooltip
|
|
|
|
|
></el-table-column>
|
|
|
|
|
<el-table-column
|
|
|
|
|
label="商品名称"
|
|
|
|
|
prop="spmc"
|
|
|
|
|
width="160"
|
|
|
|
|
show-overflow-tooltip
|
|
|
|
|
v-if="$auth.hasPermi('basic:spmc')"
|
|
|
|
|
></el-table-column>
|
|
|
|
|
|
|
|
|
|
<el-table-column
|
|
|
|
|
label="商品条码"
|
|
|
|
|
prop="sptm"
|
|
|
|
|
width="160"
|
|
|
|
|
show-overflow-tooltip
|
|
|
|
|
v-if="$auth.hasPermi('basic:sptm')"
|
|
|
|
|
></el-table-column>
|
|
|
|
|
<template v-for="(item, index) in tableHeader">
|
|
|
|
|
<el-table-column
|
|
|
|
|
label="医保编码"
|
|
|
|
|
prop="ybbm"
|
|
|
|
|
width="160"
|
|
|
|
|
show-overflow-tooltip
|
|
|
|
|
v-if="$auth.hasPermi('basic:ybbm')"
|
|
|
|
|
></el-table-column>
|
|
|
|
|
v-if="item.columnType == 'id'"
|
|
|
|
|
type="index" :label="item.columnDesc"></el-table-column>
|
|
|
|
|
<el-table-column
|
|
|
|
|
label="计量单位"
|
|
|
|
|
prop="measname"
|
|
|
|
|
width="160"
|
|
|
|
|
show-overflow-tooltip
|
|
|
|
|
v-if="$auth.hasPermi('basic:measname')"
|
|
|
|
|
></el-table-column>
|
|
|
|
|
v-else-if="item.columnType == 'selection'"
|
|
|
|
|
type="selection"
|
|
|
|
|
:width="item.width"
|
|
|
|
|
:selectable="executeFuc"></el-table-column>
|
|
|
|
|
|
|
|
|
|
<el-table-column
|
|
|
|
|
label="注册/备案号"
|
|
|
|
|
prop="zczbhhzbapzbh"
|
|
|
|
|
width="160"
|
|
|
|
|
show-overflow-tooltip
|
|
|
|
|
></el-table-column>
|
|
|
|
|
<el-table-column
|
|
|
|
|
label="注册/备案人"
|
|
|
|
|
prop="ylqxzcrbarmc"
|
|
|
|
|
width="180"
|
|
|
|
|
show-overflow-tooltip
|
|
|
|
|
></el-table-column>
|
|
|
|
|
<el-table-column
|
|
|
|
|
:label="productRemarkSet.remarkTitle1"
|
|
|
|
|
prop="basicPrductRemak1"
|
|
|
|
|
width="180"
|
|
|
|
|
show-overflow-tooltip
|
|
|
|
|
v-if="$auth.hasPermi('basic:basicPrductRemak1')"
|
|
|
|
|
></el-table-column>
|
|
|
|
|
<el-table-column
|
|
|
|
|
:label="productRemarkSet.remarkTitle2"
|
|
|
|
|
prop="basicPrductRemak2"
|
|
|
|
|
width="180"
|
|
|
|
|
show-overflow-tooltip
|
|
|
|
|
v-if="$auth.hasPermi('basic:basicPrductRemak2')"
|
|
|
|
|
></el-table-column>
|
|
|
|
|
<el-table-column
|
|
|
|
|
:label="productRemarkSet.remarkTitle3"
|
|
|
|
|
prop="basicPrductRemak3"
|
|
|
|
|
width="180"
|
|
|
|
|
show-overflow-tooltip
|
|
|
|
|
v-if="$auth.hasPermi('basic:basicPrductRemak3')"
|
|
|
|
|
></el-table-column>
|
|
|
|
|
<el-table-column
|
|
|
|
|
:label="productRemarkSet.remarkTitle4"
|
|
|
|
|
prop="basicPrductRemak4"
|
|
|
|
|
width="180"
|
|
|
|
|
show-overflow-tooltip
|
|
|
|
|
v-if="$auth.hasPermi('basic:basicPrductRemak4')"
|
|
|
|
|
></el-table-column>
|
|
|
|
|
<el-table-column
|
|
|
|
|
:label="productRemarkSet.remarkTitle5"
|
|
|
|
|
prop="basicPrductRemak5"
|
|
|
|
|
width="180"
|
|
|
|
|
show-overflow-tooltip
|
|
|
|
|
v-if="$auth.hasPermi('basic:basicPrductRemak5')"
|
|
|
|
|
></el-table-column>
|
|
|
|
|
<el-table-column
|
|
|
|
|
:label="productRemarkSet.remarkTitle6"
|
|
|
|
|
prop="basicPrductRemak6"
|
|
|
|
|
width="180"
|
|
|
|
|
show-overflow-tooltip
|
|
|
|
|
v-if="$auth.hasPermi('basic:basicPrductRemak6')"
|
|
|
|
|
></el-table-column>
|
|
|
|
|
<el-table-column
|
|
|
|
|
:label="productRemarkSet.remarkTitle7"
|
|
|
|
|
prop="basicPrductRemak7"
|
|
|
|
|
width="180"
|
|
|
|
|
show-overflow-tooltip
|
|
|
|
|
v-if="$auth.hasPermi('basic:basicPrductRemak7')"
|
|
|
|
|
></el-table-column>
|
|
|
|
|
<el-table-column
|
|
|
|
|
:label="productRemarkSet.remarkTitle8"
|
|
|
|
|
prop="basicPrductRemak8"
|
|
|
|
|
width="180"
|
|
|
|
|
show-overflow-tooltip
|
|
|
|
|
v-if="$auth.hasPermi('basic:basicPrductRemak8')"
|
|
|
|
|
></el-table-column>
|
|
|
|
|
|
|
|
|
|
v-else-if="item.columnType == 'radio'"
|
|
|
|
|
:prop="item.columnName"
|
|
|
|
|
:label="item.columnDesc"
|
|
|
|
|
:sortable="item.sort"
|
|
|
|
|
:width="item.width"
|
|
|
|
|
:show-overflow-tooltip="item.tooltip"
|
|
|
|
|
:key="item.columnName"
|
|
|
|
|
>
|
|
|
|
|
<template slot-scope="scope">
|
|
|
|
|
<el-radio :label="scope.row.id" v-model="radioCheck"><span></span></el-radio>
|
|
|
|
|
</template>
|
|
|
|
|
</el-table-column>
|
|
|
|
|
<el-table-column
|
|
|
|
|
label="集采状态"
|
|
|
|
|
prop="groupBuy"
|
|
|
|
|
width="120"
|
|
|
|
|
show-overflow-tooltip
|
|
|
|
|
v-if="$auth.hasPermi('basic:groupBuy')"
|
|
|
|
|
v-else-if="item.columnType == 'laber'"
|
|
|
|
|
:prop="item.columnName"
|
|
|
|
|
:label="item.columnDesc"
|
|
|
|
|
:sortable="item.sort"
|
|
|
|
|
:width="item.width"
|
|
|
|
|
:show-overflow-tooltip="item.tooltip"
|
|
|
|
|
:key="item.columnName"
|
|
|
|
|
>
|
|
|
|
|
<template slot-scope="scope">
|
|
|
|
|
<el-tag :type="scope.row.groupBuy | statusFilterType">
|
|
|
|
|
{{ groupBuyMap[scope.row.groupBuy] }}
|
|
|
|
|
</el-tag>
|
|
|
|
|
<span :style="{color: executeFuc(scope.row,null,'4',item.lableRuleObj[scope.row[item.columnName]])}">{{ item.lableRuleObj[scope.row[item.columnName]] }}</span>
|
|
|
|
|
</template>
|
|
|
|
|
</el-table-column>
|
|
|
|
|
<el-table-column
|
|
|
|
|
label="可配送状态"
|
|
|
|
|
prop="dispatch"
|
|
|
|
|
width="120"
|
|
|
|
|
show-overflow-tooltip
|
|
|
|
|
v-if="$auth.hasPermi('basic:dispatch')"
|
|
|
|
|
v-else-if="item.columnType == 'eltag'"
|
|
|
|
|
:prop="item.columnName"
|
|
|
|
|
:label="item.columnDesc"
|
|
|
|
|
:sortable="item.sort"
|
|
|
|
|
:width="item.width"
|
|
|
|
|
:show-overflow-tooltip="item.tooltip"
|
|
|
|
|
:key="item.columnName"
|
|
|
|
|
>
|
|
|
|
|
<template slot-scope="scope">
|
|
|
|
|
<el-tag :type="scope.row.dispatch | statusFilterType">
|
|
|
|
|
{{ dispatchMap[scope.row.dispatch] }}
|
|
|
|
|
<el-tag :type="executeFuc(scope.row,null,'4',item,item.lableRuleObj?item.lableRuleObj[scope.row[item.columnName]]:scope.row[item.columnName])">
|
|
|
|
|
<span>{{ item.lableRuleObj?item.lableRuleObj[scope.row[item.columnName]]:scope.row[item.columnName] }}</span>
|
|
|
|
|
</el-tag>
|
|
|
|
|
</template>
|
|
|
|
|
</el-table-column>
|
|
|
|
|
<el-table-column width="180" label="操作" fixed="right">
|
|
|
|
|
<el-table-column
|
|
|
|
|
v-else-if="item.columnType == 'button'"
|
|
|
|
|
:prop="item.columnName"
|
|
|
|
|
:label="item.columnDesc"
|
|
|
|
|
:width="item.width"
|
|
|
|
|
:key="item.columnName"
|
|
|
|
|
fixed="right"
|
|
|
|
|
>
|
|
|
|
|
<template slot-scope="scope">
|
|
|
|
|
<el-button
|
|
|
|
|
type="text"
|
|
|
|
|
size="small"
|
|
|
|
|
:disabled="scope.row.originUuid != null"
|
|
|
|
|
@click.native.stop="intentSelectUdi(scope.row)"
|
|
|
|
|
>关联DI
|
|
|
|
|
</el-button>
|
|
|
|
|
<el-button
|
|
|
|
|
type="text"
|
|
|
|
|
size="small"
|
|
|
|
|
@click.native.stop="handleModifyClick(scope.row)"
|
|
|
|
|
>详情
|
|
|
|
|
</el-button>
|
|
|
|
|
|
|
|
|
|
<el-button
|
|
|
|
|
type="text"
|
|
|
|
|
size="small"
|
|
|
|
|
@click.native.stop="diEdit(scope.row)"
|
|
|
|
|
>编辑
|
|
|
|
|
</el-button>
|
|
|
|
|
|
|
|
|
|
<el-button
|
|
|
|
|
type="text"
|
|
|
|
|
size="small"
|
|
|
|
|
@click.native.stop="deleteDialog(scope.row)"
|
|
|
|
|
>删除
|
|
|
|
|
<el-button v-for="(buttonItem, buttonIndex) in item.buttonRulObj"
|
|
|
|
|
:type="buttonItem.type"
|
|
|
|
|
:size="buttonItem.size"
|
|
|
|
|
:style="buttonItem.style"
|
|
|
|
|
:key="buttonItem"
|
|
|
|
|
:disabled="executeFuc(scope.row,null,'3',buttonItem.disabledFuc)"
|
|
|
|
|
@click.native.stop="executeFuc(scope.row,null,'1',buttonItem.clickFuc)"
|
|
|
|
|
>{{ buttonItem.name }}
|
|
|
|
|
</el-button>
|
|
|
|
|
</template>
|
|
|
|
|
</el-table-column>
|
|
|
|
|
<el-table-column
|
|
|
|
|
v-else
|
|
|
|
|
:prop="item.columnName"
|
|
|
|
|
:label="item.columnDesc"
|
|
|
|
|
:sortable="item.sort"
|
|
|
|
|
:width="item.width"
|
|
|
|
|
:show-overflow-tooltip="item.tooltip"
|
|
|
|
|
:key="item.columnName"
|
|
|
|
|
>
|
|
|
|
|
<template slot-scope="scope">
|
|
|
|
|
<span :style="{color: executeFuc(scope.row,null,'4',item,scope.row[item.columnName])}">{{ scope.row[item.columnName] }}</span>
|
|
|
|
|
</template>
|
|
|
|
|
</el-table-column>
|
|
|
|
|
|
|
|
|
|
</template>
|
|
|
|
|
<!-- <el-table-column label="序号" type="index"></el-table-column>-->
|
|
|
|
|
<!-- <el-table-column-->
|
|
|
|
|
<!-- label="最小销售产品标识"-->
|
|
|
|
|
<!-- prop="nameCode"-->
|
|
|
|
|
<!-- width="140"-->
|
|
|
|
|
<!-- show-overflow-tooltip-->
|
|
|
|
|
<!-- ></el-table-column>-->
|
|
|
|
|
<!-- <el-table-column-->
|
|
|
|
|
<!-- label="主系统编码"-->
|
|
|
|
|
<!-- prop="mainId"-->
|
|
|
|
|
<!-- width="120"-->
|
|
|
|
|
<!-- show-overflow-tooltip-->
|
|
|
|
|
<!-- ></el-table-column>-->
|
|
|
|
|
<!-- <el-table-column-->
|
|
|
|
|
<!-- label="物资名称"-->
|
|
|
|
|
<!-- prop="cpmctymc"-->
|
|
|
|
|
<!-- width="160"-->
|
|
|
|
|
<!-- show-overflow-tooltip-->
|
|
|
|
|
<!-- ></el-table-column>-->
|
|
|
|
|
<!-- <el-table-column-->
|
|
|
|
|
<!-- label="规格型号"-->
|
|
|
|
|
<!-- prop="ggxh"-->
|
|
|
|
|
<!-- width="160"-->
|
|
|
|
|
<!-- show-overflow-tooltip-->
|
|
|
|
|
<!-- ></el-table-column>-->
|
|
|
|
|
<!-- <el-table-column-->
|
|
|
|
|
<!-- label="商品名称"-->
|
|
|
|
|
<!-- prop="spmc"-->
|
|
|
|
|
<!-- width="160"-->
|
|
|
|
|
<!-- show-overflow-tooltip-->
|
|
|
|
|
<!-- v-if="$auth.hasPermi('basic:spmc')"-->
|
|
|
|
|
<!-- ></el-table-column>-->
|
|
|
|
|
|
|
|
|
|
<!-- <el-table-column-->
|
|
|
|
|
<!-- label="商品条码"-->
|
|
|
|
|
<!-- prop="sptm"-->
|
|
|
|
|
<!-- width="160"-->
|
|
|
|
|
<!-- show-overflow-tooltip-->
|
|
|
|
|
<!-- v-if="$auth.hasPermi('basic:sptm')"-->
|
|
|
|
|
<!-- ></el-table-column>-->
|
|
|
|
|
<!-- <el-table-column-->
|
|
|
|
|
<!-- label="医保编码"-->
|
|
|
|
|
<!-- prop="ybbm"-->
|
|
|
|
|
<!-- width="160"-->
|
|
|
|
|
<!-- show-overflow-tooltip-->
|
|
|
|
|
<!-- v-if="$auth.hasPermi('basic:ybbm')"-->
|
|
|
|
|
<!-- ></el-table-column>-->
|
|
|
|
|
<!-- <el-table-column-->
|
|
|
|
|
<!-- label="计量单位"-->
|
|
|
|
|
<!-- prop="measname"-->
|
|
|
|
|
<!-- width="160"-->
|
|
|
|
|
<!-- show-overflow-tooltip-->
|
|
|
|
|
<!-- v-if="$auth.hasPermi('basic:measname')"-->
|
|
|
|
|
<!-- ></el-table-column>-->
|
|
|
|
|
|
|
|
|
|
<!-- <el-table-column-->
|
|
|
|
|
<!-- label="注册/备案号"-->
|
|
|
|
|
<!-- prop="zczbhhzbapzbh"-->
|
|
|
|
|
<!-- width="160"-->
|
|
|
|
|
<!-- show-overflow-tooltip-->
|
|
|
|
|
<!-- ></el-table-column>-->
|
|
|
|
|
<!-- <el-table-column-->
|
|
|
|
|
<!-- label="注册/备案人"-->
|
|
|
|
|
<!-- prop="ylqxzcrbarmc"-->
|
|
|
|
|
<!-- width="180"-->
|
|
|
|
|
<!-- show-overflow-tooltip-->
|
|
|
|
|
<!-- ></el-table-column>-->
|
|
|
|
|
<!-- <el-table-column-->
|
|
|
|
|
<!-- :label="productRemarkSet.remarkTitle1"-->
|
|
|
|
|
<!-- prop="basicPrductRemak1"-->
|
|
|
|
|
<!-- width="180"-->
|
|
|
|
|
<!-- show-overflow-tooltip-->
|
|
|
|
|
<!-- v-if="$auth.hasPermi('basic:basicPrductRemak1')"-->
|
|
|
|
|
<!-- ></el-table-column>-->
|
|
|
|
|
<!-- <el-table-column-->
|
|
|
|
|
<!-- :label="productRemarkSet.remarkTitle2"-->
|
|
|
|
|
<!-- prop="basicPrductRemak2"-->
|
|
|
|
|
<!-- width="180"-->
|
|
|
|
|
<!-- show-overflow-tooltip-->
|
|
|
|
|
<!-- v-if="$auth.hasPermi('basic:basicPrductRemak2')"-->
|
|
|
|
|
<!-- ></el-table-column>-->
|
|
|
|
|
<!-- <el-table-column-->
|
|
|
|
|
<!-- :label="productRemarkSet.remarkTitle3"-->
|
|
|
|
|
<!-- prop="basicPrductRemak3"-->
|
|
|
|
|
<!-- width="180"-->
|
|
|
|
|
<!-- show-overflow-tooltip-->
|
|
|
|
|
<!-- v-if="$auth.hasPermi('basic:basicPrductRemak3')"-->
|
|
|
|
|
<!-- ></el-table-column>-->
|
|
|
|
|
<!-- <el-table-column-->
|
|
|
|
|
<!-- :label="productRemarkSet.remarkTitle4"-->
|
|
|
|
|
<!-- prop="basicPrductRemak4"-->
|
|
|
|
|
<!-- width="180"-->
|
|
|
|
|
<!-- show-overflow-tooltip-->
|
|
|
|
|
<!-- v-if="$auth.hasPermi('basic:basicPrductRemak4')"-->
|
|
|
|
|
<!-- ></el-table-column>-->
|
|
|
|
|
<!-- <el-table-column-->
|
|
|
|
|
<!-- :label="productRemarkSet.remarkTitle5"-->
|
|
|
|
|
<!-- prop="basicPrductRemak5"-->
|
|
|
|
|
<!-- width="180"-->
|
|
|
|
|
<!-- show-overflow-tooltip-->
|
|
|
|
|
<!-- v-if="$auth.hasPermi('basic:basicPrductRemak5')"-->
|
|
|
|
|
<!-- ></el-table-column>-->
|
|
|
|
|
<!-- <el-table-column-->
|
|
|
|
|
<!-- :label="productRemarkSet.remarkTitle6"-->
|
|
|
|
|
<!-- prop="basicPrductRemak6"-->
|
|
|
|
|
<!-- width="180"-->
|
|
|
|
|
<!-- show-overflow-tooltip-->
|
|
|
|
|
<!-- v-if="$auth.hasPermi('basic:basicPrductRemak6')"-->
|
|
|
|
|
<!-- ></el-table-column>-->
|
|
|
|
|
<!-- <el-table-column-->
|
|
|
|
|
<!-- :label="productRemarkSet.remarkTitle7"-->
|
|
|
|
|
<!-- prop="basicPrductRemak7"-->
|
|
|
|
|
<!-- width="180"-->
|
|
|
|
|
<!-- show-overflow-tooltip-->
|
|
|
|
|
<!-- v-if="$auth.hasPermi('basic:basicPrductRemak7')"-->
|
|
|
|
|
<!-- ></el-table-column>-->
|
|
|
|
|
<!-- <el-table-column-->
|
|
|
|
|
<!-- :label="productRemarkSet.remarkTitle8"-->
|
|
|
|
|
<!-- prop="basicPrductRemak8"-->
|
|
|
|
|
<!-- width="180"-->
|
|
|
|
|
<!-- show-overflow-tooltip-->
|
|
|
|
|
<!-- v-if="$auth.hasPermi('basic:basicPrductRemak8')"-->
|
|
|
|
|
<!-- ></el-table-column>-->
|
|
|
|
|
|
|
|
|
|
<!-- <el-table-column-->
|
|
|
|
|
<!-- label="集采状态"-->
|
|
|
|
|
<!-- prop="groupBuy"-->
|
|
|
|
|
<!-- width="120"-->
|
|
|
|
|
<!-- show-overflow-tooltip-->
|
|
|
|
|
<!-- v-if="$auth.hasPermi('basic:groupBuy')"-->
|
|
|
|
|
<!-- >-->
|
|
|
|
|
<!-- <template slot-scope="scope">-->
|
|
|
|
|
<!-- <el-tag :type="scope.row.groupBuy | statusFilterType">-->
|
|
|
|
|
<!-- {{ groupBuyMap[scope.row.groupBuy] }}-->
|
|
|
|
|
<!-- </el-tag>-->
|
|
|
|
|
<!-- </template>-->
|
|
|
|
|
<!-- </el-table-column>-->
|
|
|
|
|
<!-- <el-table-column-->
|
|
|
|
|
<!-- label="可配送状态"-->
|
|
|
|
|
<!-- prop="dispatch"-->
|
|
|
|
|
<!-- width="120"-->
|
|
|
|
|
<!-- show-overflow-tooltip-->
|
|
|
|
|
<!-- v-if="$auth.hasPermi('basic:dispatch')"-->
|
|
|
|
|
<!-- >-->
|
|
|
|
|
<!-- <template slot-scope="scope">-->
|
|
|
|
|
<!-- <el-tag :type="scope.row.dispatch | statusFilterType">-->
|
|
|
|
|
<!-- {{ dispatchMap[scope.row.dispatch] }}-->
|
|
|
|
|
<!-- </el-tag>-->
|
|
|
|
|
<!-- </template>-->
|
|
|
|
|
<!-- </el-table-column>-->
|
|
|
|
|
<!-- <el-table-column width="180" label="操作" fixed="right">-->
|
|
|
|
|
<!-- <template slot-scope="scope">-->
|
|
|
|
|
<!-- <el-button-->
|
|
|
|
|
<!-- type="text"-->
|
|
|
|
|
<!-- size="small"-->
|
|
|
|
|
<!-- :disabled="scope.row.originUuid != null"-->
|
|
|
|
|
<!-- @click.native.stop="intentSelectUdi(scope.row)"-->
|
|
|
|
|
<!-- >关联DI-->
|
|
|
|
|
<!-- </el-button>-->
|
|
|
|
|
<!-- <el-button-->
|
|
|
|
|
<!-- type="text"-->
|
|
|
|
|
<!-- size="small"-->
|
|
|
|
|
<!-- @click.native.stop="handleModifyClick(scope.row)"-->
|
|
|
|
|
<!-- >详情-->
|
|
|
|
|
<!-- </el-button>-->
|
|
|
|
|
|
|
|
|
|
<!-- <el-button-->
|
|
|
|
|
<!-- type="text"-->
|
|
|
|
|
<!-- size="small"-->
|
|
|
|
|
<!-- @click.native.stop="diEdit(scope.row)"-->
|
|
|
|
|
<!-- >编辑-->
|
|
|
|
|
<!-- </el-button>-->
|
|
|
|
|
|
|
|
|
|
<!-- <el-button-->
|
|
|
|
|
<!-- type="text"-->
|
|
|
|
|
<!-- size="small"-->
|
|
|
|
|
<!-- @click.native.stop="deleteDialog(scope.row)"-->
|
|
|
|
|
<!-- >删除-->
|
|
|
|
|
<!-- </el-button>-->
|
|
|
|
|
<!-- </template>-->
|
|
|
|
|
<!-- </el-table-column>-->
|
|
|
|
|
</el-table>
|
|
|
|
|
<el-dialog
|
|
|
|
|
title="物资字典-详情"
|
|
|
|
@ -1575,6 +1721,9 @@ import selectHospProduct from "@/views/basic/product/bindHospProduct";
|
|
|
|
|
import selectUnBindHospProduct from "@/views/basic/product/unbindHospProduct";
|
|
|
|
|
import {getBasicHospType, getListTree} from "@/api/basic/basicHospType";
|
|
|
|
|
import {dlLastVersionByDi} from "@/api/basic/udiInfo";
|
|
|
|
|
import {
|
|
|
|
|
getHead,executeFuc
|
|
|
|
|
} from "@/utils/customConfig";
|
|
|
|
|
|
|
|
|
|
export default {
|
|
|
|
|
data() {
|
|
|
|
@ -1658,6 +1807,10 @@ export default {
|
|
|
|
|
detailList: [],
|
|
|
|
|
sysList: [],
|
|
|
|
|
filterList: [],
|
|
|
|
|
options: {},
|
|
|
|
|
queryList:[],
|
|
|
|
|
tableHeader:[],
|
|
|
|
|
fromList:[],
|
|
|
|
|
total: 0,
|
|
|
|
|
thirdNo: "",
|
|
|
|
|
treeList: [],
|
|
|
|
@ -1736,9 +1889,9 @@ export default {
|
|
|
|
|
hideSearch() {
|
|
|
|
|
this.showSearch = !this.showSearch;
|
|
|
|
|
},
|
|
|
|
|
keyup_submit(event) {
|
|
|
|
|
this.filterQuery.page = 1;
|
|
|
|
|
this.getList();
|
|
|
|
|
keyup_submit(_this,event) {
|
|
|
|
|
_this.filterQuery.page = 1;
|
|
|
|
|
_this.getList();
|
|
|
|
|
event.target.select();
|
|
|
|
|
},
|
|
|
|
|
getDetailList(detailQuery) {
|
|
|
|
@ -1817,14 +1970,14 @@ export default {
|
|
|
|
|
});
|
|
|
|
|
},
|
|
|
|
|
|
|
|
|
|
deleteDialog(rowId) {
|
|
|
|
|
this.$confirm("此操作将永久删除该产品信息, 是否继续?", "提示", {
|
|
|
|
|
deleteDialog(_this,rowId) {
|
|
|
|
|
_this.$confirm("此操作将永久删除该产品信息, 是否继续?", "提示", {
|
|
|
|
|
confirmButtonText: "确定",
|
|
|
|
|
cancelButtonText: "取消",
|
|
|
|
|
type: "warning",
|
|
|
|
|
})
|
|
|
|
|
.then(() => {
|
|
|
|
|
this.deleteOrders(rowId);
|
|
|
|
|
_this.deleteOrders(rowId);
|
|
|
|
|
})
|
|
|
|
|
.catch(() => {
|
|
|
|
|
});
|
|
|
|
@ -1949,12 +2102,12 @@ export default {
|
|
|
|
|
});
|
|
|
|
|
});
|
|
|
|
|
},
|
|
|
|
|
intentSelectUdi(val) {
|
|
|
|
|
this.relId = val.id;
|
|
|
|
|
this.isImportUdi = true;
|
|
|
|
|
this.isImport = true;
|
|
|
|
|
this.thisData = val;
|
|
|
|
|
this.selectLocalVisible = true;
|
|
|
|
|
intentSelectUdi(_this,val) {
|
|
|
|
|
_this.relId = val.id;
|
|
|
|
|
_this.isImportUdi = true;
|
|
|
|
|
_this.isImport = true;
|
|
|
|
|
_this.thisData = val;
|
|
|
|
|
_this.selectLocalVisible = true;
|
|
|
|
|
},
|
|
|
|
|
|
|
|
|
|
intentImportUdi() {
|
|
|
|
@ -1969,8 +2122,8 @@ export default {
|
|
|
|
|
this.selectLocalVisible = true;
|
|
|
|
|
},
|
|
|
|
|
|
|
|
|
|
handleSelectionChange(val) {
|
|
|
|
|
this.multipleSelection = val;
|
|
|
|
|
handleSelectionChange(_this,val) {
|
|
|
|
|
_this.multipleSelection = val;
|
|
|
|
|
},
|
|
|
|
|
|
|
|
|
|
cancelDialog() {
|
|
|
|
@ -1982,31 +2135,34 @@ export default {
|
|
|
|
|
this.filterQuery.page = val.page;
|
|
|
|
|
this.getList();
|
|
|
|
|
},
|
|
|
|
|
handleModifyClick(row) {
|
|
|
|
|
this.uuid = row.uuid;
|
|
|
|
|
this.relId = row.id;
|
|
|
|
|
this.isImport = false;
|
|
|
|
|
this.thisData = row;
|
|
|
|
|
this.editDialogVisible = true;
|
|
|
|
|
|
|
|
|
|
this.pId = row.id;
|
|
|
|
|
this.relevanceEdit = {
|
|
|
|
|
disabledUdi(_this,row) {
|
|
|
|
|
return row.originUuid != null
|
|
|
|
|
},
|
|
|
|
|
handleModifyClick(_this,row) {
|
|
|
|
|
_this.uuid = row.uuid;
|
|
|
|
|
_this.relId = row.id;
|
|
|
|
|
_this.isImport = false;
|
|
|
|
|
_this.thisData = row;
|
|
|
|
|
_this.editDialogVisible = true;
|
|
|
|
|
|
|
|
|
|
_this.pId = row.id;
|
|
|
|
|
_this.relevanceEdit = {
|
|
|
|
|
id: row.id,
|
|
|
|
|
isUseDy: row.isUseDy,
|
|
|
|
|
isDisable: row.isDisable,
|
|
|
|
|
isLock: row.isLock,
|
|
|
|
|
isAdavence: row.isAdavence,
|
|
|
|
|
};
|
|
|
|
|
this.checked = row.isUseDy == 1;
|
|
|
|
|
_this.checked = row.isUseDy == 1;
|
|
|
|
|
|
|
|
|
|
this.editQuery = row;
|
|
|
|
|
_this.editQuery = row;
|
|
|
|
|
//获取产品标识列表
|
|
|
|
|
let ttquery = {
|
|
|
|
|
id: row.id,
|
|
|
|
|
};
|
|
|
|
|
this.getDetailList(ttquery);
|
|
|
|
|
_this.getDetailList(ttquery);
|
|
|
|
|
//获取关联第三方系统产品信息列表
|
|
|
|
|
this.getThirdSysDetail();
|
|
|
|
|
_this.getThirdSysDetail();
|
|
|
|
|
},
|
|
|
|
|
|
|
|
|
|
lockProducts(status) {
|
|
|
|
@ -2049,15 +2205,19 @@ export default {
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
|
|
|
|
|
getSysFilter() {
|
|
|
|
|
getSysFilter(_this,query) {
|
|
|
|
|
sysFilter()
|
|
|
|
|
.then((response) => {
|
|
|
|
|
this.loading = false;
|
|
|
|
|
this.filterList = response.data.list || [];
|
|
|
|
|
_this.loading = false;
|
|
|
|
|
_this.options = {
|
|
|
|
|
getSysFilter: response.data.list || []
|
|
|
|
|
};
|
|
|
|
|
})
|
|
|
|
|
.catch(() => {
|
|
|
|
|
this.loading = false;
|
|
|
|
|
this.filterList = [];
|
|
|
|
|
_this.loading = false;
|
|
|
|
|
_this.options = {
|
|
|
|
|
getSysFilter: []
|
|
|
|
|
};
|
|
|
|
|
});
|
|
|
|
|
},
|
|
|
|
|
singleDiEdit() {
|
|
|
|
@ -2070,27 +2230,27 @@ export default {
|
|
|
|
|
this.editSingleFormat.nameCode = temp.nameCode;
|
|
|
|
|
this.editSingleDiDialogVisible = true;
|
|
|
|
|
},
|
|
|
|
|
diEdit(row) {
|
|
|
|
|
this.uuid = row.uuid;
|
|
|
|
|
this.relId = row.id;
|
|
|
|
|
this.isImport = false;
|
|
|
|
|
this.thisData = row;
|
|
|
|
|
this.pId = row.id;
|
|
|
|
|
this.relevanceEdit = {
|
|
|
|
|
diEdit(_this,row) {
|
|
|
|
|
_this.uuid = row.uuid;
|
|
|
|
|
_this.relId = row.id;
|
|
|
|
|
_this.isImport = false;
|
|
|
|
|
_this.thisData = row;
|
|
|
|
|
_this.pId = row.id;
|
|
|
|
|
_this.relevanceEdit = {
|
|
|
|
|
id: row.id,
|
|
|
|
|
isUseDy: row.isUseDy,
|
|
|
|
|
isDisable: row.isDisable,
|
|
|
|
|
isLock: row.isLock,
|
|
|
|
|
isAdavence: row.isAdavence,
|
|
|
|
|
};
|
|
|
|
|
this.editFormat = JSON.parse(JSON.stringify(row));
|
|
|
|
|
if (this.editFormat.overStockNum == null) {
|
|
|
|
|
this.editFormat.overStockNum = 0;
|
|
|
|
|
_this.editFormat = JSON.parse(JSON.stringify(row));
|
|
|
|
|
if (_this.editFormat.overStockNum == null) {
|
|
|
|
|
_this.editFormat.overStockNum = 0;
|
|
|
|
|
}
|
|
|
|
|
if (this.editFormat.lowStockNum == null) {
|
|
|
|
|
this.editFormat.lowStockNum = 0;
|
|
|
|
|
if (_this.editFormat.lowStockNum == null) {
|
|
|
|
|
_this.editFormat.lowStockNum = 0;
|
|
|
|
|
}
|
|
|
|
|
this.editDiDialogVisible = true;
|
|
|
|
|
_this.editDiDialogVisible = true;
|
|
|
|
|
},
|
|
|
|
|
closeDialog() {
|
|
|
|
|
this.selectErpDialogVisible = false;
|
|
|
|
@ -2259,6 +2419,9 @@ export default {
|
|
|
|
|
.catch(() => {
|
|
|
|
|
});
|
|
|
|
|
},
|
|
|
|
|
executeFuc(row,number,type,clickFuc,value){
|
|
|
|
|
return executeFuc(this,row,number,type,clickFuc,value);
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
mounted() {
|
|
|
|
|
},
|
|
|
|
@ -2275,10 +2438,17 @@ export default {
|
|
|
|
|
},
|
|
|
|
|
created() {
|
|
|
|
|
this.findBasicProductSet();
|
|
|
|
|
this.getList();
|
|
|
|
|
getHead("maintain","1").then((re) => {
|
|
|
|
|
// 处理返回的数据
|
|
|
|
|
this.tableObj = re.data;
|
|
|
|
|
this.tableHeader = re.data.tableList;
|
|
|
|
|
this.queryList = re.data.queryList;
|
|
|
|
|
this.fromList = re.data.fromList;
|
|
|
|
|
this.getList()
|
|
|
|
|
});
|
|
|
|
|
this.getTerrList();
|
|
|
|
|
// this.selectSysParam();
|
|
|
|
|
this.getSysFilter();
|
|
|
|
|
this.getSysFilter(this,"");
|
|
|
|
|
|
|
|
|
|
},
|
|
|
|
|
};
|
|
|
|
|