|
|
@@ -17,6 +17,15 @@
|
|
|
<el-link :underline="true" style="font-size:12px;display:inline-block;" >{{ scope.row.orderSn }}</el-link>
|
|
|
</template>
|
|
|
|
|
|
+ <template #table-column-seatSn="{scope}">
|
|
|
+ <span @click="changeSeatSn(scope.row)" v-if="scope.row.seatSn!=''" style="font-size:15px;cursor: pointer;">
|
|
|
+ {{ scope.row.seatSn}}
|
|
|
+ </span>
|
|
|
+ <span v-else @click="changeSeatSn(scope.row)">
|
|
|
+ <i class="el-icon-edit" style="font-size:15px;cursor: pointer;"></i>
|
|
|
+ </span>
|
|
|
+ </template>
|
|
|
+
|
|
|
<template #table-column-customName="{scope}">
|
|
|
<div>
|
|
|
{{ scope.row.customName }}
|
|
|
@@ -172,6 +181,14 @@ export default {
|
|
|
}
|
|
|
},
|
|
|
methods: {
|
|
|
+ changeSeatSn(info){
|
|
|
+ this.$prompt('请输入货位号','提示',{confirmButtonText:'确定',cancelButtonText:'取消'}).then(({value}) => {
|
|
|
+ this.$service.purchaseOrder.modifySeatSn({ seatSn: value,id:info.id}).then(data => {
|
|
|
+ this.$notify({ title: '成功', message: '操作成功', type: 'success'})
|
|
|
+ this.app.refresh({ status: this.tabIndex})
|
|
|
+ })
|
|
|
+ })
|
|
|
+ },
|
|
|
confirmAdd(){
|
|
|
|
|
|
},
|
|
|
@@ -256,25 +273,25 @@ export default {
|
|
|
prop: 'orderSn',
|
|
|
label: '单号',
|
|
|
align: 'center',
|
|
|
- width: '130'
|
|
|
+ width: '120'
|
|
|
},
|
|
|
{
|
|
|
prop: 'supplierName',
|
|
|
label: '供货商',
|
|
|
align: 'center',
|
|
|
- width: '200'
|
|
|
+ width: '150'
|
|
|
},
|
|
|
{
|
|
|
prop: 'cgStaffName',
|
|
|
label: '采购人',
|
|
|
align: 'center',
|
|
|
- width: 100
|
|
|
+ width: 80
|
|
|
},
|
|
|
{
|
|
|
prop: 'adminName',
|
|
|
label: '录单人',
|
|
|
align: 'center',
|
|
|
- width: 100
|
|
|
+ width: 80
|
|
|
},
|
|
|
{
|
|
|
prop: 'itemList',
|
|
|
@@ -288,6 +305,12 @@ export default {
|
|
|
align: 'center',
|
|
|
width: '80'
|
|
|
},
|
|
|
+ {
|
|
|
+ prop: 'seatSn',
|
|
|
+ label: '货位号',
|
|
|
+ align: 'center',
|
|
|
+ width: '80'
|
|
|
+ },
|
|
|
{
|
|
|
prop: 'prePrice',
|
|
|
label: '总金额',
|