|
|
|
@ -1,30 +1,39 @@
|
|
|
|
|
<template>
|
|
|
|
|
<div>
|
|
|
|
|
<el-card style="margin: 5px;margin-top: -20px">
|
|
|
|
|
<el-form :model="orderFormData" :rules="formRules" ref="dataForm" label-width="100px"
|
|
|
|
|
style="margin-bottom: -15px">
|
|
|
|
|
<el-button-group style="display: flex;margin: 0px 0 10px 80%; height: 35px">
|
|
|
|
|
<el-card style="margin: 5px; margin-top: -20px">
|
|
|
|
|
<el-form
|
|
|
|
|
:model="orderFormData"
|
|
|
|
|
:rules="formRules"
|
|
|
|
|
ref="dataForm"
|
|
|
|
|
label-width="100px"
|
|
|
|
|
style="margin-bottom: -15px"
|
|
|
|
|
>
|
|
|
|
|
<el-button-group
|
|
|
|
|
style="display: flex; margin: 0px 0 10px 80%; height: 35px"
|
|
|
|
|
>
|
|
|
|
|
<el-button
|
|
|
|
|
size="mini"
|
|
|
|
|
type="primary"
|
|
|
|
|
@click.native="saveOrder()"
|
|
|
|
|
>草稿保存
|
|
|
|
|
</el-button
|
|
|
|
|
>
|
|
|
|
|
<el-button
|
|
|
|
|
size="mini"
|
|
|
|
|
type="primary"
|
|
|
|
|
@click.native="submit()"
|
|
|
|
|
>立即提交
|
|
|
|
|
</el-button
|
|
|
|
|
>
|
|
|
|
|
@click.native="OptionalDocument()"
|
|
|
|
|
>选入预验收库单
|
|
|
|
|
</el-button>
|
|
|
|
|
<el-button size="mini" type="primary" @click.native="saveOrder()"
|
|
|
|
|
>草稿保存
|
|
|
|
|
</el-button>
|
|
|
|
|
<el-button size="mini" type="primary" @click.native="submit()"
|
|
|
|
|
>立即提交
|
|
|
|
|
</el-button>
|
|
|
|
|
</el-button-group>
|
|
|
|
|
<el-row>
|
|
|
|
|
<el-col :span="11">
|
|
|
|
|
<el-form-item prop="corpOrderId" label="单据号:">
|
|
|
|
|
<el-input v-model="orderFormData.corpOrderId" auto-complete="off" style="width: 90%"
|
|
|
|
|
clearable
|
|
|
|
|
:disabled="corpOrderIdDisabled"></el-input>
|
|
|
|
|
<el-input
|
|
|
|
|
v-model="orderFormData.corpOrderId"
|
|
|
|
|
auto-complete="off"
|
|
|
|
|
style="width: 90%"
|
|
|
|
|
clearable
|
|
|
|
|
:disabled="corpOrderIdDisabled"
|
|
|
|
|
></el-input>
|
|
|
|
|
</el-form-item>
|
|
|
|
|
</el-col>
|
|
|
|
|
<el-col :span="11">
|
|
|
|
@ -45,15 +54,19 @@
|
|
|
|
|
<el-row>
|
|
|
|
|
<el-col :span="11">
|
|
|
|
|
<el-form-item prop="action" label="单据类型:">
|
|
|
|
|
<el-select v-model="orderFormData.action" placeholder="请选择单据类型"
|
|
|
|
|
:disabled="corpOrderIdDisabled"
|
|
|
|
|
style="width: 90%"
|
|
|
|
|
@change="actionChange">
|
|
|
|
|
<el-select
|
|
|
|
|
v-model="orderFormData.action"
|
|
|
|
|
placeholder="请选择单据类型"
|
|
|
|
|
:disabled="corpOrderIdDisabled"
|
|
|
|
|
style="width: 90%"
|
|
|
|
|
@change="actionChange"
|
|
|
|
|
>
|
|
|
|
|
<el-option
|
|
|
|
|
v-for="item in busTypeOptions"
|
|
|
|
|
:key="item.name"
|
|
|
|
|
:label="item.name"
|
|
|
|
|
:value="item.action">
|
|
|
|
|
:value="item.action"
|
|
|
|
|
>
|
|
|
|
|
<span style="float: left">{{ item.name }}</span>
|
|
|
|
|
</el-option>
|
|
|
|
|
</el-select>
|
|
|
|
@ -62,29 +75,39 @@
|
|
|
|
|
|
|
|
|
|
<el-col :span="11">
|
|
|
|
|
<el-form-item prop="invCode" label="当前仓库:">
|
|
|
|
|
<el-select v-model="orderFormData.invCode" placeholder="当前仓库"
|
|
|
|
|
style="width: 90%"
|
|
|
|
|
:disabled="corpOrderIdDisabled" @change="changeInv" filterable>
|
|
|
|
|
<el-select
|
|
|
|
|
v-model="orderFormData.invCode"
|
|
|
|
|
placeholder="当前仓库"
|
|
|
|
|
style="width: 90%"
|
|
|
|
|
:disabled="corpOrderIdDisabled"
|
|
|
|
|
@change="changeInv"
|
|
|
|
|
filterable
|
|
|
|
|
>
|
|
|
|
|
<el-option
|
|
|
|
|
v-for="item in curInvOptions"
|
|
|
|
|
:key="item.name"
|
|
|
|
|
:label="item.name"
|
|
|
|
|
:value="item.code">
|
|
|
|
|
:value="item.code"
|
|
|
|
|
>
|
|
|
|
|
<span style="float: left">{{ item.name }}</span>
|
|
|
|
|
<span style="float: right; color: #8492a6; font-size: 13px">{{
|
|
|
|
|
item.warehouseName
|
|
|
|
|
}}</span>
|
|
|
|
|
item.warehouseName
|
|
|
|
|
}}</span>
|
|
|
|
|
</el-option>
|
|
|
|
|
</el-select>
|
|
|
|
|
</el-form-item>
|
|
|
|
|
</el-col>
|
|
|
|
|
|
|
|
|
|
</el-row>
|
|
|
|
|
<el-row>
|
|
|
|
|
<el-col :span="11">
|
|
|
|
|
<el-form-item prop="fromCorp"
|
|
|
|
|
label="往来信息:"
|
|
|
|
|
v-if="curAction.corpType === 0 || curAction.corpType === 2 || (curAction.corpType === 1 && !curAction.genUnit)"
|
|
|
|
|
<el-form-item
|
|
|
|
|
prop="fromCorp"
|
|
|
|
|
label="往来信息:"
|
|
|
|
|
v-if="
|
|
|
|
|
curAction.corpType === 0 ||
|
|
|
|
|
curAction.corpType === 2 ||
|
|
|
|
|
(curAction.corpType === 1 && !curAction.genUnit)
|
|
|
|
|
"
|
|
|
|
|
>
|
|
|
|
|
<el-select
|
|
|
|
|
v-model="orderFormData.fromCorp"
|
|
|
|
@ -108,68 +131,82 @@
|
|
|
|
|
</el-option>
|
|
|
|
|
</el-select>
|
|
|
|
|
</el-form-item>
|
|
|
|
|
<el-form-item prop="fromCorp"
|
|
|
|
|
v-if="curAction.corpType ==3"
|
|
|
|
|
label="往来信息:"
|
|
|
|
|
<el-form-item
|
|
|
|
|
prop="fromCorp"
|
|
|
|
|
v-if="curAction.corpType == 3"
|
|
|
|
|
label="往来信息:"
|
|
|
|
|
>
|
|
|
|
|
<el-select v-model="orderFormData.fromInvCode" placeholder="请选择往来仓库"
|
|
|
|
|
:disabled="corpOrderIdDisabled" filterable
|
|
|
|
|
clearable
|
|
|
|
|
style="width: 90%"
|
|
|
|
|
<el-select
|
|
|
|
|
v-model="orderFormData.fromInvCode"
|
|
|
|
|
placeholder="请选择往来仓库"
|
|
|
|
|
:disabled="corpOrderIdDisabled"
|
|
|
|
|
filterable
|
|
|
|
|
clearable
|
|
|
|
|
style="width: 90%"
|
|
|
|
|
>
|
|
|
|
|
<el-option
|
|
|
|
|
v-for="item in fromInvOptions"
|
|
|
|
|
:key="item.code"
|
|
|
|
|
:label="item.name"
|
|
|
|
|
:value="item.code">
|
|
|
|
|
:value="item.code"
|
|
|
|
|
>
|
|
|
|
|
<span style="float: left">{{ item.name }}</span>
|
|
|
|
|
<span style="float: right; color: #8492a6; font-size: 13px">{{
|
|
|
|
|
item.code
|
|
|
|
|
}}</span>
|
|
|
|
|
item.code
|
|
|
|
|
}}</span>
|
|
|
|
|
</el-option>
|
|
|
|
|
</el-select>
|
|
|
|
|
|
|
|
|
|
</el-form-item>
|
|
|
|
|
<el-form-item prop="fromCorp" label="往来信息:"
|
|
|
|
|
v-if="curAction.corpType ==1 && curAction.genUnit">
|
|
|
|
|
<el-input v-model="orderFormData.fromCorp" auto-complete="off"
|
|
|
|
|
clearable
|
|
|
|
|
style="width: 90%"
|
|
|
|
|
:disabled="corpOrderIdDisabled"
|
|
|
|
|
placeholder="请输入病人住院号"
|
|
|
|
|
<el-form-item
|
|
|
|
|
prop="fromCorp"
|
|
|
|
|
label="往来信息:"
|
|
|
|
|
v-if="curAction.corpType == 1 && curAction.genUnit"
|
|
|
|
|
>
|
|
|
|
|
<el-input
|
|
|
|
|
v-model="orderFormData.fromCorp"
|
|
|
|
|
auto-complete="off"
|
|
|
|
|
clearable
|
|
|
|
|
style="width: 90%"
|
|
|
|
|
:disabled="corpOrderIdDisabled"
|
|
|
|
|
placeholder="请输入病人住院号"
|
|
|
|
|
></el-input>
|
|
|
|
|
</el-form-item>
|
|
|
|
|
|
|
|
|
|
</el-col>
|
|
|
|
|
<el-col :span="11">
|
|
|
|
|
<el-form-item prop="remark" label="备注:">
|
|
|
|
|
<el-input v-model="orderFormData.remark" auto-complete="off"
|
|
|
|
|
clearable
|
|
|
|
|
style="width: 90%"
|
|
|
|
|
placeholder="请输入备注信息"
|
|
|
|
|
<el-input
|
|
|
|
|
v-model="orderFormData.remark"
|
|
|
|
|
auto-complete="off"
|
|
|
|
|
clearable
|
|
|
|
|
style="width: 90%"
|
|
|
|
|
placeholder="请输入备注信息"
|
|
|
|
|
></el-input>
|
|
|
|
|
</el-form-item>
|
|
|
|
|
</el-col>
|
|
|
|
|
</el-row>
|
|
|
|
|
<el-row v-if="errView==1">
|
|
|
|
|
<el-row>
|
|
|
|
|
<el-col :span="11">
|
|
|
|
|
<el-form-item prop="" label="预验收单据:">
|
|
|
|
|
<el-input v-model="orderFormData.Acceptance"></el-input>
|
|
|
|
|
</el-form-item>
|
|
|
|
|
</el-col>
|
|
|
|
|
</el-row>
|
|
|
|
|
<el-row v-if="errView == 1">
|
|
|
|
|
<el-col :span="20">
|
|
|
|
|
<el-form-item prop="errMsg" label="异常信息:">
|
|
|
|
|
<el-input
|
|
|
|
|
v-model="orderFormData.errMsg"
|
|
|
|
|
disabled
|
|
|
|
|
></el-input>
|
|
|
|
|
<el-input v-model="orderFormData.errMsg" disabled></el-input>
|
|
|
|
|
</el-form-item>
|
|
|
|
|
</el-col>
|
|
|
|
|
</el-row>
|
|
|
|
|
<el-row v-if="viewType!=1">
|
|
|
|
|
<el-row v-if="viewType != 1">
|
|
|
|
|
<el-col :span="20">
|
|
|
|
|
<el-form-item prop="code" label="扫码录入校验:">
|
|
|
|
|
<el-input
|
|
|
|
|
id="inputer"
|
|
|
|
|
@focus="getInputFocus($event)"
|
|
|
|
|
@keypress.enter.native="enterKey($event)"
|
|
|
|
|
ref='inputRef'
|
|
|
|
|
style="ime-mode:disabled"
|
|
|
|
|
ref="inputRef"
|
|
|
|
|
style="ime-mode: disabled"
|
|
|
|
|
type="tel"
|
|
|
|
|
v-model="codeFormData.code"
|
|
|
|
|
></el-input>
|
|
|
|
@ -180,74 +217,100 @@
|
|
|
|
|
type="primary"
|
|
|
|
|
size="mini"
|
|
|
|
|
@click.native.stop="addCode()"
|
|
|
|
|
style=" margin-left: 15px"
|
|
|
|
|
>添加
|
|
|
|
|
</el-button
|
|
|
|
|
>
|
|
|
|
|
style="margin-left: 15px"
|
|
|
|
|
>添加
|
|
|
|
|
</el-button>
|
|
|
|
|
</el-col>
|
|
|
|
|
</el-row>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</el-form>
|
|
|
|
|
</el-card>
|
|
|
|
|
<el-tabs type="border-card" style="margin: 5px">
|
|
|
|
|
<el-tab-pane label="业务详情" v-if="bizShow && viewBizVisible">
|
|
|
|
|
<biz-detail-panel :idQuery="orderFormData" :refreshPanel="refreshCodesPanel" :refreshOrder="refreshOrder"
|
|
|
|
|
:viewType="viewType"
|
|
|
|
|
:curBustype="curAction"
|
|
|
|
|
v-if="isBizDetailAlive"></biz-detail-panel>
|
|
|
|
|
<biz-detail-panel
|
|
|
|
|
:idQuery="orderFormData"
|
|
|
|
|
:refreshPanel="refreshCodesPanel"
|
|
|
|
|
:refreshOrder="refreshOrder"
|
|
|
|
|
:viewType="viewType"
|
|
|
|
|
:curBustype="curAction"
|
|
|
|
|
v-if="isBizDetailAlive"
|
|
|
|
|
></biz-detail-panel>
|
|
|
|
|
</el-tab-pane>
|
|
|
|
|
<el-tab-pane label="扫码详情" v-if="viewCodeVisible">
|
|
|
|
|
<codeDetailPanel :idQuery="orderFormData" :refreshPanel="refreshCodesPanel"
|
|
|
|
|
:viewType="viewType"
|
|
|
|
|
v-if="isCodeDetailAlive"></codeDetailPanel>
|
|
|
|
|
<codeDetailPanel
|
|
|
|
|
:idQuery="orderFormData"
|
|
|
|
|
:refreshPanel="refreshCodesPanel"
|
|
|
|
|
:viewType="viewType"
|
|
|
|
|
v-if="isCodeDetailAlive"
|
|
|
|
|
></codeDetailPanel>
|
|
|
|
|
</el-tab-pane>
|
|
|
|
|
<el-tab-pane label="扫码明细" v-if="viewCodeDetailVisible">
|
|
|
|
|
<codesPanel :idQuery="orderFormData"
|
|
|
|
|
:refreshPanel="refreshCodesPanel"
|
|
|
|
|
v-if="isCodeAlive"
|
|
|
|
|
:viewType="viewType"
|
|
|
|
|
:selectRlTitle="selectRlTitle"
|
|
|
|
|
:editTitle="editTitle"
|
|
|
|
|
:selectUnitTitle="selectUnitTitle"></codesPanel>
|
|
|
|
|
<codesPanel
|
|
|
|
|
:idQuery="orderFormData"
|
|
|
|
|
:refreshPanel="refreshCodesPanel"
|
|
|
|
|
v-if="isCodeAlive"
|
|
|
|
|
:viewType="viewType"
|
|
|
|
|
:selectRlTitle="selectRlTitle"
|
|
|
|
|
:editTitle="editTitle"
|
|
|
|
|
:selectUnitTitle="selectUnitTitle"
|
|
|
|
|
></codesPanel>
|
|
|
|
|
</el-tab-pane>
|
|
|
|
|
</el-tabs>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<el-dialog
|
|
|
|
|
:title="editTitle"
|
|
|
|
|
:visible.sync="editOriginCodeVisible"
|
|
|
|
|
append-to-body width="70%"
|
|
|
|
|
append-to-body
|
|
|
|
|
width="70%"
|
|
|
|
|
:close-on-click-modal="false"
|
|
|
|
|
:close-on-press-escape="false"
|
|
|
|
|
v-if="editOriginCodeVisible">
|
|
|
|
|
v-if="editOriginCodeVisible"
|
|
|
|
|
>
|
|
|
|
|
<editCodeDialog
|
|
|
|
|
:closeCodeDialog="closeCodeDialog"
|
|
|
|
|
:repeatAddCode="repeatAddCode"
|
|
|
|
|
:codeDetail="codeFormData"
|
|
|
|
|
editType="1">
|
|
|
|
|
editType="1"
|
|
|
|
|
>
|
|
|
|
|
</editCodeDialog>
|
|
|
|
|
</el-dialog>
|
|
|
|
|
|
|
|
|
|
<!-- 选入预验收库单 -->
|
|
|
|
|
<el-dialog
|
|
|
|
|
title="选入预验收库单"
|
|
|
|
|
:visible.sync="selectorder"
|
|
|
|
|
:close-on-click-modal="false"
|
|
|
|
|
:close-on-press-escape="false"
|
|
|
|
|
width="70%"
|
|
|
|
|
v-if="selectorder"
|
|
|
|
|
append-to-body
|
|
|
|
|
@close="closeDialogtwo"
|
|
|
|
|
>
|
|
|
|
|
<dialog-create-order-select @giveselectbox="giveselectbox" :closeDialogtwo="closeDialogtwo">
|
|
|
|
|
</dialog-create-order-select>
|
|
|
|
|
</el-dialog>
|
|
|
|
|
</div>
|
|
|
|
|
</template>
|
|
|
|
|
|
|
|
|
|
<script>
|
|
|
|
|
import {
|
|
|
|
|
submitBiz, addOrderWeb, submitCodes, submitOrderWeb, saveOrderWeb,
|
|
|
|
|
updateCodeBindSup, enterCodeWeb
|
|
|
|
|
submitBiz,
|
|
|
|
|
addOrderWeb,
|
|
|
|
|
submitCodes,
|
|
|
|
|
submitOrderWeb,
|
|
|
|
|
saveOrderWeb,
|
|
|
|
|
updateCodeBindSup,
|
|
|
|
|
enterCodeWeb,
|
|
|
|
|
} from "../../api/inout/order";
|
|
|
|
|
import {findByFrom, findInvByUser} from "../../api/system/invSubWarehouse";
|
|
|
|
|
import {parseTime} from "../../utils/coTools";
|
|
|
|
|
import {getBasicUnitMaintains} from "../../api/basic/basicUnitMaintain"
|
|
|
|
|
import { findByFrom, findInvByUser } from "../../api/system/invSubWarehouse";
|
|
|
|
|
import { parseTime } from "../../utils/coTools";
|
|
|
|
|
import { getBasicUnitMaintains } from "../../api/basic/basicUnitMaintain";
|
|
|
|
|
import editCodeDialog from "./DialogEditCode";
|
|
|
|
|
import DialogCreateOrderSelect from "./DialogCreateOrderSelect";
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
import codesPanel from "./PanelCreateOrderCodes"
|
|
|
|
|
import codeDetailPanel from "./PanelCreateOrderCodeDetail"
|
|
|
|
|
import bizDetailPanel from "./PanelCreateOrderBizDetail"
|
|
|
|
|
import A from "../../plugins/KeyScaner"
|
|
|
|
|
import {findByInvUser} from "@/api/basic/busType";
|
|
|
|
|
import codesPanel from "./PanelCreateOrderCodes";
|
|
|
|
|
import codeDetailPanel from "./PanelCreateOrderCodeDetail";
|
|
|
|
|
import bizDetailPanel from "./PanelCreateOrderBizDetail";
|
|
|
|
|
import A from "../../plugins/KeyScaner";
|
|
|
|
|
import { findByInvUser } from "@/api/basic/busType";
|
|
|
|
|
|
|
|
|
|
export default {
|
|
|
|
|
name: "ioCreateOrder",
|
|
|
|
@ -264,15 +327,14 @@ export default {
|
|
|
|
|
type: Object,
|
|
|
|
|
required: true,
|
|
|
|
|
},
|
|
|
|
|
viewType: { //1、新增业务单据页面,2.新增扫码单据页面,3、正常单据处理页面
|
|
|
|
|
viewType: {
|
|
|
|
|
//1、新增业务单据页面,2.新增扫码单据页面,3、正常单据处理页面
|
|
|
|
|
type: Object,
|
|
|
|
|
required: true,
|
|
|
|
|
},
|
|
|
|
|
|
|
|
|
|
},
|
|
|
|
|
data() {
|
|
|
|
|
return {
|
|
|
|
|
|
|
|
|
|
//单据相关
|
|
|
|
|
orderFormData: {
|
|
|
|
|
billNo: null,
|
|
|
|
@ -283,10 +345,12 @@ export default {
|
|
|
|
|
fromInvCode: null,
|
|
|
|
|
remark: null,
|
|
|
|
|
fromType: 2,
|
|
|
|
|
errMsg: null
|
|
|
|
|
errMsg: null,
|
|
|
|
|
Acceptance: null,
|
|
|
|
|
},
|
|
|
|
|
errView: 0,
|
|
|
|
|
|
|
|
|
|
//选入相关
|
|
|
|
|
selectorder: false,
|
|
|
|
|
//扫码相关
|
|
|
|
|
codeFormData: {
|
|
|
|
|
code: "",
|
|
|
|
@ -316,16 +380,16 @@ export default {
|
|
|
|
|
|
|
|
|
|
formRules: {
|
|
|
|
|
corpOrderId: [
|
|
|
|
|
{required: true, message: "请输入单据号", trigger: "blur"}
|
|
|
|
|
{ required: true, message: "请输入单据号", trigger: "blur" },
|
|
|
|
|
],
|
|
|
|
|
createTime: [
|
|
|
|
|
{required: true, message: "请选择创建时间", trigger: "blur"}
|
|
|
|
|
{ required: true, message: "请选择创建时间", trigger: "blur" },
|
|
|
|
|
],
|
|
|
|
|
invCode: [
|
|
|
|
|
{required: true, message: "请选择当前仓库", trigger: "change"}
|
|
|
|
|
{ required: true, message: "请选择当前仓库", trigger: "change" },
|
|
|
|
|
],
|
|
|
|
|
action: [
|
|
|
|
|
{required: true, message: "请选择单据类型", trigger: "change"}
|
|
|
|
|
{ required: true, message: "请选择单据类型", trigger: "change" },
|
|
|
|
|
],
|
|
|
|
|
},
|
|
|
|
|
isScan: true,
|
|
|
|
@ -358,24 +422,34 @@ export default {
|
|
|
|
|
};
|
|
|
|
|
},
|
|
|
|
|
components: {
|
|
|
|
|
codesPanel, codeDetailPanel, bizDetailPanel, editCodeDialog
|
|
|
|
|
codesPanel,
|
|
|
|
|
codeDetailPanel,
|
|
|
|
|
bizDetailPanel,
|
|
|
|
|
editCodeDialog,
|
|
|
|
|
DialogCreateOrderSelect,
|
|
|
|
|
},
|
|
|
|
|
methods: {
|
|
|
|
|
//获取用户仓库列表
|
|
|
|
|
findInvListByUser() {
|
|
|
|
|
this.curInvOptions = [];
|
|
|
|
|
findInvByUser()
|
|
|
|
|
.then(response => {
|
|
|
|
|
.then((response) => {
|
|
|
|
|
this.curInvOptions = response.data || [];
|
|
|
|
|
if (this.curInvOptions != null && this.curInvOptions.length > 0 && this.orderFormData.invWarehouseCode == null) {
|
|
|
|
|
if (
|
|
|
|
|
this.curInvOptions != null &&
|
|
|
|
|
this.curInvOptions.length > 0 &&
|
|
|
|
|
this.orderFormData.invWarehouseCode == null
|
|
|
|
|
) {
|
|
|
|
|
this.orderFormData.invWarehouseCode = this.curInvOptions[0].code;
|
|
|
|
|
this.getBusTypeByInv()
|
|
|
|
|
this.getBusTypeByInv();
|
|
|
|
|
}
|
|
|
|
|
})
|
|
|
|
|
.catch(() => {
|
|
|
|
|
});
|
|
|
|
|
.catch(() => {});
|
|
|
|
|
},
|
|
|
|
|
//接收预选单传值
|
|
|
|
|
giveselectbox(val){
|
|
|
|
|
this.orderFormData.Acceptance=val
|
|
|
|
|
},
|
|
|
|
|
|
|
|
|
|
//仓库改变
|
|
|
|
|
changeInv() {
|
|
|
|
|
this.orderFormData.action = null;
|
|
|
|
@ -391,8 +465,11 @@ export default {
|
|
|
|
|
.then((response) => {
|
|
|
|
|
this.busTypeOptions = response.data || [];
|
|
|
|
|
})
|
|
|
|
|
.catch(() => {
|
|
|
|
|
});
|
|
|
|
|
.catch(() => {});
|
|
|
|
|
},
|
|
|
|
|
//关闭预选单弹框
|
|
|
|
|
closeDialogtwo() {
|
|
|
|
|
this.selectorder = false;
|
|
|
|
|
},
|
|
|
|
|
|
|
|
|
|
initBusType() {
|
|
|
|
@ -403,16 +480,24 @@ export default {
|
|
|
|
|
.then((response) => {
|
|
|
|
|
this.busTypeOptions = response.data || [];
|
|
|
|
|
this.curAction = this.getActionItem(this.orderFormData.action);
|
|
|
|
|
if ((this.curAction.checkEnable && (this.curAction.checkWebNew || this.curAction.checkUdims || this.curAction.checkCopy
|
|
|
|
|
|| this.curAction.checkPdaEd || this.curAction.checkPdaUn || this.curAction.checkPc || this.curAction.checkWebNew || this.curAction.checkSp || this.curAction.checkChange || this.curAction.checkBalance)) || this.viewType == 1) {
|
|
|
|
|
if (
|
|
|
|
|
(this.curAction.checkEnable &&
|
|
|
|
|
(this.curAction.checkWebNew ||
|
|
|
|
|
this.curAction.checkUdims ||
|
|
|
|
|
this.curAction.checkCopy ||
|
|
|
|
|
this.curAction.checkPdaEd ||
|
|
|
|
|
this.curAction.checkPdaUn ||
|
|
|
|
|
this.curAction.checkPc ||
|
|
|
|
|
this.curAction.checkWebNew ||
|
|
|
|
|
this.curAction.checkSp ||
|
|
|
|
|
this.curAction.checkChange ||
|
|
|
|
|
this.curAction.checkBalance)) ||
|
|
|
|
|
this.viewType == 1
|
|
|
|
|
) {
|
|
|
|
|
this.bizShow = true;
|
|
|
|
|
} else
|
|
|
|
|
this.bizShow = false;
|
|
|
|
|
} else this.bizShow = false;
|
|
|
|
|
})
|
|
|
|
|
.catch(() => {
|
|
|
|
|
});
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
.catch(() => {});
|
|
|
|
|
},
|
|
|
|
|
|
|
|
|
|
//获取往来单位候选列表
|
|
|
|
@ -423,12 +508,13 @@ export default {
|
|
|
|
|
corpType: null,
|
|
|
|
|
outType: null,
|
|
|
|
|
page: 1,
|
|
|
|
|
limit: 20
|
|
|
|
|
limit: 20,
|
|
|
|
|
};
|
|
|
|
|
if (this.curAction.corpType == 3) {//内部科室
|
|
|
|
|
if (this.curAction.corpType == 3) {
|
|
|
|
|
//内部科室
|
|
|
|
|
cQuery.corpType = 3;
|
|
|
|
|
} else if (this.curAction.corpType == 2)//供应商信息
|
|
|
|
|
{
|
|
|
|
|
} else if (this.curAction.corpType == 2) {
|
|
|
|
|
//供应商信息
|
|
|
|
|
cQuery.corpType = 2;
|
|
|
|
|
} else if (this.curAction.corpType == 0) {
|
|
|
|
|
cQuery.corpType = 2;
|
|
|
|
@ -446,16 +532,21 @@ export default {
|
|
|
|
|
//单据类型改变
|
|
|
|
|
actionChange(item) {
|
|
|
|
|
this.curAction = this.getActionItem(item);
|
|
|
|
|
if ((this.curAction.checkEnable && this.curAction.checkWebNew) || this.viewType == 1) {
|
|
|
|
|
if (
|
|
|
|
|
(this.curAction.checkEnable && this.curAction.checkWebNew) ||
|
|
|
|
|
this.viewType == 1
|
|
|
|
|
) {
|
|
|
|
|
//单据类型需要一次校验 或 单据类型为1,显示业务单据页面
|
|
|
|
|
this.bizShow = true;
|
|
|
|
|
} else
|
|
|
|
|
this.bizShow = false;
|
|
|
|
|
if (this.curAction.corpType == 0 || this.curAction.corpType == 2 || (this.curAction.corpType == 1 && !this.curAction.genUnit)) {
|
|
|
|
|
} else this.bizShow = false;
|
|
|
|
|
if (
|
|
|
|
|
this.curAction.corpType == 0 ||
|
|
|
|
|
this.curAction.corpType == 2 ||
|
|
|
|
|
(this.curAction.corpType == 1 && !this.curAction.genUnit)
|
|
|
|
|
) {
|
|
|
|
|
//1.切换往来单位
|
|
|
|
|
this.orderFormData.fromCorp = null;
|
|
|
|
|
this.findMethod();
|
|
|
|
|
|
|
|
|
|
this.orderFormData.fromCorp = null;
|
|
|
|
|
this.findMethod();
|
|
|
|
|
} else if (this.curAction.corpType == 3) {
|
|
|
|
|
//2. 切换往来仓库
|
|
|
|
|
this.orderFormData.fromInvCode = null;
|
|
|
|
@ -475,8 +566,7 @@ export default {
|
|
|
|
|
this.orderFormData.fromInvCode = this.fromInvOptions[0].code;
|
|
|
|
|
}
|
|
|
|
|
})
|
|
|
|
|
.catch(() => {
|
|
|
|
|
});
|
|
|
|
|
.catch(() => {});
|
|
|
|
|
},
|
|
|
|
|
|
|
|
|
|
//获取当前单据类型
|
|
|
|
@ -507,12 +597,16 @@ export default {
|
|
|
|
|
}
|
|
|
|
|
if (this.$isBlank(this.orderFormData.corpOrderId)) {
|
|
|
|
|
let date = new Date();
|
|
|
|
|
this.orderFormData.corpOrderId = parseTime(date, '{y}{m}{d}{h}{i}{s}') + Math.ceil(Math.random() * 89 + 10);
|
|
|
|
|
this.orderFormData.corpOrderId =
|
|
|
|
|
parseTime(date, "{y}{m}{d}{h}{i}{s}") +
|
|
|
|
|
Math.ceil(Math.random() * 89 + 10);
|
|
|
|
|
}
|
|
|
|
|
this.codeFormData.code = this.codeFormData.code.trim();
|
|
|
|
|
if (this.$isBlank(this.codeFormData.code)) return;
|
|
|
|
|
this.loading = true;
|
|
|
|
|
let tQuery = Object.assign(JSON.parse(JSON.stringify(this.orderFormData)));
|
|
|
|
|
let tQuery = Object.assign(
|
|
|
|
|
JSON.parse(JSON.stringify(this.orderFormData))
|
|
|
|
|
);
|
|
|
|
|
tQuery.code = this.codeFormData.code;
|
|
|
|
|
tQuery.orderType = this.viewType;
|
|
|
|
|
this.addCodeSubmit(tQuery);
|
|
|
|
@ -520,7 +614,9 @@ export default {
|
|
|
|
|
},
|
|
|
|
|
|
|
|
|
|
repeatAddCode(editData) {
|
|
|
|
|
let tQuery = Object.assign(JSON.parse(JSON.stringify(this.orderFormData)));
|
|
|
|
|
let tQuery = Object.assign(
|
|
|
|
|
JSON.parse(JSON.stringify(this.orderFormData))
|
|
|
|
|
);
|
|
|
|
|
tQuery.code = this.codeFormData.code;
|
|
|
|
|
tQuery.orderType = this.viewType;
|
|
|
|
|
|
|
|
|
@ -531,22 +627,19 @@ export default {
|
|
|
|
|
|
|
|
|
|
this.closeCodeDialog();
|
|
|
|
|
this.addCodeSubmit(tQuery);
|
|
|
|
|
|
|
|
|
|
},
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
//添加条码后提交
|
|
|
|
|
addCodeSubmit(tQuery) {
|
|
|
|
|
addOrderWeb(tQuery).then((response) => {
|
|
|
|
|
if (response.code === 20000) {
|
|
|
|
|
this.orderFormData.billNo = response.data.orderId;
|
|
|
|
|
if (response.data.errMsg != null) {
|
|
|
|
|
this.$alert(response.data.errMsg, '提示', {
|
|
|
|
|
confirmButtonText: '确定',
|
|
|
|
|
type: 'warning',
|
|
|
|
|
this.$alert(response.data.errMsg, "提示", {
|
|
|
|
|
confirmButtonText: "确定",
|
|
|
|
|
type: "warning",
|
|
|
|
|
closeOnClickModal: true,
|
|
|
|
|
callback: action => {
|
|
|
|
|
}
|
|
|
|
|
callback: (action) => {},
|
|
|
|
|
});
|
|
|
|
|
}
|
|
|
|
|
this.corpOrderIdDisabled = true;
|
|
|
|
@ -571,23 +664,23 @@ export default {
|
|
|
|
|
confirmButtonText: "确定",
|
|
|
|
|
cancelButtonText: "忽略",
|
|
|
|
|
type: "error",
|
|
|
|
|
}).then(() => {
|
|
|
|
|
tQuery.ignoreExpire = true;
|
|
|
|
|
this.addCodeSubmit(tQuery)
|
|
|
|
|
}).catch(() => {
|
|
|
|
|
|
|
|
|
|
});
|
|
|
|
|
})
|
|
|
|
|
.then(() => {
|
|
|
|
|
tQuery.ignoreExpire = true;
|
|
|
|
|
this.addCodeSubmit(tQuery);
|
|
|
|
|
})
|
|
|
|
|
.catch(() => {});
|
|
|
|
|
} else if (response.code == 505) {
|
|
|
|
|
this.$confirm(response.message, "提示", {
|
|
|
|
|
confirmButtonText: "确定",
|
|
|
|
|
cancelButtonText: "忽略",
|
|
|
|
|
type: "warning",
|
|
|
|
|
}).then(() => {
|
|
|
|
|
tQuery.ignoreRecentExpire = true;
|
|
|
|
|
this.addCodeSubmit(tQuery)
|
|
|
|
|
}).catch(() => {
|
|
|
|
|
|
|
|
|
|
});
|
|
|
|
|
})
|
|
|
|
|
.then(() => {
|
|
|
|
|
tQuery.ignoreRecentExpire = true;
|
|
|
|
|
this.addCodeSubmit(tQuery);
|
|
|
|
|
})
|
|
|
|
|
.catch(() => {});
|
|
|
|
|
} else if (response.code == 507) {
|
|
|
|
|
this.editOriginCodeVisible = true;
|
|
|
|
|
this.editTitle = response.message;
|
|
|
|
@ -596,19 +689,19 @@ export default {
|
|
|
|
|
this.codeFormData.batchNo = response.data.batchNo;
|
|
|
|
|
this.codeFormData.serialNo = response.data.serialNo;
|
|
|
|
|
this.$message({
|
|
|
|
|
type: 'error',
|
|
|
|
|
type: "error",
|
|
|
|
|
message: "提交失败!" + this.editTitle,
|
|
|
|
|
customClass: 'messageIndex'
|
|
|
|
|
customClass: "messageIndex",
|
|
|
|
|
});
|
|
|
|
|
} else {
|
|
|
|
|
this.$alert(response.message, '提示', {
|
|
|
|
|
confirmButtonText: '确定',
|
|
|
|
|
type: 'warning',
|
|
|
|
|
this.$alert(response.message, "提示", {
|
|
|
|
|
confirmButtonText: "确定",
|
|
|
|
|
type: "warning",
|
|
|
|
|
closeOnClickModal: true,
|
|
|
|
|
callback: action => {
|
|
|
|
|
callback: (action) => {
|
|
|
|
|
this.$refs.inputRef.focus();
|
|
|
|
|
this.$refs.inputRef.select();
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
});
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
@ -620,55 +713,55 @@ export default {
|
|
|
|
|
this.isCodeAlive = false;
|
|
|
|
|
this.isBizDetailAlive = false;
|
|
|
|
|
this.isCodeDetailAlive = false;
|
|
|
|
|
this.$nextTick(() => { //重新加载组件
|
|
|
|
|
this.isCodeAlive = true
|
|
|
|
|
this.$nextTick(() => {
|
|
|
|
|
//重新加载组件
|
|
|
|
|
this.isCodeAlive = true;
|
|
|
|
|
this.isBizDetailAlive = true;
|
|
|
|
|
this.isCodeDetailAlive = true;
|
|
|
|
|
})
|
|
|
|
|
});
|
|
|
|
|
},
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
refreshOrder(orderQuery) {
|
|
|
|
|
this.orderFormData = orderQuery;
|
|
|
|
|
},
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
submit() {
|
|
|
|
|
let tQuery = Object.assign(JSON.parse(JSON.stringify(this.orderFormData)));
|
|
|
|
|
let tQuery = Object.assign(
|
|
|
|
|
JSON.parse(JSON.stringify(this.orderFormData))
|
|
|
|
|
);
|
|
|
|
|
tQuery.orderId = this.orderFormData.billNo;
|
|
|
|
|
if (this.viewType == 2) {
|
|
|
|
|
submitCodes(tQuery)
|
|
|
|
|
.then((response) => {
|
|
|
|
|
if (response.code === 20000) {
|
|
|
|
|
this.$message.success("提交成功,等待处理,请刷新后查看!");
|
|
|
|
|
this.closeDialog();
|
|
|
|
|
} else {
|
|
|
|
|
this.$message.error(response.message);
|
|
|
|
|
}
|
|
|
|
|
});
|
|
|
|
|
submitCodes(tQuery).then((response) => {
|
|
|
|
|
if (response.code === 20000) {
|
|
|
|
|
this.$message.success("提交成功,等待处理,请刷新后查看!");
|
|
|
|
|
this.closeDialog();
|
|
|
|
|
} else {
|
|
|
|
|
this.$message.error(response.message);
|
|
|
|
|
}
|
|
|
|
|
});
|
|
|
|
|
} else if (this.viewType == 1) {
|
|
|
|
|
submitBiz(tQuery)
|
|
|
|
|
.then((response) => {
|
|
|
|
|
if (response.code === 20000) {
|
|
|
|
|
this.$message.success("提交成功");
|
|
|
|
|
this.closeDialog();
|
|
|
|
|
} else {
|
|
|
|
|
this.$message.error(response.message);
|
|
|
|
|
}
|
|
|
|
|
});
|
|
|
|
|
submitBiz(tQuery).then((response) => {
|
|
|
|
|
if (response.code === 20000) {
|
|
|
|
|
this.$message.success("提交成功");
|
|
|
|
|
this.closeDialog();
|
|
|
|
|
} else {
|
|
|
|
|
this.$message.error(response.message);
|
|
|
|
|
}
|
|
|
|
|
});
|
|
|
|
|
} else
|
|
|
|
|
submitOrderWeb(tQuery)
|
|
|
|
|
.then((response) => {
|
|
|
|
|
if (response.code === 20000) {
|
|
|
|
|
this.$message.success("提交成功");
|
|
|
|
|
this.closeDialog();
|
|
|
|
|
} else {
|
|
|
|
|
this.$message.error(response.message);
|
|
|
|
|
}
|
|
|
|
|
});
|
|
|
|
|
submitOrderWeb(tQuery).then((response) => {
|
|
|
|
|
if (response.code === 20000) {
|
|
|
|
|
this.$message.success("提交成功");
|
|
|
|
|
this.closeDialog();
|
|
|
|
|
} else {
|
|
|
|
|
this.$message.error(response.message);
|
|
|
|
|
}
|
|
|
|
|
});
|
|
|
|
|
},
|
|
|
|
|
saveOrder() {
|
|
|
|
|
let tQuery = Object.assign(JSON.parse(JSON.stringify(this.orderFormData)));
|
|
|
|
|
let tQuery = Object.assign(
|
|
|
|
|
JSON.parse(JSON.stringify(this.orderFormData))
|
|
|
|
|
);
|
|
|
|
|
tQuery.billNo = this.orderFormData.billNo;
|
|
|
|
|
if (this.orderFormData.billNo == null) {
|
|
|
|
|
this.$message.error("请先录入单据信息!");
|
|
|
|
@ -684,7 +777,6 @@ export default {
|
|
|
|
|
});
|
|
|
|
|
},
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
// 刷新表单
|
|
|
|
|
resetForm() {
|
|
|
|
|
if (this.$refs["dataForm"]) {
|
|
|
|
@ -699,7 +791,7 @@ export default {
|
|
|
|
|
let tQuery = {
|
|
|
|
|
originCode: this.originCode,
|
|
|
|
|
code: this.codeFormData.code.trim(),
|
|
|
|
|
}
|
|
|
|
|
};
|
|
|
|
|
enterCodeWeb(tQuery).then((response) => {
|
|
|
|
|
if (response.code === 20000) {
|
|
|
|
|
this.$refs.inputRef.focus();
|
|
|
|
@ -727,20 +819,19 @@ export default {
|
|
|
|
|
.catch(() => {
|
|
|
|
|
this.codeFormData.code = this.originCode;
|
|
|
|
|
});
|
|
|
|
|
|
|
|
|
|
} else if (response.code == 508) {
|
|
|
|
|
this.originCode = "";
|
|
|
|
|
this.codeFormData.code = "01" + response.data.nameCode;
|
|
|
|
|
this.originCode = this.codeFormData.code;
|
|
|
|
|
} else {
|
|
|
|
|
this.$alert(response.message, '提示', {
|
|
|
|
|
confirmButtonText: '确定',
|
|
|
|
|
type: 'warning',
|
|
|
|
|
this.$alert(response.message, "提示", {
|
|
|
|
|
confirmButtonText: "确定",
|
|
|
|
|
type: "warning",
|
|
|
|
|
closeOnClickModal: true,
|
|
|
|
|
callback: action => {
|
|
|
|
|
callback: (action) => {
|
|
|
|
|
this.$refs.inputRef.focus();
|
|
|
|
|
this.$refs.inputRef.select();
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
});
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
@ -748,7 +839,6 @@ export default {
|
|
|
|
|
});
|
|
|
|
|
},
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
getInputFocus(event) {
|
|
|
|
|
event.currentTarget.select();
|
|
|
|
|
},
|
|
|
|
@ -773,22 +863,26 @@ export default {
|
|
|
|
|
id: this.curRow.id,
|
|
|
|
|
supId: row.erpId,
|
|
|
|
|
};
|
|
|
|
|
updateCodeBindSup(query).then((response) => {
|
|
|
|
|
if (response.code == 20000) {
|
|
|
|
|
this.$message.success("绑定成功");
|
|
|
|
|
this.orderFormData.id = this.curRow.orderId;
|
|
|
|
|
this.getCodeList();
|
|
|
|
|
} else {
|
|
|
|
|
this.$message.error(response.message);
|
|
|
|
|
}
|
|
|
|
|
}).catch(() => {
|
|
|
|
|
|
|
|
|
|
});
|
|
|
|
|
updateCodeBindSup(query)
|
|
|
|
|
.then((response) => {
|
|
|
|
|
if (response.code == 20000) {
|
|
|
|
|
this.$message.success("绑定成功");
|
|
|
|
|
this.orderFormData.id = this.curRow.orderId;
|
|
|
|
|
this.getCodeList();
|
|
|
|
|
} else {
|
|
|
|
|
this.$message.error(response.message);
|
|
|
|
|
}
|
|
|
|
|
})
|
|
|
|
|
.catch(() => {});
|
|
|
|
|
},
|
|
|
|
|
closeCodeDialog() {
|
|
|
|
|
this.editOriginCodeVisible = false;
|
|
|
|
|
this.refreshCodesPanel();
|
|
|
|
|
},
|
|
|
|
|
//选入相关
|
|
|
|
|
OptionalDocument() {
|
|
|
|
|
this.selectorder = true;
|
|
|
|
|
},
|
|
|
|
|
},
|
|
|
|
|
filters: {},
|
|
|
|
|
mounted() {
|
|
|
|
@ -798,7 +892,7 @@ export default {
|
|
|
|
|
};
|
|
|
|
|
var that = this;
|
|
|
|
|
var inputer = document.getElementById("inputer");
|
|
|
|
|
window.sc = new A.KeyScaner(inputer);//传入要监听的DOM节点
|
|
|
|
|
window.sc = new A.KeyScaner(inputer); //传入要监听的DOM节点
|
|
|
|
|
sc.onInput = function (text) {
|
|
|
|
|
if (text.includes("delete")) {
|
|
|
|
|
that.codeFormData.code = "";
|
|
|
|
@ -812,19 +906,18 @@ export default {
|
|
|
|
|
that.sictomText = that.sictomText + str;
|
|
|
|
|
that.codeFormData.code = that.sictomText;
|
|
|
|
|
} else {
|
|
|
|
|
|
|
|
|
|
that.codeFormData.code = text;
|
|
|
|
|
}
|
|
|
|
|
};
|
|
|
|
|
inputer.focus();
|
|
|
|
|
},
|
|
|
|
|
created() {
|
|
|
|
|
|
|
|
|
|
//页面初始化
|
|
|
|
|
this.codeFormData.code = '';
|
|
|
|
|
|
|
|
|
|
this.codeFormData.code = "";
|
|
|
|
|
this.giveselectbox()
|
|
|
|
|
//页面类型
|
|
|
|
|
if (this.viewType == 2) {//2.新增扫码单据页面,1、新增业务单据页面,3、正常页面
|
|
|
|
|
if (this.viewType == 2) {
|
|
|
|
|
//2.新增扫码单据页面,1、新增业务单据页面,3、正常页面
|
|
|
|
|
this.viewCodeVisible = true;
|
|
|
|
|
this.viewCodeDetailVisible = true;
|
|
|
|
|
} else if (this.viewType == 1) {
|
|
|
|
@ -835,7 +928,8 @@ export default {
|
|
|
|
|
this.viewBizVisible = true;
|
|
|
|
|
}
|
|
|
|
|
this.orderFormData.orderType = this.viewType;
|
|
|
|
|
if (this.$isNotBlank(this.orderQuery.billNo)) { //编辑页面
|
|
|
|
|
if (this.$isNotBlank(this.orderQuery.billNo)) {
|
|
|
|
|
//编辑页面
|
|
|
|
|
this.corpOrderIdDisabled = true;
|
|
|
|
|
this.orderFormData = this.orderQuery;
|
|
|
|
|
this.actionEnable = true;
|
|
|
|
@ -845,25 +939,27 @@ export default {
|
|
|
|
|
this.initBusType();
|
|
|
|
|
this.findMethod(this.orderFormData.fromCorp);
|
|
|
|
|
this.findFromInvList();
|
|
|
|
|
} else { //新增页面
|
|
|
|
|
} else {
|
|
|
|
|
//新增页面
|
|
|
|
|
this.corpOrderIdDisabled = false;
|
|
|
|
|
let date = new Date();
|
|
|
|
|
this.orderFormData.createTime = parseTime(date, '{y}-{m}-{d} {h}:{i}:{s}');
|
|
|
|
|
this.orderFormData.corpOrderId = parseTime(date, '{y}{m}{d}{h}{i}{s}') + Math.ceil(Math.random() * 89 + 10);
|
|
|
|
|
this.orderFormData.createTime = parseTime(
|
|
|
|
|
date,
|
|
|
|
|
"{y}-{m}-{d} {h}:{i}:{s}"
|
|
|
|
|
);
|
|
|
|
|
this.orderFormData.corpOrderId =
|
|
|
|
|
parseTime(date, "{y}{m}{d}{h}{i}{s}") +
|
|
|
|
|
Math.ceil(Math.random() * 89 + 10);
|
|
|
|
|
this.orderFormData.deptCode = this.$store.getters.deptCode;
|
|
|
|
|
this.orderFormData.invCode = this.$store.getters.locInvCode;
|
|
|
|
|
this.findInvListByUser();
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
,
|
|
|
|
|
}
|
|
|
|
|
;
|
|
|
|
|
},
|
|
|
|
|
};
|
|
|
|
|
</script>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<style>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
#inputer {
|
|
|
|
|
width: 100%;
|
|
|
|
|
min-height: 30px;
|
|
|
|
@ -872,18 +968,16 @@ export default {
|
|
|
|
|
border-style: solid;
|
|
|
|
|
border-width: 0.1px;
|
|
|
|
|
color: #4a4a4a;
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
#inputer:focus {
|
|
|
|
|
width: 100%;
|
|
|
|
|
min-height: 30px;
|
|
|
|
|
background-color: white;
|
|
|
|
|
border: #0080FF;
|
|
|
|
|
border: #0080ff;
|
|
|
|
|
border-style: solid;
|
|
|
|
|
border-width: 0.1px;
|
|
|
|
|
color: #4a4a4a;
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.ime-disabled {
|
|
|
|
|