This commit is contained in:
liulujia
2020-04-29 17:28:39 +08:00
31 changed files with 350 additions and 431 deletions

View File

@@ -24,7 +24,7 @@
</el-row> </el-row>
</el-card> </el-card>
</el-col> </el-col>
<el-col style="width: 550px;"> <el-col style="width: 400px;">
<el-card> <el-card>
<el-button type="primary" plain style="margin: 10px 0 3px 0" icon="el-icon-circle-plus-outline" size="small" @click="addProcess">新增工艺</el-button> <el-button type="primary" plain style="margin: 10px 0 3px 0" icon="el-icon-circle-plus-outline" size="small" @click="addProcess">新增工艺</el-button>
<el-table :data="tableData2" :row-key="getRowKeys" size="mini" highlight-current-row stripe border height="600" width="100%"> <el-table :data="tableData2" :row-key="getRowKeys" size="mini" highlight-current-row stripe border height="600" width="100%">
@@ -67,11 +67,11 @@
{{ scope.row.工艺名称 }} {{ scope.row.工艺名称 }}
</template> </template>
</el-table-column> </el-table-column>
<el-table-column label="工艺要求" align="center" width="200"> <!--<el-table-column label="工艺要求" align="center" width="200">-->
<template slot-scope="scope"> <!--<template slot-scope="scope">-->
{{ scope.row.工艺要求 }} <!--{{ scope.row.工艺要求 }}-->
</template> <!--</template>-->
</el-table-column> <!--</el-table-column>-->
<el-table-column align="center" label="操作"> <el-table-column align="center" label="操作">
<template slot-scope="scope"> <template slot-scope="scope">
<el-tooltip :open-delay="1200" effect="dark" content="编辑" placement="top"> <el-tooltip :open-delay="1200" effect="dark" content="编辑" placement="top">
@@ -99,7 +99,7 @@
</el-form> </el-form>
<div slot="footer" class="dialog-footer"> <div slot="footer" class="dialog-footer">
<el-button @click="calloff"> </el-button> <el-button @click="calloff"> </el-button>
<el-button type="primary" @click="submit1('form1')"> </el-button> <el-button v-positive="'loading'" :disabled="false" type="primary" @click="submit1('form1')"> </el-button>
</div> </div>
</el-dialog> </el-dialog>
<el-dialog v-el-drag-dialog :visible.sync="dialogFormVisible2" title="编辑工艺分类" center style="min-height: 300px" width="400px"> <el-dialog v-el-drag-dialog :visible.sync="dialogFormVisible2" title="编辑工艺分类" center style="min-height: 300px" width="400px">
@@ -110,7 +110,7 @@
</el-form> </el-form>
<div slot="footer" class="dialog-footer"> <div slot="footer" class="dialog-footer">
<el-button @click="calloff"> </el-button> <el-button @click="calloff"> </el-button>
<el-button type="primary" @click="submit1('form1')"> </el-button> <el-button v-positive="'loading'" :disabled="false" type="primary" @click="submit1('form1')"> </el-button>
</div> </div>
</el-dialog> </el-dialog>
<el-dialog v-el-drag-dialog :visible.sync="dialogFormVisible3" title="新增工艺" center style="min-height: 300px" width="400px"> <el-dialog v-el-drag-dialog :visible.sync="dialogFormVisible3" title="新增工艺" center style="min-height: 300px" width="400px">
@@ -124,7 +124,7 @@
</el-form> </el-form>
<div slot="footer" class="dialog-footer"> <div slot="footer" class="dialog-footer">
<el-button @click="calloff"> </el-button> <el-button @click="calloff"> </el-button>
<el-button type="primary" @click="submit1('form2')"> </el-button> <el-button v-positive="'loading'" :disabled="false" type="primary" @click="submit1('form2')"> </el-button>
</div> </div>
</el-dialog> </el-dialog>
<el-dialog v-el-drag-dialog :visible.sync="dialogFormVisible4" title="编辑工艺" center style="min-height: 300px" width="400px"> <el-dialog v-el-drag-dialog :visible.sync="dialogFormVisible4" title="编辑工艺" center style="min-height: 300px" width="400px">
@@ -135,13 +135,13 @@
<el-form-item label="工艺名称简称" prop="ProcessShort"> <el-form-item label="工艺名称简称" prop="ProcessShort">
<el-input v-model="form2.ProcessShort" size="small" clearable style="width:200px"/> <el-input v-model="form2.ProcessShort" size="small" clearable style="width:200px"/>
</el-form-item> </el-form-item>
<el-form-item label="工艺要求" prop="Process"> <!--<el-form-item label="工艺要求" prop="Process">-->
<el-input v-model="form2.Requirement" size="small" clearable style="width:200px"/> <!--<el-input v-model="form2.Requirement" size="small" clearable style="width:200px"/>-->
</el-form-item> <!--</el-form-item>-->
</el-form> </el-form>
<div slot="footer" class="dialog-footer"> <div slot="footer" class="dialog-footer">
<el-button @click="calloff"> </el-button> <el-button @click="calloff"> </el-button>
<el-button type="primary" @click="submit1('form2')"> </el-button> <el-button v-positive="'loading'" :disabled="false" type="primary" @click="submit1('form2')"> </el-button>
</div> </div>
</el-dialog> </el-dialog>
<el-dialog v-el-drag-dialog :visible.sync="dialogFormVisible5" title="新增工艺要求" center style="min-height: 300px" width="400px"> <el-dialog v-el-drag-dialog :visible.sync="dialogFormVisible5" title="新增工艺要求" center style="min-height: 300px" width="400px">
@@ -152,7 +152,7 @@
</el-form> </el-form>
<div slot="footer" class="dialog-footer"> <div slot="footer" class="dialog-footer">
<el-button @click="calloff"> </el-button> <el-button @click="calloff"> </el-button>
<el-button type="primary" @click="submit1('form3')"> </el-button> <el-button v-positive="'loading'" :disabled="false" type="primary" @click="submit1('form3')"> </el-button>
</div> </div>
</el-dialog> </el-dialog>
<el-dialog v-el-drag-dialog :visible.sync="dialogFormVisible6" title="编辑工艺要求" center style="min-height: 300px" width="400px"> <el-dialog v-el-drag-dialog :visible.sync="dialogFormVisible6" title="编辑工艺要求" center style="min-height: 300px" width="400px">
@@ -163,7 +163,7 @@
</el-form> </el-form>
<div slot="footer" class="dialog-footer"> <div slot="footer" class="dialog-footer">
<el-button @click="calloff"> </el-button> <el-button @click="calloff"> </el-button>
<el-button type="primary" @click="submit1('form3')"> </el-button> <el-button v-positive="'loading'" :disabled="false" type="primary" @click="submit1('form3')"> </el-button>
</div> </div>
</el-dialog> </el-dialog>
</div> </div>

View File

@@ -118,7 +118,7 @@
</el-form> </el-form>
<div slot="footer" class="dialog-footer"> <div slot="footer" class="dialog-footer">
<el-button @click="dialogFormVisible=false">取消</el-button> <el-button @click="dialogFormVisible=false">取消</el-button>
<el-button :disabled="wareHousing_disable" type="primary" @click="CHUKU()"> </el-button> <el-button v-positive="'loading'" :disabled="false" type="primary" @click="CHUKU()"> </el-button>
</div> </div>
</el-dialog> </el-dialog>
</div> </div>

View File

@@ -16,7 +16,7 @@
:value="item.value"/> :value="item.value"/>
</el-select> </el-select>
<el-button size="small" type="primary" icon="el-icon-search" style="margin: 0 0 0 10px" plain @click="searchTable()">查询</el-button> <el-button size="small" type="primary" icon="el-icon-search" style="margin: 0 0 0 10px" plain @click="searchTable()">查询</el-button>
<el-button size="small" type="primary" icon="el-icon-download" style="margin: 0 0 0 10px" plain @click="exportExcel()">导出</el-button> <el-button v-positive="'loading'" :disabled="false" size="small" type="primary" icon="el-icon-download" style="margin: 0 0 0 10px" plain @click="exportExcel()">导出</el-button>
</el-card> </el-card>
<el-card> <el-card>
<el-table v-loading="loading" :data="tableData" highlight-current-row show-summary border style="width: 1510px;" size="mini" height="700"> <el-table v-loading="loading" :data="tableData" highlight-current-row show-summary border style="width: 1510px;" size="mini" height="700">

View File

@@ -16,7 +16,7 @@
:value="item.value"/> :value="item.value"/>
</el-select> </el-select>
<el-button size="small" type="primary" icon="el-icon-search" style="margin: 0 0 0 10px" plain @click="searchTable()">查询</el-button> <el-button size="small" type="primary" icon="el-icon-search" style="margin: 0 0 0 10px" plain @click="searchTable()">查询</el-button>
<el-button size="small" type="primary" icon="el-icon-download" style="margin: 0 0 0 10px" plain @click="exportExcel()">导出</el-button> <el-button v-positive="'loading'" :disabled="false" size="small" type="primary" icon="el-icon-download" style="margin: 0 0 0 10px" plain @click="exportExcel()">导出</el-button>
</el-card> </el-card>
<el-card> <el-card>
<el-table v-loading="loading" :data="tableData" :summary-method="getSummaries" show-summary highlight-current-row border style="width: 1360px;" size="mini" height="590"> <el-table v-loading="loading" :data="tableData" :summary-method="getSummaries" show-summary highlight-current-row border style="width: 1360px;" size="mini" height="590">

View File

@@ -38,7 +38,7 @@
start-placeholder="开始日期" start-placeholder="开始日期"
end-placeholder="结束日期"/> end-placeholder="结束日期"/>
<el-button type="primary" icon="el-icon-search" size="small" plain style="margin-left: 10px" @click="total=0;pageSize = 20;pageCurrent = 1;searchData1()">查询</el-button> <el-button type="primary" icon="el-icon-search" size="small" plain style="margin-left: 10px" @click="total=0;pageSize = 20;pageCurrent = 1;searchData1()">查询</el-button>
<el-button type="success" icon="el-icon-download" size="small" plain style="margin-left: 10px" @click="exportExcel()">导出</el-button> <el-button v-positive="'loading'" :disabled="false" type="success" icon="el-icon-download" size="small" plain style="margin-left: 10px" @click="exportExcel()">导出</el-button>
</el-row> </el-row>
</el-card> </el-card>
<el-row> <el-row>

View File

@@ -5,7 +5,7 @@
<el-row style="margin-bottom:-10px!important;"> <el-row style="margin-bottom:-10px!important;">
<el-input v-model="materialName" placeholder="名称规格型号" size="small" clearable style="margin-bottom: 10px; width: 180px;"/> <el-input v-model="materialName" placeholder="名称规格型号" size="small" clearable style="margin-bottom: 10px; width: 180px;"/>
<el-button type="primary" icon="el-icon-search" size="small" plain style="margin-left: 20px" @click="pageCurrent=1;pageSize=30;searchMaterial()">查询</el-button> <el-button type="primary" icon="el-icon-search" size="small" plain style="margin-left: 20px" @click="pageCurrent=1;pageSize=30;searchMaterial()">查询</el-button>
<el-button type="success" icon="el-icon-bottom" plain size="small" @click="exportExcel()">导出</el-button> <el-button v-positive="'loading'" :disabled="false" type="success" icon="el-icon-bottom" plain size="small" @click="exportExcel()">导出</el-button>
</el-row> </el-row>
</div> </div>
<el-table :data="tableData1" stripe highlight-current-row border height="600px" style="width: 579px" size="mini"> <el-table :data="tableData1" stripe highlight-current-row border height="600px" style="width: 579px" size="mini">

View File

@@ -22,7 +22,7 @@
</el-select> </el-select>
<el-input v-model="Partpaint" placeholder="零件号" clearable size="small" style="width: 180px;margin:0px 10px;"/> <el-input v-model="Partpaint" placeholder="零件号" clearable size="small" style="width: 180px;margin:0px 10px;"/>
<el-button type="primary" plain class="el-icon-search" size="small" style="margin: 0px 10px;" @click="pageCurrent = 1;pageSize = 50;getTableData()">查询</el-button> <el-button type="primary" plain class="el-icon-search" size="small" style="margin: 0px 10px;" @click="pageCurrent = 1;pageSize = 50;getTableData()">查询</el-button>
<el-button :disabled="Name===1" type="success" plain class="el-icon-finished" size="small" style="margin-left: 220px" @click="submit">完成</el-button> <el-button v-positive="'loading'" :disabled="Name===1" type="success" plain class="el-icon-finished" size="small" style="margin-left: 220px" @click="submit">完成</el-button>
</el-card> </el-card>
<el-row> <el-row>
<el-card style="width: 870px; margin-left: 0px;display: inline-block;" > <el-card style="width: 870px; margin-left: 0px;display: inline-block;" >

View File

@@ -18,7 +18,7 @@
<el-checkbox v-model="check" class="remeberPassword">筛选</el-checkbox> <el-checkbox v-model="check" class="remeberPassword">筛选</el-checkbox>
</el-tooltip> </el-tooltip>
<el-button size="small" type="primary" icon="el-icon-search" style="margin-left: 5px" plain @click="pageCurrent=1;pageSize=50;searchTable()">查询</el-button> <el-button size="small" type="primary" icon="el-icon-search" style="margin-left: 5px" plain @click="pageCurrent=1;pageSize=50;searchTable()">查询</el-button>
<el-button size="small" type="success" icon="el-icon-download" plain @click="exportExcel">导出</el-button> <el-button v-positive="'loading'" :disabled="false" size="small" type="success" icon="el-icon-download" plain @click="exportExcel">导出</el-button>
</el-card> </el-card>
<el-card> <el-card>
<el-table v-loading="loading" :data="tableData" size="mini" style="max-height: 720px" height="720px" border @sort-change="sortChange"> <el-table v-loading="loading" :data="tableData" size="mini" style="max-height: 720px" height="720px" border @sort-change="sortChange">

View File

@@ -18,7 +18,7 @@
<el-checkbox v-model="check" class="remeberPassword">筛选</el-checkbox> <el-checkbox v-model="check" class="remeberPassword">筛选</el-checkbox>
</el-tooltip> </el-tooltip>
<el-button size="small" type="primary" icon="el-icon-search" style="margin-left: 5px" plain @click="pageCurrent=1;pageSize=50;searchTable()">查询</el-button> <el-button size="small" type="primary" icon="el-icon-search" style="margin-left: 5px" plain @click="pageCurrent=1;pageSize=50;searchTable()">查询</el-button>
<el-button size="small" type="success" icon="el-icon-download" plain @click="exportExcel">导出</el-button> <el-button v-positive="'loading'" :disabled="false" size="small" type="success" icon="el-icon-download" plain @click="exportExcel">导出</el-button>
</el-card> </el-card>
<el-card> <el-card>
<el-table v-loading="loading" :data="tableData" :summary-method="getSummaries" show-summary size="mini" style="max-height: 590px;width: 1370px" height="720px" border @sort-change="sortChange"> <el-table v-loading="loading" :data="tableData" :summary-method="getSummaries" show-summary size="mini" style="max-height: 590px;width: 1370px" height="720px" border @sort-change="sortChange">

View File

@@ -19,8 +19,8 @@
:value="item.value"/> :value="item.value"/>
</el-select> </el-select>
<el-button type="primary" size="small" icon="el-icon-bangzhu" style="margin-left: 10px" plain @click="selectAll(tableData)">全选</el-button> <el-button type="primary" size="small" icon="el-icon-bangzhu" style="margin-left: 10px" plain @click="selectAll(tableData)">全选</el-button>
<el-button :loading="loading" type="success" size="small" icon="el-icon-upload" style="margin-left: 10px" plain @click="save">保存</el-button> <el-button v-positive="'loading'" :disabled="false" type="success" size="small" icon="el-icon-upload" style="margin-left: 10px" plain @click="save">保存</el-button>
<el-button :loading="loading" type="success" size="small" icon="el-icon-upload" style="margin-left: 300px" plain @click="currency">通用件保存</el-button> <el-button v-positive="'loading'" :disabled="false" type="success" size="small" icon="el-icon-upload" style="margin-left: 300px" plain @click="currency">通用件保存</el-button>
</el-card> </el-card>
<el-card> <el-card>
<el-table ref="multipleTable" :data="tableData" :row-class-name="tableRowClassName1" style="width: 1000px;" size="mini" height="750" highlight-current-row border @selection-change="handleSelectionChange" @row-click="rowClick"> <el-table ref="multipleTable" :data="tableData" :row-class-name="tableRowClassName1" style="width: 1000px;" size="mini" height="750" highlight-current-row border @selection-change="handleSelectionChange" @row-click="rowClick">

View File

@@ -21,7 +21,7 @@
</el-select> </el-select>
<el-input v-model="number" placeholder="零件号" clearable size="small" style="width: 170px;margin:0px 10px;"/> <el-input v-model="number" placeholder="零件号" clearable size="small" style="width: 170px;margin:0px 10px;"/>
<el-button type="primary" class="el-icon-search" size="small" plain style="margin: 0px 10px;" @click="pageCurrent = 1;pageSize = 100;getTableData()">查询</el-button> <el-button type="primary" class="el-icon-search" size="small" plain style="margin: 0px 10px;" @click="pageCurrent = 1;pageSize = 100;getTableData()">查询</el-button>
<el-button type="warning" class="el-icon-download" size="small" plain style="margin: 10px 0 0 10px" @click="exportExcel">导出</el-button> <el-button v-positive="'loading'" :disabled="false" type="warning" class="el-icon-download" size="small" plain style="margin: 10px 0 0 10px" @click="exportExcel">导出</el-button>
<!--<el-button :disabled="isDisabled" type="info" size="small" style="margin: 10px 10px;float: right" @click="EditConfirmNum">修改完成数量</el-button>--> <!--<el-button :disabled="isDisabled" type="info" size="small" style="margin: 10px 10px;float: right" @click="EditConfirmNum">修改完成数量</el-button>-->
<!--<el-button :disabled="isDisabled" type="info" size="small" style="margin: 10px 10px;float: right" @click="EditWorkingHours">修补加工工时</el-button>--> <!--<el-button :disabled="isDisabled" type="info" size="small" style="margin: 10px 10px;float: right" @click="EditWorkingHours">修补加工工时</el-button>-->
</el-card> </el-card>

View File

@@ -26,7 +26,7 @@
<el-tooltip :open-delay="1200" effect="dark" content="只查询加急的零件" placement="top"> <el-tooltip :open-delay="1200" effect="dark" content="只查询加急的零件" placement="top">
<el-checkbox v-model="all" size="small">加急</el-checkbox> <el-checkbox v-model="all" size="small">加急</el-checkbox>
</el-tooltip> </el-tooltip>
<el-button type="success" icon="el-icon-download" size="small" plain style="margin-left: 10px" @click="exportTable()">导出</el-button> <el-button v-positive="'loading'" :disabled="false" type="success" icon="el-icon-download" size="small" plain style="margin-left: 10px" @click="exportTable()">导出</el-button>
</el-row> </el-row>
</el-card> </el-card>
</div> </div>

View File

@@ -13,7 +13,7 @@
</el-select> </el-select>
<span>选择月份</span> <span>选择月份</span>
<el-date-picker v-model="monthssss" size="small" type="month" value-format="yyyy-MM" format="yyyy-MM" style="width: 120px" placeholder="选择月"/> <el-date-picker v-model="monthssss" size="small" type="month" value-format="yyyy-MM" format="yyyy-MM" style="width: 120px" placeholder="选择月"/>
<el-button size="small" type="warning" style="margin-right: 50px" plain @click="exportOut()">导出日点检表</el-button> <el-button v-positive="'loading'" :disabled="false" size="small" type="warning" style="margin-right: 50px" plain @click="exportOut()">导出日点检表</el-button>
</div> </div>
</div> </div>
<el-table v-loading="loading1" :data="tableData1" stripe height="200" border> <el-table v-loading="loading1" :data="tableData1" stripe height="200" border>
@@ -391,7 +391,7 @@
</el-form> </el-form>
<div slot="footer" class="dialog-footer"> <div slot="footer" class="dialog-footer">
<el-button @click="callOff1('form1')">取消</el-button> <el-button @click="callOff1('form1')">取消</el-button>
<el-button type="primary" @click="submit1('form1')" >确定</el-button> <el-button v-positive="'loading'" :disabled="false" type="primary" @click="submit1('form1')" >确定</el-button>
</div> </div>
</el-dialog> </el-dialog>
<el-dialog :visible.sync="dialogFormVisible2" title="新增" center width="500px"> <el-dialog :visible.sync="dialogFormVisible2" title="新增" center width="500px">
@@ -411,7 +411,7 @@
</el-form> </el-form>
<div slot="footer" class="dialog-footer"> <div slot="footer" class="dialog-footer">
<el-button @click="callOff2('form2')">取消</el-button> <el-button @click="callOff2('form2')">取消</el-button>
<el-button type="primary" @click="submit2('form2')" >确定</el-button> <el-button v-positive="'loading'" :disabled="false" type="primary" @click="submit2('form2')" >确定</el-button>
</div> </div>
</el-dialog> </el-dialog>
</div> </div>

View File

@@ -45,7 +45,7 @@
<el-button class="button111" icon="el-icon-circle-plus-outline" size="small" style="margin-left: 15px" @click="ADD()">自家项目</el-button> <el-button class="button111" icon="el-icon-circle-plus-outline" size="small" style="margin-left: 15px" @click="ADD()">自家项目</el-button>
<!--<el-button type="primary" icon="el-icon-circle-plus-outline" size="small" style="margin-left: 10px;background: #fdf6ec;border-color: #ff9759;color: #ff9759;" @click="ADD()">新增</el-button>--> <!--<el-button type="primary" icon="el-icon-circle-plus-outline" size="small" style="margin-left: 10px;background: #fdf6ec;border-color: #ff9759;color: #ff9759;" @click="ADD()">新增</el-button>-->
</el-tooltip> </el-tooltip>
<el-button icon="el-icon-bottom" type="success" plain size="small" style="margin-left: 15px" @click="exportExcel()">导出</el-button> <el-button v-positive="'loading'" :disabled="false" icon="el-icon-bottom" type="success" plain size="small" style="margin-left: 15px" @click="exportExcel()">导出</el-button>
</el-card> </el-card>
<el-row> <el-row>
<el-col style="width: 783px"> <el-col style="width: 783px">

View File

@@ -110,7 +110,7 @@
</el-form> </el-form>
<div slot="footer" class="dialog-footer"> <div slot="footer" class="dialog-footer">
<el-button @click="callOff('form')">取消</el-button> <el-button @click="callOff('form')">取消</el-button>
<el-button :disabled="editType1_disable" type="primary" @click="submit('form')" >确定</el-button> <el-button v-positive="'loading'" :disabled="false" type="primary" @click="submit('form')" >确定</el-button>
</div> </div>
</el-dialog> </el-dialog>

View File

@@ -12,7 +12,7 @@
:value="item.value"/> :value="item.value"/>
</el-select> </el-select>
<el-button icon="el-icon-search" type="primary" size="small" plain @click="getTableData()">查询</el-button> <el-button icon="el-icon-search" type="primary" size="small" plain @click="getTableData()">查询</el-button>
<el-button type="success" class="el-icon-download" size="small" style="margin: 10px 0 0 10px" plain @click="exportExcel">导出</el-button> <el-button v-positive="'loading'" :disabled="false" type="success" class="el-icon-download" size="small" style="margin: 10px 0 0 10px" plain @click="exportExcel">导出</el-button>
</div> </div>
</el-card> </el-card>
<el-card> <el-card>

View File

@@ -16,7 +16,7 @@
start-placeholder="开始日期" start-placeholder="开始日期"
end-placeholder="结束日期"/> end-placeholder="结束日期"/>
<el-button type="primary" class="el-icon-search" style="margin-left: 20px" size="small" plain @click="getParts()">查询</el-button> <el-button type="primary" class="el-icon-search" style="margin-left: 20px" size="small" plain @click="getParts()">查询</el-button>
<el-button type="success" plain class="el-icon-download" style="margin-left: 30px" size="small" @click="exportExcel">导出</el-button> <el-button v-positive="'loading'" :disabled="false" type="success" plain class="el-icon-download" style="margin-left: 30px" size="small" @click="exportExcel">导出</el-button>
</el-row> </el-row>
<el-table v-loading="loading" :data="tableData" size="mini" highlight-current-row height="300" style="width: 690px;margin-bottom: 10px" border element-loading-text="拼命加载中" @row-click="rowClick"> <el-table v-loading="loading" :data="tableData" size="mini" highlight-current-row height="300" style="width: 690px;margin-bottom: 10px" border element-loading-text="拼命加载中" @row-click="rowClick">
<el-table-column label="厂家" prop="外协厂家名称" align="center" width="230px"> <el-table-column label="厂家" prop="外协厂家名称" align="center" width="230px">
@@ -155,7 +155,7 @@
</el-form> </el-form>
<div slot="footer" class="dialog-footer"> <div slot="footer" class="dialog-footer">
<el-button @click="callOff1('form1')">取消</el-button> <el-button @click="callOff1('form1')">取消</el-button>
<el-button :disabled="handleAdd1_disable" type="primary" @click="submit1('form1')" >确定</el-button> <el-button v-positive="'loading'" :disabled="false" type="primary" @click="submit1('form1')" >确定</el-button>
</div> </div>
</el-dialog> </el-dialog>
@@ -182,7 +182,7 @@
</el-form> </el-form>
<div slot="footer" class="dialog-footer"> <div slot="footer" class="dialog-footer">
<el-button @click="callOff2('form2')">取消</el-button> <el-button @click="callOff2('form2')">取消</el-button>
<el-button :disabled="handleAdd2_disable" type="primary" @click="submit2('form2')" >确定</el-button> <el-button v-positive="'loading'" :disabled="false" type="primary" @click="submit2('form2')" >确定</el-button>
</div> </div>
</el-dialog> </el-dialog>
</div> </div>

View File

@@ -3,7 +3,7 @@
<el-card> <el-card>
<el-input v-model="partNumber" size="small" placeholder="零件号或零件名称" clearable style="width:160px;margin-top: 3px"/> <el-input v-model="partNumber" size="small" placeholder="零件号或零件名称" clearable style="width:160px;margin-top: 3px"/>
<el-button type="primary" size="mini" icon="el-icon-search" style="margin-left:20px" plain @click="getList()">查询</el-button> <el-button type="primary" size="mini" icon="el-icon-search" style="margin-left:20px" plain @click="getList()">查询</el-button>
<el-button type="danger" plain size="mini" icon="el-icon-caret-right" style="float: right;margin-right:10px" @click="getBack()">打回</el-button> <el-button v-positive="'loading'" :disabled="false" type="danger" plain size="mini" icon="el-icon-caret-right" style="float: right;margin-right:10px" @click="getBack()">打回</el-button>
<el-table v-loading="loading1" ref="multipleTable" :data="List1" border size="mini" stripe highlight-current-row height="265" style="width: 100%;margin-top: 3px" @selection-change="handleSelectionChange"> <el-table v-loading="loading1" ref="multipleTable" :data="List1" border size="mini" stripe highlight-current-row height="265" style="width: 100%;margin-top: 3px" @selection-change="handleSelectionChange">
<el-table-column type="selection" width="55"/> <el-table-column type="selection" width="55"/>
<el-table-column label="项目名称" prop="项目名称" align="center" show-overflow-tooltip> <el-table-column label="项目名称" prop="项目名称" align="center" show-overflow-tooltip>
@@ -74,10 +74,10 @@
</el-col> </el-col>
<el-col :span="15" style="float: right"> <el-col :span="15" style="float: right">
<div> <div>
<el-button :disabled="jinyong" type="warning" size="mini" icon="el-icon-arrow-down" style="margin-top:3px" plain @click="getSpareParts">选入零件</el-button> <el-button v-positive="'loading'" :disabled="jinyong" type="warning" size="mini" icon="el-icon-arrow-down" style="margin-top:3px" plain @click="getSpareParts">选入零件</el-button>
<el-button type="primary" size="mini" icon="el-icon-download" style="margin-left:10px;margin-top: 3px;margin-right: 20px;float: right" plain @click="exportTable('RWD')">导出任务单</el-button> <el-button v-positive="'loading'" :disabled="false" type="primary" size="mini" icon="el-icon-download" style="margin-left:10px;margin-top: 3px;margin-right: 20px;float: right" plain @click="exportTable('RWD')">导出任务单</el-button>
<el-tooltip :open-delay="1200" effect="dark" content="成交" placement="top"> <el-tooltip :open-delay="1200" effect="dark" content="成交" placement="top">
<el-button :disabled="jinyong" type="success" size="mini" icon="el-icon-upload2" style="margin-left:10px;margin-top: 3px;float: right" plain @click="Deal">提交</el-button> <el-button v-positive="'loading'" :disabled="jinyong" type="success" size="mini" icon="el-icon-upload2" style="margin-left:10px;margin-top: 3px;float: right" plain @click="Deal">提交</el-button>
</el-tooltip> </el-tooltip>
<!--<el-tooltip :open-delay="1200" effect="dark" content="核对价格信息后确定" placement="top">--> <!--<el-tooltip :open-delay="1200" effect="dark" content="核对价格信息后确定" placement="top">-->
<!--<el-button type="success" size="mini" icon="el-icon-tickets" style="margin-left:10px;margin-top: 3px;float: right" plain @click="confirmPrice">保存</el-button>--> <!--<el-button type="success" size="mini" icon="el-icon-tickets" style="margin-left:10px;margin-top: 3px;float: right" plain @click="confirmPrice">保存</el-button>-->
@@ -164,7 +164,7 @@
</el-form> </el-form>
<div slot="footer" class="dialog-footer"> <div slot="footer" class="dialog-footer">
<el-button @click="callOff('form')">取消</el-button> <el-button @click="callOff('form')">取消</el-button>
<el-button :disabled="handleAdd_disable" type="primary" @click="submit('form')">确定</el-button> <el-button v-positive="'loading'" :disabled="false" type="primary" @click="submit('form')">确定</el-button>
</div> </div>
</el-dialog> </el-dialog>
</div> </div>

View File

@@ -33,7 +33,7 @@
</el-col> </el-col>
<el-col :span="14"> <el-col :span="14">
<el-card> <el-card>
<el-button :disabled="loading" type="warning" size="mini" icon="el-icon-arrow-down" style="margin-left:10px" plain @click="getSpareParts">收货</el-button> <el-button v-positive="'loading'" :disabled="loading" type="warning" size="mini" icon="el-icon-arrow-down" style="margin-left:10px" plain @click="getSpareParts">收货</el-button>
<el-table v-loading="loading" :data="List3" border size="mini" height="595" style="width: 100%" @selection-change="handleSelectionChange"> <el-table v-loading="loading" :data="List3" border size="mini" height="595" style="width: 100%" @selection-change="handleSelectionChange">
<el-table-column :selectable="selectable" type="selection" align="center" width="55"/> <el-table-column :selectable="selectable" type="selection" align="center" width="55"/>
<el-table-column label="收货状态" width="100" align="center"> <el-table-column label="收货状态" width="100" align="center">

View File

@@ -58,7 +58,7 @@
</el-col> </el-col>
<el-col style="width: auto"> <el-col style="width: auto">
<el-card> <el-card>
<el-button :disabled="saveRowPrice_disable" size="small" type="success" plain style="margin: 10px" @click="saveRowPrice()">保存</el-button> <el-button v-positive="'loading'" :disabled="false" size="small" type="success" plain style="margin: 10px" @click="saveRowPrice()">保存</el-button>
<el-table v-loading="loading2" :data="tableData2" :row-class-name="tableData1ClassName" empty-text=" " height="580" border element-loading-text="拼命加载中" size="small"> <el-table v-loading="loading2" :data="tableData2" :row-class-name="tableData1ClassName" empty-text=" " height="580" border element-loading-text="拼命加载中" size="small">
<el-table-column label="序号" type="index" align="center" width="50"/> <el-table-column label="序号" type="index" align="center" width="50"/>
<el-table-column label="加工状态" width="100" align="center"> <el-table-column label="加工状态" width="100" align="center">

View File

@@ -1825,6 +1825,11 @@ export default {
width:150px; width:150px;
margin-right: 10px; margin-right: 10px;
} }
</style>
<style>
.el-table .MistyRose {
background: #9BD7FC!important;
}
.editWorkTime input::-webkit-outer-spin-button, input::-webkit-inner-spin-button { .editWorkTime input::-webkit-outer-spin-button, input::-webkit-inner-spin-button {
-webkit-appearance: none; -webkit-appearance: none;
text-align: center; text-align: center;
@@ -1833,8 +1838,3 @@ export default {
-moz-appearance: textfield; -moz-appearance: textfield;
} }
</style> </style>
<style>
.el-table .MistyRose {
background: #9BD7FC!important;
}
</style>

View File

@@ -13,7 +13,6 @@
</el-option> </el-option>
</el-select> </el-select>
<el-input v-model="contractName" placeholder="合同名称" style="width: 120px" size="small"/> <el-input v-model="contractName" placeholder="合同名称" style="width: 120px" size="small"/>
<!-- <el-input v-model="supplierName" size="small" placeholder="请双击选择供应商" readonly clearable @dblclick.native="dialogVisible1=true;submitDisable=true" @clear="emptySupplierDetail"/>-->
<el-select v-model="supplierValue" placeholder="选择供应商" filterable style="width: 220px" size="small" clearable> <el-select v-model="supplierValue" placeholder="选择供应商" filterable style="width: 220px" size="small" clearable>
<el-option <el-option
v-for="item in supplierValues" v-for="item in supplierValues"
@@ -29,13 +28,6 @@
:label="item.label" :label="item.label"
:value="item.value"/> :value="item.value"/>
</el-select> </el-select>
<!-- <el-date-picker-->
<!-- v-model="stipulateArrivalTime"-->
<!-- size="small"-->
<!-- type="date"-->
<!-- format="yyyy-MM-dd"-->
<!-- value-format="yyyy-MM-dd"-->
<!-- placeholder="规定到货时间"/>-->
<el-input v-model="name" placeholder="采购员" style="width: 120px" size="small" readonly/> <el-input v-model="name" placeholder="采购员" style="width: 120px" size="small" readonly/>
<el-input v-model="taxRate" placeholder="税率" style="width: 100px" size="small"/> <el-input v-model="taxRate" placeholder="税率" style="width: 100px" size="small"/>
<el-button v-show="contractNumType===0" type="primary" plain size="small" @click="linkGroup">成组采购</el-button> <el-button v-show="contractNumType===0" type="primary" plain size="small" @click="linkGroup">成组采购</el-button>
@@ -162,11 +154,7 @@
:label="item.label" :label="item.label"
:value="item.value"/> :value="item.value"/>
</el-select> </el-select>
<el-button <el-button v-positive="'loading'" :disabled="false" type="distribution" size="small" style="margin-left: 7.5%; margin-top: 10px" @click="doneContract">生成采购合同</el-button>
type="distribution"
size="small"
style="margin-left: 7.5%; margin-top: 10px"
@click="doneContract">生成采购合同</el-button>
</el-card> </el-card>
<el-dialog v-el-drag-dialog :visible.sync="dialogVisible1" title="供应商选择" center style="min-height: 300px"> <el-dialog v-el-drag-dialog :visible.sync="dialogVisible1" title="供应商选择" center style="min-height: 300px">

View File

@@ -9,7 +9,7 @@
<el-button type="primary" size="small" icon="el-icon-search" plain style="margin-left: 10px" @click="pageCurrent1=1;pageSize1=10;total1=0;searchTable1()">查询</el-button> <el-button type="primary" size="small" icon="el-icon-search" plain style="margin-left: 10px" @click="pageCurrent1=1;pageSize1=10;total1=0;searchTable1()">查询</el-button>
</el-tooltip> </el-tooltip>
<el-tooltip :open-delay="1200" effect="dark" content="将零件打回重新分配备料计划" placement="top"> <el-tooltip :open-delay="1200" effect="dark" content="将零件打回重新分配备料计划" placement="top">
<el-button type="danger" size="small" icon="el-icon-download" plain style="margin-left: 10px;float: right;" @click="back">打回重新分配</el-button> <el-button v-positive="'loading'" :disabled="false" type="danger" size="small" icon="el-icon-download" plain style="margin-left: 10px;float: right;" @click="back">打回重新分配</el-button>
</el-tooltip> </el-tooltip>
<el-table <el-table
v-loading="loading1" v-loading="loading1"
@@ -82,10 +82,10 @@
<!--<el-input v-model="purchasingOrder" placeholder="采购计划单号" size="small" style="margin: 3px 0;width: 155px" clearable @keyup.enter.native="pageCurrent2=1;pageSize2=10;total2=0;searchTable2()"/>--> <!--<el-input v-model="purchasingOrder" placeholder="采购计划单号" size="small" style="margin: 3px 0;width: 155px" clearable @keyup.enter.native="pageCurrent2=1;pageSize2=10;total2=0;searchTable2()"/>-->
<el-button class="button111" size="small" icon="el-icon-circle-plus-outline" style="margin-left: 10px" @click="addPurchaseOrder">外购备料</el-button> <el-button class="button111" size="small" icon="el-icon-circle-plus-outline" style="margin-left: 10px" @click="addPurchaseOrder">外购备料</el-button>
<el-tooltip :open-delay="1200" effect="dark" content="向选择的采购计划里添加采购零件" placement="top"> <el-tooltip :open-delay="1200" effect="dark" content="向选择的采购计划里添加采购零件" placement="top">
<el-button :disabled="Number(采购计划状态)===3 || Number(采购计划状态)===4" type="primary" plain size="small" icon="el-icon-download" style="margin-left: 10px" @click="addMateriel">选入</el-button> <el-button v-positive="'loading'" :disabled="Number(采购计划状态)===3 || Number(采购计划状态)===4" type="primary" plain size="small" icon="el-icon-download" style="margin-left: 10px" @click="addMateriel">选入</el-button>
</el-tooltip> </el-tooltip>
<el-tooltip :open-delay="1200" effect="dark" content="保存选中的采购计划单" placement="top"> <el-tooltip :open-delay="1200" effect="dark" content="保存选中的采购计划单" placement="top">
<el-button :disabled="Number(采购计划状态)===3 || Number(采购计划状态)===4" type="success" size="small" icon="el-icon-tickets" plain style="margin-top: 3px;margin-left: 10px" @click="saveMateriel">保存</el-button> <el-button v-positive="'loading'" :disabled="Number(采购计划状态)===3 || Number(采购计划状态)===4" type="success" size="small" icon="el-icon-tickets" plain style="margin-top: 3px;margin-left: 10px" @click="saveMateriel">保存</el-button>
</el-tooltip> </el-tooltip>
<el-select v-model="supplierName0" placeholder="供应商" style="width: 220px;margin-left: 10px" size="small" filterable clearable @change="pageCurrent2=1;pageSize2=10;total2=0;searchTable2()"> <el-select v-model="supplierName0" placeholder="供应商" style="width: 220px;margin-left: 10px" size="small" filterable clearable @change="pageCurrent2=1;pageSize2=10;total2=0;searchTable2()">
<el-option <el-option

View File

@@ -25,7 +25,7 @@
end-placeholder="结束日期"/> end-placeholder="结束日期"/>
<el-button type="primary" plain size="small" icon="el-icon-search" style="margin-left: 10px" @click="searchTable4()">查询</el-button> <el-button type="primary" plain size="small" icon="el-icon-search" style="margin-left: 10px" @click="searchTable4()">查询</el-button>
<el-button class="button111" size="small" icon="el-icon-plus" style="margin-left: 10px" @click="addArrivalOrder">到货单</el-button> <el-button class="button111" size="small" icon="el-icon-plus" style="margin-left: 10px" @click="addArrivalOrder">到货单</el-button>
<el-button type="success" plain size="small" icon="el-icon-download" style="margin-left:10px" @click="downloadExcel()">导出</el-button> <el-button v-positive="'loading'" :disabled="false" type="success" plain size="small" icon="el-icon-download" style="margin-left:10px" @click="downloadExcel()">导出</el-button>
</div> </div>
</el-card> </el-card>
<el-card style="width: 650px;margin-left: 0px;display: inline-block"> <el-card style="width: 650px;margin-left: 0px;display: inline-block">
@@ -195,321 +195,267 @@
</el-table-column> </el-table-column>
</el-table> </el-table>
</el-card> </el-card>
</div>
<el-dialog v-el-drag-dialog :title="title" :visible.sync="dialogVisible" center style="min-height: 400px" width="360px"> <el-dialog v-el-drag-dialog :title="title" :visible.sync="dialogVisible" center style="min-height: 400px" width="360px">
<el-form ref="form" :model="form" :rules="rules" label-position="right" label-width="80px"> <el-form ref="form" :model="form" :rules="rules" label-position="right" label-width="80px">
<el-form-item label="到货单号"> <el-form-item label="到货单号">
<el-input v-model="NewOrder" style="width: 180px" size="small" disabled/> <el-input v-model="NewOrder" style="width: 180px" size="small" disabled/>
</el-form-item> </el-form-item>
<el-form-item label="供应商" prop="supplierNameValue"> <el-form-item label="供应商" prop="supplierNameValue">
<el-select v-show="title==='新增到货单'" v-model="form.supplierNameValue" placeholder="供应商" style="width: 180px" size="small" filterable @change="searchTable20()"> <el-select v-show="title==='新增到货单'" v-model="form.supplierNameValue" placeholder="供应商" style="width: 180px" size="small" filterable @change="searchTable20()">
<el-option
v-for="item in supplierNames"
:key="item.value"
:label="item.label"
:value="item.value"/>
</el-select>
</el-form-item>
<el-form-item label="到货日期" prop="invoiceTime">
<el-date-picker v-model="form.日期" size="small" type="date" value-format="yyyy-MM-dd" style="width: 180px" format="yyyy-MM-dd" placeholder="选择日期"/>
</el-form-item>
</el-form>
<div slot="footer" class="dialog-footer">
<el-button
v-show="title==='新增到货单'"
:disabled="addArrivalOrder_disable"
type="primary"
size="small"
icon="el-icon-check"
@click="submitAddArrivalOrder">保存</el-button>
<el-button
v-show="title==='编辑到货单'"
:disabled="addArrivalOrder_disable"
type="primary"
size="small"
icon="el-icon-check"
@click="submitEditArrivalOrder">确定</el-button>
</div>
</el-dialog>
<el-dialog v-el-drag-dialog :visible.sync="dialogVisible10" title="添加到货明细" center style="min-height: 200px" width="1600px">
<el-form ref="form10" :model="form10" :rules="rules10" label-position="right" label-width="60px">
<el-row style="background-color: white">
<el-col :span="5" style="margin-left: 2%">
<span>供应商</span>
<el-input v-model="供应商名称" style="width: 250px" size="small" readonly/>
</el-col>
<el-col :span="4">
<span>到货单编号</span>
<el-input v-model="到货单编号" style="width: 150px" size="small" readonly/>
</el-col>
<el-col :span="4">
<span>计划类型</span>
<el-select v-model="planType" placeholder="计划类型" size="small" style="width: 150px" filterable @change="searchTable20()">
<el-option <el-option
v-for="item in supplierNames" v-for="item in planTypes"
:key="item.value" :key="item.value"
:label="item.label" :label="item.label"
:value="item.value"/> :value="item.value"/>
</el-select> </el-select>
</el-form-item> </el-col>
<el-form-item label="到货日期" prop="invoiceTime"> <el-col :span="4">
<el-date-picker v-model="form.日期" size="small" type="date" value-format="yyyy-MM-dd" style="width: 180px" format="yyyy-MM-dd" placeholder="选择日期"/> <span>零件图号</span>
</el-form-item> <el-input v-model="零件图号" style="width: 150px" size="small" clearable/>
</el-form> </el-col>
<div slot="footer" class="dialog-footer"> <el-col :span="2">
<el-button <el-button type="success" size="small" icon="el-icon-search" style="margin-left: 10px" @click="searchTable20()">查询</el-button>
v-show="title==='新增到货单'" </el-col>
:disabled="addArrivalOrder_disable" </el-row>
type="primary" <el-row>
size="small" <div style="width: 20%;float: left;margin-top: 20px">
icon="el-icon-check" <div style="background: white">
@click="submitAddArrivalOrder">保存</el-button> <el-row style="height: 50px">
<el-button <el-form-item label="材料" prop="CailiaoValue">
v-show="title==='编辑到货单'" <el-input v-model="form10.CailiaoValue" size="small"/>
:disabled="addArrivalOrder_disable" </el-form-item>
type="primary" </el-row>
size="small" <el-row style="height: 50px">
icon="el-icon-check" <el-form-item label="重量" prop="数量">
@click="submitEditArrivalOrder">确定</el-button> <el-input-number v-model="form10.数量" :precision="2" :step="1" :min="0" size="medium" @change="Calculation"/>
</div> </el-form-item>
</el-dialog> </el-row>
<el-dialog v-el-drag-dialog :visible.sync="dialogVisible10" title="添加到货明细" center style="min-height: 200px" width="1600px"> <el-row style="height: 50px">
<el-form ref="form10" :model="form10" :rules="rules10" label-position="right" label-width="60px"> <el-form-item label="单价" prop="单价">
<el-row style="background-color: white"> <el-input-number v-model="form10.单价" :precision="2" :step="1" :min="0" size="medium" @change="Calculation"/>
<el-col :span="5" style="margin-left: 2%"> </el-form-item>
<span>供应商</span> </el-row>
<el-input v-model="供应商名称" style="width: 250px" size="small" readonly/> <el-row style="height: 50px">
</el-col> <el-form-item label="单位" prop="单位">
<el-col :span="4"> <el-input v-model="form10.单位" size="small"/>
<span>到货单编号</span> </el-form-item>
<el-input v-model="到货单编号" style="width: 150px" size="small" readonly/> </el-row>
</el-col> <el-row style="height: 50px">
<el-col :span="4"> <el-form-item label="金额(元)" prop="金额">
<span>计划类型</span> <el-input-number v-model="form10.金额" :precision="2" :step="1" size="medium" disabled/>
<el-select v-model="planType" placeholder="计划类型" size="small" style="width: 150px" filterable @change="searchTable20()"> </el-form-item>
<el-option </el-row>
v-for="item in planTypes"
:key="item.value"
:label="item.label"
:value="item.value"/>
</el-select>
</el-col>
<el-col :span="4">
<span>零件图号</span>
<el-input v-model="零件图号" style="width: 150px" size="small" clearable/>
</el-col>
<el-col :span="2">
<el-button type="success" size="small" icon="el-icon-search" style="margin-left: 10px" @click="searchTable20()">查询</el-button>
</el-col>
</el-row>
<el-row>
<div style="width: 20%;float: left;margin-top: 20px">
<div style="background: white">
<el-row style="height: 50px">
<el-form-item label="材料" prop="CailiaoValue">
<el-input v-model="form10.CailiaoValue" size="small"/>
</el-form-item>
</el-row>
<el-row style="height: 50px">
<el-form-item label="重量" prop="数量">
<el-input-number v-model="form10.数量" :precision="2" :step="1" :min="0" size="medium" @change="Calculation"/>
</el-form-item>
</el-row>
<el-row style="height: 50px">
<el-form-item label="单价" prop="单价">
<el-input-number v-model="form10.单价" :precision="2" :step="1" :min="0" size="medium" @change="Calculation"/>
</el-form-item>
</el-row>
<el-row style="height: 50px">
<el-form-item label="单位" prop="单位">
<el-input v-model="form10.单位" size="small"/>
</el-form-item>
</el-row>
<el-row style="height: 50px">
<el-form-item label="金额(元)" prop="金额">
<el-input-number v-model="form10.金额" :precision="2" :step="1" size="medium" disabled/>
</el-form-item>
</el-row>
</div>
<div>
<el-button type="primary" size="small" style="margin-left: 40%;margin-top: 10px" @click="submitAddArrivalOrderMX">确定</el-button>
</div>
</div> </div>
<div style="width: 79%;float: left;margin-left: 10px"> <div>
<el-table <el-button type="primary" size="small" style="margin-left: 40%;margin-top: 10px" @click="submitAddArrivalOrderMX">确定</el-button>
ref="multipleTable"
:row-key="getRowKeys"
:summary-method="getSummaries2"
:data="tableData20"
border
show-summary
highlight-current-row
stripe
style="margin: 3px 0"
height="350px"
size="mini"
@selection-change="handleSelectionChange">
<el-table-column :reserve-selection="true" type="selection" width="50" align="center"/>
<el-table-column label="采购单号" align="center" width="120">
<template slot-scope="scope">
{{ scope.row.采购单号 }}
</template>
</el-table-column>
<el-table-column label="物料编码" align="center" width="150">
<template slot-scope="scope">
{{ scope.row.物料零件编码 }}
</template>
</el-table-column>
<el-table-column label="零件名称" align="center" width="110px">
<template slot-scope="scope">
{{ scope.row.零件名称 }}
</template>
</el-table-column>
<el-table-column label="材料" align="center" width="90px">
<template slot-scope="scope">
{{ scope.row.材料 }}
</template>
</el-table-column>
<el-table-column label="备料数" align="center" width="65px">
<template slot-scope="scope">
{{ scope.row.采购数量 }}
</template>
</el-table-column>
<el-table-column label="已到数" align="center" width="65px">
<template slot-scope="scope">
{{ scope.row.到货数量 }}
</template>
</el-table-column>
<el-table-column label="到货件数" align="center" width="120px">
<template slot-scope="scope">
<el-input-number v-model="scope.row.未到货数量" :disabled="disable === '1'" :max="scope.row.采购数量-parseInt(scope.row.到货数量)" :step="1" :min="1" size="mini" style="width:100%" @change="saveData(scope.row)"/>
</template>
</el-table-column>
<el-table-column label="到货重量(KG)" align="center" width="150px" prop="到货重量">
<template slot-scope="scope">
<el-input-number v-model="scope.row.到货重量" :disabled="disable === '1'" :step="1" :min="0.00" size="mini" style="width:100%" @change="saveData(scope.row)"/>
</template>
</el-table-column>
<el-table-column label="成品尺寸(长、宽、高)" align="center" width="170px">
<template slot-scope="scope">
{{ scope.row.成品尺寸 }}
</template>
</el-table-column>
<!--<el-table-column label="单位" align="center" width="60px">-->
<!--<template slot-scope="scope">-->
<!--{{ scope.row.单位 ? scope.row.单位 : '-' }}-->
<!--</template>-->
<!--</el-table-column>-->
<el-table-column label="备注" align="center">
<template slot-scope="scope">
{{ scope.row.备注1 }}
</template>
</el-table-column>
</el-table>
</div> </div>
</el-row> </div>
</el-form> <div style="width: 79%;float: left;margin-left: 10px">
</el-dialog> <el-table
ref="multipleTable"
<!--<el-dialog v-el-drag-dialog :title="title1" :visible.sync="dialogVisible1" center style="min-height: 200px" width="430px">--> :row-key="getRowKeys"
<!--<el-form ref="form1" :model="form1" :rules="rules1" label-position="right" label-width="120px">--> :summary-method="getSummaries2"
<!--<el-row>--> :data="tableData20"
<!--<el-form-item v-show="title1==='添加到货明细'" label="材料" prop="CailiaoValue">--> border
<!--<el-input v-model="form1.CailiaoValue" size="small"/>--> show-summary
<!--</el-form-item>--> highlight-current-row
<!--</el-row>--> stripe
<!--<el-row>--> style="margin: 3px 0"
<!--<el-form-item label="数量" prop="数量">--> height="350px"
<!--<el-input-number v-model="form1.数量" :precision="2" :step="1" :min="0" size="medium" @change="Calculation"/>--> size="mini"
<!--</el-form-item>--> @selection-change="handleSelectionChange">
<!--</el-row>--> <el-table-column :reserve-selection="true" type="selection" width="50" align="center"/>
<!--<el-row>--> <el-table-column label="采购单号" align="center" width="120">
<!--<el-form-item label="单价" prop="单价">--> <template slot-scope="scope">
<!--<el-input-number v-model="form1.单价" :precision="2" :step="1" :min="0" size="medium" @change="Calculation"/>--> {{ scope.row.采购单号 }}
<!--</el-form-item>--> </template>
<!--</el-row>--> </el-table-column>
<!--<el-row>--> <el-table-column label="物料编码" align="center" width="150">
<!--<el-form-item label="单位" prop="单位">--> <template slot-scope="scope">
<!--<el-input v-model="form1.单位" size="small"/>--> {{ scope.row.物料零件编码 }}
<!--</el-form-item>--> </template>
<!--</el-row>--> </el-table-column>
<!--<el-row>--> <el-table-column label="零件名称" align="center" width="110px">
<!--<el-form-item label="金额" prop="金额">--> <template slot-scope="scope">
<!--<el-input-number v-model="form1.金额" :precision="2" :step="1" size="medium"/>--> {{ scope.row.零件名称 }}
<!--</el-form-item>--> </template>
<!--</el-row>--> </el-table-column>
<!--</el-form>--> <el-table-column label="材料" align="center" width="90px">
<!--<div slot="footer" class="dialog-footer">--> <template slot-scope="scope">
<!--<el-button--> {{ scope.row.材料 }}
<!--v-show="title1==='添加到货明细'"--> </template>
<!--type="warning"--> </el-table-column>
<!--size="small"--> <el-table-column label="备料数" align="center" width="65px">
<!--plain--> <template slot-scope="scope">
<!--icon="el-icon-check"--> {{ scope.row.采购数量 }}
<!--@click="submitAddArrivalOrderMX">保存</el-button>--> </template>
<!--<el-button--> </el-table-column>
<!--v-show="title1==='添加到货明细'"--> <el-table-column label="已到数" align="center" width="65px">
<!--type="primary"--> <template slot-scope="scope">
<!--plain--> {{ scope.row.到货数量 }}
<!--size="small"--> </template>
<!--icon="el-icon-check"--> </el-table-column>
<!--@click="submitAddArrivalOrderMX1">继续添加</el-button>--> <el-table-column label="到货件数" align="center" width="120px">
<!--<el-button--> <template slot-scope="scope">
<!--v-show="title1==='编辑到货明细'"--> <el-input-number v-model="scope.row.未到货数量" :disabled="disable === '1'" :max="scope.row.采购数量-parseInt(scope.row.到货数量)" :step="1" :min="1" size="mini" style="width:100%" @change="saveData(scope.row)"/>
<!--type="primary"--> </template>
<!--size="small"--> </el-table-column>
<!--icon="el-icon-check"--> <el-table-column label="到货重量(KG)" align="center" width="150px" prop="到货重量">
<!--@click="submitEditArrivalOrderMX">确定</el-button>--> <template slot-scope="scope">
<!--</div>--> <el-input-number v-model="scope.row.到货重量" :disabled="disable === '1'" :step="1" :min="0.00" size="mini" style="width:100%" @change="saveData(scope.row)"/>
<!--</el-dialog>--> </template>
</el-table-column>
<el-dialog v-el-drag-dialog :visible.sync="dialogVisible2" title="关联备料材料" center style="min-height: 550px" width="1400px"> <el-table-column label="成品尺寸(长、宽、高)" align="center" width="170px">
<span>计划类型</span> <template slot-scope="scope">
<el-select v-model="planType" placeholder="计划类型" size="small" style="width: 150px" filterable @change="searchTable20()"> {{ scope.row.成品尺寸 }}
<el-option </template>
v-for="item in planTypes" </el-table-column>
:key="item.value" <!--<el-table-column label="单位" align="center" width="60px">-->
:label="item.label" <!--<template slot-scope="scope">-->
:value="item.value"/> <!--{{ scope.row.单位 ? scope.row.单位 : '-' }}-->
</el-select> <!--</template>-->
<span>零件图号</span> <!--</el-table-column>-->
<el-input v-model="零件图号" style="width: 150px" size="small" clearable/> <el-table-column label="备注" align="center">
<el-button type="success" size="small" icon="el-icon-search" style="margin-left: 10px" @click="searchTable20()">查询</el-button> <template slot-scope="scope">
<span style="margin-left: 20px">未绑定重量:{{ 未绑定数量 }}KG</span> {{ scope.row.备注1 }}
<el-table </template>
ref="multipleTable" </el-table-column>
:row-key="getRowKeys" </el-table>
:summary-method="getSummaries3" </div>
:row-selection="{selectedRowKeys: selectedRowKeys}" </el-row>
:data="tableData20" </el-form>
border </el-dialog>
show-summary <el-dialog v-el-drag-dialog :visible.sync="dialogVisible2" title="关联备料材料" center style="min-height: 550px" width="1400px">
highlight-current-row <span>计划类型</span>
stripe <el-select v-model="planType" placeholder="计划类型" size="small" style="width: 150px" filterable @change="searchTable20()">
style="margin: 3px 0" <el-option
height="300px" v-for="item in planTypes"
size="mini" :key="item.value"
@selection-change="handleSelectionChange1"> :label="item.label"
<el-table-column :reserve-selection="mark" type="selection" width="50" align="center"/> :value="item.value"/>
<el-table-column label="采购单号" align="center" width="120"> </el-select>
<template slot-scope="scope"> <span>零件图号</span>
{{ scope.row.采购单号 }} <el-input v-model="零件图号" style="width: 150px" size="small" clearable/>
</template> <el-button type="success" size="small" icon="el-icon-search" style="margin-left: 10px" @click="searchTable20()">查询</el-button>
</el-table-column> <span style="margin-left: 20px">未绑定重量:{{ 未绑定数量 }}KG</span>
<el-table-column label="物料编码" align="center" width="150"> <el-table
<template slot-scope="scope"> ref="multipleTable"
{{ scope.row.物料零件编码 }} :row-key="getRowKeys"
</template> :summary-method="getSummaries3"
</el-table-column> :row-selection="{selectedRowKeys: selectedRowKeys}"
<el-table-column label="零件名称" align="center" width="90px"> :data="tableData20"
<template slot-scope="scope"> border
{{ scope.row.零件名称 }} show-summary
</template> highlight-current-row
</el-table-column> stripe
<el-table-column label="材料" align="center" width="70px"> style="margin: 3px 0"
<template slot-scope="scope"> height="300px"
{{ scope.row.材料 }} size="mini"
</template> @selection-change="handleSelectionChange1">
</el-table-column> <el-table-column :reserve-selection="mark" type="selection" width="50" align="center"/>
<el-table-column label="备料数" align="center" width="70px"> <el-table-column label="采购单号" align="center" width="120">
<template slot-scope="scope"> <template slot-scope="scope">
{{ scope.row.采购数量 }} {{ scope.row.采购单号 }}
</template> </template>
</el-table-column> </el-table-column>
<el-table-column label="已到数" align="center" width="70px"> <el-table-column label="物料编码" align="center" width="150">
<template slot-scope="scope"> <template slot-scope="scope">
{{ scope.row.到货数量 }} {{ scope.row.物料零件编码 }}
</template> </template>
</el-table-column> </el-table-column>
<el-table-column label="到货件数" align="center" width="120px"> <el-table-column label="零件名称" align="center" width="90px">
<template slot-scope="scope"> <template slot-scope="scope">
<el-input-number v-model="scope.row.未到货数量" :disabled="disable === '1'" :max="scope.row.采购数量-parseInt(scope.row.到货数量)" :step="1" :min="1" size="mini" style="width:95px" @change="saveData(scope.row)"/> {{ scope.row.零件名称 }}
</template> </template>
</el-table-column> </el-table-column>
<el-table-column label="到货重量(KG)" align="center" width="150px"> <el-table-column label="材料" align="center" width="70px">
<template slot-scope="scope"> <template slot-scope="scope">
<el-input-number v-model="scope.row.到货重量" :disabled="disable === '1'" :step="1" :min="0" size="mini" style="width:100%" @change="saveData(scope.row)"/> {{ scope.row.材料 }}
</template> </template>
</el-table-column> </el-table-column>
<el-table-column label="成品尺寸(长、宽、高)" align="center"> <el-table-column label="备料数" align="center" width="70px">
<template slot-scope="scope"> <template slot-scope="scope">
{{ scope.row.成品尺寸 }} {{ scope.row.采购数量 }}
</template> </template>
</el-table-column> </el-table-column>
<el-table-column label="单位" align="center" width="60px"> <el-table-column label="已到数" align="center" width="70px">
<template slot-scope="scope"> <template slot-scope="scope">
{{ scope.row.单位 ? scope.row.单位 : '-' }} {{ scope.row.到货数量 }}
</template> </template>
</el-table-column> </el-table-column>
<el-table-column label="备注" align="center"> <el-table-column label="到货件数" align="center" width="120px">
<template slot-scope="scope"> <template slot-scope="scope">
{{ scope.row.备注1 }} <el-input-number v-model="scope.row.未到货数量" :disabled="disable === '1'" :max="scope.row.采购数量-parseInt(scope.row.到货数量)" :step="1" :min="1" size="mini" style="width:95px" @change="saveData(scope.row)"/>
</template> </template>
</el-table-column> </el-table-column>
</el-table> <el-table-column label="到货重量(KG)" align="center" width="150px">
<div slot="footer" class="dialog-footer"> <template slot-scope="scope">
<el-button type="primary" size="small" icon="el-icon-download" style="margin-left: 10px" @click="addMateriel">关联备料材料</el-button> <el-input-number v-model="scope.row.到货重量" :disabled="disable === '1'" :step="1" :min="0" size="mini" style="width:100%" @change="saveData(scope.row)"/>
</div> </template>
</el-dialog> </el-table-column>
</div> <el-table-column label="成品尺寸(长、宽、高)" align="center">
<template slot-scope="scope">
{{ scope.row.成品尺寸 }}
</template>
</el-table-column>
<el-table-column label="单位" align="center" width="60px">
<template slot-scope="scope">
{{ scope.row.单位 ? scope.row.单位 : '-' }}
</template>
</el-table-column>
<el-table-column label="备注" align="center">
<template slot-scope="scope">
{{ scope.row.备注1 }}
</template>
</el-table-column>
</el-table>
<div slot="footer" class="dialog-footer">
<el-button v-positive="'loading'" :disabled="false" type="primary" size="small" icon="el-icon-download" style="margin-left: 10px" @click="addMateriel">关联备料材料</el-button>
</div>
</el-dialog>
</div> </div>
</div> </div>
</template> </template>

View File

@@ -64,7 +64,7 @@
<!--<el-tooltip :open-delay="1200" effect="dark" content="保存选中的采购计划单" placement="top">--> <!--<el-tooltip :open-delay="1200" effect="dark" content="保存选中的采购计划单" placement="top">-->
<!--<el-button type="baocun" size="small" icon="el-icon-download" style="margin-left: 10px" @click="saveMateriel">保存采购计划单</el-button>--> <!--<el-button type="baocun" size="small" icon="el-icon-download" style="margin-left: 10px" @click="saveMateriel">保存采购计划单</el-button>-->
<!--</el-tooltip>--> <!--</el-tooltip>-->
<el-button type="primary" size="small" plain icon="el-icon-download" style="margin-left: 10px" @click="submitAddMaterial">选入备料</el-button> <el-button v-positive="'loading'" :disabled="false" type="primary" size="small" plain icon="el-icon-download" style="margin-left: 10px" @click="submitAddMaterial">选入备料</el-button>
<!--slot="header"--> <!--slot="header"-->
<!--<el-input v-model="purchasingOrder" placeholder="采购计划单号" size="small" style="margin: 3px 0;width: 155px" clearable @keyup.enter.native="pageCurrent2=1;pageSize2=10;total2=0;searchTable2()"/>--> <!--<el-input v-model="purchasingOrder" placeholder="采购计划单号" size="small" style="margin: 3px 0;width: 155px" clearable @keyup.enter.native="pageCurrent2=1;pageSize2=10;total2=0;searchTable2()"/>-->
<el-input v-model="purchasingOrder" placeholder="离线备料单号" size="small" style="width: 160px;margin-top: 3px;margin-left: 20px" clearable/> <el-input v-model="purchasingOrder" placeholder="离线备料单号" size="small" style="width: 160px;margin-top: 3px;margin-left: 20px" clearable/>
@@ -251,14 +251,17 @@
</el-form> </el-form>
<div slot="footer" class="dialog-footer"> <div slot="footer" class="dialog-footer">
<el-button <el-button
v-positive="'loading'"
v-show="title2==='创建外购备料计划'" v-show="title2==='创建外购备料计划'"
:disabled="addPurchaseOrder_disable" :disabled="false"
type="primary" type="primary"
size="small" size="small"
icon="el-icon-check" icon="el-icon-check"
@click="submitAddPurchaseOrder">确定</el-button> @click="submitAddPurchaseOrder">确定</el-button>
<el-button <el-button
v-positive="'loading'"
v-show="title2==='编辑外购备料计划'" v-show="title2==='编辑外购备料计划'"
:disabled="false"
type="primary" type="primary"
size="small" size="small"
icon="el-icon-check" icon="el-icon-check"

View File

@@ -224,7 +224,7 @@
</el-form> </el-form>
<div slot="footer" class="dialog-footer"> <div slot="footer" class="dialog-footer">
<el-button size="small" @click="dialogVisible1 = false">取消</el-button> <el-button size="small" @click="dialogVisible1 = false">取消</el-button>
<el-button :disabled="addTable1_disable" size="small" type="primary" @click="submitAdd1('form1')">确定</el-button> <el-button v-positive="'loading'" :disabled="false" size="small" type="primary" @click="submitAdd1('form1')">确定</el-button>
</div> </div>
</el-dialog> </el-dialog>
@@ -254,7 +254,7 @@
</el-form> </el-form>
<div slot="footer" class="dialog-footer"> <div slot="footer" class="dialog-footer">
<el-button size="small" @click="dialogVisible2 = false">取消</el-button> <el-button size="small" @click="dialogVisible2 = false">取消</el-button>
<el-button size="small" type="primary" @click="submitEdit1('form1')">确定</el-button> <el-button v-positive="'loading'" :disabled="false" size="small" type="primary" @click="submitEdit1('form1')">确定</el-button>
</div> </div>
</el-dialog> </el-dialog>
@@ -278,7 +278,7 @@
</el-table-column> </el-table-column>
</el-table> </el-table>
<span>合计<el-input v-positive="'float'" v-model="SUM" size="mini" type="number" style="width: 80px; margin: 10px 10px 0 10px" @change="Keeptwodecimalplaces"/></span> <span>合计<el-input v-positive="'float'" v-model="SUM" size="mini" type="number" style="width: 80px; margin: 10px 10px 0 10px" @change="Keeptwodecimalplaces"/></span>
<el-button :disabled="aboutArrival_disable" type="primary" size="small" icon="el-icon-download" style="float:right;margin: 10px 10px 0 10px" @click="addMateriel">货票关联</el-button> <el-button v-positive="'loading'" :disabled="false" type="primary" size="small" icon="el-icon-download" style="float:right;margin: 10px 10px 0 10px" @click="addMateriel">货票关联</el-button>
</el-dialog> </el-dialog>
</div> </div>
</template> </template>

View File

@@ -31,7 +31,7 @@
start-placeholder="开始日期" start-placeholder="开始日期"
end-placeholder="结束日期"/> end-placeholder="结束日期"/>
<el-button icon="el-icon-search" type="primary" plain size="small" style="margin-left: 10px" @click="pageCurrent = 1;pageSize = 100;getTableData()">查询</el-button> <el-button icon="el-icon-search" type="primary" plain size="small" style="margin-left: 10px" @click="pageCurrent = 1;pageSize = 100;getTableData()">查询</el-button>
<el-button type="success" plain icon="el-icon-download" size="small" @click="exportExcel()">导出</el-button> <el-button v-positive="'loading'" :disabled="false" type="success" plain icon="el-icon-download" size="small" @click="exportExcel()">导出</el-button>
</div> </div>
</el-card> </el-card>
<el-card style="width: 100%"> <el-card style="width: 100%">

View File

@@ -35,7 +35,7 @@
:value="item.value"/> :value="item.value"/>
</el-select> </el-select>
<el-button type="primary" size="small" plain icon="el-icon-search" @click="total1=0;pageCurrent1=1;pageSize1=20;searchTable1()">查询</el-button> <el-button type="primary" size="small" plain icon="el-icon-search" @click="total1=0;pageCurrent1=1;pageSize1=20;searchTable1()">查询</el-button>
<el-button type="primary" size="small" plain icon="el-icon-download" @click="exportExcel()">导出合同报表</el-button> <el-button v-positive="'loading'" :disabled="false" type="primary" size="small" plain icon="el-icon-download" @click="exportExcel()">导出合同报表</el-button>
</el-row> </el-row>
</el-card> </el-card>

View File

@@ -9,20 +9,8 @@
:label="item.label" :label="item.label"
:value="item.value"/> :value="item.value"/>
</el-select> </el-select>
<el-button <el-button type="primary" size="small" plain icon="el-icon-search" style="margin-left:10px" @click="searchTable1()">查询</el-button>
type="primary" <el-button v-positive="'loading'" :disabled="false" type="primary" size="small" plain icon="el-icon-download" style="margin-left:10px" @click="exportExcel()">导出</el-button>
size="small"
plain
icon="el-icon-search"
style="margin-left:10px"
@click="searchTable1()">查询</el-button>
<el-button
type="primary"
size="small"
plain
icon="el-icon-download"
style="margin-left:10px"
@click="exportExcel()">导出</el-button>
</el-card> </el-card>
<el-card style="width: 800px"> <el-card style="width: 800px">
<el-table v-loading="" :data="tableData2" :summary-method="getSummaries1" show-summary border style="width: 100%;max-height: 700px;" height="700px"> <el-table v-loading="" :data="tableData2" :summary-method="getSummaries1" show-summary border style="width: 100%;max-height: 700px;" height="700px">

View File

@@ -22,13 +22,7 @@
:label="item.label" :label="item.label"
:value="item.value"/> :value="item.value"/>
</el-select> </el-select>
<el-button <el-button type="primary" size="small" plain icon="el-icon-search" style="margin-left: 10px" @click="pageCurrent1=1;pageSize1=30;total1=0;searchTable1()">查询</el-button>
type="primary"
size="small"
plain
icon="el-icon-search"
style="margin-left: 10px"
@click="pageCurrent1=1;pageSize1=30;total1=0;searchTable1()">查询</el-button>
<el-button type="distribution" size="small" icon="el-icon-goods" style="" @click="requestFund">请款</el-button> <el-button type="distribution" size="small" icon="el-icon-goods" style="" @click="requestFund">请款</el-button>
</el-card> </el-card>
<el-row> <el-row>

View File

@@ -156,37 +156,37 @@
<!--</el-table-column>--> <!--</el-table-column>-->
</el-table> </el-table>
</el-card> </el-card>
<el-dialog v-el-drag-dialog :visible.sync="dialogVisible2" title="外购备料请款" center style="min-height: 300px" width="800px">
<span>供应商:</span>
<el-select v-model="supplierValue" placeholder="供应商" filterable size="small" clearable @change="pageCurrent1=1;pageSize1=10;total1=0;searchTable01()">
<el-option
v-for="item in supplier"
:key="item.value"
:label="item.label"
:value="item.value"/>
</el-select>
<el-table v-loading="" :data="tableData01" border stripe highlight-current-row style="max-height: 300px;" height="300px" size="mini" @selection-change="handleSelectionChange">
<el-table-column type="selection" align="center" width="50"/>
<el-table-column label="发票号" align="center" min-width="120">
<template slot-scope="scope">
{{ scope.row.发票号 }}
</template>
</el-table-column>
<el-table-column label="到票金额" align="center" min-width="70">
<template slot-scope="scope">
{{ Number(scope.row.开票金额).toFixed(2) }}
</template>
</el-table-column>
<el-table-column label="到票时间" align="center" min-width="70">
<template slot-scope="scope">
{{ scope.row.开票时间 | formatTime }}
</template>
</el-table-column>
</el-table>
<span>合计:<el-input v-model="SUM" size="mini" style="width: 90px; margin: 10px 10px 0 10px"/>元</span>
<el-button :disabled="requestFund_disable" type="primary" size="small" style="float:right;margin: 10px 10px 0 10px" icon="el-icon-check" @click="submitRequestFund">提交请款审批</el-button>
</el-dialog>
</div> </div>
<el-dialog v-el-drag-dialog :visible.sync="dialogVisible2" title="外购备料请款" center style="min-height: 300px" width="800px">
<span>供应商:</span>
<el-select v-model="supplierValue" placeholder="供应商" filterable size="small" clearable @change="pageCurrent1=1;pageSize1=10;total1=0;searchTable01()">
<el-option
v-for="item in supplier"
:key="item.value"
:label="item.label"
:value="item.value"/>
</el-select>
<el-table v-loading="" :data="tableData01" border stripe highlight-current-row style="max-height: 300px;" height="300px" size="mini" @selection-change="handleSelectionChange">
<el-table-column type="selection" align="center" width="50"/>
<el-table-column label="发票号" align="center" min-width="120">
<template slot-scope="scope">
{{ scope.row.发票号 }}
</template>
</el-table-column>
<el-table-column label="到票金额" align="center" min-width="70">
<template slot-scope="scope">
{{ Number(scope.row.开票金额).toFixed(2) }}
</template>
</el-table-column>
<el-table-column label="到票时间" align="center" min-width="70">
<template slot-scope="scope">
{{ scope.row.开票时间 | formatTime }}
</template>
</el-table-column>
</el-table>
<span>合计:<el-input v-model="SUM" size="mini" style="width: 90px; margin: 10px 10px 0 10px"/>元</span>
<el-button :disabled="requestFund_disable" type="primary" size="small" style="float:right;margin: 10px 10px 0 10px" icon="el-icon-check" @click="submitRequestFund">提交请款审批</el-button>
</el-dialog>
</div> </div>
</div> </div>
</template> </template>