|
@@ -1,339 +1,61 @@
|
|
|
<template>
|
|
|
- <div class="app-container">
|
|
|
- <div v-show="!isShowForm">
|
|
|
- <!-- 筛选条件 -->
|
|
|
- <div class="screen-container">
|
|
|
- <Collapse :screen-form="screenForm">
|
|
|
- <template #right_btn>
|
|
|
- <el-button size="mini" @click="resetScreenForm">清空</el-button>
|
|
|
- <el-button type="primary" size="mini" @click="submitScreenForm">搜索</el-button>
|
|
|
- </template>
|
|
|
- <template #search>
|
|
|
- <el-form ref="screenForm" :model="screenForm" label-width="100px" size="mini" label-position="left">
|
|
|
- <el-row :gutter="20">
|
|
|
- <el-col :xs="24" :sm="12" :lg="6">
|
|
|
- <el-form-item label="申请发货单号" prop="orderNum">
|
|
|
- <el-input v-model="screenForm.orderNum" placeholder="请输入申请发货单号" />
|
|
|
- </el-form-item>
|
|
|
- </el-col>
|
|
|
- <el-col :xs="24" :sm="12" :lg="6">
|
|
|
- <el-form-item label="经销商名称" prop="jxsName">
|
|
|
- <el-input v-model="screenForm.jxsName" placeholder="请输入经销商名称" />
|
|
|
- </el-form-item>
|
|
|
- </el-col>
|
|
|
- <el-col :xs="24" :sm="12" :lg="6">
|
|
|
- <el-form-item label="经销商编码" prop="jxsNum">
|
|
|
- <el-input v-model="screenForm.jxsNum" placeholder="请输入经销商编码" />
|
|
|
- </el-form-item>
|
|
|
- </el-col>
|
|
|
- <el-col :xs="24" :sm="12" :lg="6">
|
|
|
- <el-form-item label="仓库" prop="correspondId">
|
|
|
- <el-select
|
|
|
- v-model="screenForm.correspondId"
|
|
|
- placeholder="请选择发货仓库"
|
|
|
- size="mini"
|
|
|
- style="margin-right: 10px"
|
|
|
- >
|
|
|
- <el-option
|
|
|
- v-for="(item, index) in warehouseList"
|
|
|
- :key="index"
|
|
|
- :label="item.name"
|
|
|
- :value="item.id"
|
|
|
- />
|
|
|
- </el-select>
|
|
|
- </el-form-item>
|
|
|
- </el-col>
|
|
|
- <el-col :xs="24" :sm="12" :lg="6">
|
|
|
- <el-form-item label="状态" prop="status">
|
|
|
- <el-select v-model="screenForm.status" placeholder="请选择">
|
|
|
- <el-option label="未打单" :value="0" />
|
|
|
- <el-option label="已打单" :value="1" />
|
|
|
- </el-select>
|
|
|
- </el-form-item>
|
|
|
- </el-col>
|
|
|
- <el-col :xs="24" :sm="12" :lg="6">
|
|
|
- <el-form-item label="手机号" prop="takerPhone">
|
|
|
- <el-input
|
|
|
- v-model.number="screenForm.takerPhone"
|
|
|
- type="number"
|
|
|
- placeholder="请输入手机号"
|
|
|
- @mousewheel.native.prevent
|
|
|
- />
|
|
|
- </el-form-item>
|
|
|
- </el-col>
|
|
|
- <el-col :xs="24" :sm="12" :lg="6">
|
|
|
- <el-form-item label="提货人" prop="takerId">
|
|
|
- <el-select v-model="screenForm.takerId" placeholder="请选择">
|
|
|
- <el-option
|
|
|
- v-for="item in pickupManList"
|
|
|
- :key="item.id"
|
|
|
- :label="item.takerName"
|
|
|
- :value="item.id"
|
|
|
- />
|
|
|
- </el-select>
|
|
|
- </el-form-item>
|
|
|
- </el-col>
|
|
|
- <el-col :xs="24" :sm="12" :lg="6">
|
|
|
- <el-form-item label="申请日期" prop="date">
|
|
|
- <el-date-picker
|
|
|
- v-model="screenForm.date"
|
|
|
- type="datetimerange"
|
|
|
- :default-time="['00:00:00', '23:59:59']"
|
|
|
- range-separator="至"
|
|
|
- style="width: 100%"
|
|
|
- value-format="yyyy-MM-dd HH:mm:ss"
|
|
|
- start-placeholder="开始日期"
|
|
|
- end-placeholder="结束日期"
|
|
|
- />
|
|
|
- </el-form-item>
|
|
|
- </el-col>
|
|
|
- <el-col :xs="24" :sm="12" :lg="6">
|
|
|
- <el-form-item label="打印时间" prop="printTime">
|
|
|
- <el-date-picker
|
|
|
- v-model="screenForm.printTime"
|
|
|
- type="datetimerange"
|
|
|
- :default-time="['00:00:00', '23:59:59']"
|
|
|
- range-separator="至"
|
|
|
- style="width: 100%"
|
|
|
- value-format="yyyy-MM-dd HH:mm:ss"
|
|
|
- start-placeholder="开始日期"
|
|
|
- end-placeholder="结束日期"
|
|
|
- />
|
|
|
- </el-form-item>
|
|
|
- </el-col>
|
|
|
- <el-col :xs="24" :sm="12" :lg="6">
|
|
|
- <el-form-item label="出库单号" prop="salesOrderId">
|
|
|
- <el-input
|
|
|
- v-model.number="screenForm.salesOrderId"
|
|
|
- type="number"
|
|
|
- placeholder="请输入出库单号"
|
|
|
- @mousewheel.native.prevent
|
|
|
- />
|
|
|
- </el-form-item>
|
|
|
- </el-col>
|
|
|
- <el-col :xs="24" :sm="12" :lg="6">
|
|
|
- <el-form-item label="制单人" prop="createBy">
|
|
|
- <el-input v-model="screenForm.createBy" placeholder="请输入制单人" />
|
|
|
- </el-form-item>
|
|
|
- </el-col>
|
|
|
- </el-row>
|
|
|
- </el-form>
|
|
|
- </template>
|
|
|
- </Collapse>
|
|
|
- </div>
|
|
|
-
|
|
|
- <div class="mymain-container">
|
|
|
- <div class="btn-group clearfix">
|
|
|
- <div class="fl">
|
|
|
- <el-button
|
|
|
- v-if="$checkBtnRole('add', $route.meta.roles)"
|
|
|
- size="mini"
|
|
|
- type="primary"
|
|
|
- icon="el-icon-plus"
|
|
|
- @click="toForm()"
|
|
|
- >新增</el-button
|
|
|
- >
|
|
|
- </div>
|
|
|
- <div class="fr">
|
|
|
- <ExportButton :ex-url="'pick/export'" :ex-params="exParams" />
|
|
|
- </div>
|
|
|
- </div>
|
|
|
- <div class="table">
|
|
|
- <el-table
|
|
|
- v-loading="listLoading"
|
|
|
- :data="dataList"
|
|
|
- element-loading-text="Loading"
|
|
|
- border
|
|
|
- fit
|
|
|
- highlight-current-row
|
|
|
- stripe
|
|
|
- >
|
|
|
- <el-table-column align="left" label="状态" min-width="80" show-overflow-tooltip>
|
|
|
- <template slot-scope="scope">
|
|
|
- {{ scope.row.printNum ? '已打单' : '未打单' }}
|
|
|
- </template>
|
|
|
- </el-table-column>
|
|
|
- <el-table-column align="left" label="是否上楼" prop="isUp" min-width="160" show-overflow-tooltip>
|
|
|
- <template slot-scope="scope">
|
|
|
- {{ scope.row.isUp == 'YES' ? '是' : '否' }}
|
|
|
- </template>
|
|
|
- </el-table-column>
|
|
|
- <el-table-column align="left" label="是否卸货" prop="isDischarge" min-width="160" show-overflow-tooltip>
|
|
|
- <template slot-scope="scope">
|
|
|
- {{ scope.row.isDischarge == 'YES' ? '是' : '否' }}
|
|
|
- </template>
|
|
|
- </el-table-column>
|
|
|
- <el-table-column align="left" label="打单日期" prop="printTime" min-width="160" show-overflow-tooltip />
|
|
|
- <el-table-column align="left" label="信息密钥" prop="informationKey" min-width="100" show-overflow-tooltip>
|
|
|
- <template slot-scope="scope">
|
|
|
- <CopyButton :copy-text="scope.row.informationKey" />
|
|
|
- <span>{{ scope.row.informationKey }}</span>
|
|
|
- </template>
|
|
|
- </el-table-column>
|
|
|
- <el-table-column align="left" label="物料编码" prop="materialCode" min-width="120" show-overflow-tooltip>
|
|
|
- <template slot-scope="scope">
|
|
|
- <CopyButton :copy-text="scope.row.materialCode" />
|
|
|
- <span>{{ scope.row.materialCode }}</span>
|
|
|
- </template>
|
|
|
- </el-table-column>
|
|
|
- <el-table-column
|
|
|
- align="left"
|
|
|
- label="产品编码"
|
|
|
- prop="materialOldNumber"
|
|
|
- min-width="140"
|
|
|
- show-overflow-tooltip
|
|
|
- >
|
|
|
- <template slot-scope="scope">
|
|
|
- <CopyButton :copy-text="scope.row.materialOldNumber" />
|
|
|
- <span>{{ scope.row.materialOldNumber }}</span>
|
|
|
- </template>
|
|
|
- </el-table-column>
|
|
|
- <el-table-column align="left" label="产品名称" prop="materialName" min-width="160" show-overflow-tooltip>
|
|
|
- <template slot-scope="scope">
|
|
|
- <CopyButton :copy-text="scope.row.materialName" />
|
|
|
- <span>{{ scope.row.materialName }}</span>
|
|
|
- </template>
|
|
|
- </el-table-column>
|
|
|
- <el-table-column align="left" label="规格型号" prop="specification" min-width="350" show-overflow-tooltip>
|
|
|
- <template slot-scope="scope">
|
|
|
- <CopyButton :copy-text="scope.row.specification" />
|
|
|
- <span>{{ scope.row.specification }}</span>
|
|
|
- </template>
|
|
|
- </el-table-column>
|
|
|
- <el-table-column
|
|
|
- align="left"
|
|
|
- label="提货总数量"
|
|
|
- prop="refundableQty"
|
|
|
- min-width="100"
|
|
|
- show-overflow-tooltip
|
|
|
- />
|
|
|
- <el-table-column align="left" label="发货申请单号" prop="invoiceId" min-width="120" show-overflow-tooltip>
|
|
|
- <template slot-scope="scope">
|
|
|
- <CopyButton :copy-text="scope.row.invoiceId" />
|
|
|
- <span>{{ scope.row.invoiceId }}</span>
|
|
|
- </template>
|
|
|
- </el-table-column>
|
|
|
- <el-table-column align="left" label="销售订单号" prop="mainOrderId" min-width="140" show-overflow-tooltip>
|
|
|
- <template slot-scope="scope">
|
|
|
- <CopyButton
|
|
|
- :copy-text="
|
|
|
- scope.row.orderType === 'TRADE' ||
|
|
|
- scope.row.orderType === 'HOME' ||
|
|
|
- scope.row.orderType === 'REQUISITION_TRADE' ||
|
|
|
- scope.row.orderType === 'REQUISITION_HOME'
|
|
|
- ? scope.row.enginOrderNo
|
|
|
- : scope.row.mainOrderId
|
|
|
- "
|
|
|
- />
|
|
|
- <span>{{
|
|
|
- scope.row.orderType === 'TRADE' ||
|
|
|
- scope.row.orderType === 'HOME' ||
|
|
|
- scope.row.orderType === 'REQUISITION_TRADE' ||
|
|
|
- scope.row.orderType === 'REQUISITION_HOME'
|
|
|
- ? scope.row.enginOrderNo
|
|
|
- : scope.row.mainOrderId
|
|
|
- }}</span>
|
|
|
- </template>
|
|
|
- </el-table-column>
|
|
|
- <el-table-column align="left" label="销售类型" prop="saleTypeName" min-width="100" show-overflow-tooltip />
|
|
|
-
|
|
|
- <el-table-column align="left" label="工程订单号" prop="enginOrderNo" min-width="140" show-overflow-tooltip>
|
|
|
- <template slot-scope="scope">
|
|
|
- <CopyButton :copy-text="scope.row.enginOrderNo" />
|
|
|
- <span>{{ scope.row.enginOrderNo }}</span>
|
|
|
- </template>
|
|
|
- </el-table-column>
|
|
|
-
|
|
|
- <el-table-column align="left" label="预约日期" prop="pickTime" min-width="100" show-overflow-tooltip>
|
|
|
- <template slot-scope="scope">
|
|
|
- {{ scope.row.pickTime | dateToDayFilter }}
|
|
|
- </template>
|
|
|
- </el-table-column>
|
|
|
- <el-table-column align="left" label="提货时段" min-width="100" show-overflow-tooltip>
|
|
|
- <template slot-scope="scope">
|
|
|
- {{ scope.row.pickStatus == '1' ? '上午' : '下午' }}
|
|
|
- </template>
|
|
|
- </el-table-column>
|
|
|
- <el-table-column
|
|
|
- align="left"
|
|
|
- label="提货仓库"
|
|
|
- prop="correspondName"
|
|
|
- min-width="100"
|
|
|
- show-overflow-tooltip
|
|
|
- />
|
|
|
- <el-table-column align="left" label="提货方式" prop="pickType" min-width="100" show-overflow-tooltip>
|
|
|
- <template slot-scope="scope">
|
|
|
- {{ scope.row.pickType == '1' ? '自提' : '物流快递' }}
|
|
|
- </template>
|
|
|
- </el-table-column>
|
|
|
- <el-table-column align="left" label="单据日期" prop="theTime" min-width="120" show-overflow-tooltip>
|
|
|
- <template slot-scope="scope">
|
|
|
- {{ scope.row.theTime | dateToDayFilter }}
|
|
|
- </template>
|
|
|
- </el-table-column>
|
|
|
-
|
|
|
- <el-table-column align="left" label="备注" prop="remark" min-width="100" show-overflow-tooltip />
|
|
|
- <el-table-column align="left" label="提货人姓名" prop="takerName" min-width="100" show-overflow-tooltip />
|
|
|
- <el-table-column align="left" label="提货人电话" prop="takerPhone" min-width="150" show-overflow-tooltip />
|
|
|
- <el-table-column align="left" label="提货物流" prop="pickLogistics" min-width="200" show-overflow-tooltip />
|
|
|
- <el-table-column align="left" label="制单人" prop="createBy" min-width="100" show-overflow-tooltip />
|
|
|
- <el-table-column align="left" label="创建时间" prop="createTime" min-width="120" show-overflow-tooltip>
|
|
|
- <template slot-scope="scope">
|
|
|
- {{ scope.row.createTime }}
|
|
|
- </template>
|
|
|
- </el-table-column>
|
|
|
- <el-table-column align="center" label="操作" width="100" fixed="right">
|
|
|
- <template slot-scope="scope">
|
|
|
- <el-button type="text" @click="toForm(scope.row, true)">详情</el-button>
|
|
|
- <el-button
|
|
|
- v-if="$checkBtnRole('edit', $route.meta.roles) && !scope.row.printNum"
|
|
|
- type="text"
|
|
|
- @click="toForm(scope.row)"
|
|
|
- >编辑</el-button
|
|
|
- >
|
|
|
- <el-popconfirm
|
|
|
- v-if="$checkBtnRole('cancel', $route.meta.roles) && ((isDealer && !scope.row.printNum) || !isDealer)"
|
|
|
- style="margin-left: 10px"
|
|
|
- :title="'确定' + (scope.row.printNum ? '作废' : '取消') + '吗?'"
|
|
|
- @onConfirm="handleCancel(scope.row.id)"
|
|
|
- >
|
|
|
- <el-button slot="reference" type="text">{{ scope.row.printNum ? '作废' : '取消' }}</el-button>
|
|
|
- </el-popconfirm>
|
|
|
- </template>
|
|
|
- </el-table-column>
|
|
|
- </el-table>
|
|
|
- </div>
|
|
|
- </div>
|
|
|
- <div class="pagination clearfix">
|
|
|
- <div class="fr">
|
|
|
- <el-pagination
|
|
|
- :current-page="currentPage"
|
|
|
- :page-sizes="[10, 20, 30, 50]"
|
|
|
- :page-size="10"
|
|
|
- layout="total, sizes, prev, pager, next, jumper"
|
|
|
- :total="listTotal"
|
|
|
- @size-change="handleSizeChange"
|
|
|
- @current-change="handleCurrentChange"
|
|
|
- />
|
|
|
- </div>
|
|
|
- </div>
|
|
|
- </div>
|
|
|
-
|
|
|
- <PickupForm v-if="isShowForm" :list-item="queryItem" :flag="flag" @backListFormDetail="backList" />
|
|
|
- </div>
|
|
|
+ <template-page
|
|
|
+ ref="pageRef"
|
|
|
+ :getList="getList"
|
|
|
+ :operation="operation()"
|
|
|
+ :optionsEvensGroup="optionsEvensGroup"
|
|
|
+ :exportList="exportList"
|
|
|
+ :columnParsing="columnParsing"
|
|
|
+ :tableAttributes="tableAttributes"
|
|
|
+ :tableEvents="tableEvents"
|
|
|
+ >
|
|
|
+ <Popu v-if="isShowForm">
|
|
|
+ <PickupForm :list-item="queryItem" :flag="flag" @backListFormDetail="backList" />
|
|
|
+ </Popu>
|
|
|
+ </template-page>
|
|
|
</template>
|
|
|
|
|
|
<script>
|
|
|
-import { getPickupList, cancelData, getPickupManList } from '@/api/supply/pickup'
|
|
|
+import TemplatePage from '@/components/template/template-page-1.vue'
|
|
|
+import Popu from '@/components/template/popu.vue'
|
|
|
+
|
|
|
+import { getPickupList, cancelData, getPickupManList, pickListV2, pickListV2Export } from '@/api/supply/pickup'
|
|
|
import { getWarehouseList } from '@/api/supply/engin'
|
|
|
import PickupForm from '@/views/supply/pickup/components/pickup_form'
|
|
|
|
|
|
export default {
|
|
|
components: {
|
|
|
- PickupForm
|
|
|
+ PickupForm,
|
|
|
+ TemplatePage,
|
|
|
+ Popu
|
|
|
},
|
|
|
data() {
|
|
|
return {
|
|
|
+ // 事件组合
|
|
|
+ optionsEvensGroup: [
|
|
|
+ [
|
|
|
+ [
|
|
|
+ {
|
|
|
+ name: '新增',
|
|
|
+ click: () => {
|
|
|
+ this.toForm()
|
|
|
+ },
|
|
|
+ isRole: this.$checkBtnRole('add', this.$route.meta.roles)
|
|
|
+ }
|
|
|
+ ]
|
|
|
+ ]
|
|
|
+ ],
|
|
|
+ // 表格属性
|
|
|
+ tableAttributes: {
|
|
|
+ // 启用勾选列
|
|
|
+ selectColumn: true
|
|
|
+ },
|
|
|
+ // 表格事件
|
|
|
+ tableEvents: {
|
|
|
+ 'selection-change': this.selectionChange
|
|
|
+ },
|
|
|
+ recordSelected: [],
|
|
|
+
|
|
|
currentPage: 1, // 当前页码
|
|
|
pageSize: 10, // 每页数量
|
|
|
listTotal: 0, // 列表总数
|
|
@@ -386,12 +108,72 @@ export default {
|
|
|
},
|
|
|
|
|
|
created() {
|
|
|
- this.getList()
|
|
|
- this.getWarehouseList()
|
|
|
- this.getPickupManList()
|
|
|
+ // this.getList()
|
|
|
+ // this.getWarehouseList()
|
|
|
+ // this.getPickupManList()
|
|
|
},
|
|
|
|
|
|
methods: {
|
|
|
+ // 列表请求函数
|
|
|
+ getList: pickListV2,
|
|
|
+ // 列表导出函数
|
|
|
+ exportList: pickListV2Export,
|
|
|
+ // 表格列解析渲染数据更改
|
|
|
+ columnParsing(item, defaultData) {
|
|
|
+ return defaultData
|
|
|
+ },
|
|
|
+ // 监听勾选变化
|
|
|
+ selectionChange(data) {
|
|
|
+ this.recordSelected = data
|
|
|
+ },
|
|
|
+ operation() {
|
|
|
+ return (h, { row, index, column }) => {
|
|
|
+ return (
|
|
|
+ <div class="operation-btns">
|
|
|
+ <el-button
|
|
|
+ size="mini"
|
|
|
+ type="text"
|
|
|
+ onClick={async () => {
|
|
|
+ this.toForm(row, true)
|
|
|
+ }}
|
|
|
+ >
|
|
|
+ 详情
|
|
|
+ </el-button>
|
|
|
+
|
|
|
+ {this.$checkBtnRole('edit', this.$route.meta.roles) && !row.printNum ? (
|
|
|
+ <el-button
|
|
|
+ size="mini"
|
|
|
+ type="text"
|
|
|
+ onClick={async () => {
|
|
|
+ this.toForm(row)
|
|
|
+ }}
|
|
|
+ >
|
|
|
+ 编辑
|
|
|
+ </el-button>
|
|
|
+ ) : (
|
|
|
+ ''
|
|
|
+ )}
|
|
|
+
|
|
|
+ {this.$checkBtnRole('cancel', this.$route.meta.roles) &&
|
|
|
+ ((this.isDealer && !row.printNum) || !this.isDealer) ? (
|
|
|
+ <el-popconfirm
|
|
|
+ onOnConfirm={async () => {
|
|
|
+ this.handleCancel(row.id)
|
|
|
+ }}
|
|
|
+ title={`是否确定需要${row.printNum ? '作废' : '取消'}该项内容?`}
|
|
|
+ >
|
|
|
+ <el-button slot="reference" size="mini" type="text">
|
|
|
+ {row.printNum ? '作废' : '取消'}
|
|
|
+ </el-button>
|
|
|
+ </el-popconfirm>
|
|
|
+ ) : (
|
|
|
+ ''
|
|
|
+ )}
|
|
|
+ </div>
|
|
|
+ )
|
|
|
+ }
|
|
|
+ },
|
|
|
+
|
|
|
// 获取仓库列表
|
|
|
getWarehouseList() {
|
|
|
getWarehouseList({
|
|
@@ -416,33 +198,33 @@ export default {
|
|
|
})
|
|
|
},
|
|
|
// 查询列表
|
|
|
- getList() {
|
|
|
- this.listLoading = true
|
|
|
+ // getList() {
|
|
|
+ // this.listLoading = true
|
|
|
|
|
|
- const params = {
|
|
|
- pageNum: this.currentPage,
|
|
|
- pageSize: this.pageSize,
|
|
|
- invoiceId: this.screenForm.orderNum,
|
|
|
- customerName: this.screenForm.jxsName,
|
|
|
- customerNumber: this.screenForm.jxsNum,
|
|
|
- correspondId: this.screenForm.correspondId,
|
|
|
- startTime: this.screenForm.date ? this.screenForm.date[0] : '',
|
|
|
- endTime: this.screenForm.date ? this.screenForm.date[1] : '',
|
|
|
- status: this.screenForm.status,
|
|
|
- takerPhone: this.screenForm.takerPhone,
|
|
|
- takerId: this.screenForm.takerId,
|
|
|
- createBy: this.screenForm.createBy,
|
|
|
+ // const params = {
|
|
|
+ // pageNum: this.currentPage,
|
|
|
+ // pageSize: this.pageSize,
|
|
|
+ // invoiceId: this.screenForm.orderNum,
|
|
|
+ // customerName: this.screenForm.jxsName,
|
|
|
+ // customerNumber: this.screenForm.jxsNum,
|
|
|
+ // correspondId: this.screenForm.correspondId,
|
|
|
+ // startTime: this.screenForm.date ? this.screenForm.date[0] : '',
|
|
|
+ // endTime: this.screenForm.date ? this.screenForm.date[1] : '',
|
|
|
+ // status: this.screenForm.status,
|
|
|
+ // takerPhone: this.screenForm.takerPhone,
|
|
|
+ // takerId: this.screenForm.takerId,
|
|
|
+ // createBy: this.screenForm.createBy,
|
|
|
|
|
|
- printStartTime: this.screenForm.printTime[0],
|
|
|
- printEndTime: this.screenForm.printTime[1],
|
|
|
- salesOrderId: this.screenForm.salesOrderId
|
|
|
- }
|
|
|
- getPickupList(params).then(res => {
|
|
|
- this.dataList = res.data.records
|
|
|
- this.listTotal = res.data.total
|
|
|
- this.listLoading = false
|
|
|
- })
|
|
|
- },
|
|
|
+ // printStartTime: this.screenForm.printTime[0],
|
|
|
+ // printEndTime: this.screenForm.printTime[1],
|
|
|
+ // salesOrderId: this.screenForm.salesOrderId
|
|
|
+ // }
|
|
|
+ // getPickupList(params).then(res => {
|
|
|
+ // this.dataList = res.data.records
|
|
|
+ // this.listTotal = res.data.total
|
|
|
+ // this.listLoading = false
|
|
|
+ // })
|
|
|
+ // },
|
|
|
|
|
|
// 提交筛选表单
|
|
|
submitScreenForm() {
|
|
@@ -480,13 +262,15 @@ export default {
|
|
|
backList() {
|
|
|
this.queryItem = {}
|
|
|
this.isShowForm = false
|
|
|
+ this.$refs.pageRef.refreshList()
|
|
|
},
|
|
|
|
|
|
// 取消/作废
|
|
|
handleCancel(id) {
|
|
|
cancelData({ id }).then(res => {
|
|
|
this.$successMsg()
|
|
|
- this.getList()
|
|
|
+ // this.getList()
|
|
|
+ this.$refs.pageRef.refreshList()
|
|
|
})
|
|
|
}
|
|
|
}
|