Browse Source

按照原型图完善采购订单页面

master
yunuo970428 3 years ago
parent
commit
ca6edb996b
  1. 20
      anrui-scm/anrui-scm-ui/src/views/cheliang/cheliangcaigou/cheliangcaigou.vue
  2. 89
      anrui-scm/anrui-scm-ui/src/views/cheliang/cheliangcaigou/cheliangcaigouAdd.vue
  3. 30
      anrui-scm/anrui-scm-ui/src/views/cheliang/cheliangcaigou/cheliangcaigouInfo.vue

20
anrui-scm/anrui-scm-ui/src/views/cheliang/cheliangcaigou/cheliangcaigou.vue

@ -56,22 +56,22 @@
<div class="listcon"> <div class="listcon">
<el-table v-loading="tableLoading" :data="dataList" border style="width: 100%"> <el-table v-loading="tableLoading" :data="dataList" border style="width: 100%">
<el-table-column width="60px" label="序号" type="index" :index="indexMethod" align="center"/> <el-table-column width="60px" label="序号" type="index" :index="indexMethod" align="center"/>
<el-table-column label="操作" align="center"> <el-table-column label="操作" align="center" width="150">
<template slot-scope="scope"> <template slot-scope="scope">
<el-button type="primary" size="small" @click="handleUpdate(scope.row)">编辑</el-button> <el-button type="primary" size="small" @click="handleUpdate(scope.row)">编辑</el-button>
<el-button type="primary" size="small" @click="handleLooK(scope.row)">查看</el-button> <el-button type="primary" size="small" @click="handleLooK(scope.row)">查看</el-button>
</template> </template>
</el-table-column> </el-table-column>
<el-table-column prop="orderStatus" label="采购订单状态" align="center" width="120px"/> <el-table-column prop="orderStatus" label="采购订单状态" align="center"/>
<el-table-column prop="orderNo" label="采购订单编号" align="center" width="180px"/> <el-table-column prop="orderNo" label="采购订单编号" align="center"/>
<el-table-column prop="orderDate" label="采购订单日期" align="center" width="100px"/> <el-table-column prop="orderDate" label="采购订单日期" align="center"/>
<el-table-column prop="orderType" label="采购订单类型" align="center" width="120px"/> <el-table-column prop="orderType" label="采购订单类型" align="center"/>
<el-table-column prop="applicationCode" label="排产申请编号" align="center" width="180px"/> <el-table-column prop="applicationCode" label="排产申请编号" align="center"/>
<el-table-column prop="modelName" label="车型" align="center"/> <el-table-column prop="modelName" label="车型" align="center"/>
<el-table-column prop="platformNo" label="台数" align="center" width="70px"/> <el-table-column prop="platformNo" label="台数" align="center"/>
<el-table-column prop="expectLaunchDate" label="预期上线时间" align="center" width="100px"/> <el-table-column prop="expectLaunchDate" label="预期上线时间" align="center"/>
<el-table-column prop="launchDate" label="上线日期" align="center" width="100px"/> <el-table-column prop="launchDate" label="上线日期" align="center"/>
<el-table-column prop="offlineDate" label="下线日期" align="center" width="100px"/> <el-table-column prop="offlineDate" label="下线日期" align="center"/>
</el-table> </el-table>
</div> </div>
<!--End 项目列表--> <!--End 项目列表-->

89
anrui-scm/anrui-scm-ui/src/views/cheliang/cheliangcaigou/cheliangcaigouAdd.vue

@ -72,45 +72,45 @@
</el-form-item> </el-form-item>
</el-col> </el-col>
</el-row> </el-row>
<el-row> <!-- <el-row>-->
<el-col :span="24" class="separate">车型价格信息</el-col> <!-- <el-col :span="24" class="separate">车型价格信息</el-col>-->
</el-row> <!-- </el-row>-->
<el-row> <!-- <el-row>-->
<el-col :span="4" class="tleftb"> <!-- <el-col :span="4" class="tleftb">-->
<span>上装价格</span> <!-- <span>上装价格</span>-->
</el-col> <!-- </el-col>-->
<el-col :span="8" class="trightb"> <!-- <el-col :span="8" class="trightb">-->
<el-form-item> <!-- <el-form-item>-->
<el-input v-model="formobj.coatPrice" placeholder="" class="addinputw" clearable/> <!-- <el-input v-model="formobj.coatPrice" placeholder="" class="addinputw" clearable/>-->
</el-form-item> <!-- </el-form-item>-->
</el-col> <!-- </el-col>-->
<el-col :span="4" class="tleftb"> <!-- <el-col :span="4" class="tleftb">-->
<span>入库合同单价</span> <!-- <span>入库合同单价</span>-->
</el-col> <!-- </el-col>-->
<el-col :span="8" class="trightb"> <!-- <el-col :span="8" class="trightb">-->
<el-form-item> <!-- <el-form-item>-->
<el-input v-model="formobj.treasuryPrice" placeholder="" class="addinputw" clearable/> <!-- <el-input v-model="formobj.treasuryPrice" placeholder="" class="addinputw" clearable/>-->
</el-form-item> <!-- </el-form-item>-->
</el-col> <!-- </el-col>-->
</el-row> <!-- </el-row>-->
<el-row> <!-- <el-row>-->
<el-col :span="4" class="tleftb"> <!-- <el-col :span="4" class="tleftb">-->
<span>运费</span> <!-- <span>运费</span>-->
</el-col> <!-- </el-col>-->
<el-col :span="8" class="trightb"> <!-- <el-col :span="8" class="trightb">-->
<el-form-item> <!-- <el-form-item>-->
<el-input v-model="formobj.freight" placeholder="" class="addinputw" clearable/> <!-- <el-input v-model="formobj.freight" placeholder="" class="addinputw" clearable/>-->
</el-form-item> <!-- </el-form-item>-->
</el-col> <!-- </el-col>-->
<el-col :span="4" class="tleftb"> <!-- <el-col :span="4" class="tleftb">-->
<span>销售指导价</span> <!-- <span>销售指导价</span>-->
</el-col> <!-- </el-col>-->
<el-col :span="8" class="trightb"> <!-- <el-col :span="8" class="trightb">-->
<el-form-item> <!-- <el-form-item>-->
<el-input v-model="formobj.salesGuidePrice" placeholder="" class="addinputw" clearable readonly/> <!-- <el-input v-model="formobj.salesGuidePrice" placeholder="" class="addinputw" clearable readonly/>-->
</el-form-item> <!-- </el-form-item>-->
</el-col> <!-- </el-col>-->
</el-row> <!-- </el-row>-->
<el-row> <el-row>
<el-col :span=24 class="separate">订单进程</el-col> <el-col :span=24 class="separate">订单进程</el-col>
</el-row> </el-row>
@ -240,13 +240,14 @@ export default {
if (valid) { if (valid) {
this.submitdisabled = true this.submitdisabled = true
req.saveEdit(this.formobj, this.formobj.sid).then(resp => { req.saveEdit(this.formobj, this.formobj.sid).then(resp => {
this.submitdisabled = false this.submitdisabled = false
if (resp.success) {
_this.$message({showClose: true, type: 'success', message: resp.msg}) _this.$message({showClose: true, type: 'success', message: resp.msg})
_this.handleReturn('true') _this.handleReturn('true')
}) }
.catch(() => { }).catch(() => {
this.submitdisabled = false this.submitdisabled = false
}) })
} else { } else {
return false return false
} }

30
anrui-scm/anrui-scm-ui/src/views/cheliang/cheliangcaigou/cheliangcaigouInfo.vue

@ -34,21 +34,21 @@
<el-col :span="4" class="tleftb">台数</el-col> <el-col :span="4" class="tleftb">台数</el-col>
<el-col :span="8" class="trightb">{{ formobj.platformNo }}</el-col> <el-col :span="8" class="trightb">{{ formobj.platformNo }}</el-col>
</el-row> </el-row>
<el-row> <!-- <el-row>-->
<el-col :span="24" class="separate">车型价格信息</el-col> <!-- <el-col :span="24" class="separate">车型价格信息</el-col>-->
</el-row> <!-- </el-row>-->
<el-row> <!-- <el-row>-->
<el-col :span="4" class="tleftb">上装价格</el-col> <!-- <el-col :span="4" class="tleftb">上装价格</el-col>-->
<el-col :span="8" class="trightb">{{ formobj.coatPrice }}</el-col> <!-- <el-col :span="8" class="trightb">{{ formobj.coatPrice }}</el-col>-->
<el-col :span="4" class="tleftb">入库合同单价</el-col> <!-- <el-col :span="4" class="tleftb">入库合同单价</el-col>-->
<el-col :span="8" class="trightb">{{ formobj.treasuryPrice }}</el-col> <!-- <el-col :span="8" class="trightb">{{ formobj.treasuryPrice }}</el-col>-->
</el-row> <!-- </el-row>-->
<el-row> <!-- <el-row>-->
<el-col :span="4" class="tleftb">运费</el-col> <!-- <el-col :span="4" class="tleftb">运费</el-col>-->
<el-col :span="8" class="trightb">{{ formobj.freight }}</el-col> <!-- <el-col :span="8" class="trightb">{{ formobj.freight }}</el-col>-->
<el-col :span="4" class="tleftb">销售指导价</el-col> <!-- <el-col :span="4" class="tleftb">销售指导价</el-col>-->
<el-col :span="8" class="trightb">{{ formobj.salesGuidePrice }}</el-col> <!-- <el-col :span="8" class="trightb">{{ formobj.salesGuidePrice }}</el-col>-->
</el-row> <!-- </el-row>-->
<el-row> <el-row>
<el-col :span=24 class="separate">订单进程</el-col> <el-col :span=24 class="separate">订单进程</el-col>
</el-row> </el-row>

Loading…
Cancel
Save