You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

2978 lines
99 KiB

Squashed commit of the following: commit 859932a264850d576194e4a85decdd2c542ee4fb Author: kilo <wan.ren@foxmail.com> Date: Fri Jun 16 11:18:14 2023 +0800 配送api调整 commit 8f849258241bef3bc65275eb8c6c72f084b0d42d Author: kilo <wan.ren@foxmail.com> Date: Fri Jun 16 11:15:28 2023 +0800 配送api调整 commit bb3434c07a54363a55b1f808554d59a35dff51f2 Author: caoyizhong <1270296080@qq.com> Date: Fri Jun 16 10:56:59 2023 +0800 添加班组 commit e59ea0d301e70c20aa15eb800c66417e57462d47 Merge: ffbd2d0 ccb3fd8 Author: caoyizhong <1270296080@qq.com> Date: Fri Jun 16 09:16:03 2023 +0800 Merge remote-tracking branch 'origin/dev' into dev commit ffbd2d028f29d5f7dbd2140d235aaa9f3c3a9098 Author: caoyizhong <1270296080@qq.com> Date: Fri Jun 16 09:15:54 2023 +0800 修改备货查询 commit ccb3fd8ad5b5a459ea3188b3f3e417e3668d1290 Author: 0.0 <1092404103.qq.com> Date: Thu Jun 15 20:27:23 2023 +0800 1.调整搜索时间 commit 9ef429246e8b9e9c7d5da01edd441a92bdcd34ab Author: kilo <wan.ren@foxmail.com> Date: Thu Jun 15 19:38:33 2023 +0800 仓库所属部门调整 commit 3d2b759b4ec9fe56205094050addedf626bd9533 Author: caoyizhong <1270296080@qq.com> Date: Thu Jun 15 16:23:00 2023 +0800 修改备货 commit c58aa3a26bc61fae9808270b1763a815d5be6549 Author: kilo <wan.ren@foxmail.com> Date: Thu Jun 15 15:01:55 2023 +0800 备货、预约页面 commit 0aa1c28db68dc5233143a3efe27b20db3a86336b Merge: ca423ac 72e0847 Author: caoyizhong <1270296080@qq.com> Date: Thu Jun 15 10:30:15 2023 +0800 Merge remote-tracking branch 'origin/dev' into dev commit ca423ac6e649b61a4febd224fd61d3f7103c6d46 Author: caoyizhong <1270296080@qq.com> Date: Thu Jun 15 10:30:09 2023 +0800 添加库存品页面 # Conflicts: # src/option/distribution/distributionStockList.js # src/views/distribution/inventory/distributionStockArticle.vue # src/views/distribution/inventory/distributionStockList.vue # src/views/distribution/signfor/distributionSignfor.vue # vite.config.js
2 years ago
<template>
<basic-container>
<div class="avue-crud">
<el-form
ref="form"
:model="form"
prop="consignee"
label-width="80px"
:rules="reservationRules"
>
<el-row>
<el-col :span="10">
<el-form-item label="收货人:" prop="consignee" label-width="100px">
<el-input v-model="form.consignee" clearable placeholder="请输入收货人"/>
</el-form-item>
</el-col>
<el-col :span="10">
<el-form-item label="预约时间:" prop="reservationDate" label-width="100px">
<el-date-picker
v-model="form.reservationDate"
type="date"
clearable
placeholder="选择日期时间"
>
</el-date-picker>
</el-form-item>
</el-col>
</el-row>
<el-row>
<el-col :span="10">
<el-form-item label="收货地址:" prop="deliveryAddress" label-width="100px">
<el-input v-model="form.deliveryAddress" clearable placeholder="请输入收件地址"/>
</el-form-item>
</el-col>
<el-col :span="10">
<el-form-item label="时&emsp;&emsp;段:" prop="periodOfTime" label-width="100px">
<el-radio-group v-model="form.periodOfTime" v-for="item in this.periodOfTimeData">
<el-radio :label="item.dictKey" :value="item.dictKey"
>{{ item.dictValue }}&emsp;
</el-radio>
</el-radio-group>
<!-- :label="item.dictValue"-->
</el-form-item>
</el-col>
</el-row>
<el-row>
<el-col :span="10">
<el-form-item label="收件人电话:" prop="deliveryPhone" label-width="100px">
<el-input v-model="form.deliveryPhone" placeholder="请输入收件人电话"/>
</el-form-item>
</el-col>
<el-col :span="10">
<el-form-item label="配送类型:" prop="serveType" label-width="100px">
<!-- v-for="item in this.deliveryTypeData"-->
<el-radio-group v-model="form.deliveryType">
<el-radio :label="'2'" :value="'2'">市配&emsp;</el-radio>
</el-radio-group>
</el-form-item>
</el-col>
</el-row>
<el-row>
<el-col :span="10">
<el-form-item label="代收运费:" prop="replaceFee" label-width="100px">
<el-input v-model="form.replaceFee" :disabled="true"/>
</el-form-item>
</el-col>
<el-col :span="10">
<el-form-item label="配送方式:" prop="serveType" label-width="100px">
<!-- v-for="item in this.deliveryWayData"-->
<el-radio-group v-model="form.deliveryWay">
<el-radio :label="'10'" :value="'10'">送货&emsp;</el-radio>
</el-radio-group>
</el-form-item>
</el-col>
</el-row>
Squashed commit of the following: commit 859932a264850d576194e4a85decdd2c542ee4fb Author: kilo <wan.ren@foxmail.com> Date: Fri Jun 16 11:18:14 2023 +0800 配送api调整 commit 8f849258241bef3bc65275eb8c6c72f084b0d42d Author: kilo <wan.ren@foxmail.com> Date: Fri Jun 16 11:15:28 2023 +0800 配送api调整 commit bb3434c07a54363a55b1f808554d59a35dff51f2 Author: caoyizhong <1270296080@qq.com> Date: Fri Jun 16 10:56:59 2023 +0800 添加班组 commit e59ea0d301e70c20aa15eb800c66417e57462d47 Merge: ffbd2d0 ccb3fd8 Author: caoyizhong <1270296080@qq.com> Date: Fri Jun 16 09:16:03 2023 +0800 Merge remote-tracking branch 'origin/dev' into dev commit ffbd2d028f29d5f7dbd2140d235aaa9f3c3a9098 Author: caoyizhong <1270296080@qq.com> Date: Fri Jun 16 09:15:54 2023 +0800 修改备货查询 commit ccb3fd8ad5b5a459ea3188b3f3e417e3668d1290 Author: 0.0 <1092404103.qq.com> Date: Thu Jun 15 20:27:23 2023 +0800 1.调整搜索时间 commit 9ef429246e8b9e9c7d5da01edd441a92bdcd34ab Author: kilo <wan.ren@foxmail.com> Date: Thu Jun 15 19:38:33 2023 +0800 仓库所属部门调整 commit 3d2b759b4ec9fe56205094050addedf626bd9533 Author: caoyizhong <1270296080@qq.com> Date: Thu Jun 15 16:23:00 2023 +0800 修改备货 commit c58aa3a26bc61fae9808270b1763a815d5be6549 Author: kilo <wan.ren@foxmail.com> Date: Thu Jun 15 15:01:55 2023 +0800 备货、预约页面 commit 0aa1c28db68dc5233143a3efe27b20db3a86336b Merge: ca423ac 72e0847 Author: caoyizhong <1270296080@qq.com> Date: Thu Jun 15 10:30:15 2023 +0800 Merge remote-tracking branch 'origin/dev' into dev commit ca423ac6e649b61a4febd224fd61d3f7103c6d46 Author: caoyizhong <1270296080@qq.com> Date: Thu Jun 15 10:30:09 2023 +0800 添加库存品页面 # Conflicts: # src/option/distribution/distributionStockList.js # src/views/distribution/inventory/distributionStockArticle.vue # src/views/distribution/inventory/distributionStockList.vue # src/views/distribution/signfor/distributionSignfor.vue # vite.config.js
2 years ago
<el-row>
<!-- <el-col :span="10">-->
<!-- <el-form-item label="到付运费:" prop="collectFee" label-width="100px">-->
<!-- <el-input type="number" v-model="form.collectFee" :disabled="true"/>-->
<!-- </el-form-item>-->
<!-- </el-col>-->
<el-col :span="10">
<el-form-item label="待收货款:" prop="collectionFee" label-width="100px">
<el-input type="number" v-model="form.collectionFee"/>
</el-form-item>
</el-col>
<el-col :span="10">
<el-form-item label="加&emsp;&emsp;急:" prop="serveType" label-width="100px">
<!-- v-for="item in this.deliveryWayData"-->
<el-radio-group v-model="form.isUrgent" v-for="item in this.whetherData">
<el-radio :label="item.dictKey" :value="item.dictKey"
>{{ item.dictValue }}&emsp;
</el-radio>
</el-radio-group>
</el-form-item>
</el-col>
Squashed commit of the following: commit 859932a264850d576194e4a85decdd2c542ee4fb Author: kilo <wan.ren@foxmail.com> Date: Fri Jun 16 11:18:14 2023 +0800 配送api调整 commit 8f849258241bef3bc65275eb8c6c72f084b0d42d Author: kilo <wan.ren@foxmail.com> Date: Fri Jun 16 11:15:28 2023 +0800 配送api调整 commit bb3434c07a54363a55b1f808554d59a35dff51f2 Author: caoyizhong <1270296080@qq.com> Date: Fri Jun 16 10:56:59 2023 +0800 添加班组 commit e59ea0d301e70c20aa15eb800c66417e57462d47 Merge: ffbd2d0 ccb3fd8 Author: caoyizhong <1270296080@qq.com> Date: Fri Jun 16 09:16:03 2023 +0800 Merge remote-tracking branch 'origin/dev' into dev commit ffbd2d028f29d5f7dbd2140d235aaa9f3c3a9098 Author: caoyizhong <1270296080@qq.com> Date: Fri Jun 16 09:15:54 2023 +0800 修改备货查询 commit ccb3fd8ad5b5a459ea3188b3f3e417e3668d1290 Author: 0.0 <1092404103.qq.com> Date: Thu Jun 15 20:27:23 2023 +0800 1.调整搜索时间 commit 9ef429246e8b9e9c7d5da01edd441a92bdcd34ab Author: kilo <wan.ren@foxmail.com> Date: Thu Jun 15 19:38:33 2023 +0800 仓库所属部门调整 commit 3d2b759b4ec9fe56205094050addedf626bd9533 Author: caoyizhong <1270296080@qq.com> Date: Thu Jun 15 16:23:00 2023 +0800 修改备货 commit c58aa3a26bc61fae9808270b1763a815d5be6549 Author: kilo <wan.ren@foxmail.com> Date: Thu Jun 15 15:01:55 2023 +0800 备货、预约页面 commit 0aa1c28db68dc5233143a3efe27b20db3a86336b Merge: ca423ac 72e0847 Author: caoyizhong <1270296080@qq.com> Date: Thu Jun 15 10:30:15 2023 +0800 Merge remote-tracking branch 'origin/dev' into dev commit ca423ac6e649b61a4febd224fd61d3f7103c6d46 Author: caoyizhong <1270296080@qq.com> Date: Thu Jun 15 10:30:09 2023 +0800 添加库存品页面 # Conflicts: # src/option/distribution/distributionStockList.js # src/views/distribution/inventory/distributionStockArticle.vue # src/views/distribution/inventory/distributionStockList.vue # src/views/distribution/signfor/distributionSignfor.vue # vite.config.js
2 years ago
<el-col :span="10">
<el-form-item label="其他费用:" prop="collectFee" label-width="100px">
<el-input v-model="form.otherFee" placeholder="请输入其他费用"/>
</el-form-item>
</el-col>
<el-col :span="10">
<el-form-item label="服务类型:" prop="serveType" label-width="120px">
<el-checkbox-group v-model="serveType" v-for="item in this.addvalueServeTypeData">
<el-checkbox :label="item.dictKey"
:value="item.dictKey">{{item.dictValue}}&emsp;
</el-checkbox>
</el-checkbox-group>
</el-form-item>
</el-col>
<el-col :span="10">
<el-form-item label="备注:" prop="orderSource" label-width="100px" style="width: 100%">
<el-input type="textarea" :rows="1" placeholder="请输入内容" v-model="form.remarks">
</el-input>
</el-form-item>
</el-col>
</el-row>
</el-form>
<el-tabs type="border-card">
<el-tab-pane label="订单">
<el-button type="primary" link @click="handleAddOrder"> </el-button>
<tablecmt
:columnList="columnList"
:tableData="orderData"
:loading="loading"
@inputTxt="inputsc"
@timeCheck="timesc"
@btnCheck="btnsc"
@selectCheck="selectsc"
@selection="selectionChange"
>
<template #default="slotProps">
<el-text v-if="slotProps.scope.row.resource !=='零担'"
type="primary"
link
icon="el-icon-view"
@click="viewStockArticlePackage(slotProps.scope.row)"
>查看包件
</el-text>
<el-text v-if="slotProps.scope.row.resource ==='零担' ||slotProps.scope.row.isZero ==='1'"
type="primary"
link
icon="el-icon-view"
@click="entryNum(slotProps.scope.row)"
>在库录入
</el-text>
<el-text v-if="slotProps.scope.row.resource ==='零担' ||slotProps.scope.row.isZero ==='1'"
type="primary"
link
icon="el-icon-view"
@click="entryReservationNum(slotProps.scope.row)"
>预约录入
</el-text>
<el-text
type="primary"
link
icon="el-icon-edit"
@click="removeStockArticle(slotProps.scope.row)"
>移除
</el-text
>
</template>
</tablecmt>
<!-- <el-table ref="table"
v-loading="loading"
:data="orderData"
:height="height"
style="width: 100%"
:border="option.border">
<el-table-column v-if="option.index" label="序号" type="index" width="80px"
align="center"></el-table-column>
<template v-for="(item,index) in option.columnReservations">
<el-table-column v-if="item.hide!==true"
:prop="item.prop"
:label="item.label"
:width="item.width"
:key="index">
</el-table-column>
</template>
<el-table-column prop="menu" label="操作" :width="220" align="center">
<template #="{row}">
<el-button type="primary" link icon="el-icon-view"
@click="viewStockArticlePackage(row)">查看包件
</el-button>
<el-button type="primary" link icon="el-icon-edit" @click="removeStockArticle(row)">移除
</el-button>
</template>
</el-table-column>
</el-table> -->
</el-tab-pane>
2 years ago
<el-tab-pane label="库存品">
<el-button link @click="handleAddInventory"> </el-button>
<tablecmt
:columnList="stockcolumnList"
:tableData="inventoryData"
:loading="loading"
@inputTxt="inputsc"
@timeCheck="timesc"
@btnCheck="btnsc"
@selectCheck="selectsc"
@selection="selectionChange"
>
<template #default="slotProps">
<!-- <el-text-->
<!-- v-if="inventoryShow"-->
<!-- type="primary"-->
<!-- link-->
<!-- icon="el-icon-edit"-->
<!-- @click="showStockListEdit(slotProps.scope.row)"-->
<!-- >查看详情</el-text>-->
2 years ago
<el-text
type="primary"
link
icon="el-icon-edit"
@click="removeStockList(slotProps.scope.row)"
>移除
</el-text
>
</template>
</tablecmt>
</el-tab-pane>
</el-tabs>
<el-form-item style="margin-left: 45%; margin-top: 5px">
<el-button type="primary" icon="el-icon-circle-close" @click="onSubmit"
>提交(配送订单预约)
</el-button
>
<el-button icon="el-icon-circle-close" @click="$router.go(-1)"> </el-button>
</el-form-item>
Squashed commit of the following: commit 859932a264850d576194e4a85decdd2c542ee4fb Author: kilo <wan.ren@foxmail.com> Date: Fri Jun 16 11:18:14 2023 +0800 配送api调整 commit 8f849258241bef3bc65275eb8c6c72f084b0d42d Author: kilo <wan.ren@foxmail.com> Date: Fri Jun 16 11:15:28 2023 +0800 配送api调整 commit bb3434c07a54363a55b1f808554d59a35dff51f2 Author: caoyizhong <1270296080@qq.com> Date: Fri Jun 16 10:56:59 2023 +0800 添加班组 commit e59ea0d301e70c20aa15eb800c66417e57462d47 Merge: ffbd2d0 ccb3fd8 Author: caoyizhong <1270296080@qq.com> Date: Fri Jun 16 09:16:03 2023 +0800 Merge remote-tracking branch 'origin/dev' into dev commit ffbd2d028f29d5f7dbd2140d235aaa9f3c3a9098 Author: caoyizhong <1270296080@qq.com> Date: Fri Jun 16 09:15:54 2023 +0800 修改备货查询 commit ccb3fd8ad5b5a459ea3188b3f3e417e3668d1290 Author: 0.0 <1092404103.qq.com> Date: Thu Jun 15 20:27:23 2023 +0800 1.调整搜索时间 commit 9ef429246e8b9e9c7d5da01edd441a92bdcd34ab Author: kilo <wan.ren@foxmail.com> Date: Thu Jun 15 19:38:33 2023 +0800 仓库所属部门调整 commit 3d2b759b4ec9fe56205094050addedf626bd9533 Author: caoyizhong <1270296080@qq.com> Date: Thu Jun 15 16:23:00 2023 +0800 修改备货 commit c58aa3a26bc61fae9808270b1763a815d5be6549 Author: kilo <wan.ren@foxmail.com> Date: Thu Jun 15 15:01:55 2023 +0800 备货、预约页面 commit 0aa1c28db68dc5233143a3efe27b20db3a86336b Merge: ca423ac 72e0847 Author: caoyizhong <1270296080@qq.com> Date: Thu Jun 15 10:30:15 2023 +0800 Merge remote-tracking branch 'origin/dev' into dev commit ca423ac6e649b61a4febd224fd61d3f7103c6d46 Author: caoyizhong <1270296080@qq.com> Date: Thu Jun 15 10:30:09 2023 +0800 添加库存品页面 # Conflicts: # src/option/distribution/distributionStockList.js # src/views/distribution/inventory/distributionStockArticle.vue # src/views/distribution/inventory/distributionStockList.vue # src/views/distribution/signfor/distributionSignfor.vue # vite.config.js
2 years ago
<el-dialog v-model="orderShow" title="在库订单信息" width="100%" :model="addvalue">
<!-- :before-close="handleClose"-->
<el-form :inline="true" :model="query">
<el-form-item label="订单自编号:">
<el-input v-model="query.orderCode" placeholder="请输入订单自编号"></el-input>
</el-form-item>
<el-form-item label="商场名称:">
<el-input v-model="query.mallName" placeholder="请输入商场名称"></el-input>
</el-form-item>
<el-form-item label="货物名称:">
<el-input v-model="query.descriptionGoods" placeholder="请输入货物名称"></el-input>
</el-form-item>
<el-form-item label="品牌:">
<el-input v-model="query.brand" placeholder="请输入品牌"></el-input>
</el-form-item>
<el-form-item label="顾客姓名:">
<el-input v-model="query.customerName" placeholder="请输入顾客姓名"></el-input>
</el-form-item>
<el-form-item label="顾客电话:">
<el-input v-model="query.customerTelephone" placeholder="请输入顾客电话"></el-input>
</el-form-item>
<!-- 查询按钮 -->
<el-form-item>
<el-button type="primary" icon="el-icon-search" @click="searchStockArticle"
>
</el-button
>
<el-button icon="el-icon-delete" @click="stockArticleSearchReset()"> </el-button>
</el-form-item>
</el-form>
<tablecmt
:columnList="stockArtcolumnList"
:tableData="stockArticleInfo"
:loading="loading"
@inputTxt="inputscStockArtic"
@timeCheck="timescStockArtic"
@btnCheck="btnscStockArtic"
@selectCheck="selectscStockArtic"
@selection="selectionChange"
>
<template #default="slotProps">
<el-text
type="primary"
link
icon="el-icon-edit"
@click="removeStockList(slotProps.scope.row)"
>移除
</el-text
>
</template>
</tablecmt>
<el-row>
<div class="avue-crud__pagination" style="width: 100%">
<!-- 分页模块 -->
<el-pagination
align="right"
background
@size-change="sizeOrderChange"
@current-change="currentOrderChange"
:current-page="page.currentPage"
:page-sizes="[30, 50, 80, 120]"
:page-size="page.pageSize"
layout="total, sizes, prev, pager, next, jumper"
:total="page.total"
>
</el-pagination>
</div>
</el-row>
<el-form-item style="margin-left: 45%; margin-top: 5px">
<el-button type="primary" icon="el-icon-circle-close" @click="onSubmitOrder"
>提交(订单)
</el-button
>
<el-button icon="el-icon-circle-close" @click="orderShow = false"> </el-button>
</el-form-item>
</el-dialog>
<el-dialog
v-model="zeroOrderShow"
title="零担品类信息"
width="50%"
:model="zeroOrderData">
<el-row :gutter="24" class="rows">
<el-col :xl="4" :lg="7" :md="8" :sm="24">
<h3><span>在库总数{{this.obj.handQuantity}}</span></h3>
</el-col>
</el-row>
<template v-if="zeroOrderData != null">
<div v-for="(item,index) in zeroOrderData" :key="index">
<el-row :gutter="24" class="rows">
<el-col :xl="4" :lg="7" :md="8" :sm="24">
<span>名称{{item.firsts }}</span>
</el-col>
<el-col :xl="4" :lg="7" :md="8" :sm="24">
<span>总数量{{item.quantity }} </span>
</el-col>
<el-col :xl="4" :lg="7" :md="8" :sm="24">
<span>在库数量{{item.handQuantity }} </span>
</el-col>
<el-col :xl="4" :lg="7" :md="8" :sm="24">
<span>冻结数量{{item.deliveryQuantity }} </span>
</el-col>
<el-col :xl="4" :lg="7" :md="8" :sm="24">
<span>出库数量{{item.outboundQuantity }} </span>
</el-col>
<el-col :xl="4" :lg="7" :md="8" :sm="24">
<span>可用数量{{(item.handQuantity - item.deliveryQuantity - item.outboundQuantity)}}</span>
<!-- <span>可用数量{{(item.quantity)}}</span>-->
</el-col>
</el-row>
<el-input-number v-if="this.isrReservationEntry" v-model="item.reservationNum" min="0"
:max="item.zeroOrderMax"
placeholder="请输入预约数量"></el-input-number>
<el-input-number v-else v-model="item.number" min="0"
:max="item.quantity"
placeholder="请输入预约数量"></el-input-number>
<!-- <el-input-number v-model="item.reservationNum" min="0" :max="item.quantity - item.deliveryQuantity -item.outboundQuantity " placeholder="请输入预约数量"></el-input-number>-->
</div>
</template>
<el-form-item style="margin-left: 37%; margin-top: 5px">
<el-button v-if="!isrReservationEntry" type="primary" icon="el-icon-circle-close" @click="onSubmitUpdateZeroOrder"
>修改(零担订单)
</el-button
>
<el-button type="primary" icon="el-icon-circle-close" @click="onSubmitZeroOrder"
>提交(零担订单)
</el-button
>
<el-button icon="el-icon-circle-close" @click="zeroOrderShow = false"> </el-button>
</el-form-item>
</el-dialog>
<el-dialog v-model="stockListShow" title="库存品信息" width="100%">
<!-- :before-close="handleClose"-->
<el-form :inline="true" :model="query">
<el-form-item label="商场名称:">
<el-input v-model="query.marketName" placeholder="请输入商场名称"></el-input>
</el-form-item>
<el-form-item label="物料名称:">
<el-input v-model="query.descriptionGoods" placeholder="请输入物料名称"></el-input>
</el-form-item>
<el-form-item label="商场编码:">
<el-input v-model="query.marketCode" placeholder="请输入商场编码"></el-input>
</el-form-item>
<el-form-item label="订单自编号:">
<el-input v-model="query.orderCode" placeholder="请输入订单自编号"></el-input>
</el-form-item>
<el-form-item label="品牌:">
<el-input v-model="query.brand" placeholder="请输入品牌"></el-input>
</el-form-item>
<!-- 查询按钮 -->
<el-form-item>
<el-button type="primary" icon="el-icon-search" @click="searchStockList"
>
</el-button
>
<el-button icon="el-icon-delete" @click="stockListSearchReset()"> </el-button>
</el-form-item>
</el-form>
<tablecmt
:columnList="inventoryInfocolumnList"
:tableData="inventoryInfo"
:loading="loading"
@inputTxt="inputsc"
@timeCheck="timesc"
@btnCheck="btnsc"
@selectCheck="selectsc"
@selection="selectionInventoryChange"
ref=multipleTable
>
<template #default="slotProps">
<el-text
type="primary"
link
icon="el-icon-edit"
@click="removeStockList(slotProps.scope.row)"
>移除
</el-text
>
</template>
</tablecmt>
<el-form-item style="margin-left: 45%; margin-top: 5px">
<el-button type="primary" icon="el-icon-circle-close" @click="onSubmitInventory"
>提交(库存品)
</el-button
>
<el-button icon="el-icon-circle-close" @click="stockListShow = false"> </el-button>
</el-form-item>
</el-dialog>
<el-dialog v-model="isaddvalue" title="包件信息" width="100%" :model="addvalue">
<!-- 列表模块 -->
<!-- :isselectfun="checkPackage"-->
<tablecmt
:columnList="columnParcels"
:tableData="packageData"
:checkselect="packageDataSec"
:loading="loading"
@selection="selectionPackageChange"
@select='tableAllSelection'
@cell-mouse-enter='hove'
>
<template #default="slotProps">
<!-- <el-text
type="primary"
link
icon="el-icon-edit"
@click="removeStockList(slotProps.scope.row)"
>移除</el-text
> -->
</template>
</tablecmt>
<!-- <el-table
ref="packageList"
v-loading="loading"
@selection-change="selectionPackageChange"
:data="packageData"
:height="height"
style="width: 100%"
:border="option.border"
>
<el-table-column
type="selection"
v-if="option.selection"
:selectable="checkPackage"
align="center"
width="55"
></el-table-column>
<el-table-column type="expand" v-if="option.expand" align="center"></el-table-column>
<el-table-column v-if="option.index" label="序号" type="index" width="60" align="center">
</el-table-column>
<template v-for="(item, index) in option.columnParcels">
<el-table-column
v-if="item.hide !== true"
:prop="item.prop"
:label="item.label"
:width="item.width"
:key="index"
>
</el-table-column>
</template>
<el-table-column prop="menu" label="操作" :width="220" align="center">
<template #="{ row }">
</template>
</el-table-column>
</el-table> -->
<el-form-item style="margin-left: 45%; margin-top: 5px">
<el-button type="primary" icon="el-icon-circle-close" @click="onSubmitPackage"
>提交(包件)
</el-button
>
<el-button icon="el-icon-circle-close" @click="isaddvalue = false"> </el-button>
</el-form-item>
</el-dialog>
Squashed commit of the following: commit 859932a264850d576194e4a85decdd2c542ee4fb Author: kilo <wan.ren@foxmail.com> Date: Fri Jun 16 11:18:14 2023 +0800 配送api调整 commit 8f849258241bef3bc65275eb8c6c72f084b0d42d Author: kilo <wan.ren@foxmail.com> Date: Fri Jun 16 11:15:28 2023 +0800 配送api调整 commit bb3434c07a54363a55b1f808554d59a35dff51f2 Author: caoyizhong <1270296080@qq.com> Date: Fri Jun 16 10:56:59 2023 +0800 添加班组 commit e59ea0d301e70c20aa15eb800c66417e57462d47 Merge: ffbd2d0 ccb3fd8 Author: caoyizhong <1270296080@qq.com> Date: Fri Jun 16 09:16:03 2023 +0800 Merge remote-tracking branch 'origin/dev' into dev commit ffbd2d028f29d5f7dbd2140d235aaa9f3c3a9098 Author: caoyizhong <1270296080@qq.com> Date: Fri Jun 16 09:15:54 2023 +0800 修改备货查询 commit ccb3fd8ad5b5a459ea3188b3f3e417e3668d1290 Author: 0.0 <1092404103.qq.com> Date: Thu Jun 15 20:27:23 2023 +0800 1.调整搜索时间 commit 9ef429246e8b9e9c7d5da01edd441a92bdcd34ab Author: kilo <wan.ren@foxmail.com> Date: Thu Jun 15 19:38:33 2023 +0800 仓库所属部门调整 commit 3d2b759b4ec9fe56205094050addedf626bd9533 Author: caoyizhong <1270296080@qq.com> Date: Thu Jun 15 16:23:00 2023 +0800 修改备货 commit c58aa3a26bc61fae9808270b1763a815d5be6549 Author: kilo <wan.ren@foxmail.com> Date: Thu Jun 15 15:01:55 2023 +0800 备货、预约页面 commit 0aa1c28db68dc5233143a3efe27b20db3a86336b Merge: ca423ac 72e0847 Author: caoyizhong <1270296080@qq.com> Date: Thu Jun 15 10:30:15 2023 +0800 Merge remote-tracking branch 'origin/dev' into dev commit ca423ac6e649b61a4febd224fd61d3f7103c6d46 Author: caoyizhong <1270296080@qq.com> Date: Thu Jun 15 10:30:09 2023 +0800 添加库存品页面 # Conflicts: # src/option/distribution/distributionStockList.js # src/views/distribution/inventory/distributionStockArticle.vue # src/views/distribution/inventory/distributionStockList.vue # src/views/distribution/signfor/distributionSignfor.vue # vite.config.js
2 years ago
<el-dialog
v-model="dialogVisible"
title="增值服务"
width="30%"
:model="addvalue"
:before-close="handleClose"
>
<el-form-item label="增值服务" prop="freightMark">
<el-checkbox-group v-model="form.addvalueType" @change="handleCheckedCitiesChange">
<el-checkbox
style="width: 100%; margin-bottom: 3%"
v-for="(item, index) in addvalueServeTypeData"
:key="item.dictKey"
:label="item.dictKey"
>{{ item.dictValue }}
<span v-if="index === 0 || index === 6 || index === 2 || index === 4"
>&nbsp;件数:
<el-input
type="number"
v-model="item.f"
:disabled="this.form?.freightMark?.indexOf(item.dictKey) == -1"
@change="textbox($event, index, 1)"
style="width: 10%; border: none; border-bottom: 2px solid #eee"
/>
</span>
<span v-if="index === 1"
>公里:
<el-input
type="primary"
v-model="item.a"
:disabled="this.form?.freightMark?.indexOf(item.dictKey) == -1"
@change="textbox($event, index, 2)"
style="width: 10%; border: none; border-bottom: 2px solid #eee"
/>
</span>
<span v-if="index === 3"
>距离:
<el-input
type="number"
v-model="item.b"
:disabled="this.form?.freightMark?.indexOf(item.dictKey) == -1"
@change="textbox($event, index, 3)"
style="width: 10%; border: none; border-bottom: 2px solid #eee"
/>
</span>
<span v-if="index === 5"
>人数:
<el-input
type="number"
v-model="item.c"
:disabled="this.form?.freightMark?.indexOf(item.dictKey) == -1"
@change="textbox($event, index, 4)"
style="width: 10%; border: none; border-bottom: 2px solid #eee"
/>
</span>
<span v-if="index === 0"
>楼层:
<el-input
type="number"
v-model="item.d"
:disabled="this.form?.freightMark?.indexOf(item.dictKey) == -1"
@change="textbox($event, index, 5)"
style="width: 10%; border: none; border-bottom: 2px solid #eee"
/>
</span>
<span v-if="item"
>预计费用:
<el-input
type="number"
v-model="item.e"
:disabled="this.form?.freightMark?.indexOf(item.dictKey) == -1"
@change="textbox($event, index, 6)"
style="width: 20%; border: none; border-bottom: 2px solid #eee"
/>
</span>
</el-checkbox>
</el-checkbox-group>
</el-form-item>
<template #footer>
<span class="dialog-footer">
<el-button @click="dialogVisible = false">取消</el-button>
<el-button type="primary" @click="aaa"> 确定(增值服务) </el-button>
</span>
</template>
</el-dialog>
</div>
</basic-container>
Squashed commit of the following: commit 859932a264850d576194e4a85decdd2c542ee4fb Author: kilo <wan.ren@foxmail.com> Date: Fri Jun 16 11:18:14 2023 +0800 配送api调整 commit 8f849258241bef3bc65275eb8c6c72f084b0d42d Author: kilo <wan.ren@foxmail.com> Date: Fri Jun 16 11:15:28 2023 +0800 配送api调整 commit bb3434c07a54363a55b1f808554d59a35dff51f2 Author: caoyizhong <1270296080@qq.com> Date: Fri Jun 16 10:56:59 2023 +0800 添加班组 commit e59ea0d301e70c20aa15eb800c66417e57462d47 Merge: ffbd2d0 ccb3fd8 Author: caoyizhong <1270296080@qq.com> Date: Fri Jun 16 09:16:03 2023 +0800 Merge remote-tracking branch 'origin/dev' into dev commit ffbd2d028f29d5f7dbd2140d235aaa9f3c3a9098 Author: caoyizhong <1270296080@qq.com> Date: Fri Jun 16 09:15:54 2023 +0800 修改备货查询 commit ccb3fd8ad5b5a459ea3188b3f3e417e3668d1290 Author: 0.0 <1092404103.qq.com> Date: Thu Jun 15 20:27:23 2023 +0800 1.调整搜索时间 commit 9ef429246e8b9e9c7d5da01edd441a92bdcd34ab Author: kilo <wan.ren@foxmail.com> Date: Thu Jun 15 19:38:33 2023 +0800 仓库所属部门调整 commit 3d2b759b4ec9fe56205094050addedf626bd9533 Author: caoyizhong <1270296080@qq.com> Date: Thu Jun 15 16:23:00 2023 +0800 修改备货 commit c58aa3a26bc61fae9808270b1763a815d5be6549 Author: kilo <wan.ren@foxmail.com> Date: Thu Jun 15 15:01:55 2023 +0800 备货、预约页面 commit 0aa1c28db68dc5233143a3efe27b20db3a86336b Merge: ca423ac 72e0847 Author: caoyizhong <1270296080@qq.com> Date: Thu Jun 15 10:30:15 2023 +0800 Merge remote-tracking branch 'origin/dev' into dev commit ca423ac6e649b61a4febd224fd61d3f7103c6d46 Author: caoyizhong <1270296080@qq.com> Date: Thu Jun 15 10:30:09 2023 +0800 添加库存品页面 # Conflicts: # src/option/distribution/distributionStockList.js # src/views/distribution/inventory/distributionStockArticle.vue # src/views/distribution/inventory/distributionStockList.vue # src/views/distribution/signfor/distributionSignfor.vue # vite.config.js
2 years ago
</template>
<script>
import {
autonomouslySave,
update,
remove,
getReservationInfo, getReservationZeroOrderDetail, getReservationPackageListByOrderId
} from '@/api/distribution/distributionReservation';
import {
getStockArticleList,
getPackageListByStockArticleId,
selectStockArticleInfoList,
selectUpdateAvailableStockArticle, getZeroOrderDetail
} from '@/api/distribution/distributionStockArticle';
import { getDetailDelivery } from '@/api/distribution/distributionDelivery';
import { addIncrement } from '@/api/distribution/distributionStockArticle';
import { getInventoryList, selectInventoryDetail } from '@/api/distribution/distributionStockList';
import option from '@/option/distribution/distributionStockArticle';
import { mapGetters } from 'vuex';
import { getDictionaryBiz } from '@/api/system/dict';
import dayjs from 'dayjs';
import { entryNum, updateEntryNum } from '@/api/distribution/distributionParcelNumber';
export default {
data() {
return {
columnList: [
{
prop: 'waybillNumber',
label: '运单号',
type: 2,
values: '',
width: '150',
checkarr: [],
fixed: false,
sortable: true,
head: false
},
{
prop: 'serviceNumber',
label: '服务号',
type: 2,
values: '',
width: '150',
checkarr: [],
fixed: false,
sortable: true,
head: false
},
{
prop: 'orderCode',
label: '订单自编号',
type: 2,
values: '',
width: '150',
checkarr: [],
fixed: false,
sortable: true,
head: false
},
{
prop: 'mallName',
label: '商场名称',
type: 2,
values: '',
width: '150',
checkarr: [],
fixed: false,
sortable: true,
head: false
},
{
prop: 'storeName',
label: '门店名称',
type: 2,
values: '',
width: '150',
checkarr: [],
fixed: false,
sortable: true,
head: false
},
{
prop: 'resource',
label: '订单来源',
type: 2,
values: '',
width: '150',
checkarr: [],
fixed: false,
sortable: true,
head: false
},
{
prop: 'descriptionGoods',
label: '货物名称',
type: 2,
values: '',
width: '150',
checkarr: [],
fixed: false,
sortable: true,
head: false
},
{
prop: 'warehouse',
label: '仓库',
type: 2,
values: '',
width: '150',
checkarr: [],
fixed: false,
sortable: true,
head: false
},
{
prop: 'orderStatusName',
label: '订单状态',
type: 2,
values: '',
width: '150',
checkarr: [],
fixed: false,
sortable: true,
head: false
},
{
prop: 'storeTime',
label: '在库时间',
type: 5,
values: '',
width: '150',
checkarr: [],
fixed: false,
sortable: true,
head: false
},
{
prop: 'totalNumber',
label: '订单总件数',
type: 2,
values: '',
width: '150',
checkarr: [],
fixed: false,
sortable: true,
head: false
},
{
prop: 'handQuantity',
label: '在库件数',
type: 2,
values: '',
width: '150',
checkarr: [],
fixed: false,
sortable: true,
head: false
},
{
prop: 'reservationNum',
label: '预约数量',
type: 2,
values: '',
width: '150',
checkarr: [],
fixed: false,
sortable: true,
head: false
},
{
prop: 'customerName',
label: '顾客名字',
type: 2,
values: '',
width: '150',
checkarr: [],
fixed: false,
sortable: true,
head: false
},
{
prop: 'customerTelephone',
label: '顾客电话',
type: 2,
values: '',
width: '150',
checkarr: [],
fixed: false,
sortable: true,
head: false
},
{
prop: 'customerAddress',
label: '顾客地址',
type: 2,
values: '',
width: '150',
checkarr: [],
fixed: false,
sortable: true,
head: false
},
{
prop: '',
label: '操作',
type: 6,
values: '',
width: '150',
checkarr: [],
fixed: 'right',
hide: true
}
],
stockcolumnList: [
{
prop: 'incomingBatch',
label: '入库批次号',
type: 2,
values: '',
width: '150',
checkarr: [],
fixed: false,
sortable: true,
head: false
},
{
prop: 'marketCode',
label: '商场编码',
type: 2,
values: '',
width: '150',
checkarr: [],
fixed: false,
sortable: true,
head: false
},
{
prop: 'marketName',
label: '商场名称',
type: 2,
values: '',
width: '150',
checkarr: [],
fixed: false,
sortable: true,
head: false
},
{
prop: 'storeCode',
label: '门店编码',
type: 2,
values: '',
width: '150',
checkarr: [],
fixed: false,
sortable: true,
head: false
},
{
prop: 'storeName',
label: '门店名称',
type: 2,
values: '',
width: '150',
checkarr: [],
fixed: false,
sortable: true,
head: false
},
{
prop: 'cargoNumber',
label: '货物编号',
type: 2,
values: '',
width: '150',
checkarr: [],
fixed: false,
sortable: true,
head: false
},
{
prop: 'materialId',
label: '物料ID',
type: 2,
values: '',
width: '150',
checkarr: [],
fixed: false,
sortable: true,
head: false
},
{
prop: 'descriptionGoods',
label: '物料名称',
type: 2,
values: '',
width: '150',
checkarr: [],
fixed: false,
sortable: true,
head: false
},
{
prop: 'cargoUnit',
label: '物料单位',
type: 2,
values: '',
width: '150',
checkarr: [],
fixed: false,
sortable: true,
head: false
},
{
prop: 'category',
label: '品分类',
type: 2,
values: '',
width: '150',
checkarr: [],
fixed: false,
sortable: true,
head: false
},
{
prop: 'warehouseName',
label: '仓库名称',
type: 2,
values: '',
width: '150',
checkarr: [],
fixed: false,
sortable: true,
head: false
},
{
prop: 'quantityStock',
label: '库存数量',
type: 2,
values: '',
width: '150',
checkarr: [],
fixed: false,
sortable: true,
head: false
},
{
prop: 'applyNum',
label: '可用数量',
type: 2,
values: '',
width: '150',
checkarr: [],
fixed: false,
sortable: true,
head: false
},
{
prop: 'quantityOccupied',
label: '冻结数量',
type: 2,
values: '',
width: '150',
checkarr: [],
fixed: false,
sortable: true,
head: false
},
{
prop: 'outboundQuantity',
label: '出库数量',
type: 2,
values: '',
width: '150',
checkarr: [],
fixed: false,
sortable: true,
head: false
},
{
prop: 'brand',
label: '品牌',
type: 2,
values: '',
width: '150',
checkarr: [],
fixed: false,
sortable: true,
head: false
},
{
prop: 'cargoNumber',
label: '规格',
type: 2,
values: '',
width: '150',
checkarr: [],
fixed: false,
sortable: true,
head: false
},
{
prop: 'cargoUnit',
label: '单位',
type: 2,
values: '',
width: '150',
checkarr: [],
fixed: false,
sortable: true,
head: false
},
{
prop: 'reservationNum',
label: '预约数量',
type: 10,
values: '',
width: '150',
checkarr: [],
fixed: false,
sortable: true,
head: false
},
{
prop: '',
label: '操作',
type: 6,
values: '',
width: '150',
checkarr: [],
fixed: 'right',
hide: true
}
],
stockArtcolumnList: [
{
prop: '',
label: '序号',
type: 0,
values: '',
width: '50',
checkarr: [],
fixed: false,
sortable: true,
head: false
},
{
prop: 'waybillNumber',
label: '运单号',
type: 2,
values: '',
width: '150',
checkarr: [],
fixed: false,
sortable: true,
head: false
},
{
prop: 'orderCode',
label: '订单自编号',
type: 2,
values: '',
width: '150',
checkarr: [],
fixed: false,
sortable: true,
head: false
},
{
prop: 'mallName',
label: '商场名称',
type: 2,
values: '',
width: '150',
checkarr: [],
fixed: false,
sortable: true,
head: false
},
{
prop: 'storeName',
label: '门店名称',
type: 2,
values: '',
width: '150',
checkarr: [],
fixed: false,
sortable: true,
head: false
},
{
prop: 'descriptionGoods',
label: '货物名称',
type: 2,
values: '',
width: '150',
checkarr: [],
fixed: false,
sortable: true,
head: false
},
{
prop: 'reservationStatusName',
label: '预约状态',
type: 3,
values: '',
width: '150',
checkarr: [
{
label: '未预约',
value: '10'
},
{
label: '部分预约',
value: '20'
}
],
fixed: false,
sortable: true,
head: false
},
{
prop: 'freezeStatusName',
label: '冻结状态',
type: 3,
values: '',
width: '150',
checkarr: [
{
label: '未冻结',
value: '10'
},
{
label: '部分冻结',
value: '20'
},
{
label: '已冻结',
value: '30'
}
],
fixed: false,
sortable: true,
head: false
},
{
prop: 'warehouse',
label: '仓库',
type: 2,
values: '',
width: '150',
checkarr: [],
fixed: false,
sortable: true,
head: false
},
{
prop: 'warehouseEntryTime',
label: '入库时间',
type: 4,
values: '',
width: '150',
checkarr: [],
fixed: false,
sortable: true,
head: false
},
{
prop: 'storeTime',
label: '在库时间',
type: 2,
values: '',
width: '150',
checkarr: [],
fixed: false,
sortable: true,
head: false
},
{
prop: 'totalNumber',
label: '订单总件数',
type: 2,
values: '',
width: '150',
checkarr: [],
fixed: false,
sortable: true,
head: false
},
{
prop: 'handQuantity',
label: '在库件数',
type: 2,
values: '',
width: '150',
checkarr: [],
fixed: false,
sortable: true,
head: false
},
{
prop: 'completeSetName',
label: '是否齐套',
type: 3,
values: '',
width: '150',
checkarr: [
{
label: '否',
value: '1'
},
{
label: '是',
value: '2'
}
],
fixed: false,
sortable: true,
head: false
},
{
prop: 'brand',
label: '品牌',
type: 2,
values: '',
width: '150',
checkarr: [],
fixed: false,
sortable: true,
head: false
},
{
prop: 'customerName',
label: '顾客名字',
type: 2,
values: '',
width: '150',
checkarr: [],
fixed: false,
sortable: true,
head: false
},
{
prop: 'customerTelephone',
label: '顾客电话',
type: 2,
values: '',
width: '150',
checkarr: [],
fixed: false,
sortable: true,
head: false
},
{
prop: 'customerAddress',
label: '顾客地址',
type: 2,
values: '',
width: '150',
checkarr: [],
fixed: false,
sortable: true,
head: false
},
{
prop: 'allocation',
label: '库位信息',
type: 2,
values: '',
width: '150',
checkarr: [],
fixed: false,
sortable: true,
head: false
},
{
prop: 'trays',
label: '托盘信息',
type: 2,
values: '',
width: '150',
checkarr: [],
fixed: false,
sortable: true,
head: false
}
],
inventoryInfocolumnList: [
{
prop: '',
label: '序号',
type: 0,
values: '',
width: '50',
checkarr: [],
fixed: false,
sortable: true,
head: false
},
{
prop: 'orderCode',
label: '订单自编号',
type: 2,
values: '',
width: '150',
checkarr: [],
fixed: false,
sortable: true,
head: false
},
{
prop: 'marketCode',
label: '商场编码',
type: 2,
values: '',
width: '150',
checkarr: [],
fixed: false,
sortable: true,
head: false
},
{
prop: 'marketName',
label: '商场名称',
type: 2,
values: '',
width: '150',
checkarr: [],
fixed: false,
sortable: true,
head: false
},
{
prop: 'storeCode',
label: '门店编码',
type: 2,
values: '',
width: '150',
checkarr: [],
fixed: false,
sortable: true,
head: false
},
{
prop: 'storeName',
label: '门店名称',
type: 2,
values: '',
width: '150',
checkarr: [],
fixed: false,
sortable: true,
head: false
},
{
prop: 'cargoNumber',
2 years ago
label: '物料编码',
type: 2,
values: '',
width: '150',
checkarr: [],
fixed: false,
sortable: true,
head: false
},
2 years ago
// {
// prop: 'materialId',
// label: '物料ID',
// type: 2,
// values: '',
// width: '150',
// checkarr: [],
// fixed: false,
// sortable: true,
// head: false
// },
{
prop: 'descriptionGoods',
label: '物料名称',
type: 2,
values: '',
width: '150',
checkarr: [],
fixed: false,
sortable: true,
head: false
},
{
prop: 'cargoUnit',
label: '物料单位',
type: 2,
values: '',
width: '150',
checkarr: [],
fixed: false,
sortable: true,
head: false
},
{
prop: 'category',
label: '品分类',
type: 2,
values: '',
width: '150',
checkarr: [],
fixed: false,
sortable: true,
head: false
},
{
prop: 'warehouseName',
label: '仓库名称',
type: 2,
values: '',
width: '150',
checkarr: [],
fixed: false,
sortable: true,
head: false
},
{
prop: 'quantityStock',
label: '库存数量',
type: 2,
values: '',
width: '150',
checkarr: [],
fixed: false,
sortable: true,
head: false
},
{
prop: 'applyNum',
label: '可用数量',
type: 2,
values: '',
width: '150',
checkarr: [],
fixed: false,
sortable: true,
head: false
},
{
prop: 'quantityOccupied',
label: '冻结数量',
type: 2,
values: '',
width: '150',
checkarr: [],
fixed: false,
sortable: true,
head: false
},
{
prop: 'outboundQuantity',
label: '出库数量',
type: 2,
values: '',
width: '150',
checkarr: [],
fixed: false,
sortable: true,
head: false
},
{
prop: 'brand',
label: '品牌',
type: 2,
values: '',
width: '150',
checkarr: [],
fixed: false,
sortable: true,
head: false
},
{
prop: 'cargoNumber',
label: '规格',
type: 2,
values: '',
width: '150',
checkarr: [],
fixed: false,
sortable: true,
head: false
},
{
prop: 'cargoUnit',
label: '单位',
type: 2,
values: '',
width: '150',
checkarr: [],
fixed: false,
sortable: true,
head: false
},
{
prop: 'reservationNum',
label: '预约数量',
type: 10,
values: '',
width: '150',
checkarr: [],
fixed: false,
sortable: true,
head: false
}
],
columnParcels: [
{
prop: '',
label: '序号',
type: 0,
values: '',
width: '50',
checkarr: [],
fixed: true,
sortable: true,
head: false
},
{
prop: 'warehouse',
label: '仓库',
type: 2,
values: '',
width: '150',
checkarr: [],
fixed: false,
sortable: true,
head: false
},
{
prop: 'waybillNumber',
label: '运单号',
type: 2,
values: '',
width: '150',
checkarr: [],
fixed: false,
sortable: true,
head: false
},
{
prop: 'orderPackageStatusName',
label: '包件状态',
type: 2,
values: '',
width: '150',
checkarr: [],
fixed: false,
sortable: true,
head: false
},
{
prop: 'orderPackageFreezeStatusName',
label: '冻结状态',
type: 2,
values: '',
width: '150',
checkarr: [],
fixed: false,
sortable: true,
head: false
},
{
prop: 'orderPackageGroundingStatusName',
label: '上架状态',
type: 2,
values: '',
width: '150',
checkarr: [],
fixed: false,
sortable: true,
head: false
},
{
prop: 'orderPackageStockupStatusName',
label: '备货状态',
type: 2,
values: '',
width: '150',
checkarr: [],
fixed: false,
sortable: true,
head: false
},
{
prop: 'orderPackageReservationStatusName',
label: '预约状态',
type: 2,
values: '',
width: '150',
checkarr: [],
fixed: false,
sortable: true,
head: false
},
{
prop: 'orderPackageCode',
label: '包条码',
type: 2,
values: '',
width: '150',
checkarr: [],
fixed: false,
sortable: true,
head: false
},
{
prop: 'goodsAllocation',
label: '货位信息',
type: 2,
values: '',
width: '150',
checkarr: [],
fixed: false,
sortable: true,
head: false
},
{
prop: 'pallet',
label: '所在托盘',
type: 2,
values: '',
width: '150',
checkarr: [],
fixed: false,
sortable: true,
head: false
},
{
prop: 'firsts',
label: '一级品',
type: 2,
values: '',
width: '150',
checkarr: [],
fixed: false,
sortable: true,
head: false
},
{
prop: 'second',
label: '二级品',
type: 2,
values: '',
width: '150',
checkarr: [],
fixed: false,
sortable: true,
head: false
},
{
prop: 'thirdProduct',
label: '三级品',
type: 2,
values: '',
width: '150',
checkarr: [],
fixed: false,
sortable: true,
head: false
},
{
prop: 'materialName',
label: '物料名称',
type: 2,
values: '',
width: '150',
checkarr: [],
fixed: false,
sortable: true,
head: false
},
{
prop: 'quantity',
label: '数量',
type: 2,
values: '',
width: '150',
checkarr: [],
fixed: false,
sortable: true,
head: false
},
{
prop: 'trainNumber',
label: '客户车次号',
type: 2,
values: '',
width: '150',
checkarr: [],
fixed: true,
sortable: true,
head: false
}
// {
// prop: '',
// label: '操作',
// type: 6,
// values: '',
// width: '150',
// checkarr: [],
// fixed: 'right',
// hide: true,
// },
],
height: 0,
// 弹框标题
title: '',
// 是否展示弹框
box: false,
// 是否显示查询
search: true,
// 加载中
loading: true,
// 是否为查看模式
view: false,
// 查询信息
query: {},
// 分页信息
page: {
currentPage: 1,
pageSize: 30,
total: 40
},
// 表单数据
form: {},
// 选择行
selectionList: [],
// 表单配置
option: option,
// 表单列表
data: [],
//增值服务弹窗
dialogVisible: false,
textarea: '',
//增值服务字典列表
addvalueServeTypeData: [],
//配送方式字典列表
deliveryWayData: [],
whetherData: [],
//配送类型字典列表
deliveryTypeData: [],
//增值服务列表
addvalueServeType: [],
obj: {},
//增值表单输入框对象
addvalue: {},
costList: [], //字典
//增值服务对象
addvalueObj: {},
//费用列表
feeList: [],
//楼层
floorList: [],
//订单行数据
orderInfo: {},
//服务类型
serveType: [],
//增加订单弹窗
orderShow: false,
zeroOrderData: [],
zeroOrderShow: false,
//是否是预约录入
isrReservationEntry: false,
// zeroPackageNum:0,
//在库订单信息
stockArticleInfo: [],
//库存品信息
inventoryInfo: [],
//时段
periodOfTimeData: [],
//路由订单编号
orderIds: '',
//预约编号
reservationId: '',
zeroOrderMax: 0,
// 商城名称
marketName: '',
// 包件复选框列表
packageDataSec: [],
inventoryData: [],
orderData: [],
stockListShow: false,
isaddvalue: false,
packageData: [],
packageList: [],
inventoryList: [],
orderList: [],
inventoryTable: [],
inventoryShow: false,
reservationRules: {
consignee: [{ required: true, message: '请填写收货人名称!!!', trigger: 'change' }],
deliveryAddress: [{ required: true, message: '请填写收货人地址!!!', trigger: 'blur' }],
deliveryPhone: [{ required: true, message: '请填写收货人电话!!!', trigger: 'change' }]
// enableStatus: [
// { required: true, message: '请选择启用状态!', trigger: 'change' }
// ],
},
obj: {}
};
},
created() {
this.$watch(
() => this.$route.params,
() => {
this.fetchData();
},
// 组件创建完后获取数据,
// 此时 data 已经被 observed 了
{ immediate: true }
);
},
mounted() {
this.init();
this.onLoad(this.page);
this.getDictionary();
},
watch: {
'$route.query.reservationId': {
handler(newVal, oldVal) {
console.log(newVal, oldVal);
this.fetchData();
this.onLoad(this.page);
},
deep: true,
immediate: true
}
},
computed: {
...mapGetters(['permission']),
ids() {
let ids = [];
this.selectionList.forEach(ele => {
ids.push(ele.id);
});
return ids.join(',');
}
},
methods: {
handleToggleAllSelection() {
this.$refs.selecttable.toggleAllSelection();
},
fetchData() {
this.error = this.post = null;
this.loading = true;
if (this.$route.query.id) {
this.orderIds = this.$route.query.id;
}
if (this.$route.query.reservationId) {
this.reservationId = this.$route.query.reservationId;
}
this.loading = false;
},
init() {
this.height = this.setPx(document.body.clientHeight - 340);
},
aaa() {
let addvalueInfos = [];
this.form.addvalueType.forEach((item, index) => {
let addvalueInfo = {};
addvalueInfo.addvalueId = item;
if (item == 1 || item == 3 || item == 5 || item == 7) {
addvalueInfo.number = this.costList[item];
}
if (item == 2) {
addvalueInfo.kilometer = this.costList[item];
}
if (item == 4) {
addvalueInfo.distance = this.costList[item];
}
if (item == 6) {
addvalueInfo.peopleNum = this.costList[item];
}
if (this.floorList.length > 1) {
addvalueInfo.floor = this.floorList[1];
this.floorList = [];
}
addvalueInfo.fee = this.feeList[item];
addvalueInfos.push(addvalueInfo);
});
let params = {};
params.id = this.orderInfo.id;
params.addvalue = addvalueInfos;
params.relatedId = 1;
console.log('params>>>>>>>>>>>>', params);
addIncrement(params).then(res => {
this.dialogVisible = false;
this.$message({
type: 'success',
message: '操作成功!'
});
});
this.onLoad(this.page);
},
//查询出所有的市配订单
handleAddOrder() {
this.loading = true;
//这里只需要对订单进行正常的搜索即可
this.onLoadOrder(this.page);
this.loading = false;
this.orderShow = true;
},
checkOrder(row, index) {
if (row.freezeStatus === '30' || row.freezeStatusName === '已冻结') {
return false;
} else {
return true;
}
},
handleAddInventory() {
let page = this.page;
let params = {};
this.query.serviceType = '2';
params.marketName = this.marketName
console.log('params :>> ', params);
getInventoryList(page.currentPage, page.pageSize, Object.assign(params, this.query)).then(
res => {
const inventoryList = res.data.data;
inventoryList.records.forEach(item => {
item.reservationNum = '0';
item.applyNum = item.quantityStock - item.quantityOccupied;
});
this.page.total = inventoryList.total;
console.log('res :>> ', res);
// this.inventoryInfo = inventoryList.records.filter(value=>{
// if(this.marketName === '')return value
// return value.marketName === this.marketName
// });
this.inventoryInfo = inventoryList.records
this.inventoryInfo = inventoryList.records.filter(value => {
if (this.marketName === '') return value;
return value.marketName === this.marketName;
});
//存在库存品,需要将库存品进行回显勾选
if (this.inventoryData) {
this.inventoryInfo.forEach((item, index) => {
this.inventoryData.forEach(inventory => {
if (item.id === inventory.id) {
item = inventory;
this.$nextTick(() => {
this.$refs.inventoryTable.toggleRowSelection(this.inventoryInfo[index], true);
});
}
});
});
}
console.log('------------->', this.inventoryData);
this.loading = false;
this.selectionClear();
}
);
this.query = {};
this.inventoryList = [];
this.stockListShow = true;
},
handleCheckedCitiesChange(value) {
if (value) {
this.form.addvalueType = value;
}
console.log('>>>>>', this.form);
if (value.length < 1) {
this.costList = [];
this.costListName = [];
}
this.deliveryWayData.forEach(i => {
if (value.includes(i.dictKey)) {
console.log(i);
i.pitch = true;
this.costListName = value;
}
});
},
textbox(e, index, a) {
console.log('e,index', e, index, a);
if (a === 6) {
this.feeList[index + 1] = e;
return;
}
if (a === 5)
if (index === 0 && a === 5) {
this.floorList[index + 1] = e;
return;
}
this.costList[index + 1] = e;
//费用列表
},
//数据字典数据获取
getDictionary() {
getDictionaryBiz('addvalue_serve_type').then(res => {
this.addvalueServeTypeData = res.data.data;
});
getDictionaryBiz('delivery_way').then(res => {
this.deliveryWayData = res.data.data;
});
getDictionaryBiz('distribution_type').then(res => {
this.deliveryTypeData = res.data.data;
});
getDictionaryBiz('period_of_time').then(res => {
this.periodOfTimeData = res.data.data;
});
getDictionaryBiz('yes_no').then(res => {
this.whetherData = res.data.data;
});
},
addvalueServe(row) {
//查询订单的增值服务,
this.addvalueServeType = [];
this.addvalue = {};
this.dialogVisible = true;
this.costList = [];
this.feeList = [];
this.floorList = [];
this.orderInfo = row;
},
searchHide() {
this.search = !this.search;
},
searchChange() {
this.onLoad(this.page);
},
searchReset() {
this.query = {};
this.page.currentPage = 1;
this.onLoad(this.page);
},
entryReservationNum(row) {
this.obj = row;
if (this.reservationId) {
//查询零担计划数量详情
console.log('order------------>', row.id);
getReservationZeroOrderDetail(this.reservationId, row.id).then(res => {
let a = res.data.data;
a.forEach(item=>{
item.zeroOrderMax = (item.handQuantity - item.deliveryQuantity - item.outboundQuantity + item.reservationNum)
})
this.zeroOrderData = res.data.data;
// console.log(res.data.data);
});
} else {
getZeroOrderDetail(row.id).then(res => {
if (res.data.data != null) {
let a = res.data.data;
a.forEach(item=>{
item.zeroOrderMax = (item.handQuantity - item.deliveryQuantity - item.outboundQuantity)
})
this.zeroOrderData = res.data.data;
}
});
}
this.zeroOrderShow = true;
this.isrReservationEntry = true;
},
entryNum(row) {
this.obj = row;
getZeroOrderDetail(row.id).then(res => {
if (res.data.data != null) {
this.zeroOrderData = res.data.data;
}
});
this.zeroOrderShow = true;
this.isrReservationEntry = false;
},
// 选择包件信息
// selectionPackageChange(list) {
// console.log(list,'list22');
// console.log('-----------<>', list);
// this.packageListInfo=list
// console.log(this.packageListInfo,'packageListInfo');
// if (this.reservationId) {
// this.packageDataSec = list;
// } else {
// //新增
// let a = [];
// list.forEach(item => {
// if (
// item.orderPackageReservationStatus === '10' ||
// item.orderPackageReservationStatusName === '未预约'
// ) {
// a.push(item);
// }
// });
// this.packageDataSec = a;
// }
// },
// 查看包件
// 自动选中
selectMatchingRows(val) {
console.log(val,'数组');
console.log(this.packageData);
const selectedIds = val; // 需要匹配选中的ID
// const matchedArray = this.packageData.filter(item => selectedIds.includes(item.id));
// console.log(matchedArray,"处理好的数据");
this.packageData.forEach(item => {
if (selectedIds.includes(item.id)) {
console.log(item,'包含================================================================>');
this.selectionPackageChange(item)
}
});
},
// if (row) {
// this.selectionPackageChange(row)
// console.log( this.selectionPackageChange(),'12312312312321函数');
// }
viewStockArticlePackage(row) {
this.loading = true;
this.packageList = row.packageList;
this.obj = row;
let page = this.page;
this. toggleAllSelection
console.log('row>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>', row);
if (this.reservationId) {
getReservationPackageListByOrderId(this.reservationId,row.id,page.currentPage,page.pageSize).then(res=>{
console.log("->>>>>>>>>>>>>>>>>>查看包件",res);
this.packageData = res.data.data.data.packageList
console.log(this.packageData,'需要的信息');
console.log(res.data.data.data.reservationPackageList);
let idList=[]
res.data.data.data.reservationPackageList.forEach(v=>{
idList.push(v.id)
})
console.log(idList);
})
// 自动选中
// //这里就是编辑的数据回显问题
// let packageInfo = row.parcelListVOS;
// // this.packageData = row.parcelListVOS;
// let packageListData = this.packageData;
// if (row.packageList.length > 0) {
// let packageListInfo = row.packageList;
// packageInfo.forEach((item, index) => {
// packageListInfo.forEach(p => {
// if (item.id === p.id) {
// this.$nextTick(() => {
// this.$refs.packageList.toggleRowSelection(this.packageData[index], true);
// });
// }
// });
// });
// } else {
// //新增订单,默认全选
// packageInfo.forEach((item, index) => {
// this.$nextTick(() => {
// this.$refs.packageList.toggleRowSelection(this.packageData[index], true);
// });
// });
// }
// this.packageData = row.parcelListVOS;
//
// // 当row内packageList为空时, 默认全选
// if (row.packageList.length === 0) {
// this.packageDataSec = row.parcelListVOS;
// } else {
// this.packageDataSec = row.parcelListVOS.filter(item => {
// return row.packageList.some(value => value.id === item.id);
// });
// }
} else {
getPackageListByStockArticleId(page.currentPage,page.pageSize,row.id).then(res=>{
console.log("res---------------->",res);
console.log(res.data.data.records);
this.packageData=res.data.data.records
})
// this.packageData = row.parcelListVOS;
// this.packageDataSec = row.parcelListVOS;
// //这里回显展示的效果应该是展示被其他预约单勾选的订单处于禁用勾选,冻结订单处于禁用无法勾选,其他默认为全选
// let data = row.parcelListVOS;
// data.forEach((item, index) => {
// if (
// item.orderPackageReservationStatusName === '已预约' ||
// item.orderPackageReservationStatus === '20'
// ) {
// // //这里就是表示包件此时状态处于已预约,表示该订单下的这个包件信息被其他的预约信息使用,此时应该处于勾选禁用状态
// this.$nextTick(() => {
// this.$refs.packageList.toggleRowSelection(this.packageData[index], true);
// });
// // console.log('::', item);
// // this.checkPackage(item, index);
// }
// // else if (
// // item.orderPackageFreezeStatusName !== '已冻结' ||
// // item.orderPackageFreezeStatus !== '20'
// // ) {
// // this.$nextTick(() => {
// // this.$refs.packageList.toggleRowSelection(this.packageData[index], true);
// // });
// // }
// });
}
this.isaddvalue = true;
this.loading = false;
},
// 选择包件信息
// selectionPackageChange(list) {
// console.log(list,'list22');
// console.log('-----------<>', list);
// if (this.reservationId) {
// this.packageDataSec = list;
// } else {
// //新增
// let a = [];
// list.forEach(item => {
// if (
// item.orderPackageReservationStatus === '10' ||
// item.orderPackageReservationStatusName === '未预约'
// ) {
// a.push(item);
// }
// });
// this.packageDataSec = a;
// }
// },
// 全选表格新增
checkPackage(row, index) {
//区分编辑还是新增
//编辑需要对这个预约单下的包件信息均可进行调整
console.log(row, 'rowrowrowrowrowrow');
2 years ago
// if (!this.reservationId) {
// if (
// row.orderPackageReservationStatusName === '已预约' ||
// row.orderPackageReservationStatusName === '20'
// ) {
// return true;
// }
// }
if (row.orderPackageFreezeStatus === '10' || row.orderPackageFreezeStatusName === '已冻结') {
return false;
} else {
return true;
}
},
//搜索订单
searchStockArticle() {
let params = {};
let page = this.page;
this.query.typeService = 2;
this.query.genre = 1;
// if (this.reservationId) {
// this.onLoadEditOrder(this.page);
// } else {
this.onLoadOrder(this.page);
// }
// selectStockArticleList(page.currentPage, page.pageSize, Object.assign(params, this.query)).then(res => {
// const data = res.data.data;
// data.records.forEach(item => {
// item.reservationNum = item.handQuantity;
// });
// this.page.total = data.total;
// this.stockArticleInfo = data.records;
// this.loading = false;
// // this.selectionClear();
// });
},
searchStockList() {
let params = {};
let page = this.page;
this.query.serviceType = 2;
getInventoryList(page.currentPage, page.pageSize, Object.assign(params, this.query)).then(
res => {
const inventoryList = res.data.data;
inventoryList.records.forEach(item => {
item.reservationNum = '0';
});
this.page.total = inventoryList.total;
this.inventoryInfo = inventoryList.records;
this.loading = false;
this.selectionClear();
}
);
},
stockArticleSearchReset() {
this.selectionList = [];
this.query = {};
this.handleAddOrder();
},
stockListSearchReset() {
this.selectionList = [];
this.query = {};
this.handleAddInventory();
},
// 提交包件数
onSubmitPackage() {
// this.packageListInfo
if (this.packageDataSec.length === 0) {
this.$message.warning('请选择包件!!!');
return;
}
this.orderData.forEach(item => {
if (item.id === this.obj.id) {
item.packageList = this.packageDataSec;
}
});
console.log('this.orderData------------>', this.orderData);
this.isaddvalue = false;
},
onSubmit() {
//新增预约单
let orderIds = [];
let inventoryIds = [];
let inventoryList = [];
let stockArticleList = [];
let operation = true;
this.inventoryData.forEach(item => {
if (item.reservationNum === '0' || item.reservationNum > item.quantityStock) {
this.$message({
type: 'warning',
message: '请输入' + item.orderCode + '正确数量!'
});
operation = false;
return;
}
item.reservationNum = item.reservationNum;
inventoryIds.push(item.id);
inventoryList.push(item);
});
orderIds.join(',');
inventoryIds.join(',');
this.form.stockArticleIds = orderIds.toString();
this.form.inventoryIds = inventoryIds.toString();
this.form.inventoryList = inventoryList;
console.log('-------------->', this.orderData);
let order = this.orderData;
order.forEach(o => {
if (!o.packageListInfo) {
o.packageListInfo = o.packageList;
}
});
this.form.stockArticleList = order;
this.deliveryWayData.forEach(item => {
if (this.form.deliveryWay === item.dictValue) {
this.form.deliveryWay = item.dictKey;
}
});
this.deliveryTypeData.forEach(item => {
if (this.form.deliveryType === item.dictValue) {
this.form.deliveryType = item.dictKey;
}
});
this.periodOfTimeData.forEach(item => {
if (this.form.periodOfTime === item.dictValue) {
this.form.periodOfTime = item.dictKey;
}
});
this.form.serveType = this.serveType.sort().join(',');
//服务号
this.orderData.forEach(item => {
console.log('-------------->item', item);
if (!item.packageListInfo) {
item.packageListInfo = item.parcelListVOS;
}
});
console.log('------------------->this.form.inventoryList', this.form.inventoryList);
console.log('------------------->this.form.stockArticleList', this.form.stockArticleList);
if (JSON.stringify(this.form.inventoryList) === '[]' && JSON.stringify(this.form.stockArticleList) === '[]') {
this.$message({
type: 'warning',
message: '无效的预约计划!'
});
operation = false;
return;
}
// this.form.stockArticleList = this.packageList;
console.log('>>>>>>>>', this.form);
if (this.reservationId) {
this.form.id = this.reservationId;
update(this.form).then(() => {
this.$router.go(-1);
this.$message({
type: 'success',
message: '操作成功!'
});
Squashed commit of the following: commit 90291a00b04155608041d88f7b7b8d88b55bb318 Merge: be19329 ee582b8 Author: caoyizhong <1270296080@qq.com> Date: Mon Jul 24 09:45:25 2023 +0800 Merge remote-tracking branch 'origin/dev' into dev commit be1932929cf12e3e061d49c663381af50cea1dfa Author: caoyizhong <1270296080@qq.com> Date: Mon Jul 24 09:45:19 2023 +0800 修改备货详情分页 commit ee582b870f1382e394f43a745fcff62a8f9c907d Author: kilo <wan.ren@foxmail.com> Date: Mon Jul 24 09:37:21 2023 +0800 商配订单编辑按钮功能 commit 69e78881de7d88bf71f5eed0e2448ed00e326295 Author: caoyizhong <1270296080@qq.com> Date: Sat Jul 22 18:18:28 2023 +0800 修改备货查询页面 commit 1f88807491dc926b7ba2bceb31b597625d589c82 Author: ‘chaoosc’ <‘chaoosc@gmail.com’> Date: Sat Jul 22 16:38:46 2023 +0800 完成对客户仓库的绑定 commit 5115291ed0f71450c509b26f932d271e3807a64f Author: ‘chaoosc’ <‘chaoosc@gmail.com’> Date: Sat Jul 22 15:48:57 2023 +0800 修改服务仓绑定 commit 2e91cd33f73690aabe1d7ded6f0034df67f4f119 Author: pref_mail@163.com <123456> Date: Sat Jul 22 14:27:45 2023 +0800 增加未客户指定服务仓库 commit 27bad3bf5e511e724290b8713c8419ff45ad3547 Author: caoyizhong <1270296080@qq.com> Date: Sat Jul 22 10:47:18 2023 +0800 修改备货页面 commit 90216258bfe6cac9216b656b9f6650003e445c42 Author: zhenghaoyu <zhenghaoyu@superbgrace.com> Date: Fri Jul 21 08:57:04 2023 +0800 修改客户列表bug commit b47b37d5a5057fa4e7ba691ca71194b7d28f7235 Merge: a36232b 64a011b Author: caoyizhong <1270296080@qq.com> Date: Thu Jul 20 20:35:14 2023 +0800 Merge remote-tracking branch 'origin/dev' into dev commit a36232b89bec58b13c05dcec0f218b5efbc0783d Author: caoyizhong <1270296080@qq.com> Date: Thu Jul 20 20:35:08 2023 +0800 修改添加备货页面 commit 64a011b966b85a494a1b385d316e8f7c26560cec Author: kilo <wan.ren@foxmail.com> Date: Thu Jul 20 19:00:42 2023 +0800 托盘、货位增加老系统数据维护 commit d2cec50b73fc4a2254fba1ec32efe6f76137622b Merge: 886221c cd7883d Author: kilo <wan.ren@foxmail.com> Date: Thu Jul 20 18:59:38 2023 +0800 Merge remote-tracking branch 'origin/dev' into dev commit cd7883da6994a9b89bfd807deb6ad49e301588f6 Author: 0.0 <1092404103.qq.com> Date: Thu Jul 20 18:15:04 2023 +0800 1.库存品详情 commit 886221c46b13b7a8f291c85842d1c60c44dab0c4 Merge: 8869a82 c3a675b Author: kilo <wan.ren@foxmail.com> Date: Thu Jul 20 17:33:21 2023 +0800 Merge remote-tracking branch 'origin/dev' into dev commit c3a675b9f61fc672a2e0bcec4ea2f2ea07a0b15b Author: zhenghaoyu <zhenghaoyu@superbgrace.com> Date: Thu Jul 20 09:55:37 2023 +0800 在库运单功能模块提交 commit 67f50c40e1d93f6521fb2e2ac7ecfaa6047edb53 Author: 0.0 <1092404103.qq.com> Date: Thu Jul 20 08:58:19 2023 +0800 1.文员签收时间 commit 8869a82210e04b460d73b9e5d15c3aa4b73ed8d5 Author: kilo <wan.ren@foxmail.com> Date: Wed Jul 19 19:00:24 2023 +0800 预约查看页面 commit b51ac6154176b6eb11dfc31400434066fbe7f85d Merge: cdbe2c9 2db4ddc Author: 0.0 <1092404103.qq.com> Date: Wed Jul 19 18:13:32 2023 +0800 Merge remote-tracking branch 'origin/dev' into dev commit cdbe2c90ad65a6d8356a70140c278fad40adb943 Author: 0.0 <1092404103.qq.com> Date: Wed Jul 19 18:13:28 2023 +0800 1.原型修改 commit 2db4ddcc230b99d1ba1385e3384f08c6fb147062 Author: caoyizhong <1270296080@qq.com> Date: Wed Jul 19 18:09:19 2023 +0800 修改库存品查看页面 commit 95d1eef069ff23f7038a027c2cfdf3b02996ca72 Author: caoyizhong <1270296080@qq.com> Date: Wed Jul 19 11:02:20 2023 +0800 修改库存品页面 # Conflicts: # vite.config.js
2 years ago
});
} else {
this.form.reservationStatus = '20';
autonomouslySave(this.form).then(() => {
this.$message({
type: 'success',
message: '操作成功!'
});
this.$router.go(-1);
});
}
},
handleClose(done) {
this.$confirm('确认关闭?')
.then(_ => {
done();
})
.catch(_ => {
});
},
removeStockArticle(row) {
if (this.inventoryData.length == 0 && this.orderData.length == 1 && this.reservationId) {
this.$message.warning('如需移除请取消该预约计划!!');
return;
}
this.orderData.forEach((item, index) => {
if (item.id === row.id) {
this.orderData.splice(index, 1);
}
console.log(item);
});
// 当两个列表没有数据时, 清空限制
if (this.inventoryData.length === 0 && this.orderData.length === 0) this.marketName = '';
// 当列表没有数据时, 表单清空
if (this.orderData.length === 0) this.form = {};
console.log('>>>>>>>>>>>>>>>row', row);
},
removeStockList(row) {
if (this.inventoryData.length == 1 && this.orderData.length == 0 && this.reservationId) {
this.$message.warning('最少剩下一个数据');
return;
}
this.inventoryData.forEach((item, index) => {
if (item.id === row.id) {
this.inventoryData.splice(index, 1);
}
console.log('item>>>>>>>>>>>', item);
});
// 当两个列表没有数据时, 清空限制
if (this.inventoryData.length === 0 && this.orderData.length === 0) this.marketName = '';
console.log('>>>>>>>>>>>>>>>row', row);
},
showStockListEdit(row) {
console.log('>>>>>>>>>>>>>>>row', row);
//查看库存品详情
let a = {};
a.reservationId = this.reservationId;
a.inventoryId = row.id;
selectInventoryDetail(1, 20, a).then(res => {
console.log('------------>', res);
});
},
handleView(row) {
this.title = '查看';
this.view = true;
this.box = true;
getDetailDelivery(row.id).then(res => {
this.form = res.data.data;
Squashed commit of the following: commit 905bffef83461cceb5fc9c2ebac4a3991a1e70d1 Merge: f40f2ec 08b1e3c Author: big-y <804609860@qq.com> Date: Wed Aug 30 15:12:10 2023 +0800 Merge remote-tracking branch 'origin/dev' into dev commit f40f2ec43ba0999162cfd9e611b3973590dde25a Author: big-y <804609860@qq.com> Date: Wed Aug 30 15:11:51 2023 +0800 产品包配置回显问题已调整完成 commit 08b1e3c3697512f4f56440465a5a450a8dd6074c Merge: bdcb96d 1db8162 Author: caoyizhong <1270296080@qq.com> Date: Wed Aug 30 14:35:59 2023 +0800 Merge remote-tracking branch 'origin/dev' into dev commit bdcb96d90c0b79220f0f7700f49646b10ab2586c Author: caoyizhong <1270296080@qq.com> Date: Wed Aug 30 14:35:52 2023 +0800 添加全部订单记录 commit 1db8162b7e6640a4aba841b05f60598403c3050f Author: 0.0 <1092404103.qq.com> Date: Wed Aug 30 11:04:35 2023 +0800 1.仓库权限 commit e20a7de5dbfc234999041a47a2a4539a163c1049 Author: pref_mail@163.com <123456> Date: Tue Aug 29 22:30:16 2023 +0800 修复预约 commit ec972fcd59457fe3377d586607eba86dcc6d1ecb Author: kilo <wan.ren@foxmail.com> Date: Tue Aug 29 21:41:01 2023 +0800 页面调整 commit 357d9cebd7e9ceb84362a66868b372085008618f Author: caoyizhong <1270296080@qq.com> Date: Tue Aug 29 17:31:04 2023 +0800 添加订单可空格查询 commit 7d75a1cf641a411515fc058cc52966782c335bff Author: pref_mail@163.com <123456> Date: Tue Aug 29 17:14:26 2023 +0800 修改运单显示字段 commit 21771e869973256019140c434959d9268bd20f5e Author: 0.0 <1092404103.qq.com> Date: Tue Aug 29 17:08:25 2023 +0800 1.禁用 commit d52dccc92791c7c26a25092fe0f0181a6c456cd8 Merge: 42ee206 ea10e1c Author: caoyizhong <1270296080@qq.com> Date: Tue Aug 29 11:15:07 2023 +0800 Merge remote-tracking branch 'origin/dev' into dev commit 42ee2067e0a24a25d01f404895b7135f9ced5aa2 Author: caoyizhong <1270296080@qq.com> Date: Tue Aug 29 11:14:32 2023 +0800 修改班组人员添加 # Conflicts: # src/views/basicdata/team/basicdataTeamStaff.vue
2 years ago
});
},
rowDel(row) {
this.$confirm('确定将选择数据删除?', {
confirmButtonText: '确定',
cancelButtonText: '取消',
type: 'warning'
})
.then(() => {
return remove(row.id);
})
.then(() => {
this.onLoad(this.page);
this.$message({
type: 'success',
message: '操作成功!'
});
});
},
beforeClose(done) {
done();
this.form = {};
this.view = false;
},
selectionChange(list) {
this.orderList = list;
console.log('list :>> ', list);
},
// 选择包件信息
selectionPackageChange(list) {
console.log('掉用了此函数',list);
console.log(list,'list22');
console.log('-----------<>', list);
this.packageListInfo=list
console.log(this.packageListInfo,'packageListInfo');
if (this.reservationId) {
this.packageDataSec = list;
} else {
//新增
let a = [];
list.forEach(item => {
if (
item.orderPackageReservationStatus === '10' ||
item.orderPackageReservationStatusName === '未预约'
) {
a.push(item);
}
});
this.packageDataSec = a;
}
},
selectionInventoryChange(list) {
// if (this.reservationId){
console.log('-----------<>', list);
this.inventoryList = list;
// }else {
// //新增
// let a = [];
// list.forEach(item=>{
// if (item.orderPackageReservationStatus === '10' || item.orderPackageReservationStatusName === '未预约'){
// a.push(item);
// }
// })
// this.inventoryList = a;
// }
},
onSubmitUpdateZeroOrder() {
console.log('this.obj--------------------->', this.obj);
console.log('this.zeroOrderData--------------------->', this.zeroOrderData);
console.log('this.zeroOrderData--------------------->', this.zeroOrderData);
this.isrReservationEntry = false;
let a = this.zeroOrderData;
if (a.length > 1) {
let b = 0;
//计算该品类已使用数量
a.forEach(item => {
b += item.number;
});
let f = a.every(item=>{
console.log('this.number--------------------->', item.number);
console.log('number--------------------->', (item.deliveryQuantity + item.outboundQuantity));
if (item.number < (item.deliveryQuantity + item.outboundQuantity) || item.number > item.quantity){
return false;
}
return true;
})
if (b > this.obj.handQuantity) {
this.$message({
type: 'error',
message: '录入数量超过订单在库数量!'
});
return;
}
if (!f) {
this.$message({
type: 'error',
message: '请检查修改数量!'
});
return;
}
}
updateEntryNum(this.zeroOrderData).then(res=>{
if (res) {
this.$message({
type: 'success',
message: '操作成功'
});
}
})
this.zeroOrderShow = false;
console.log('-------------->', this.zeroOrderData);
},
onSubmitZeroOrder() {
if (this.isrReservationEntry) {
//零担预约数量录入
this.orderData.forEach(item => {
if (this.obj.id === item.id) {
item.parcelNumberVOS = this.zeroOrderData;
}
});
} else {
//在库数量录入
let a = this.zeroOrderData;
if (a.length > 0) {
let n = 0;
a.forEach(item => {
n += item.number;
});
if (n > this.obj.handQuantity) {
this.$message({
type: 'error',
message: '录入数量超过订单在库数量!'
});
return;
}
let b = a.every(item => {
console.log('最大数量-------------->', (item.handQuantity + item.outboundQuantity + item.deliveryQuantity + item.number));
if ((item.handQuantity + item.outboundQuantity + item.deliveryQuantity + item.number) > item.quantity) {
return false;
}
return true;
});
console.log('----------------->', b);
if (!b) {
this.$message({
type: 'error',
message: '请输入正确数量!'
});
return;
}
}
entryNum(this.zeroOrderData).then(res => {
if (res) {
this.$message({
type: 'success',
message: '操作成功'
});
}
});
console.log('this.zeroOrderData------------->', this.zeroOrderData);
}
this.zeroOrderShow = false;
},
// 增加库存品
onSubmitInventory() {
if (this.inventoryList.length === 0) {
this.$message.warning('请选择至少一条数据');
return;
}
this.inventoryList.forEach(item => {
if (item.reservationNum > item.applyNum) {
this.$message.warning('该库存品数量输入有误!!!');
return;
}
});
console.log('this.inventoryList :>> ', this.inventoryList);
// 检测商场是否选择统一商场
let _marketName = '';
const _isUnifyMarketName = this.inventoryList.every(value => {
if (_marketName === '') _marketName = value.marketName;
return _marketName === value.marketName;
});
if (!_isUnifyMarketName) {
this.$message.warning('请选择统一商场!!!');
return;
}
this.marketName = _marketName;
this.inventoryData = this.inventoryList;
// if (this.orderData.length) {
// this.inventoryList.some(i => {
// let a = this.inventoryData.filter((ele) => ele.id == i.id).length >= 1;
// if (!a) {
// this.inventoryData.push(i);
// }
// });
// } else {
// this.inventoryData = this.selectionList;
// }
this.stockListShow = false;
},
/**
* 增加订单提交
*/
onSubmitOrder() {
console.log('-------------》', this.orderList);
if (this.orderList.length === 0) return this.$message.warning('最少选择一条数据!!!')
const list = this.orderList;
let _name = list[0].customerName;
let _address = list[0].customerAddress;
let _phone = list[0].customerTelephone;
let _marketName = list[0].mallName
// 循环查看数据是否符合要求
const isRturn = list.every((item)=>{
if (item.mallName !== _marketName) {
this.$message.warning('请选择统一商场!!!')
return false
}
if (item.customerName !== _name || item.customerAddress !== _address || item.customerTelephone !== _phone) {
this.$message.warning('请选择统一顾客订单!!!')
return false
}
return true
})
if (!isRturn) return
Squashed commit of the following: commit 905bffef83461cceb5fc9c2ebac4a3991a1e70d1 Merge: f40f2ec 08b1e3c Author: big-y <804609860@qq.com> Date: Wed Aug 30 15:12:10 2023 +0800 Merge remote-tracking branch 'origin/dev' into dev commit f40f2ec43ba0999162cfd9e611b3973590dde25a Author: big-y <804609860@qq.com> Date: Wed Aug 30 15:11:51 2023 +0800 产品包配置回显问题已调整完成 commit 08b1e3c3697512f4f56440465a5a450a8dd6074c Merge: bdcb96d 1db8162 Author: caoyizhong <1270296080@qq.com> Date: Wed Aug 30 14:35:59 2023 +0800 Merge remote-tracking branch 'origin/dev' into dev commit bdcb96d90c0b79220f0f7700f49646b10ab2586c Author: caoyizhong <1270296080@qq.com> Date: Wed Aug 30 14:35:52 2023 +0800 添加全部订单记录 commit 1db8162b7e6640a4aba841b05f60598403c3050f Author: 0.0 <1092404103.qq.com> Date: Wed Aug 30 11:04:35 2023 +0800 1.仓库权限 commit e20a7de5dbfc234999041a47a2a4539a163c1049 Author: pref_mail@163.com <123456> Date: Tue Aug 29 22:30:16 2023 +0800 修复预约 commit ec972fcd59457fe3377d586607eba86dcc6d1ecb Author: kilo <wan.ren@foxmail.com> Date: Tue Aug 29 21:41:01 2023 +0800 页面调整 commit 357d9cebd7e9ceb84362a66868b372085008618f Author: caoyizhong <1270296080@qq.com> Date: Tue Aug 29 17:31:04 2023 +0800 添加订单可空格查询 commit 7d75a1cf641a411515fc058cc52966782c335bff Author: pref_mail@163.com <123456> Date: Tue Aug 29 17:14:26 2023 +0800 修改运单显示字段 commit 21771e869973256019140c434959d9268bd20f5e Author: 0.0 <1092404103.qq.com> Date: Tue Aug 29 17:08:25 2023 +0800 1.禁用 commit d52dccc92791c7c26a25092fe0f0181a6c456cd8 Merge: 42ee206 ea10e1c Author: caoyizhong <1270296080@qq.com> Date: Tue Aug 29 11:15:07 2023 +0800 Merge remote-tracking branch 'origin/dev' into dev commit 42ee2067e0a24a25d01f404895b7135f9ced5aa2 Author: caoyizhong <1270296080@qq.com> Date: Tue Aug 29 11:14:32 2023 +0800 修改班组人员添加 # Conflicts: # src/views/basicdata/team/basicdataTeamStaff.vue
2 years ago
// 设置商场名称
if (this.marketName === '') this.marketName = _marketName
this.marketName = list[0].marketName;
this.form.consignee = _name;
this.form.deliveryAddress = _address;
this.form.deliveryPhone = _phone;
//这里需要对选择的订单进行筛选
const info = [];
this.stockArticleInfo.forEach((item, index) => {
this.orderList.forEach(order => {
// const newDate1 = this.orderData.map(item => { // map遍历本地数据
// if (this.orderList.find(o => o.id !== item.id)) { // 如果在接口数据中包含本地数据,则返回这条本地数据
// return item;
// });
// } info.push(order);
//清理原来订单列表的订单数据
info.push(order);
this.stockArticleInfo.splice(index, 1);
});
});
if (this.orderData.length >= 1) {
let newDate1 = this.orderData.map(item => {
// map遍历本地数据
if (this.orderList.find(o => o.id !== item.id)) {
// 如果在接口数据中包含本地数据,则返回这条本地数据
return item;
}
});
console.log('newDate1-------------->', newDate1.length);
if (newDate1.length >= 1) {
console.log('newDate1-------------->', newDate1);
newDate1.forEach(a => {
this.orderData.push(a);
});
}
console.log('this.orderData------------->', this.orderData);
} else {
this.orderData = this.orderList;
}
this.orderData.forEach(a => {
a.reservationNum = a.handQuantity;
});
// this.orderData.push(info);
this.orderShow = false;
},
selectionClear() {
this.selectionList = [];
this.query = {};
// this.$refs.table.clearSelection();
},
currentOrderChange(currentPage) {
this.page.currentPage = currentPage;
// if (this.reservationId) {
// this.onLoadEditOrder(this.page, this.reservationId);
// } else {
// this.onLoadOrder(this.page);
// }
this.onLoadOrder(this.page);
},
sizeOrderChange(pageSize) {
this.page.pageSize = pageSize;
// if (this.reservationId) {
// this.onLoadEditOrder(this.page, this.reservationId);
// } else {
// this.onLoadOrder(this.page);
// }
this.onLoadOrder(this.page);
},
onLoadEditOrder(params = {}) {
this.query.typeService = 2;
this.query.genre = '1';
const page = this.page;
let a = [];
if (this.orderData) {
this.orderData.forEach(item => {
a.push(item.id);
});
}
this.query.orderIds = a.join(',');
this.query.reservationId = this.reservationId;
selectUpdateAvailableStockArticle(
page.currentPage,
page.pageSize,
this.reservationId,
Object.assign(params, this.query)
).then(res => {
console.log('res123123------------>', res);
const data = res.data.data;
console.log('data :>> ', data);
this.stockArticleInfo = data.records;
this.stockArticleInfo.forEach((item, index) => {
//检查订单是否冻结
this.checkOrder(item, index);
if (this.orderData) {
this.orderData.forEach(o => {
if (o.id === item.id) {
//回显选择的包件信息
this.$nextTick(() => {
this.$refs.orderList.toggleRowSelection(this.stockArticleInfo[index], true);
});
}
});
} else {
this.orderList = [];
}
});
this.page.total = data.total;
});
// this.query = {};
},
inputscStockArtic(index, row) {
console.log(index, row);
this.query[row.prop] = index;
this.onLoadOrder(this.page);
},
timescStockArtic(index, row) {
console.log(index, row);
if (!!index) {
index = dayjs(index).format('YYYY-MM-DD');
}
this.query[row.prop] = index;
if (!index) {
delete this.query[row.prop];
}
this.onLoadOrder(this.page);
},
btnscStockArtic(index, row) {
console.log(index, row);
this.onLoad(this.page);
},
selectscStockArtic(index, row) {
console.log(index, row);
if (row.prop === 'reservationStatusName') {
this.query['reservationStatus'] = index;
} else if (row.prop === 'freezeStatusName') {
this.query['freezeStatus'] = index;
} else if (row.prop === 'completeSetName') {
this.query['completeSet'] = index;
}
// else if(row.prop ==='groundingStatusName'){
// this.query['groundingStatus'] = index;
// }else if(row.prop ==='stockupStatusName'){
// this.query['stockupStatus'] = index;
// }else if(row.prop ==='orderStatusName'){
// this.query['orderStatus'] = index;
// }else if(row.prop ==='typeServerName'){
// this.query['typeService'] = index;
// }
// else if(row.prop ==='orderReceiveStatusName'){
// this.query['orderReceiveStatus'] = index;
// }
else {
this.query[row.prop] = index;
}
this.onLoadOrder(this.page);
},
onLoadOrder(page, params = {}) {
this.query.typeService = 2;
this.query.genre = '1';
this.query.marketName = this.marketName
// const page = this.page;
let a = [];
if (this.orderData) {
this.orderData.forEach(item => {
a.push(item.id);
});
}
this.query.orderIds = a.join(',');
console.log('--------------query>', this.query);
selectStockArticleInfoList(
page.currentPage,
page.pageSize,
Object.assign(params, this.query)
).then(res => {
console.log('res123------------>', res);
const { records, total } = res.data.data;
this.stockArticleInfo = records.filter(value => {
if (this.marketName === '') return value;
if (this.marketName) {
console.log('value.marketName :>> ', value.marketName);
return value.mallName === this.marketName;
}
});
// const {records, total} = res.data.data;
this.stockArticleInfo = records
console.log('this.stockArticleInfo :>> ', this.stockArticleInfo);
this.stockArticleInfo.forEach((item, index) => {
//检查订单是否冻结
this.checkOrder(item, index);
// if (this.orderData) {
// this.orderData.forEach(o => {
// if (o.id === item.id) {
// this.$nextTick(() => {
// this.$refs.orderList.toggleRowSelection(this.stockArticleInfo[index], true);
// });
// }
// });
// }else {
// this.orderList = [];
// }
this.page.total = total;
});
this.orderList = [];
});
},
onLoad() {
// this.loading = true;
this.form.deliveryType = '2';
this.form.deliveryWay = '10';
this.form.periodOfTime = '3';
this.form.otherFee = 0;
this.form.replaceFee = 0;
this.form.collectionFee = 0;
this.form.isUrgent = '1';
this.form.reservationDate = new Date();
if (this.orderIds) {
getStockArticleList(this.orderIds).then(res => {
console.log(res.data.data);
const data = res.data.data;
let name = '';
let phone = '';
let address = '';
let typeService = '';
console.log('>>>>>>>>>>>>>', data);
for (let i = 0; i < data.length; i++) {
if (i === 0) {
name = data[0].customerName;
phone = data[0].customerTelephone;
address = data[0].customerAddress;
typeService = data[0].typeService.toString();
// typeName = data[0].typeName;
}
}
this.form.consignee = name;
this.form.deliveryPhone = phone;
this.form.deliveryType = typeService;
this.form.deliveryAddress = address;
this.orderData = data;
});
}
if (this.reservationId) {
this.inventoryShow = true;
getReservationInfo(this.reservationId).then(res => {
const reservation = res.data.data;
const stockArticleListInfo = res.data.data.stockArticleList;
// stockArticleListInfo.forEach(item=>{
//
// })
console.log('reservation>>>>>>>>', reservation);
// 添加限制的商场名称
this.marketName = reservation.mallName;
this.orderData = reservation.stockArticleList;
this.inventoryData = reservation.inventoryList;
this.inventoryData.forEach(item => {
item.applyNum = item.quantityStock - item.quantityOccupied;
});
this.form.deliveryType = reservation.deliveryType;
this.form.periodOfTime = reservation.periodOfTime;
if (reservation.serveType) {
//过滤字符串中的','
this.serveType = Array.from(reservation.serveType).filter(s => {
return s !== ',';
});
}
this.form = reservation;
});
} else {
this.form.deliveryType = '2';
}
this.loading = false;
}
}
};
Squashed commit of the following: commit 859932a264850d576194e4a85decdd2c542ee4fb Author: kilo <wan.ren@foxmail.com> Date: Fri Jun 16 11:18:14 2023 +0800 配送api调整 commit 8f849258241bef3bc65275eb8c6c72f084b0d42d Author: kilo <wan.ren@foxmail.com> Date: Fri Jun 16 11:15:28 2023 +0800 配送api调整 commit bb3434c07a54363a55b1f808554d59a35dff51f2 Author: caoyizhong <1270296080@qq.com> Date: Fri Jun 16 10:56:59 2023 +0800 添加班组 commit e59ea0d301e70c20aa15eb800c66417e57462d47 Merge: ffbd2d0 ccb3fd8 Author: caoyizhong <1270296080@qq.com> Date: Fri Jun 16 09:16:03 2023 +0800 Merge remote-tracking branch 'origin/dev' into dev commit ffbd2d028f29d5f7dbd2140d235aaa9f3c3a9098 Author: caoyizhong <1270296080@qq.com> Date: Fri Jun 16 09:15:54 2023 +0800 修改备货查询 commit ccb3fd8ad5b5a459ea3188b3f3e417e3668d1290 Author: 0.0 <1092404103.qq.com> Date: Thu Jun 15 20:27:23 2023 +0800 1.调整搜索时间 commit 9ef429246e8b9e9c7d5da01edd441a92bdcd34ab Author: kilo <wan.ren@foxmail.com> Date: Thu Jun 15 19:38:33 2023 +0800 仓库所属部门调整 commit 3d2b759b4ec9fe56205094050addedf626bd9533 Author: caoyizhong <1270296080@qq.com> Date: Thu Jun 15 16:23:00 2023 +0800 修改备货 commit c58aa3a26bc61fae9808270b1763a815d5be6549 Author: kilo <wan.ren@foxmail.com> Date: Thu Jun 15 15:01:55 2023 +0800 备货、预约页面 commit 0aa1c28db68dc5233143a3efe27b20db3a86336b Merge: ca423ac 72e0847 Author: caoyizhong <1270296080@qq.com> Date: Thu Jun 15 10:30:15 2023 +0800 Merge remote-tracking branch 'origin/dev' into dev commit ca423ac6e649b61a4febd224fd61d3f7103c6d46 Author: caoyizhong <1270296080@qq.com> Date: Thu Jun 15 10:30:09 2023 +0800 添加库存品页面 # Conflicts: # src/option/distribution/distributionStockList.js # src/views/distribution/inventory/distributionStockArticle.vue # src/views/distribution/inventory/distributionStockList.vue # src/views/distribution/signfor/distributionSignfor.vue # vite.config.js
2 years ago
</script>
<style lang="scss">
input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
-webkit-appearance: none;
}
Squashed commit of the following: commit 859932a264850d576194e4a85decdd2c542ee4fb Author: kilo <wan.ren@foxmail.com> Date: Fri Jun 16 11:18:14 2023 +0800 配送api调整 commit 8f849258241bef3bc65275eb8c6c72f084b0d42d Author: kilo <wan.ren@foxmail.com> Date: Fri Jun 16 11:15:28 2023 +0800 配送api调整 commit bb3434c07a54363a55b1f808554d59a35dff51f2 Author: caoyizhong <1270296080@qq.com> Date: Fri Jun 16 10:56:59 2023 +0800 添加班组 commit e59ea0d301e70c20aa15eb800c66417e57462d47 Merge: ffbd2d0 ccb3fd8 Author: caoyizhong <1270296080@qq.com> Date: Fri Jun 16 09:16:03 2023 +0800 Merge remote-tracking branch 'origin/dev' into dev commit ffbd2d028f29d5f7dbd2140d235aaa9f3c3a9098 Author: caoyizhong <1270296080@qq.com> Date: Fri Jun 16 09:15:54 2023 +0800 修改备货查询 commit ccb3fd8ad5b5a459ea3188b3f3e417e3668d1290 Author: 0.0 <1092404103.qq.com> Date: Thu Jun 15 20:27:23 2023 +0800 1.调整搜索时间 commit 9ef429246e8b9e9c7d5da01edd441a92bdcd34ab Author: kilo <wan.ren@foxmail.com> Date: Thu Jun 15 19:38:33 2023 +0800 仓库所属部门调整 commit 3d2b759b4ec9fe56205094050addedf626bd9533 Author: caoyizhong <1270296080@qq.com> Date: Thu Jun 15 16:23:00 2023 +0800 修改备货 commit c58aa3a26bc61fae9808270b1763a815d5be6549 Author: kilo <wan.ren@foxmail.com> Date: Thu Jun 15 15:01:55 2023 +0800 备货、预约页面 commit 0aa1c28db68dc5233143a3efe27b20db3a86336b Merge: ca423ac 72e0847 Author: caoyizhong <1270296080@qq.com> Date: Thu Jun 15 10:30:15 2023 +0800 Merge remote-tracking branch 'origin/dev' into dev commit ca423ac6e649b61a4febd224fd61d3f7103c6d46 Author: caoyizhong <1270296080@qq.com> Date: Thu Jun 15 10:30:09 2023 +0800 添加库存品页面 # Conflicts: # src/option/distribution/distributionStockList.js # src/views/distribution/inventory/distributionStockArticle.vue # src/views/distribution/inventory/distributionStockList.vue # src/views/distribution/signfor/distributionSignfor.vue # vite.config.js
2 years ago
input[type='number'] {
-moz-appearance: textfield;
}
Squashed commit of the following: commit 859932a264850d576194e4a85decdd2c542ee4fb Author: kilo <wan.ren@foxmail.com> Date: Fri Jun 16 11:18:14 2023 +0800 配送api调整 commit 8f849258241bef3bc65275eb8c6c72f084b0d42d Author: kilo <wan.ren@foxmail.com> Date: Fri Jun 16 11:15:28 2023 +0800 配送api调整 commit bb3434c07a54363a55b1f808554d59a35dff51f2 Author: caoyizhong <1270296080@qq.com> Date: Fri Jun 16 10:56:59 2023 +0800 添加班组 commit e59ea0d301e70c20aa15eb800c66417e57462d47 Merge: ffbd2d0 ccb3fd8 Author: caoyizhong <1270296080@qq.com> Date: Fri Jun 16 09:16:03 2023 +0800 Merge remote-tracking branch 'origin/dev' into dev commit ffbd2d028f29d5f7dbd2140d235aaa9f3c3a9098 Author: caoyizhong <1270296080@qq.com> Date: Fri Jun 16 09:15:54 2023 +0800 修改备货查询 commit ccb3fd8ad5b5a459ea3188b3f3e417e3668d1290 Author: 0.0 <1092404103.qq.com> Date: Thu Jun 15 20:27:23 2023 +0800 1.调整搜索时间 commit 9ef429246e8b9e9c7d5da01edd441a92bdcd34ab Author: kilo <wan.ren@foxmail.com> Date: Thu Jun 15 19:38:33 2023 +0800 仓库所属部门调整 commit 3d2b759b4ec9fe56205094050addedf626bd9533 Author: caoyizhong <1270296080@qq.com> Date: Thu Jun 15 16:23:00 2023 +0800 修改备货 commit c58aa3a26bc61fae9808270b1763a815d5be6549 Author: kilo <wan.ren@foxmail.com> Date: Thu Jun 15 15:01:55 2023 +0800 备货、预约页面 commit 0aa1c28db68dc5233143a3efe27b20db3a86336b Merge: ca423ac 72e0847 Author: caoyizhong <1270296080@qq.com> Date: Thu Jun 15 10:30:15 2023 +0800 Merge remote-tracking branch 'origin/dev' into dev commit ca423ac6e649b61a4febd224fd61d3f7103c6d46 Author: caoyizhong <1270296080@qq.com> Date: Thu Jun 15 10:30:09 2023 +0800 添加库存品页面 # Conflicts: # src/option/distribution/distributionStockList.js # src/views/distribution/inventory/distributionStockArticle.vue # src/views/distribution/inventory/distributionStockList.vue # src/views/distribution/signfor/distributionSignfor.vue # vite.config.js
2 years ago
</style>