|
|
@ -1,10 +1,12 @@ |
|
|
<template> |
|
|
<template> |
|
|
<div> |
|
|
<div> |
|
|
<el-main style="background-color: #B3C0D1;padding: 2px;"> |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<fieldset class="customer-field" style="width: 100%; padding: 0.35em 0.75em 0.425em;"> |
|
|
|
|
|
<el-row> |
|
|
|
|
|
<el-col :span="24"> |
|
|
<el-form :inline="true" label-position="top" label-width="100px"> |
|
|
<el-form :inline="true" label-position="top" label-width="100px"> |
|
|
<el-form-item :label="inputLabel.headerInput.label1"> |
|
|
<el-form-item :label="inputLabel.headerInput.label1"> |
|
|
<el-input style="width: 100px;" @focus="initToolHeaderModel()" readonly v-model="headerData.toolId" ></el-input> <!----> |
|
|
|
|
|
|
|
|
<el-input style="width: 100px;" @focus="initToolHeaderModel()" readonly |
|
|
|
|
|
v-model="headerData.toolId"></el-input> <!----> |
|
|
</el-form-item> |
|
|
</el-form-item> |
|
|
<el-form-item :label="inputLabel.headerInput.label2"> |
|
|
<el-form-item :label="inputLabel.headerInput.label2"> |
|
|
<el-input style="width: 100px;" readonly v-model="headerData.toolDescription"></el-input> |
|
|
<el-input style="width: 100px;" readonly v-model="headerData.toolDescription"></el-input> |
|
|
@ -28,7 +30,10 @@ |
|
|
<el-input style="width: 100px;" readonly v-model="headerData.strActive"></el-input> |
|
|
<el-input style="width: 100px;" readonly v-model="headerData.strActive"></el-input> |
|
|
</el-form-item> |
|
|
</el-form-item> |
|
|
</el-form> |
|
|
</el-form> |
|
|
|
|
|
|
|
|
|
|
|
</el-col> |
|
|
|
|
|
</el-row> |
|
|
|
|
|
<el-row> |
|
|
|
|
|
<el-col :span="24"> |
|
|
<el-form :inline="true" label-position="top" label-width="100px"> |
|
|
<el-form :inline="true" label-position="top" label-width="100px"> |
|
|
<el-form-item :label="inputLabel.headerInput.label9"> |
|
|
<el-form-item :label="inputLabel.headerInput.label9"> |
|
|
<el-input style="width: 100px;" readonly v-model="headerData.codeNo"></el-input> |
|
|
<el-input style="width: 100px;" readonly v-model="headerData.codeNo"></el-input> |
|
|
@ -52,21 +57,25 @@ |
|
|
<el-input style="width: 215px;" readonly v-model="headerData.remark"></el-input> |
|
|
<el-input style="width: 215px;" readonly v-model="headerData.remark"></el-input> |
|
|
</el-form-item> |
|
|
</el-form-item> |
|
|
</el-form> |
|
|
</el-form> |
|
|
|
|
|
|
|
|
</el-main> |
|
|
|
|
|
|
|
|
|
|
|
<el-container > |
|
|
|
|
|
|
|
|
|
|
|
<el-aside width="59%" style="padding: 0px 2px;"> |
|
|
|
|
|
|
|
|
</el-col> |
|
|
|
|
|
</el-row> |
|
|
|
|
|
</fieldset> |
|
|
|
|
|
<el-row> |
|
|
|
|
|
<fieldset class="customer-field" style="width: 100%; margin-top: 5px"> |
|
|
|
|
|
<legend>工具实例</legend> |
|
|
|
|
|
<el-col :span="7"> |
|
|
|
|
|
<fieldset class="customer-field" style="width: 98%;"> |
|
|
<el-form :inline="true" label-position="top" label-width="95px" style="padding: 5px;"> |
|
|
<el-form :inline="true" label-position="top" label-width="95px" style="padding: 5px;"> |
|
|
<el-form-item> |
|
|
<el-form-item> |
|
|
<!-- <el-button type="primary">{{ inputLabel.leftInput.label1 }}</el-button> <!–@click="initViewIfsTable('Y')"–>--> |
|
|
|
|
|
<el-button @click="initToolModel()" type="primary" v-show="showDefault">{{ buttons.edit }}</el-button> |
|
|
<el-button @click="initToolModel()" type="primary" v-show="showDefault">{{ buttons.edit }}</el-button> |
|
|
</el-form-item> |
|
|
</el-form-item> |
|
|
</el-form> |
|
|
</el-form> |
|
|
<el-form :inline="true" label-position="top" label-width="100px"> |
|
|
|
|
|
|
|
|
<el-form :inline="true" label-position="top" label-width="95px" > |
|
|
|
|
|
<el-row> |
|
|
|
|
|
<el-col :span="12"> |
|
|
<el-form-item :label="inputLabel.leftInput.label1"> |
|
|
<el-form-item :label="inputLabel.leftInput.label1"> |
|
|
<el-select @change="toolInstanceIdChange(currentDetailData.toolInstanceId)" v-model="currentDetailData.toolInstanceId" placeholder="请选择" style="width: 100px;"> |
|
|
|
|
|
|
|
|
<el-select @change="toolInstanceIdChange(currentDetailData.toolInstanceId)" |
|
|
|
|
|
v-model="currentDetailData.toolInstanceId" placeholder="请选择" style="width: 150px;"> |
|
|
<el-option |
|
|
<el-option |
|
|
v-for="item in selectList.select4" |
|
|
v-for="item in selectList.select4" |
|
|
:key="item.value" |
|
|
:key="item.value" |
|
|
@ -75,74 +84,102 @@ |
|
|
</el-option> |
|
|
</el-option> |
|
|
</el-select> |
|
|
</el-select> |
|
|
</el-form-item> |
|
|
</el-form-item> |
|
|
|
|
|
</el-col> |
|
|
|
|
|
<el-col :span="12"> |
|
|
<el-form-item :label="inputLabel.leftInput.label2"> |
|
|
<el-form-item :label="inputLabel.leftInput.label2"> |
|
|
<el-input style="width: 95px;" readonly v-model="currentDetailData.status"></el-input> |
|
|
|
|
|
|
|
|
<el-input style="width: 150px;" readonly v-model="currentDetailData.status"></el-input> |
|
|
</el-form-item> |
|
|
</el-form-item> |
|
|
|
|
|
</el-col> |
|
|
|
|
|
</el-row> |
|
|
|
|
|
<el-row> |
|
|
|
|
|
<el-col :span="12"> |
|
|
<el-form-item :label="inputLabel.leftInput.label3"> |
|
|
<el-form-item :label="inputLabel.leftInput.label3"> |
|
|
<el-input style="width: 95px;" readonly v-model="currentDetailData.supplierId"></el-input> |
|
|
|
|
|
|
|
|
<el-input style="width: 150px;" readonly v-model="currentDetailData.supplierId"></el-input> |
|
|
</el-form-item> |
|
|
</el-form-item> |
|
|
|
|
|
</el-col> |
|
|
|
|
|
<el-col :span="12"> |
|
|
<el-form-item :label="inputLabel.leftInput.label4"> |
|
|
<el-form-item :label="inputLabel.leftInput.label4"> |
|
|
<el-input style="width: 100px;" readonly v-model="currentDetailData.supplierName"></el-input> |
|
|
|
|
|
|
|
|
<el-input style="width: 150px;" readonly v-model="currentDetailData.supplierName"></el-input> |
|
|
</el-form-item> |
|
|
</el-form-item> |
|
|
|
|
|
</el-col> |
|
|
|
|
|
</el-row> |
|
|
|
|
|
<el-row> |
|
|
|
|
|
<el-col :span="12"> |
|
|
<el-form-item :label="inputLabel.leftInput.label5"> |
|
|
<el-form-item :label="inputLabel.leftInput.label5"> |
|
|
<el-input style="width: 100px;" readonly v-model="currentDetailData.strPurchaseDate"></el-input> |
|
|
|
|
|
|
|
|
<el-input style="width: 150px;" readonly v-model="currentDetailData.strPurchaseDate"></el-input> |
|
|
</el-form-item> |
|
|
</el-form-item> |
|
|
</el-form> |
|
|
|
|
|
|
|
|
|
|
|
<el-form :inline="true" label-position="top" label-width="100px"> |
|
|
|
|
|
|
|
|
</el-col> |
|
|
|
|
|
<el-col :span="12"> |
|
|
<el-form-item :label="inputLabel.leftInput.label6"> |
|
|
<el-form-item :label="inputLabel.leftInput.label6"> |
|
|
<el-input style="width: 100px;" readonly v-model="currentDetailData.steelSeal"></el-input> |
|
|
|
|
|
|
|
|
<el-input style="width: 150px;" readonly v-model="currentDetailData.steelSeal"></el-input> |
|
|
</el-form-item> |
|
|
</el-form-item> |
|
|
|
|
|
</el-col> |
|
|
|
|
|
</el-row> |
|
|
|
|
|
<el-row> |
|
|
|
|
|
<el-col :span="12"> |
|
|
<el-form-item :label="inputLabel.leftInput.label7"> |
|
|
<el-form-item :label="inputLabel.leftInput.label7"> |
|
|
<el-input style="width: 95px;" readonly v-model="currentDetailData.strPhaseInDate"></el-input> |
|
|
|
|
|
|
|
|
<el-input style="width: 150px;" readonly v-model="currentDetailData.strPhaseInDate"></el-input> |
|
|
</el-form-item> |
|
|
</el-form-item> |
|
|
|
|
|
</el-col> |
|
|
|
|
|
<el-col :span="12"> |
|
|
<el-form-item :label="inputLabel.leftInput.label8"> |
|
|
<el-form-item :label="inputLabel.leftInput.label8"> |
|
|
<el-input style="width: 95px;" readonly v-model="currentDetailData.strPhaseOutDate"></el-input> |
|
|
|
|
|
|
|
|
<el-input style="width: 150px;" readonly v-model="currentDetailData.strPhaseOutDate"></el-input> |
|
|
</el-form-item> |
|
|
</el-form-item> |
|
|
|
|
|
</el-col> |
|
|
|
|
|
</el-row> |
|
|
|
|
|
<el-row> |
|
|
|
|
|
<el-col :span="12"> |
|
|
<el-form-item :label="inputLabel.leftInput.label9"> |
|
|
<el-form-item :label="inputLabel.leftInput.label9"> |
|
|
<el-input style="width: 100px;" readonly v-model="currentDetailData.estUseQty"></el-input> |
|
|
|
|
|
|
|
|
<el-input style="width: 150px;" readonly v-model="currentDetailData.estUseQty"></el-input> |
|
|
</el-form-item> |
|
|
</el-form-item> |
|
|
|
|
|
</el-col> |
|
|
|
|
|
<el-col :span="12"> |
|
|
<el-form-item :label="inputLabel.leftInput.label10"> |
|
|
<el-form-item :label="inputLabel.leftInput.label10"> |
|
|
<el-input style="width: 100px;" readonly v-model="currentDetailData.actualUseQty"></el-input> |
|
|
|
|
|
|
|
|
<el-input style="width: 150px;" readonly v-model="currentDetailData.actualUseQty"></el-input> |
|
|
</el-form-item> |
|
|
</el-form-item> |
|
|
</el-form> |
|
|
|
|
|
|
|
|
|
|
|
<el-form :inline="true" label-position="top" label-width="100px"> |
|
|
|
|
|
|
|
|
</el-col> |
|
|
|
|
|
</el-row> |
|
|
|
|
|
<el-row> |
|
|
|
|
|
<el-col :span="12"> |
|
|
<el-form-item :label="inputLabel.leftInput.label11"> |
|
|
<el-form-item :label="inputLabel.leftInput.label11"> |
|
|
<el-input style="width: 100px;" readonly v-model="currentDetailData.strCreateDate"></el-input> |
|
|
|
|
|
|
|
|
<el-input style="width: 150px;" readonly v-model="currentDetailData.strCreateDate"></el-input> |
|
|
</el-form-item> |
|
|
</el-form-item> |
|
|
|
|
|
</el-col> |
|
|
|
|
|
<el-col :span="12"> |
|
|
<el-form-item :label="inputLabel.leftInput.label12"> |
|
|
<el-form-item :label="inputLabel.leftInput.label12"> |
|
|
<el-input style="width: 95px;" readonly v-model="currentDetailData.createdBy"></el-input> |
|
|
|
|
|
|
|
|
<el-input style="width: 150px;" readonly v-model="currentDetailData.createdBy"></el-input> |
|
|
</el-form-item> |
|
|
</el-form-item> |
|
|
|
|
|
</el-col> |
|
|
|
|
|
</el-row> |
|
|
|
|
|
<el-row> |
|
|
|
|
|
<el-col :span="12"> |
|
|
<el-form-item :label="inputLabel.leftInput.label13"> |
|
|
<el-form-item :label="inputLabel.leftInput.label13"> |
|
|
<el-input style="width: 95px;" readonly v-model="currentDetailData.orderNo"></el-input> |
|
|
|
|
|
|
|
|
<el-input style="width: 150px;" readonly v-model="currentDetailData.orderNo"></el-input> |
|
|
</el-form-item> |
|
|
</el-form-item> |
|
|
|
|
|
</el-col> |
|
|
|
|
|
<el-col :span="12"></el-col> |
|
|
|
|
|
</el-row> |
|
|
|
|
|
<el-row> |
|
|
|
|
|
<el-col :span="24"> |
|
|
<el-form-item :label="inputLabel.leftInput.label14"> |
|
|
<el-form-item :label="inputLabel.leftInput.label14"> |
|
|
<el-input style="width: 215px;" readonly v-model="currentDetailData.remark"></el-input> |
|
|
|
|
|
</el-form-item> |
|
|
|
|
|
</el-form> |
|
|
|
|
|
|
|
|
|
|
|
</el-aside> |
|
|
|
|
|
|
|
|
|
|
|
<el-main style="padding: 0px;"> |
|
|
|
|
|
<el-form :inline="true" label-position="top" label-width="100px"> |
|
|
|
|
|
<el-form-item :label="inputLabel.rightInput.label1"> |
|
|
|
|
|
|
|
|
<el-input style="width: 300px;" readonly v-model="currentDetailData.remark"></el-input> |
|
|
</el-form-item> |
|
|
</el-form-item> |
|
|
|
|
|
</el-col> |
|
|
|
|
|
</el-row> |
|
|
</el-form> |
|
|
</el-form> |
|
|
|
|
|
</fieldset> |
|
|
|
|
|
</el-col> |
|
|
|
|
|
<el-col :span="17"> |
|
|
|
|
|
<fieldset class="customer-field" style="width: 100%; "> |
|
|
|
|
|
<span> {{inputLabel.rightInput.label1}}</span> |
|
|
<el-table |
|
|
<el-table |
|
|
id="commmon1" |
|
|
|
|
|
height="36%" |
|
|
|
|
|
|
|
|
width="100%" |
|
|
|
|
|
:height="height/2" |
|
|
:data="sfdcToolingHistList" |
|
|
:data="sfdcToolingHistList" |
|
|
border |
|
|
border |
|
|
v-loading="dataListLoading" |
|
|
v-loading="dataListLoading" |
|
|
@selection-change="selectionChangeHandle" |
|
|
@selection-change="selectionChangeHandle" |
|
|
style="width: 100%;"> |
|
|
style="width: 100%;"> |
|
|
<!-- <el-table-column |
|
|
|
|
|
type="selection" |
|
|
|
|
|
header-align="center" |
|
|
|
|
|
width="40" |
|
|
|
|
|
align="center"> |
|
|
|
|
|
</el-table-column>--> |
|
|
|
|
|
<el-table-column |
|
|
<el-table-column |
|
|
v-for="(item,index) in columnList" :key="index" |
|
|
v-for="(item,index) in columnList" :key="index" |
|
|
:sortable="item.columnSortable" |
|
|
:sortable="item.columnSortable" |
|
|
@ -160,26 +197,15 @@ |
|
|
</template> |
|
|
</template> |
|
|
</el-table-column> |
|
|
</el-table-column> |
|
|
</el-table> |
|
|
</el-table> |
|
|
|
|
|
|
|
|
<el-form :inline="true" label-position="top" label-width="100px"> |
|
|
|
|
|
<el-form-item :label="inputLabel.rightInput.label2"> |
|
|
|
|
|
</el-form-item> |
|
|
|
|
|
</el-form> |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<span> {{inputLabel.rightInput.label2}}</span> |
|
|
<el-table |
|
|
<el-table |
|
|
id="commmon2" |
|
|
|
|
|
height="36%" |
|
|
|
|
|
|
|
|
width="100%" |
|
|
|
|
|
:height="height/2" |
|
|
:data="toolInstanceIdUseHist" |
|
|
:data="toolInstanceIdUseHist" |
|
|
border |
|
|
border |
|
|
v-loading="dataListLoading" |
|
|
v-loading="dataListLoading" |
|
|
@selection-change="selectionChangeHandle" |
|
|
@selection-change="selectionChangeHandle" |
|
|
style="width: 100%;"> |
|
|
style="width: 100%;"> |
|
|
<!-- <el-table-column |
|
|
|
|
|
type="selection" |
|
|
|
|
|
header-align="center" |
|
|
|
|
|
width="40" |
|
|
|
|
|
align="center"> |
|
|
|
|
|
</el-table-column>--> |
|
|
|
|
|
<el-table-column |
|
|
<el-table-column |
|
|
v-for="(item,index) in columnList1" :key="index" |
|
|
v-for="(item,index) in columnList1" :key="index" |
|
|
:sortable="item.columnSortable" |
|
|
:sortable="item.columnSortable" |
|
|
@ -197,11 +223,15 @@ |
|
|
</template> |
|
|
</template> |
|
|
</el-table-column> |
|
|
</el-table-column> |
|
|
</el-table> |
|
|
</el-table> |
|
|
</el-main> |
|
|
|
|
|
</el-container> |
|
|
|
|
|
|
|
|
</fieldset> |
|
|
|
|
|
</el-col> |
|
|
|
|
|
</fieldset> |
|
|
|
|
|
</el-row> |
|
|
|
|
|
|
|
|
<column v-if="visible" ref="column" @refreshData="getTableUserColumn"></column> |
|
|
<column v-if="visible" ref="column" @refreshData="getTableUserColumn"></column> |
|
|
|
|
|
|
|
|
<el-dialog :close-on-click-modal="false" :close-on-press-escape="false" v-drag :title="inputLabel.leftInput.label15" :visible.sync="setUp.toolHeaderFlag" width="485px"> |
|
|
|
|
|
|
|
|
<el-dialog :close-on-click-modal="false" :close-on-press-escape="false" v-drag |
|
|
|
|
|
:title="inputLabel.leftInput.label15" :visible.sync="setUp.toolHeaderFlag" width="485px"> |
|
|
<el-form :inline="true" label-position="left"> |
|
|
<el-form :inline="true" label-position="left"> |
|
|
<el-form-item :label="inputLabel.headerInput.label1"> |
|
|
<el-form-item :label="inputLabel.headerInput.label1"> |
|
|
<el-input style="width: 110px;" v-model="queryHeaderData.toolId"></el-input> |
|
|
<el-input style="width: 110px;" v-model="queryHeaderData.toolId"></el-input> |
|
|
@ -238,8 +268,8 @@ |
|
|
</span> |
|
|
</span> |
|
|
</el-dialog> |
|
|
</el-dialog> |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<el-dialog :close-on-click-modal="false" :close-on-press-escape="false" v-drag :title="inputLabel.leftInput.label15" :visible.sync="setUp.toolEditFlag" width="620px"> |
|
|
|
|
|
|
|
|
<el-dialog :close-on-click-modal="false" :close-on-press-escape="false" v-drag |
|
|
|
|
|
:title="inputLabel.leftInput.label15" :visible.sync="setUp.toolEditFlag" width="620px"> |
|
|
<el-form :inline="true" label-position="top"> |
|
|
<el-form :inline="true" label-position="top"> |
|
|
<el-form-item :label="inputLabel.leftInput.label1"> |
|
|
<el-form-item :label="inputLabel.leftInput.label1"> |
|
|
<el-input style="width: 130px;" readonly v-model="editData.toolInstanceId"></el-input> |
|
|
<el-input style="width: 130px;" readonly v-model="editData.toolInstanceId"></el-input> |
|
|
@ -409,7 +439,7 @@ |
|
|
label15: '录入人', |
|
|
label15: '录入人', |
|
|
}, |
|
|
}, |
|
|
leftInput: { |
|
|
leftInput: { |
|
|
label1 : '工具编号', |
|
|
|
|
|
|
|
|
label1: '实例编号', |
|
|
label2: '状态', |
|
|
label2: '状态', |
|
|
label3: '供应商编码', |
|
|
label3: '供应商编码', |
|
|
label4: '供应商名称', |
|
|
label4: '供应商名称', |
|
|
@ -802,7 +832,7 @@ |
|
|
}, |
|
|
}, |
|
|
mounted() { |
|
|
mounted() { |
|
|
this.$nextTick(() => { |
|
|
this.$nextTick(() => { |
|
|
this.height = window.innerHeight - 255; |
|
|
|
|
|
|
|
|
this.height = window.innerHeight - 275; |
|
|
}) |
|
|
}) |
|
|
}, |
|
|
}, |
|
|
activated() { |
|
|
activated() { |
|
|
|