Browse Source

完善旧件库存查询

zhanglei
yunuo970428 10 months ago
parent
commit
997ac3ac5c
  1. 32
      yxt-as-ui/src/api/storage/oldPartsInvertory.js
  2. 231
      yxt-as-ui/src/views/storage/oldPartsInvertory/index.vue
  3. 117
      yxt-as-ui/src/views/storage/oldPartsInvertory/oldPartsInvertoryInfo.vue

32
yxt-as-ui/src/api/storage/oldPartsInvertory.js

@ -13,16 +13,13 @@ export default {
} }
}) })
}, },
// 获取旧件出入库记录详情 // 获取旧件出入库记录详情
init: function(data) { init: function(data) {
return request({ return request({
url: '/wms/apiadmin/WmsOldInventory/getDetailsList?sid='+data, url: '/wms/apiadmin/WmsOldInventory/getDetailsList?sid=' + data,
method: 'get', method: 'get'
}); })
}, },
deleteBySids: function(data) { deleteBySids: function(data) {
return request({ return request({
url: '/wms/apiadmin/WmsOldInventory/delBySids', url: '/wms/apiadmin/WmsOldInventory/delBySids',
@ -33,7 +30,6 @@ export default {
} }
}) })
}, },
// 导出报表 // 导出报表
exportExcel: function(data) { exportExcel: function(data) {
return request({ return request({
@ -44,22 +40,8 @@ export default {
headers: { headers: {
'Content-Type': 'application/json' 'Content-Type': 'application/json'
} }
});
},
// 选择厂家
choiceManufacturer: function(params) {
return request({
url: '/yxtbase/apiadmin/base/basemanufacturer/listAll',
method: 'post',
data: params,
headers: {
'Content-Type': 'application/json'
}
}) })
}, },
// 查询所有仓库 // 查询所有仓库
getWarehouses: function(params) { getWarehouses: function(params) {
return request({ return request({
@ -71,7 +53,6 @@ export default {
} }
}) })
}, },
// 根据仓库查询库位 // 根据仓库查询库位
getWarehouseareas: function(data) { getWarehouseareas: function(data) {
return request({ return request({
@ -79,9 +60,6 @@ export default {
method: 'get', method: 'get',
params: data, params: data,
headers: { 'Content-Type': 'application/json' } headers: { 'Content-Type': 'application/json' }
}); })
}, }
} }

231
yxt-as-ui/src/views/storage/oldPartsInvertory/index.vue

@ -1,48 +1,38 @@
<template> <template>
<div class="app-container"> <div class="app-container">
<div v-show="viewState == 1"> <div v-show="viewState == 1">
<button-bar ref="btnbar" view-title="旧件库存查询" :btndisabled="btndisabled" @btnhandle="btnHandle" /> <button-bar ref="btnbar" view-title="旧件库存查询" :btndisabled="btndisabled" @btnhandle="btnHandle"/>
<div class="main-content"> <div class="main-content">
<div class="searchcon"> <div class="searchcon">
<el-button size="small" class="searchbtn" @click="clicksearchShow"> <el-button size="small" class="searchbtn" @click="clicksearchShow">{{ searchxianshitit }}</el-button>
{{ searchxianshitit }}
</el-button>
<div v-show="isSearchShow" class="search"> <div v-show="isSearchShow" class="search">
<el-form :inline="true" class="tab-header"> <el-form :inline="true" class="tab-header">
<el-form-item label="商品ID"> <el-form-item label="商品ID">
<el-input v-model="queryParams.params.goodsID" placeholder="" clearable /> <el-input v-model="queryParams.params.goodsID" placeholder="" clearable/>
</el-form-item> </el-form-item>
<el-form-item label="商品名称"> <el-form-item label="商品名称">
<el-input v-model="queryParams.params.goodsSpuName" placeholder="" clearable /> <el-input v-model="queryParams.params.goodsSpuName" placeholder="" clearable/>
</el-form-item> </el-form-item>
<el-form-item label="商品编码"> <el-form-item label="图号">
<el-input v-model="queryParams.params.goodsSkuCode" placeholder="" clearable /> <el-input v-model="queryParams.params.goodsSkuCode" placeholder="" clearable/>
</el-form-item> </el-form-item>
<el-form-item label="仓库"> <el-form-item label="仓库">
<el-select v-model="queryParams.params.warehouseName" filterable clearable placeholder="请选择" <el-select v-model="queryParams.params.warehouseName" filterable clearable placeholder="请选择" @change="warehouseNameSelect">
style="width:100%" @change="warehouseNameSelect"> <el-option v-for="item in warehouseList" :key="item.sid" :label="item.warehouseName" :value="item.sid">
<el-option v-for="item in warehouseList" :key="item.sid" :label="item.warehouseName"
:value="item.sid">
</el-option> </el-option>
</el-select> </el-select>
</el-form-item> </el-form-item>
<el-form-item label="库位"> <el-form-item label="库位">
<el-select v-model="queryParams.params.warehouseRackCode" filterable clearable placeholder="请选择" <el-select v-model="queryParams.params.warehouseRackCode" filterable clearable placeholder="请选择" @change="warehouseRackCodeSelect">
style="width:100%" @change="warehouseRackCodeSelect">
<el-option v-for="item in warehouseRackList" :key="item.sid" :label="item.areaCode" :value="item.sid"> <el-option v-for="item in warehouseRackList" :key="item.sid" :label="item.areaCode" :value="item.sid">
</el-option> </el-option>
</el-select> </el-select>
</el-form-item> </el-form-item>
<el-form-item label="厂家"> <el-form-item label="厂家">
<el-select v-model="queryParams.params.manufacturerName" filterable clearable placeholder="请选择" <el-input v-model="queryParams.params.manufacturerName" placeholder="" clearable/>
style="width:100%" @change="manufacturerNameSelect">
<el-option v-for="item in manufacturerList" :key="item.sid" :label="item.manufacturerName"
:value="item.sid">
</el-option>
</el-select>
</el-form-item> </el-form-item>
<el-form-item label="车架号"> <el-form-item label="车架号">
<el-input v-model="queryParams.params.vinNo" placeholder="" clearable /> <el-input v-model="queryParams.params.vinNo" placeholder="" clearable/>
</el-form-item> </el-form-item>
</el-form> </el-form>
<div class="btn" style="text-align: center;"> <div class="btn" style="text-align: center;">
@ -58,59 +48,51 @@
<!-- End 项目列表头部 --> <!-- End 项目列表头部 -->
<!-- Start 项目列表 --> <!-- Start 项目列表 -->
<div class=""> <div class="">
<el-table v-loading="tableLoading" :data="dataList" border style="width: 100%" <el-table v-loading="tableLoading" :data="dataList" border style="width: 100%" @selection-change="selectionLineChangeHandle">
@selection-change="selectionLineChangeHandle"> <el-table-column fixed width="50" type="selection" align="center"/>
<el-table-column fixed width="50" type="selection" align="center" /> <el-table-column fixed width="80" label="序号" type="index" :index="indexMethod" align="center"/>
<el-table-column fixed width="80" label="序号" type="index" :index="indexMethod" align="center" />
<el-table-column fixed label="操作" align="center" width="100"> <el-table-column fixed label="操作" align="center" width="100">
<template slot-scope="scope"> <template slot-scope="scope">
<el-button type="primary" size="mini" @click="toRelevancy(scope.row)">查看</el-button> <el-button type="primary" size="mini" @click="toRelevancy(scope.row)">查看</el-button>
</template> </template>
</el-table-column> </el-table-column>
<el-table-column prop="goodsID" label="商品ID" width="120" align="center" />
<el-table-column prop="goodsSpuName" label="商品名称" width="150" align="center" />
<el-table-column prop="goodsSkuCode" label="商品编码" width="120" align="center" />
<el-table-column prop="vinNo" label="车架号" width="150" align="center" /> <el-table-column prop="vinNo" label="车架号" width="150" align="center" />
<el-table-column prop="vehMark" label="车牌号" width="150" align="center" /> <el-table-column prop="vehMark" label="车牌号" width="150" align="center" />
<el-table-column prop="sourceBillNo" label="维修单号" width="190" align="center" />
<el-table-column prop="goodsID" label="商品ID" width="120" align="center" />
<el-table-column prop="goodsSpuName" label="商品名称" width="150" align="center" />
<el-table-column prop="goodsSkuCode" label="图号" width="120" align="center" />
<el-table-column prop="manufacturerName" label="厂家" width="180" align="center" /> <el-table-column prop="manufacturerName" label="厂家" width="180" align="center" />
<el-table-column prop="goodsSkuOwnSpec" label="规格" width="120" align="center" /> <el-table-column prop="goodsSkuOwnSpec" label="规格" width="120" align="center" />
<el-table-column prop="unit" label="单位" width="120" align="center" /> <el-table-column prop="unit" label="单位" width="120" align="center" />
<el-table-column prop="warehouseName" label="仓库" width="150" align="center" /> <el-table-column prop="warehouseInfo" label="仓库-库区" width="150" align="center" />
<el-table-column prop="warehouseRackCode" label="库位" width="120" align="center" /> <el-table-column prop="warehouseRackCode" label="库位" width="120" align="center" />
<el-table-column prop="inventoryCount" label="库存数量" width="120" align="center" /> <el-table-column prop="inventoryCount" label="库存数量" width="120" align="center" />
</el-table> </el-table>
</div> </div>
<!-- End 项目列表 --> <!-- End 项目列表 -->
<div class="pages"> <div class="pages">
<div class="tit" /> <div class="tit"/>
<!-- 翻页 --> <!-- 翻页 -->
<pagination v-show="dataList.length > 0" :total="queryParams.total" :page.sync="queryParams.current" <pagination v-show="dataList.length > 0" :total="queryParams.total" :page.sync="queryParams.current" :limit.sync="queryParams.size" class="pagination" @pagination="loadList"/>
:limit.sync="queryParams.size" class="pagination" @pagination="loadList" />
</div> </div>
</div> </div>
</div> </div>
<!-- End 查询和其列表部分 --> <!-- End 查询和其列表部分 -->
<!-- 新增修改部分组件 --> <divInfo v-show="viewState == 4" ref="divinfo" @doback="resetState" @reloadlist="loadList"/>
<!-- <divAdd v-show="viewState == 2 || viewState == 3" ref="divadd" @doback="resetState" @reloadlist="loadList" /> -->
<divInfo v-show="viewState == 4" ref="divinfo" @doback="resetState" @reloadlist="loadList" />
</div> </div>
</template> </template>
<script> <script>
import req from '@/api/storage/oldPartsInvertory.js' import ButtonBar from '@/components/ButtonBar'
import ButtonBar from '@/components/ButtonBar' import Pagination from '@/components/pagination'
import Pagination from '@/components/pagination' import req from '@/api/storage/oldPartsInvertory.js'
import pageye from '@/components/pagination/pageye' import divInfo from './oldPartsInvertoryInfo.vue'
// import divAdd from './oldPartsInStorageAdd.vue'
import divInfo from './oldPartsInvertoryInfo.vue' export default {
export default {
components: { components: {
ButtonBar, ButtonBar,
Pagination, Pagination,
pageye,
// divAdd,
divInfo divInfo
}, },
data() { data() {
@ -122,14 +104,14 @@
searchxianshitit: '显示查询条件', searchxianshitit: '显示查询条件',
tableLoading: false, tableLoading: false,
dataList: [], dataList: [],
btnList: [{ btnList: [
{
type: 'danger', type: 'danger',
size: 'small', size: 'small',
icon: 'del', icon: 'del',
btnKey: 'doDel', btnKey: 'doDel',
btnLabel: '删除' btnLabel: '删除'
}, },
{ {
type: 'success', type: 'success',
size: 'small', size: 'small',
@ -151,22 +133,20 @@
total: 0, total: 0,
params: { params: {
goodsID: '', goodsID: '',
goodsSpuName: "", goodsSpuName: '',
goodsSkuCode: "", goodsSkuCode: '',
warehouseName: "", warehouseName: '',
warehouseRackCode: "", warehouseRackCode: '',
manufacturerName: "", manufacturerName: '',
vinNo: "", vinNo: '',
createBySid: "", createBySid: '',
orgPath: "", orgPath: ''
} }
}, },
sids: [], sids: [],
selectionList: [], multipleSelection: [],
manufacturerList: [],
warehouseList: [], warehouseList: [],
warehouseRackList: [], warehouseRackList: []
} }
}, },
mounted() { mounted() {
@ -175,21 +155,8 @@
created() { created() {
this.loadList() this.loadList()
this.getWarehouseList() this.getWarehouseList()
this.getManufacturerList()
}, },
methods: { methods: {
selectionLineChangeHandle(val) {
console.log("val", val);
this.selectionList = val
const aa = []
val.forEach(element => {
aa.push(element.sid)
})
this.sids = aa
},
// //
clicksearchShow() { clicksearchShow() {
this.isSearchShow = !this.isSearchShow this.isSearchShow = !this.isSearchShow
@ -234,13 +201,20 @@
this.tableLoading = false this.tableLoading = false
}) })
}, },
// //
indexMethod(index) { indexMethod(index) {
var pagestart = (this.queryParams.current - 1) * this.queryParams.size var pagestart = (this.queryParams.current - 1) * this.queryParams.size
var pageindex = index + 1 + pagestart var pageindex = index + 1 + pagestart
return pageindex return pageindex
}, },
selectionLineChangeHandle(val) {
this.multipleSelection = val
const aa = []
val.forEach(element => {
aa.push(element.sid)
})
this.sids = aa
},
dosearch() { dosearch() {
this.queryParams.current = 1 this.queryParams.current = 1
this.loadList() this.loadList()
@ -252,32 +226,26 @@
total: 0, total: 0,
params: { params: {
goodsID: '', goodsID: '',
goodsSpuName: "", goodsSpuName: '',
goodsSkuCode: "", goodsSkuCode: '',
warehouseName: "", warehouseName: '',
warehouseRackCode: "", warehouseRackCode: '',
manufacturerName: "", manufacturerName: '',
vinNo: "", vinNo: '',
createBySid: "", createBySid: '',
orgPath: "", orgPath: ''
} }
} }
this.loadList() this.loadList()
}, },
doDel() { doDel() {
if (this.sids.length > 0) {
for (var i = 0; i < this.selectionList.length; i++) { for (var i = 0; i < this.multipleSelection.length; i++) {
if (this.selectionList[i].inventoryCount != 0) { if (this.multipleSelection[i].inventoryCount !== '0') {
this.$message({ this.$message({ showClose: true, type: 'warning', message: '请选择库存数量为0的记录进行操作' })
type: 'warning',
message: "只有库存数量为0的,才可以删除",
showClose: true
})
return return
} }
} }
if (this.sids.length > 0) {
const tip = '请确认是否删除所选 ' + this.sids.length + ' 条记录?' const tip = '请确认是否删除所选 ' + this.sids.length + ' 条记录?'
this.$confirm(tip, '提示', { this.$confirm(tip, '提示', {
confirmButtonText: '确定', confirmButtonText: '确定',
@ -305,26 +273,19 @@
}).catch(e => { }).catch(e => {
loading.close() loading.close()
}) })
}).catch(() => {}) }).catch(() => {
} else {
this.$message({
showClose: true,
message: '请至少选择一条记录进行删除操作'
}) })
} else {
this.$message({ showClose: true, type: 'error', message: '请至少选择一条记录进行删除操作' })
} }
}, },
toBuild() { toBuild() {
// if (this.sids.length > 0) {
const loading = this.$loading({ const loading = this.$loading({
lock: true, lock: true,
text: 'Loading', text: 'Loading',
spinner: 'el-icon-loading', spinner: 'el-icon-loading',
background: 'rgba(0, 0, 0, 0.7)' background: 'rgba(0, 0, 0, 0.7)'
}) })
req.exportExcel(this.queryParams.params).then((resp) => { req.exportExcel(this.queryParams.params).then((resp) => {
loading.close() loading.close()
const blob = new Blob([resp], { const blob = new Blob([resp], {
@ -342,18 +303,10 @@
}).catch(() => { }).catch(() => {
loading.close() loading.close()
}) })
// } else {
// this.$message({
// type:"warning",
// showClose: true,
// message: ''
// })
// }
}, },
toRelevancy(row) { toRelevancy(row) {
this.viewState = 4 this.viewState = 4
this.$refs['divinfo'].showAdd(row) this.$refs['divinfo'].showInfo(row)
}, },
doClose() { doClose() {
this.$store.dispatch('tagsView/delView', this.$route) this.$store.dispatch('tagsView/delView', this.$route)
@ -362,79 +315,33 @@
resetState() { resetState() {
this.viewState = 1 this.viewState = 1
}, },
manufacturerNameSelect(val) {
console.log("supplierNameSelect", val);
const choose = this.manufacturerList.filter((item) => item.sid == val)
console.log('>>>>>>>>>supplierNameSelect', choose)
this.queryParams.params.manufacturerName = choose[0].manufacturerName
this.queryParams.params.manufacturerSid = choose[0].sid
},
getManufacturerList() {
var params = {
userSid : window.sessionStorage.getItem('userSid'),
orgPath :window.sessionStorage.getItem('defaultOrgPath'),
menuUrl : this.$route.path
}
req.choiceManufacturer(params).then((res) => {
if (res.success) {
this.manufacturerList = res.data
console.log("aaaaaa", this.manufacturerList);
}
})
},
getWarehouseList() { getWarehouseList() {
var parpams = { req.getWarehouses({ orgPath: window.sessionStorage.getItem('defaultOrgPath') }).then((res) => {
orgPath: window.sessionStorage.getItem('defaultOrgPath'),
}
req.getWarehouses(parpams).then((res) => {
if (res.success) { if (res.success) {
this.warehouseList = res.data this.warehouseList = res.data
console.log("aaaaaa", this.warehouseList);
} }
}) })
}, },
getWarehouseAreaList(sid) { getWarehouseAreaList(sid) {
var query = { req.getWarehouseareas({ ckSid: sid }).then((res) => {
ckSid: sid
}
req.getWarehouseareas(query).then((res) => {
if (res.success) { if (res.success) {
this.warehouseRackList = res.data this.warehouseRackList = res.data
console.log("aaaaaa", this.warehouseRackList);
} }
}) })
}, },
warehouseNameSelect(val) { warehouseNameSelect(val) {
console.log("selectWarehouseName", val); const choose = this.warehouseList.filter((item) => item.sid === val)
const choose = this.warehouseList.filter((item) => item.sid == val)
console.log('>>>>>>>>>selectWarehouseName', choose)
this.queryParams.params.warehouseName = choose[0].warehouseName this.queryParams.params.warehouseName = choose[0].warehouseName
this.queryParams.params.warehouseSid = choose[0].sid this.queryParams.params.warehouseSid = choose[0].sid
this.getWarehouseAreaList(choose[0].sid) this.getWarehouseAreaList(choose[0].sid)
}, },
warehouseRackCodeSelect(val) { warehouseRackCodeSelect(val) {
console.log("selectWarehouseAreaCode", val); const choose = this.warehouseRackList.filter((item) => item.sid === val)
const choose = this.warehouseRackList.filter((item) => item.sid == val)
console.log('>>>>>>>>>selectWarehouseAreaCode', choose)
this.queryParams.params.warehouseRackCode = choose[0].areaCode this.queryParams.params.warehouseRackCode = choose[0].areaCode
this.queryParams.params.warehouseRackSid = choose[0].sid this.queryParams.params.warehouseRackSid = choose[0].sid
},
} }
} }
}
</script> </script>
<style scoped> <style scoped>
</style> </style>

117
yxt-as-ui/src/views/storage/oldPartsInvertory/oldPartsInvertoryInfo.vue

@ -1,25 +1,14 @@
<template> <template>
<div> <div class="app-container">
<div class="tab-header webtop"> <div class="tab-header webtop">
<!-- 标题 -->
<div>库存出入库记录</div> <div>库存出入库记录</div>
<!-- start 添加修改按钮 -->
<div> <div>
<el-button type="info" size="small" @click="handleReturn()">关闭</el-button> <el-button type="info" size="small" @click="handleReturn()">关闭</el-button>
</div> </div>
<!-- end 添加修改按钮 -->
<!-- end 详情按钮 -->
</div> </div>
<div class="listconadd"> <div class="listconadd">
<el-form ref="form_obj" :model="formobj" class="formaddcopy02"> <el-form ref="form_obj" :model="formobj" class="formaddcopy02">
<!-- <div class="title">
<div>基础信息</div>
</div> -->
<el-row class="first_row"> <el-row class="first_row">
<el-col :span="8"> <el-col :span="8">
<div class="span-sty">车架号</div> <div class="span-sty">车架号</div>
<el-form-item><span class="addinputInfo">{{ formobj.vinNo }}</span></el-form-item> <el-form-item><span class="addinputInfo">{{ formobj.vinNo }}</span></el-form-item>
@ -29,17 +18,15 @@
<el-form-item><span class="addinputInfo">{{ formobj.goodsSpuName }}</span></el-form-item> <el-form-item><span class="addinputInfo">{{ formobj.goodsSpuName }}</span></el-form-item>
</el-col> </el-col>
<el-col :span="8"> <el-col :span="8">
<div class="span-sty">商品编码</div> <div class="span-sty">图号</div>
<el-form-item><span class="addinputInfo">{{ formobj.goodsSkuCode }}</span></el-form-item> <el-form-item><span class="addinputInfo">{{ formobj.goodsSkuCode }}</span></el-form-item>
</el-col> </el-col>
</el-row> </el-row>
<el-row> <el-row>
<el-col :span="8"> <el-col :span="8">
<div class="span-sty">厂家</div> <div class="span-sty">厂家</div>
<el-form-item><span class="addinputInfo">{{ formobj.manufacturerName }}</span></el-form-item> <el-form-item><span class="addinputInfo">{{ formobj.manufacturerName }}</span></el-form-item>
</el-col> </el-col>
<el-col :span="8"> <el-col :span="8">
<div class="span-sty">仓库</div> <div class="span-sty">仓库</div>
<el-form-item><span class="addinputInfo">{{ formobj.warehouseName }}</span></el-form-item> <el-form-item><span class="addinputInfo">{{ formobj.warehouseName }}</span></el-form-item>
@ -48,15 +35,10 @@
<div class="span-sty">库位</div> <div class="span-sty">库位</div>
<el-form-item><span class="addinputInfo">{{ formobj.warehouseRackCode }}</span></el-form-item> <el-form-item><span class="addinputInfo">{{ formobj.warehouseRackCode }}</span></el-form-item>
</el-col> </el-col>
</el-row> </el-row>
<div class="title">出入库记录列表</div>
<div class="title" <el-table :key="tableKey" :data="formobj.list" :index="index" border style="width: 100%">
style="display: flex;align-items: center;justify-content: space-between;height:40px;margin-top: 10px;"> <el-table-column fixed width="80" label="序号" type="index" :index="index + 1" align="center"/>
<div>出入库记录列表</div>
</div>
<el-table v-loading="listLoading" :data="formobj.list" border>
<el-table-column fixed width="80" label="序号" type="index" :index="indexMethod" align="center" />
<el-table-column label="来源单号" prop="billNo" align="center" /> <el-table-column label="来源单号" prop="billNo" align="center" />
<el-table-column label="单据类型" prop="billType" align="center" /> <el-table-column label="单据类型" prop="billType" align="center" />
<el-table-column label="发生时间" prop="createTime" align="center" /> <el-table-column label="发生时间" prop="createTime" align="center" />
@ -64,85 +46,66 @@
<el-table-column label="数量" prop="count" align="center" /> <el-table-column label="数量" prop="count" align="center" />
<el-table-column label="出入库后的库存" prop="currentCount" align="center" /> <el-table-column label="出入库后的库存" prop="currentCount" align="center" />
</el-table> </el-table>
</el-form> </el-form>
</div> </div>
</div> </div>
</template> </template>
<script> <script>
import req from '@/api/storage/oldPartsInvertory.js' import req from '@/api/storage/oldPartsInvertory.js'
export default { export default {
components: {}, components: {},
data() { data() {
return { return {
listLoading: false, tableKey: 1,
submitdisabled: false, index: 0,
formobj: {}, formobj: {
sid: '',
vinNo: '',
goodsSpuName: '',
goodsSkuCode: '',
manufacturerName: '',
warehouseName: '',
warehouseRackCode: '',
list: []
} }
},
methods: {
indexMethod(index) {
return index + 1
},
handleReturn(isreload) {
if (isreload === 'true') this.$emit('reloadlist')
this.formobj = {
} }
this.submitdisabled = false
this.$emit('doback')
}, },
methods: {
showAdd(row) { showInfo(row) {
req.init({ sid: row.sid }).then(resp => {
var params = {
sid: row.sid
}
req.init(row.sid)
.then(resp => {
if (resp.success) { if (resp.success) {
this.formobj = resp.data this.formobj = resp.data
} }
}) }).catch(e => {
.catch(e => {
this.formobj = {} this.formobj = {}
}) })
}, },
showEdit() { handleReturn() {
this.formobj = {
sid: '',
vinNo: '',
goodsSpuName: '',
goodsSkuCode: '',
manufacturerName: '',
warehouseName: '',
warehouseRackCode: '',
list: []
} }
this.$emit('doback')
} }
} }
}
</script> </script>
<style scoped> <style scoped>
.span-sty { .span-sty {
width: 130px !important; width: 130px !important;
} }
.addinputInfo {
.addinputInfo {
margin-left: 120px !important; margin-left: 120px !important;
} }
.first_row {
.formaddcopy02 .el-row .el-col /deep/ .el-form-item .addinputw {
margin-left: 120px !important;
width: calc(100% - 115px);
}
.first_row {
border-top: 1px solid #E0E3EB; border-top: 1px solid #E0E3EB;
} }
.titleOne {
padding: 7px;
display: flex;
flex-direction: row;
justify-content: space-between;
align-items: center;
}
</style> </style>

Loading…
Cancel
Save