|
|
@ -22,6 +22,12 @@ |
|
|
<el-option label="已出库" value="已出库"></el-option> |
|
|
<el-option label="已出库" value="已出库"></el-option> |
|
|
</el-select> |
|
|
</el-select> |
|
|
</el-form-item> |
|
|
</el-form-item> |
|
|
|
|
|
<el-form-item :label="'是否送检'"> |
|
|
|
|
|
<el-select v-model="searchData.inspectionFlag" clearable style="width: 100px"> |
|
|
|
|
|
<el-option label="是" value="Y"></el-option> |
|
|
|
|
|
<el-option label="否" value="N"></el-option> |
|
|
|
|
|
</el-select> |
|
|
|
|
|
</el-form-item> |
|
|
<el-form-item :label="' '" > |
|
|
<el-form-item :label="' '" > |
|
|
<el-button class="customer-bun-min" type="primary" @click="getMainData" style="">查询</el-button> |
|
|
<el-button class="customer-bun-min" type="primary" @click="getMainData" style="">查询</el-button> |
|
|
<el-button @click="exportExcel()" type="primary" style="margin-left: 2px">{{'导出'}}</el-button> |
|
|
<el-button @click="exportExcel()" type="primary" style="margin-left: 2px">{{'导出'}}</el-button> |
|
|
@ -51,7 +57,8 @@ |
|
|
:min-width="item.columnWidth" |
|
|
:min-width="item.columnWidth" |
|
|
:label="item.columnLabel"> |
|
|
:label="item.columnLabel"> |
|
|
<template slot-scope="scope"> |
|
|
<template slot-scope="scope"> |
|
|
<span v-if="!item.columnHidden"> {{scope.row[item.columnProp]}}</span> |
|
|
|
|
|
|
|
|
<span v-if="!item.columnHidden && item.columnProp !== 'inspectionFlag'"> {{scope.row[item.columnProp]}}</span> |
|
|
|
|
|
<span v-if="!item.columnHidden && item.columnProp === 'inspectionFlag'"> {{scope.row[item.columnProp] === 'Y' ? '是' : scope.row[item.columnProp] === 'N' ? '否' : ''}}</span> |
|
|
<span v-if="item.columnImage"><img :src="scope.row[item.columnProp]" style="width: 100px; height: 80px"/></span> |
|
|
<span v-if="item.columnImage"><img :src="scope.row[item.columnProp]" style="width: 100px; height: 80px"/></span> |
|
|
</template> |
|
|
</template> |
|
|
</el-table-column> |
|
|
</el-table-column> |
|
|
@ -62,7 +69,7 @@ |
|
|
width="80" |
|
|
width="80" |
|
|
label="操作"> |
|
|
label="操作"> |
|
|
<template slot-scope="scope"> |
|
|
<template slot-scope="scope"> |
|
|
<el-link v-if="scope.row.orderStatus === '待包装'" style="cursor: pointer" @click="handleComplete(scope.row)">完成</el-link> |
|
|
|
|
|
|
|
|
<el-link v-if="scope.row.orderStatus === '待包装'" style="cursor: pointer" @click="handleComplete(scope.row)">送检</el-link> |
|
|
</template> |
|
|
</template> |
|
|
</el-table-column> |
|
|
</el-table-column> |
|
|
</el-table> |
|
|
</el-table> |
|
|
@ -358,6 +365,7 @@ export default { |
|
|
orderType:'销售出库', |
|
|
orderType:'销售出库', |
|
|
orderStatus: '', |
|
|
orderStatus: '', |
|
|
orderStatusList: ['待包装'], |
|
|
orderStatusList: ['待包装'], |
|
|
|
|
|
inspectionFlag: '', |
|
|
buNo:'', |
|
|
buNo:'', |
|
|
customerName:'', |
|
|
customerName:'', |
|
|
site:this.$store.state.user.site, |
|
|
site:this.$store.state.user.site, |
|
|
@ -446,6 +454,24 @@ export default { |
|
|
status: true, |
|
|
status: true, |
|
|
fixed: false |
|
|
fixed: false |
|
|
}, |
|
|
}, |
|
|
|
|
|
{ |
|
|
|
|
|
userId: this.$store.state.user.name, |
|
|
|
|
|
functionId: this.functionId, |
|
|
|
|
|
serialNumber: '750001Table1InspectionFlag', |
|
|
|
|
|
tableId: "750001Table1", |
|
|
|
|
|
tableName: "销售发货清单", |
|
|
|
|
|
columnProp: "inspectionFlag", |
|
|
|
|
|
headerAlign: "center", |
|
|
|
|
|
align: "center", |
|
|
|
|
|
columnLabel: "是否送检", |
|
|
|
|
|
columnWidth: '80', |
|
|
|
|
|
columnHidden: false, |
|
|
|
|
|
columnImage: false, |
|
|
|
|
|
columnSortable: false, |
|
|
|
|
|
sortLv: 0, |
|
|
|
|
|
status: true, |
|
|
|
|
|
fixed: false |
|
|
|
|
|
}, |
|
|
{ |
|
|
{ |
|
|
userId: this.$store.state.user.name, |
|
|
userId: this.$store.state.user.name, |
|
|
functionId: this.functionId, |
|
|
functionId: this.functionId, |
|
|
@ -1128,6 +1154,7 @@ export default { |
|
|
site: row.site, |
|
|
site: row.site, |
|
|
buNo: row.buNo, |
|
|
buNo: row.buNo, |
|
|
orderNo: row.orderNo, |
|
|
orderNo: row.orderNo, |
|
|
|
|
|
partNo: row.partNo, |
|
|
customerId: row.customerId, |
|
|
customerId: row.customerId, |
|
|
relatedOrderNo: row.relatedOrderNo, |
|
|
relatedOrderNo: row.relatedOrderNo, |
|
|
relatedOrderLineNo: row.relatedOrderLineNo, |
|
|
relatedOrderLineNo: row.relatedOrderLineNo, |
|
|
|