Commit ee4bd9b2 authored by 仇晓婷's avatar 仇晓婷

Merge branch 'product' of http://git.mes123.com/zhouyx/mes-ui into product

parents 7f4784df 27770b8e
...@@ -4938,7 +4938,7 @@ ...@@ -4938,7 +4938,7 @@
"dependencies": { "dependencies": {
"commander": { "commander": {
"version": "2.14.1", "version": "2.14.1",
"resolved": "https://registry.npm.taobao.org/commander/download/commander-2.14.1.tgz?cache=0&sync_timestamp=1595168224685&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2Fcommander%2Fdownload%2Fcommander-2.14.1.tgz", "resolved": "http://r.cnpmjs.org/commander/download/commander-2.14.1.tgz",
"integrity": "sha1-IjUSPjevjKPGXfRbAm29NXsBuao=" "integrity": "sha1-IjUSPjevjKPGXfRbAm29NXsBuao="
} }
} }
...@@ -5467,7 +5467,7 @@ ...@@ -5467,7 +5467,7 @@
}, },
"crc-32": { "crc-32": {
"version": "1.2.0", "version": "1.2.0",
"resolved": "https://registry.npm.taobao.org/crc-32/download/crc-32-1.2.0.tgz", "resolved": "http://r.cnpmjs.org/crc-32/download/crc-32-1.2.0.tgz",
"integrity": "sha1-yy224puIUI4y2d0OwWk+e0Ghggg=", "integrity": "sha1-yy224puIUI4y2d0OwWk+e0Ghggg=",
"requires": { "requires": {
"exit-on-epipe": "~1.0.1", "exit-on-epipe": "~1.0.1",
...@@ -6338,11 +6338,11 @@ ...@@ -6338,11 +6338,11 @@
} }
}, },
"echarts": { "echarts": {
"version": "4.8.0", "version": "4.9.0",
"resolved": "https://registry.npm.taobao.org/echarts/download/echarts-4.8.0.tgz", "resolved": "https://registry.npm.taobao.org/echarts/download/echarts-4.9.0.tgz?cache=0&sync_timestamp=1598587691066&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2Fecharts%2Fdownload%2Fecharts-4.9.0.tgz",
"integrity": "sha1-ssHPuSKbE9No7hBPyO6mALV01MQ=", "integrity": "sha1-qbm6oD8Doqcx5jQMVb77V6nhNH0=",
"requires": { "requires": {
"zrender": "4.3.1" "zrender": "4.3.2"
} }
}, },
"echarts-liquidfill": { "echarts-liquidfill": {
...@@ -7364,7 +7364,7 @@ ...@@ -7364,7 +7364,7 @@
}, },
"exit-on-epipe": { "exit-on-epipe": {
"version": "1.0.1", "version": "1.0.1",
"resolved": "https://registry.npm.taobao.org/exit-on-epipe/download/exit-on-epipe-1.0.1.tgz", "resolved": "http://r.cnpmjs.org/exit-on-epipe/download/exit-on-epipe-1.0.1.tgz",
"integrity": "sha1-C92S6H1ShdJn2qgXHQ6wYVlolpI=" "integrity": "sha1-C92S6H1ShdJn2qgXHQ6wYVlolpI="
}, },
"expand-brackets": { "expand-brackets": {
...@@ -8015,7 +8015,7 @@ ...@@ -8015,7 +8015,7 @@
}, },
"frac": { "frac": {
"version": "1.1.2", "version": "1.1.2",
"resolved": "https://registry.npm.taobao.org/frac/download/frac-1.1.2.tgz", "resolved": "http://r.cnpmjs.org/frac/download/frac-1.1.2.tgz",
"integrity": "sha1-PXT39keMiKG1AgMG10fcYxPHTQs=" "integrity": "sha1-PXT39keMiKG1AgMG10fcYxPHTQs="
}, },
"fragment-cache": { "fragment-cache": {
...@@ -15087,7 +15087,7 @@ ...@@ -15087,7 +15087,7 @@
}, },
"printj": { "printj": {
"version": "1.1.2", "version": "1.1.2",
"resolved": "https://registry.npm.taobao.org/printj/download/printj-1.1.2.tgz", "resolved": "http://r.cnpmjs.org/printj/download/printj-1.1.2.tgz",
"integrity": "sha1-2Q3rKXWoufYA+zoclOP0xTx4oiI=" "integrity": "sha1-2Q3rKXWoufYA+zoclOP0xTx4oiI="
}, },
"private": { "private": {
...@@ -20540,7 +20540,7 @@ ...@@ -20540,7 +20540,7 @@
}, },
"script-loader": { "script-loader": {
"version": "0.7.2", "version": "0.7.2",
"resolved": "https://registry.npm.taobao.org/script-loader/download/script-loader-0.7.2.tgz", "resolved": "http://r.cnpmjs.org/script-loader/download/script-loader-0.7.2.tgz",
"integrity": "sha1-IBbbb4byX1z1baOJFdgzeLsWa6c=", "integrity": "sha1-IBbbb4byX1z1baOJFdgzeLsWa6c=",
"dev": true, "dev": true,
"requires": { "requires": {
...@@ -21128,7 +21128,7 @@ ...@@ -21128,7 +21128,7 @@
}, },
"ssf": { "ssf": {
"version": "0.10.3", "version": "0.10.3",
"resolved": "https://registry.npm.taobao.org/ssf/download/ssf-0.10.3.tgz", "resolved": "http://r.cnpmjs.org/ssf/download/ssf-0.10.3.tgz",
"integrity": "sha1-jq4fwpyQpVLnkhII+BiS1vd6yys=", "integrity": "sha1-jq4fwpyQpVLnkhII+BiS1vd6yys=",
"requires": { "requires": {
"frac": "~1.1.2" "frac": "~1.1.2"
...@@ -23778,7 +23778,7 @@ ...@@ -23778,7 +23778,7 @@
}, },
"wmf": { "wmf": {
"version": "1.0.2", "version": "1.0.2",
"resolved": "https://registry.npm.taobao.org/wmf/download/wmf-1.0.2.tgz", "resolved": "http://r.cnpmjs.org/wmf/download/wmf-1.0.2.tgz",
"integrity": "sha1-fRnWIQcaCMK9xrfmiKnENSmMwto=" "integrity": "sha1-fRnWIQcaCMK9xrfmiKnENSmMwto="
}, },
"word-wrap": { "word-wrap": {
...@@ -23933,7 +23933,7 @@ ...@@ -23933,7 +23933,7 @@
}, },
"xlsx": { "xlsx": {
"version": "0.15.6", "version": "0.15.6",
"resolved": "https://registry.npm.taobao.org/xlsx/download/xlsx-0.15.6.tgz?cache=0&sync_timestamp=1597272342311&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2Fxlsx%2Fdownload%2Fxlsx-0.15.6.tgz", "resolved": "http://r.cnpmjs.org/xlsx/download/xlsx-0.15.6.tgz",
"integrity": "sha1-Rh+EHW2eoag3XizSRr8jrs4IodU=", "integrity": "sha1-Rh+EHW2eoag3XizSRr8jrs4IodU=",
"requires": { "requires": {
"adler-32": "~1.2.0", "adler-32": "~1.2.0",
...@@ -23948,7 +23948,7 @@ ...@@ -23948,7 +23948,7 @@
"dependencies": { "dependencies": {
"commander": { "commander": {
"version": "2.17.1", "version": "2.17.1",
"resolved": "https://registry.npm.taobao.org/commander/download/commander-2.17.1.tgz?cache=0&sync_timestamp=1595168224685&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2Fcommander%2Fdownload%2Fcommander-2.17.1.tgz", "resolved": "http://r.cnpmjs.org/commander/download/commander-2.17.1.tgz",
"integrity": "sha1-vXerfebelCBc6sxy8XFtKfIKd78=" "integrity": "sha1-vXerfebelCBc6sxy8XFtKfIKd78="
} }
} }
...@@ -24117,9 +24117,9 @@ ...@@ -24117,9 +24117,9 @@
} }
}, },
"zrender": { "zrender": {
"version": "4.3.1", "version": "4.3.2",
"resolved": "https://registry.npm.taobao.org/zrender/download/zrender-4.3.1.tgz?cache=0&sync_timestamp=1597683748542&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2Fzrender%2Fdownload%2Fzrender-4.3.1.tgz", "resolved": "https://registry.npm.taobao.org/zrender/download/zrender-4.3.2.tgz?cache=0&sync_timestamp=1597683748542&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2Fzrender%2Fdownload%2Fzrender-4.3.2.tgz",
"integrity": "sha1-uviqbcgYei+BlpLX1fm+36K5D6M=" "integrity": "sha1-7HQy+UFcgsc1hLa3uMR+GwFiCcY="
} }
} }
} }
...@@ -19,7 +19,7 @@ ...@@ -19,7 +19,7 @@
"better-scroll": "^1.12.1", "better-scroll": "^1.12.1",
"cross-env": "^5.2.0", "cross-env": "^5.2.0",
"dayjs": "^1.8.27", "dayjs": "^1.8.27",
"echarts": "^4.8.0", "echarts": "^4.9.0",
"echarts-liquidfill": "^2.0.5", "echarts-liquidfill": "^2.0.5",
"file-saver": "^2.0.2", "file-saver": "^2.0.2",
"gantt-elastic": "^1.0.11", "gantt-elastic": "^1.0.11",
......
...@@ -36,7 +36,7 @@ export default { ...@@ -36,7 +36,7 @@ export default {
}, },
//10010修改密码 //10010修改密码
authChangepassword(params) { authChangepassword(params) {
return Api.post(`${authUrl}/api/services/app/useraccount/changepassword`, params); return Api.post(`${UserUrl}/api/services/app/account/changepassword`, params);
}, },
//在10020上更新用户AccountId信息 //在10020上更新用户AccountId信息
updateAccount(params) { updateAccount(params) {
......
...@@ -24,7 +24,7 @@ ...@@ -24,7 +24,7 @@
</div> </div>
<Content class="content" :class="!showMenu?'con_bord':''"> <Content class="content" :class="!showMenu?'con_bord':''">
<!--:data="dataT"--> <!--:data="dataT"-->
<DataGrid :action="action" :columns="columns" :conditions="easySearch" ref="grid" @on-selection-change="onSelect" :batch="true" :border="false" rowKey="id" exportTitle="订单管理" @on-import-data="onImportData"> <DataGrid :action="action" :columns="columns" :conditions="easySearch" ref="grid" @on-selection-change="onSelect" :batch="true" :border="false" rowKey="id">
<template slot="easySearch"> <template slot="easySearch">
<Form ref="formInline" :model="easySearch" inline> <Form ref="formInline" :model="easySearch" inline>
<FormItem prop="keys"> <FormItem prop="keys">
...@@ -376,7 +376,7 @@ export default { ...@@ -376,7 +376,7 @@ export default {
h( h(
"op", { "op", {
attrs: { attrs: {
oprate: "remove" // oprate: "delete"
}, },
on: { on: {
click: () => this.remove(params.row) click: () => this.remove(params.row)
...@@ -389,14 +389,14 @@ export default { ...@@ -389,14 +389,14 @@ export default {
params.row.id != params.row.rootId || params.row.id != params.row.rootId ||
params.row.status != 1 ? params.row.status != 1 ?
"display:none" : "display:none" :
"") : ( "color:red") : (
(params.row.status == 3 && (params.row.status == 3 &&
params.row.id == params.row.rootId && params.row.id == params.row.rootId &&
params.row.divideMark != 0) || params.row.divideMark != 0) ||
params.row.id != params.row.rootId || params.row.id != params.row.rootId ||
params.row.status != 3 ? params.row.status != 3 ?
"display:none" : "display:none" :
"") "color:red")
}, },
"删除" "删除"
), ),
...@@ -770,7 +770,7 @@ export default { ...@@ -770,7 +770,7 @@ export default {
this.delMsg = ""; this.delMsg = "";
this.delNum = 0; this.delNum = 0;
this.actIds = []; this.actIds = [];
this.$refs.grid.cancelFooterToolbar(); //this.$refs.grid.cancelFooterToolbar();
this.actIds.push(row.id); this.actIds.push(row.id);
if (row.id != row.rootId) { if (row.id != row.rootId) {
this.sondeletecheck(row.rootId); this.sondeletecheck(row.rootId);
......
<template> <template>
<Layout class="quotation"> <Layout class="quotation">
<!-- 左侧树 --> <!-- 左侧树 -->
<!-- <Sider hide-trigger :style="{background: '#fff'}" width="260"> <!-- <Sider hide-trigger :style="{background: '#fff'}" width="260">
<Tree-Type @func="getMsgFormSon" :style="{ height: treeHeight + 'px' }"></Tree-Type> <Tree-Type @func="getMsgFormSon" :style="{ height: treeHeight + 'px' }"></Tree-Type>
...@@ -19,14 +19,7 @@ ...@@ -19,14 +19,7 @@
<div class="search-form"> <div class="search-form">
<Row> <Row>
<Col span="12" style="display: flex;"> <Col span="12" style="display: flex;">
<Input <Input search v-model="mesCode" enter-button placeholder="订单编号、产品编码..." @on-search="easySearch(mesCode)" style="width:235px;flaot:left;" />
search
v-model="mesCode"
enter-button
placeholder="订单编号、产品编码..."
@on-search="easySearch(mesCode)"
style="width:235px;flaot:left;"
/>
<Button @click="advancedSearch" type="primary" style="margin-left:8px;">高级搜索</Button> <Button @click="advancedSearch" type="primary" style="margin-left:8px;">高级搜索</Button>
</Col> </Col>
<Col span="12" style=" text-align: right;"> <Col span="12" style=" text-align: right;">
...@@ -38,52 +31,17 @@ ...@@ -38,52 +31,17 @@
</Row> </Row>
</div> </div>
<div style="margin-top:10px;"> <div style="margin-top:10px;">
<Table <Table border highlight-row ref="selection" :columns="newColumn" :data="dataTable" :loading="loading" :height="tableHeight" class="tableCommon" @on-selection-change="selectInfo"></Table>
border
highlight-row
ref="selection"
:columns="newColumn"
:data="dataTable"
:loading="loading"
:height="tableHeight"
class="tableCommon"
@on-selection-change="selectInfo"
></Table>
</div> </div>
</TabPane> </TabPane>
<TabPane label="报价记录" key="record" name="record"> <TabPane label="报价记录" key="record" name="record">
<Input <Input search enter-button placeholder="订单编号、报价单编号..." v-model="mesCodeT" @on-search="jlSearch(mesCodeT)" style="width:235px;flaot:left;" />
search
enter-button
placeholder="订单编号、报价单编号..."
v-model="mesCodeT"
@on-search="jlSearch(mesCodeT)"
style="width:235px;flaot:left;"
/>
<div style="margin-top:10px;"> <div style="margin-top:10px;">
<Table <Table border ref="selection" :columns="recordColumn" :data="recordTable" :loading="loading" class="tableCommon" :height="tableHeight"></Table>
border
ref="selection"
:columns="recordColumn"
:data="recordTable"
:loading="loading"
class="tableCommon"
:height="tableHeight"
></Table>
</div> </div>
</TabPane> </TabPane>
</Tabs> </Tabs>
<Page <Page style="margin-top:10px;" show-elevator show-sizer :total="total" :page-size-opts="showPagesize" :page-size="pageSize" :current="current" @on-change="pageChange" @on-page-size-change="pageSizeChange" />
style="margin-top:10px;"
show-elevator
show-sizer
:total="total"
:page-size-opts="showPagesize"
:page-size="pageSize"
:current="current"
@on-change="pageChange"
@on-page-size-change="pageSizeChange"
/>
</Content> </Content>
<!-- 待审核弹框 --> <!-- 待审核弹框 -->
<Modal v-model="modalDai" width="360" :mask-closable="false" title="待审核"> <Modal v-model="modalDai" width="360" :mask-closable="false" title="待审核">
...@@ -95,12 +53,7 @@ ...@@ -95,12 +53,7 @@
</RadioGroup> </RadioGroup>
</FormItem> </FormItem>
<FormItem label="备注"> <FormItem label="备注">
<Input <Input v-model="formItem.auditIdea" type="textarea" :autosize="{ minRows: 2, maxRows: 5 }" placeholder="Enter something..."></Input>
v-model="formItem.auditIdea"
type="textarea"
:autosize="{ minRows: 2, maxRows: 5 }"
placeholder="Enter something..."
></Input>
</FormItem> </FormItem>
</Form> </Form>
<div slot="footer"> <div slot="footer">
...@@ -118,13 +71,7 @@ ...@@ -118,13 +71,7 @@
</div> </div>
</Modal> </Modal>
<!-- 列设置抽屉 --> <!-- 列设置抽屉 -->
<Drawer-Set <Drawer-Set :isShow="drawerShow" :tcolumn="column" :newColumn="newColumn" @close="drawerShow = false" @updateCol="updateColumn"></Drawer-Set>
:isShow="drawerShow"
:tcolumn="column"
:newColumn="newColumn"
@close="drawerShow = false"
@updateCol="updateColumn"
></Drawer-Set>
<!-- 高级搜索弹框 --> <!-- 高级搜索弹框 -->
<Search-Box ref="searchBox" @heightSearch="gSearch"></Search-Box> <Search-Box ref="searchBox" @heightSearch="gSearch"></Search-Box>
<!-- 订单报价 --> <!-- 订单报价 -->
...@@ -134,17 +81,9 @@ ...@@ -134,17 +81,9 @@
<Metal-Details ref="metalDetail" :resultDetils="resultDetils"></Metal-Details> <Metal-Details ref="metalDetail" :resultDetils="resultDetils"></Metal-Details>
<Photosensitive-Details ref="photosensitiveDetail" :resultDetils="resultDetils"></Photosensitive-Details> <Photosensitive-Details ref="photosensitiveDetail" :resultDetils="resultDetils"></Photosensitive-Details>
<!-- 报价记录里送审 --> <!-- 报价记录里送审 -->
<MetalQuotation-Generation <MetalQuotation-Generation ref="metalQuotationExamine" :childData="zPhotosensitive" @update="update"></MetalQuotation-Generation>
ref="metalQuotationExamine" <Photosensitive-Generation ref="photosensitiveExamine" :childData="zPhotosensitive" @update="update"></Photosensitive-Generation>
:childData="zPhotosensitive" </Layout>
@update="update"
></MetalQuotation-Generation>
<Photosensitive-Generation
ref="photosensitiveExamine"
:childData="zPhotosensitive"
@update="update"
></Photosensitive-Generation>
</Layout>
</template> </template>
<script> <script>
...@@ -217,8 +156,12 @@ export default { ...@@ -217,8 +156,12 @@ export default {
drawerShow: false, drawerShow: false,
newColumn: [], //订单报价 newColumn: [], //订单报价
tableHeight: "", tableHeight: "",
column: [ column: [{
{ type: "selection", width: 70, align: "center", fixed: "left" }, type: "selection",
width: 70,
align: "center",
fixed: "left"
},
{ {
title: "序号", title: "序号",
type: "index", type: "index",
...@@ -233,7 +176,12 @@ export default { ...@@ -233,7 +176,12 @@ export default {
align: "center", align: "center",
fixed: "left" fixed: "left"
}, },
{ title: "产品名称", key: "productName", width: 120, fixed: "left" }, {
title: "产品名称",
key: "productName",
width: 120,
fixed: "left"
},
{ {
title: "报价状态", title: "报价状态",
key: "orderQuotationStatus", key: "orderQuotationStatus",
...@@ -302,12 +250,17 @@ export default { ...@@ -302,12 +250,17 @@ export default {
props: { props: {
code: "plan.order.material", code: "plan.order.material",
type: "text", type: "text",
value: params.row.materialId + "" value: params.row.materialId ? (params.row.materialId + "") : ""
} }
}); });
} }
}, },
{ title: "数量", key: "quantity", minWidth: 80, align: "right" }, {
title: "数量",
key: "quantity",
minWidth: 80,
align: "right"
},
{ {
title: "甲方客户", title: "甲方客户",
key: "guestName", key: "guestName",
...@@ -337,7 +290,11 @@ export default { ...@@ -337,7 +290,11 @@ export default {
}); });
} }
}, },
{ title: "厂内责任机关", key: "functionaryOffice", width: 140 }, {
title: "厂内责任机关",
key: "functionaryOffice",
width: 140
},
{ {
title: "厂内主体责任部门", title: "厂内主体责任部门",
key: "mainDepartmentId", key: "mainDepartmentId",
...@@ -352,14 +309,23 @@ export default { ...@@ -352,14 +309,23 @@ export default {
}); });
} }
}, },
{ title: "备注", key: "remark", width: 120, tooltip: true }, {
title: "备注",
key: "remark",
width: 120,
tooltip: true
},
{ {
title: "任务输入日期", title: "任务输入日期",
key: "taskInputDate", key: "taskInputDate",
width: 180, width: 180,
align: "center" align: "center"
}, },
{ title: "任务节点要求", key: "taskRequire", width: 150 }, {
title: "任务节点要求",
key: "taskRequire",
width: 150
},
{ {
title: "甲方投产输入文件(编号)", title: "甲方投产输入文件(编号)",
key: "putintDocmentCode", key: "putintDocmentCode",
...@@ -370,12 +336,36 @@ export default { ...@@ -370,12 +336,36 @@ export default {
key: "technologyDocmentCode", key: "technologyDocmentCode",
width: 220 width: 220
}, },
{ title: "外部图号/模型号", key: "outerDrawnNumber", width: 180 }, {
{ title: "模型版本", key: "modelVersion", width: 120 }, title: "外部图号/模型号",
{ title: "甲方任务号", key: "taskCode", width: 120 }, key: "outerDrawnNumber",
{ title: "甲方设计人员", key: "designer", width: 150 }, width: 180
{ title: "厂内机关负责人", key: "officeFunctionary", width: 150 }, },
{ title: "厂内主工艺人员", key: "mainRoutingPeople", width: 150 } {
title: "模型版本",
key: "modelVersion",
width: 120
},
{
title: "甲方任务号",
key: "taskCode",
width: 120
},
{
title: "甲方设计人员",
key: "designer",
width: 150
},
{
title: "厂内机关负责人",
key: "officeFunctionary",
width: 150
},
{
title: "厂内主工艺人员",
key: "mainRoutingPeople",
width: 150
}
], ],
dataTable: [] dataTable: []
}; };
...@@ -395,7 +385,10 @@ export default { ...@@ -395,7 +385,10 @@ export default {
} }
}); });
}, },
async fetch({ store, params }) { async fetch({
store,
params
}) {
await store.dispatch("loadDictionary"); // 加载数据字典 await store.dispatch("loadDictionary"); // 加载数据字典
}, },
mounted() { mounted() {
...@@ -490,12 +483,16 @@ export default { ...@@ -490,12 +483,16 @@ export default {
} }
}); });
this.dataTable = res.result.items; this.dataTable = res.result.items;
this.materialId = res.result.items[0].materialId; try {
this.materialId = res.result.items[0].materialId
} catch (err) {
this.materialId = null
}
}); });
} }
if (this.selectName == "record") { if (this.selectName == "record") {
this.recordColumn = [ this.recordColumn = [{
{
type: "index", type: "index",
width: 65, width: 65,
title: "序号", title: "序号",
...@@ -508,8 +505,7 @@ export default { ...@@ -508,8 +505,7 @@ export default {
render: (h, params) => render: (h, params) =>
h("div", [ h("div", [
h( h(
"a", "a", {
{
on: { on: {
click: () => { click: () => {
this.infoDetail(params.row); this.infoDetail(params.row);
...@@ -561,8 +557,7 @@ export default { ...@@ -561,8 +557,7 @@ export default {
}, },
render: (h, params) => { render: (h, params) => {
return h( return h(
"a", "a", {
{
// on: { // on: {
// click: () => { // click: () => {
// this.statusData(params.row) // this.statusData(params.row)
...@@ -592,14 +587,15 @@ export default { ...@@ -592,14 +587,15 @@ export default {
width: 150, width: 150,
align: "center", align: "center",
render: (h, params) => { render: (h, params) => {
return h("div", { class: "action" }, [ return h("div", {
class: "action"
}, [
h( h(
params.row.status === 3 || params.row.status === 4 params.row.status === 3 || params.row.status === 4 ?
? "op" "op" :
: params.row.status === 1 params.row.status === 1 ?
? "op" "op" :
: "", "", {
{
attrs: { attrs: {
oprate: "detail" oprate: "detail"
}, },
...@@ -614,11 +610,11 @@ export default { ...@@ -614,11 +610,11 @@ export default {
} }
}, },
(params.row.status === 3 || params.row.status === 4) && (params.row.status === 3 || params.row.status === 4) &&
!params.row.upCode !params.row.upCode ?
? "重新报价" "重新报价" :
: params.row.status === 1 && this.status == 0 params.row.status === 1 && this.status == 0 ?
? "送审" "送审" :
: "" ""
) )
]); ]);
} }
...@@ -855,5 +851,3 @@ export default { ...@@ -855,5 +851,3 @@ export default {
} }
}; };
</script> </script>
<template> <template>
<div class="train"> <div class="train">
<Row :gutter="16" style="margin-bottom:10px"> <Row :gutter="16" style="margin-bottom:10px">
<Col span="4"> <Col span="4">
<Input v-model="keys" search placeholder="请输入车辆编号" clearable /> <Input v-model="keys" search placeholder="请输入车辆编号" clearable />
...@@ -35,24 +35,14 @@ ...@@ -35,24 +35,14 @@
</Select> </Select>
</FormItem> </FormItem>
<FormItem label="出厂时间"> <FormItem label="出厂时间">
<DatePicker <DatePicker type="date" placeholder="Select startTime" v-model="formItem.startTime" style="width: 408px"></DatePicker>
type="date"
placeholder="Select startTime"
v-model="formItem.startTime"
style="width: 408px"
></DatePicker>
</FormItem> </FormItem>
<FormItem label="配属时间"> <FormItem label="配属时间">
<DatePicker <DatePicker type="date" placeholder="Select startTime" v-model="formItem.a1" style="width: 408px"></DatePicker>
type="date"
placeholder="Select startTime"
v-model="formItem.a1"
style="width: 408px"
></DatePicker>
</FormItem> </FormItem>
</Form> </Form>
</Modal> </Modal>
</div> </div>
</template> </template>
<script> <script>
...@@ -75,8 +65,7 @@ export default { ...@@ -75,8 +65,7 @@ export default {
}, },
modal: false, modal: false,
modal1: false, modal1: false,
columns: [ columns: [{
{
title: "序号", title: "序号",
type: "index", type: "index",
width: 60, width: 60,
...@@ -114,8 +103,7 @@ export default { ...@@ -114,8 +103,7 @@ export default {
render: (h, params) => { render: (h, params) => {
return h("div", [ return h("div", [
h( h(
"op", "op", {
{
props: { props: {
type: "detail", type: "detail",
size: "small", size: "small",
...@@ -132,8 +120,7 @@ export default { ...@@ -132,8 +120,7 @@ export default {
"编辑" "编辑"
), ),
h( h(
"op", "op", {
{
props: { props: {
type: "detail", type: "detail",
size: "small", size: "small",
...@@ -153,8 +140,7 @@ export default { ...@@ -153,8 +140,7 @@ export default {
}, },
}, },
], ],
data: [ data: [{
{
name: "CR200J3001", name: "CR200J3001",
name1: "CR200J", name1: "CR200J",
startTime: "2017-02-05", startTime: "2017-02-05",
...@@ -231,18 +217,18 @@ export default { ...@@ -231,18 +217,18 @@ export default {
title: "删除", title: "删除",
content: "<p>您确定删除此信息?</p>", content: "<p>您确定删除此信息?</p>",
onOk: () => { onOk: () => {
this.$Message.info("Clicked ok"); this.$Message.info("操作成功");
}, },
onCancel: () => { onCancel: () => {
this.$Message.info("Clicked cancel"); this.$Message.info("取消操作");
}, },
}); });
}, },
ok() { ok() {
this.$Message.info("Clicked ok"); this.$Message.info("操作成功");
}, },
cancel() { cancel() {
this.$Message.info("Clicked cancel"); this.$Message.info("取消操作");
}, },
}, },
}; };
...@@ -251,9 +237,11 @@ export default { ...@@ -251,9 +237,11 @@ export default {
<style lang="less"> <style lang="less">
.train { .train {
padding-top: 10px; padding-top: 10px;
.ivu-form-item-content { .ivu-form-item-content {
float: left; float: left;
} }
.page-v { .page-v {
text-align: right; text-align: right;
margin-top: 10px; margin-top: 10px;
......
...@@ -11,6 +11,7 @@ let address=systemApi.dev; ...@@ -11,6 +11,7 @@ let address=systemApi.dev;
window.systemUrl = `http://${address}:10000/system`; //System-api 系统管理(基础数据) window.systemUrl = `http://${address}:10000/system`; //System-api 系统管理(基础数据)
window.authUrl = `http://${address}:10010`; //Authentication-api //统一登录认证 window.authUrl = `http://${address}:10010`; //Authentication-api //统一登录认证
window.UserUrl = `http://${address}:10130`; //Authentication-api //用户信息 密码修改。重置等
window.designUrl = `http://${address}:10000/process`; // 工艺规程 window.designUrl = `http://${address}:10000/process`; // 工艺规程
window.PlanUrl = `http://${address}:10000/plan`; //订单 window.PlanUrl = `http://${address}:10000/plan`; //订单
// window.PlanUrl = `http://localhost:10050/api/services/app`; //Process-api // window.PlanUrl = `http://localhost:10050/api/services/app`; //Process-api
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment