|
|
|
@ -31,6 +31,26 @@
|
|
|
|
|
<el-table-column label="序号" type="index" fixed></el-table-column>
|
|
|
|
|
<!-- <el-table-column label="ID" prop="id" fixed></el-table-column> -->
|
|
|
|
|
<el-table-column label="条码" prop="code" fixed></el-table-column>
|
|
|
|
|
<el-table-column
|
|
|
|
|
label="生产日期"
|
|
|
|
|
prop="produceDate"
|
|
|
|
|
show-overflow-tooltip
|
|
|
|
|
></el-table-column>
|
|
|
|
|
<el-table-column
|
|
|
|
|
label="失效日期"
|
|
|
|
|
prop="expireDate"
|
|
|
|
|
show-overflow-tooltip
|
|
|
|
|
></el-table-column>
|
|
|
|
|
<el-table-column
|
|
|
|
|
label="批次号"
|
|
|
|
|
prop="batchNo"
|
|
|
|
|
show-overflow-tooltip
|
|
|
|
|
></el-table-column>
|
|
|
|
|
<el-table-column
|
|
|
|
|
label="序列号"
|
|
|
|
|
prop="serialNo"
|
|
|
|
|
show-overflow-tooltip
|
|
|
|
|
></el-table-column>
|
|
|
|
|
<el-table-column
|
|
|
|
|
label="供应商"
|
|
|
|
|
prop="supId"
|
|
|
|
@ -59,6 +79,13 @@
|
|
|
|
|
<!-- >删除-->
|
|
|
|
|
<!-- </el-button-->
|
|
|
|
|
<!-- >-->
|
|
|
|
|
<el-button
|
|
|
|
|
type="text"
|
|
|
|
|
size="small"
|
|
|
|
|
@click.native.stop="editCode(scope.row)"
|
|
|
|
|
>编辑
|
|
|
|
|
</el-button
|
|
|
|
|
>
|
|
|
|
|
<el-button
|
|
|
|
|
type="text"
|
|
|
|
|
size="small"
|
|
|
|
@ -113,6 +140,20 @@
|
|
|
|
|
v-on:closeBindDialog="closeBindDialog"
|
|
|
|
|
></selectRlDialog>
|
|
|
|
|
</el-dialog>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<el-dialog
|
|
|
|
|
:title="editTitle"
|
|
|
|
|
:visible.sync="editCodeVisible"
|
|
|
|
|
append-to-body width="70%"
|
|
|
|
|
v-if="editCodeVisible"
|
|
|
|
|
>
|
|
|
|
|
<editCodeDialog
|
|
|
|
|
editTye="2"
|
|
|
|
|
:closeCodeDialog="closeCodeDialog"
|
|
|
|
|
:codeDetail="codeDetail">
|
|
|
|
|
</editCodeDialog>
|
|
|
|
|
</el-dialog>
|
|
|
|
|
</div>
|
|
|
|
|
</template>
|
|
|
|
|
|
|
|
|
@ -125,6 +166,7 @@ import {
|
|
|
|
|
import draggable from "vuedraggable";
|
|
|
|
|
import DialogSelectUnit from "./DialogSelectUnit";
|
|
|
|
|
import selectRlDialog from "./DialogSelectRl";
|
|
|
|
|
import editCodeDialog from "@/views/inout/editCode";
|
|
|
|
|
|
|
|
|
|
export default {
|
|
|
|
|
name: "idQuery",
|
|
|
|
@ -154,10 +196,13 @@ export default {
|
|
|
|
|
multipleSelection: [],
|
|
|
|
|
selectRlVisible: false,
|
|
|
|
|
dialogTableVisible: false,
|
|
|
|
|
codeDetail: null,
|
|
|
|
|
editTitle: "补齐三期",
|
|
|
|
|
editCodeVisible: false,
|
|
|
|
|
};
|
|
|
|
|
},
|
|
|
|
|
components: {
|
|
|
|
|
draggable, DialogSelectUnit, selectRlDialog
|
|
|
|
|
draggable, DialogSelectUnit, selectRlDialog,editCodeDialog
|
|
|
|
|
},
|
|
|
|
|
methods: {
|
|
|
|
|
handleSelectionChange(val) {
|
|
|
|
@ -307,6 +352,13 @@ export default {
|
|
|
|
|
}
|
|
|
|
|
return rowBackground;
|
|
|
|
|
},
|
|
|
|
|
closeCodeDialog() {
|
|
|
|
|
this.editCodeVisible = false;
|
|
|
|
|
},
|
|
|
|
|
editCode(row) {
|
|
|
|
|
this.codeDetail = row;
|
|
|
|
|
this.editCodeVisible = true;
|
|
|
|
|
},
|
|
|
|
|
},
|
|
|
|
|
filters: {},
|
|
|
|
|
mounted() {
|
|
|
|
|