|
|
|
@ -4,13 +4,13 @@
|
|
|
|
|
<el-form :model="filterQuery" size="mini" label-width="100px" v-show="showSearch">
|
|
|
|
|
<el-row>
|
|
|
|
|
<el-col :span="6">
|
|
|
|
|
<el-form-item label="产品标识DI:">
|
|
|
|
|
<el-input v-model="filterQuery.nameCode" style="width: 90%" placeholder="请输入产品标识DI"></el-input>
|
|
|
|
|
<el-form-item label="DI/物资编码:">
|
|
|
|
|
<el-input v-model="filterQuery.nameCode" style="width: 90%" placeholder="请输入DI/物资编码"></el-input>
|
|
|
|
|
</el-form-item>
|
|
|
|
|
</el-col>
|
|
|
|
|
<el-col :span="6">
|
|
|
|
|
<el-form-item label="产品名称:">
|
|
|
|
|
<el-input v-model="filterQuery.cpmctymc" style="width: 90%" placeholder="请输入产品名称"></el-input>
|
|
|
|
|
<el-form-item label="物资名称:">
|
|
|
|
|
<el-input v-model="filterQuery.cpmctymc" style="width: 90%" placeholder="请输入物资名称"></el-input>
|
|
|
|
|
</el-form-item>
|
|
|
|
|
</el-col>
|
|
|
|
|
<el-col :span="6">
|
|
|
|
@ -23,6 +23,33 @@
|
|
|
|
|
<el-input v-model="filterQuery.batchNo" style="width: 90%" placeholder="请输入批次号"></el-input>
|
|
|
|
|
</el-form-item>
|
|
|
|
|
</el-col>
|
|
|
|
|
<el-col :span="6">
|
|
|
|
|
<el-form-item label="生产企业:" class="query-form-item">
|
|
|
|
|
<el-input v-model="filterQuery.manufactory" style="width: 100%" placeholder="请输入生产企业/注册备案人"
|
|
|
|
|
clearable="true"></el-input>
|
|
|
|
|
</el-form-item>
|
|
|
|
|
</el-col>
|
|
|
|
|
<el-col :span="6">
|
|
|
|
|
<el-form-item label="物资分类:" class="query-form-item">
|
|
|
|
|
<el-input v-model="filterQuery.category" style="width: 100%" placeholder="请输入物资分类名称"
|
|
|
|
|
clearable="true"></el-input>
|
|
|
|
|
</el-form-item>
|
|
|
|
|
</el-col>
|
|
|
|
|
|
|
|
|
|
<el-col :span="6" v-if="productRemarkSet.remarkEnable1">
|
|
|
|
|
<el-form-item :label="productRemarkSet.remarkTitle1+':'" class="query-form-item">
|
|
|
|
|
<el-input v-model="filterQuery.basicPrductRemak1" style="width: 100%"
|
|
|
|
|
:placeholder="productRemarkSet.remarkTitle1"
|
|
|
|
|
clearable="true"></el-input>
|
|
|
|
|
</el-form-item>
|
|
|
|
|
</el-col>
|
|
|
|
|
<el-col :span="6" v-if="productRemarkSet.remarkEnable2">
|
|
|
|
|
<el-form-item :label="productRemarkSet.remarkTitle2 +':'" class="query-form-item">
|
|
|
|
|
<el-input v-model="filterQuery.basicPrductRemak2" style="width: 100%"
|
|
|
|
|
:placeholder="productRemarkSet.remarkTitle2"
|
|
|
|
|
clearable="true"></el-input>
|
|
|
|
|
</el-form-item>
|
|
|
|
|
</el-col>
|
|
|
|
|
</el-row>
|
|
|
|
|
</el-form>
|
|
|
|
|
|
|
|
|
@ -38,21 +65,22 @@
|
|
|
|
|
<el-divider style="margin: 15px"></el-divider>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<el-table v-loading="loading" :data="list" style="width: 100%" highlight-current-row="false" border ref="multipleTable">
|
|
|
|
|
<el-table v-loading="loading" :data="list" style="width: 100%" highlight-current-row="false" border
|
|
|
|
|
ref="multipleTable">
|
|
|
|
|
<el-table-column type="selection" width="55"></el-table-column>
|
|
|
|
|
<el-table-column label="序号" type="index"></el-table-column>
|
|
|
|
|
<el-table-column label="DI/物资编码" prop="nameCode"></el-table-column>
|
|
|
|
|
<el-table-column label="物资名称" prop="cpmctymc"></el-table-column>
|
|
|
|
|
<el-table-column label="规格型号" prop="ggxh"></el-table-column>
|
|
|
|
|
<el-table-column label="批次号" prop="batchNo"></el-table-column>
|
|
|
|
|
<el-table-column label="生产日期" prop="productionDate"></el-table-column>
|
|
|
|
|
<el-table-column label="失效日期" prop="expireDate"></el-table-column>
|
|
|
|
|
<el-table-column label="入库数量" prop="inCount"></el-table-column>
|
|
|
|
|
<el-table-column label="出库数量" prop="outCount"></el-table-column>
|
|
|
|
|
<el-table-column label="结余数量" prop="reCount"></el-table-column>
|
|
|
|
|
<el-table-column label="生产企业" prop="manufactory" width="200"></el-table-column>
|
|
|
|
|
<el-table-column label="注册/备案号" prop="zczbhhzbapzbh" width="200"></el-table-column>
|
|
|
|
|
<el-table-column label="供应商" prop="supName" width="260"></el-table-column>
|
|
|
|
|
<el-table-column label="序号" type="index" width="55"></el-table-column>
|
|
|
|
|
<el-table-column label="DI/物资编码" prop="nameCode" 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"></el-table-column>
|
|
|
|
|
<el-table-column label="批次号" prop="batchNo" width="90"></el-table-column>
|
|
|
|
|
<el-table-column label="生产日期" prop="productionDate" width="90"></el-table-column>
|
|
|
|
|
<el-table-column label="失效日期" prop="expireDate" width="90"></el-table-column>
|
|
|
|
|
<el-table-column label="入库数量" prop="inCount" width="90"></el-table-column>
|
|
|
|
|
<el-table-column label="出库数量" prop="outCount" width="90"></el-table-column>
|
|
|
|
|
<el-table-column label="结余数量" prop="reCount" width="90"></el-table-column>
|
|
|
|
|
<el-table-column label="生产企业" prop="ylqxzcrbarmc" width="180"></el-table-column>
|
|
|
|
|
<el-table-column label="注册/备案号" prop="zczbhhzbapzbh" width="180"></el-table-column>
|
|
|
|
|
<el-table-column label="供应商" prop="supName" width="180"></el-table-column>
|
|
|
|
|
</el-table>
|
|
|
|
|
</el-card>
|
|
|
|
|
|
|
|
|
@ -74,6 +102,7 @@ import {addDetail} from "@/api/inout/receiveOrder";
|
|
|
|
|
import {addBizProduct} from "@/api/inout/orderDetailCode";
|
|
|
|
|
import {getInvPreInProduct, getInvPreInProductStock} from "@/api/inventory/invPreInSearch";
|
|
|
|
|
import {getInvPreProduct, getInvPreProductStock} from "@/api/inventory/invPreProduct";
|
|
|
|
|
import {finProductSet} from "@/api/param/systemParamConfig";
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
export default {
|
|
|
|
@ -130,6 +159,7 @@ export default {
|
|
|
|
|
idQuery: null,
|
|
|
|
|
showSup: false,
|
|
|
|
|
fromOptions: [],
|
|
|
|
|
productRemarkSet: {},
|
|
|
|
|
};
|
|
|
|
|
},
|
|
|
|
|
components: {},
|
|
|
|
@ -293,8 +323,14 @@ export default {
|
|
|
|
|
this.loading = false;
|
|
|
|
|
});
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
findBasicProductSet() {
|
|
|
|
|
finProductSet().then((response) => {
|
|
|
|
|
if (response.code == 20000) {
|
|
|
|
|
this.productRemarkSet = response.data;
|
|
|
|
|
}
|
|
|
|
|
});
|
|
|
|
|
},
|
|
|
|
|
},
|
|
|
|
|
filters: {
|
|
|
|
@ -313,6 +349,7 @@ export default {
|
|
|
|
|
};
|
|
|
|
|
},
|
|
|
|
|
created() {
|
|
|
|
|
this.findBasicProductSet();
|
|
|
|
|
this.filterQuery.invCode = this.invQueryData.targetInvCode;
|
|
|
|
|
// 加载表格数据
|
|
|
|
|
this.getList();
|
|
|
|
|