Commit 179336bd by 前端

Merge branch 'SAAS+V5.1.0' of http://192.168.3.233:8090/saas_plus/dj-car-life-sy…

…stem into SAAS+V5.1.0
2 parents 8d33125c 5b27bd48
......@@ -234,6 +234,12 @@ export function getResidentListApi(data) {
return request(data, "post")
}
// 分页查询园区店员工列表(可增加特殊门店列表)
export function getEmployee(data) {
data.method = `dj.api.employee.yq.page`
return request(data, "post")
}
// 导入员工修订工资
export function importStaffSalaryApi(data) {
data.method = `${path2}staffMonthSalary.staffSalary.import`
......
......@@ -100,6 +100,9 @@ export default {
formatter: (cellValue) => {
return this.priceFilter(cellValue.serviceCost)
}
}, {
label: '备注',
prop: 'remark'
}]
},
// 基本数据
......
......@@ -4,7 +4,7 @@
<div class="edit-order-dialog" v-if="dialogShow">
<div class="table-class">
<d2-table ref="purchaseOrderDetailTable" :table-params="tableParams" :has-page="hasPage" @refreshTable="refreshTable" :table-data="tableList" :table-total="detailInfo.tableTotal">
<div slot="nowPurNum" slot-scope="scope">
<div slot="nowPurNum" slot-scope="scope" style="margin: 0 8px;">
<el-select v-model="nowPurNumList[scope.index]" placeholder="请选择" clearable>
<el-option v-for="item in staffList" :key="item.uuid" :label="item.staffName" :value="item.uuid">
</el-option>
......@@ -26,9 +26,9 @@
</el-tooltip>
<div v-else>-</div>
</template>
<template slot="deliveryRemark" slot-scope="scope">
<div slot="deliveryRemark" slot-scope="scope" style="margin: 0 8px;">
<el-input v-model="scope.scope.deliveryRemark" maxlength="50" placeholder="请输入"></el-input>
</template>
</div>
</d2-table>
</div>
<div class="footer">
......@@ -229,9 +229,12 @@ export default {
},
handleBatchConfirm() {
this.nowPurNumList.forEach((item, idx) => {
this.tableList.forEach((item, idx) => {
this.nowPurNumList[idx] = this.batchForm.consignor
})
// this.nowPurNumList.forEach((item, idx) => {
// this.nowPurNumList[idx] = this.batchForm.consignor
// })
this.batchDialogVisible()
},
getStaffList() {
......
......@@ -24,7 +24,7 @@
</div> -->
<div class="table-class">
<d2-table ref="purchaseOrderDetailTable" :table-params="tableParams" :has-page="hasPage" :table-data="tableList">
<div slot="nowPurNum" slot-scope="scope">
<div slot="nowPurNum" slot-scope="scope" style="margin: 0 8px;">
<!-- 未退货才可以 -->
<div v-if="
(tableList[scope.index].purchaseNumber == 0 ||
......@@ -48,7 +48,7 @@
}}
</div>
</div>
<div slot="cardNum" slot-scope="scope">
<div slot="cardNum" slot-scope="scope" style="margin: 0 8px;">
<div v-if="tableList[scope.index].entityCardFlag != 'Y' || (tableList[scope.index].shipperUuid && tableList[scope.index].shipperUuid != userInfo.detail.uuid)">
-
</div>
......@@ -311,6 +311,7 @@ export default {
{
label: "已发货数量",
prop: "purchaseNumber",
width: 120,
formatter: (cellValue) => {
return baseConfig.membraneTypeList.includes(cellValue.goodsType)
? `${cellValue.purchaseNumber || 0}卷`
......@@ -320,11 +321,13 @@ export default {
{
label: "本次发货数量",
prop: "",
width: 124,
addHtml: "nowPurNum"
},
{
label: "发货卡号",
prop: "",
width: 122,
addHtml: "cardNum"
}
]
......
<!-- 发货单详情弹窗 -->
<template>
<div>
<d2-dialog title="详细信息" :is-visible="detailVisible" class="stockMonthDailog" width="70%" :no-cancel="true" btn-ok-label="关闭" @closeDialog="handleClose" @confirmDialog="handleClose">
<d2-dialog title="详细信息" :is-visible="detailVisible" class="stockMonthDailog" width="1400px" :no-cancel="true" btn-ok-label="关闭" @closeDialog="handleClose" @confirmDialog="handleClose">
<div class="detail-info">
<div>
发货单号:
......@@ -51,7 +51,6 @@
</div>
</div>
<div slot="reference">
<!-- <img style="width: 14px;height: 13px;" src="./images/merchant_icon.png"> -->
<span style="color: #2A58AD;">(…{{ scope.scope.filmRollList.length }})</span>
</div>
</el-popover>
......
......@@ -18,9 +18,12 @@
<auth-button category="Button" />
</d2-table-header>
<d2-table ref="recordTable" :get-list-api="getListApi" :search-form="searchFormSearch" :table-params="tableParams" :before-search-fn="beforeSearchFn">
<el-tooltip slot="orderCode" slot-scope="scope" effect="dark" placement="top" :content="scope.columnsObj.formatter(scope.scope)">
<span class="one-line-ellipsis">{{ scope.columnsObj.formatter(scope.scope) }}</span>
</el-tooltip>
<div slot="orderCode" slot-scope="scope">
<el-tooltip v-if="scope.scope.orderCode.split(',').length > 1" effect="dark" placement="top" :content="scope.columnsObj.formatter(scope.scope)">
<span class="one-line-ellipsis">{{ scope.columnsObj.formatter(scope.scope) }}</span>
</el-tooltip>
<div v-else>{{ scope.columnsObj.formatter(scope.scope) }}</div>
</div>
<div slot="auth-button" slot-scope="scope">
<!-- 查看 -->
<span style="margin-right: 10px">
......@@ -31,7 +34,7 @@
<auth-button :data="scope.scope" :show-btn-ids="['9090504']" />
</span>
<!-- 撤销 -->
<span v-if="scope.scope.putStatus == 0" style="margin-right: 10px">
<span v-if="[0, 1].includes(scope.scope.putStatus)" style="margin-right: 10px">
<auth-button :data="scope.scope" :show-btn-ids="['9090503']" />
</span>
<!-- 发货签收单 -->
......
......@@ -75,6 +75,9 @@
<el-input type="textarea" placeholder="请输入驳回原因" maxlength="50" :rows="3" show-word-limit v-model.trim="rejectData.rejectCause" class="dis-in-block reject-input" />
</el-form-item>
</el-form>
<p style="margin-left: 150px; color: #999999;">
说明:驳回后,整个采购订单进行驳回,无法再重新进行发货操作。
</p>
</div>
<!-- <div class="footer">
<el-button @click="handleRejectClose">取消</el-button>
......@@ -92,8 +95,8 @@
<el-input type="textarea" placeholder="请输入备注信息" maxlength="200" :rows="3" show-word-limit v-model.trim="terminateDelivery.terminateDeliveryInstruction" class="dis-in-block reject-input" />
</el-form-item>
</el-form>
<p style="margin-left: 150px">
说明:结束发货后,订单发货完结,无法再重新进行发货操作。是否确定结束发货
<p style="margin-left: 150px; color: #999999;">
说明:结束发货后,整个采购订单发货完结,无法再重新进行发货操作。
</p>
</div>
<!-- <div class="footer">
......@@ -155,7 +158,7 @@ export default {
// ]
},
config: {
title: "驳回提示",
title: "驳回",
width: "750px"
}
},
......
<!-- 权限管理 -->
<template>
<d2-dialog title="权限管理" :is-visible="isShow" class="accountDailog" @closeDialog="handleClose" width="850px"
<d2-dialog title="权限管理" :is-visible="isShow" class="accountDailog" @closeDialog="handleClose" width="600px"
@confirmDialog="handleAddConfirm">
<div class="content">
<el-form ref="form" :model="form" :rules="rules" label-suffix=":" label-width="140px">
......@@ -8,7 +8,8 @@
<el-select multiple collapse-tags v-model="form.staffIds" value-key="id" filterable remote reserve-keyword
placeholder="请选择员工(多选)" style="width: 350px" :remote-method="remoteMethod" @change="changeOpt"
:loading="loading">
<el-option v-for="(item, index) in options" :key="item.id" :label="item.staffName" :value="item">
<el-option class="option" v-for="(item, index) in options" :key="item.id" :label="item.staffName"
:value="item">
</el-option>
</el-select>
</el-form-item>
......@@ -24,7 +25,7 @@
</template>
<script>
import { getResidentListApi, getPermissionsList, addBatchPermissions } from "@api/resident"
import { getResidentListApi, getPermissionsList, addBatchPermissions, getEmployee } from "@api/resident"
import { deepClone } from '@/common/util'
import { merchantClassifyList } from '@/common/constants'
export default {
......@@ -123,8 +124,8 @@ export default {
})
},
getResidentList() {
getResidentListApi({
pageSize: 10,
getEmployee({
pageSize: 20,
currentPage: 1
}).then(res => {
console.log(res)
......@@ -175,8 +176,8 @@ export default {
this.loading = true
setTimeout(() => {
this.loading = false
var params = { currentPage: 1, pageSize: 100, staffName: queryString, }
getResidentListApi(params).then(res => {
var params = { currentPage: 1, pageSize: 100, staffName: queryString }
getEmployee(params).then(res => {
const list = this.form.staffIds || []
const options = [...list, ...res.list || []]
// // 对数据对象去重过滤
......@@ -275,4 +276,8 @@ export default {
font-size: 12px;
color: #666666;
}
.option {
width: 26%;
}
</style>
<!-- 服务商管理 -->
<template>
<d2-container class="service-manage">
<div class="header"
slot="header">
<d2-search ref="showSearch"
class="show-search"
label-width="100px"
:search-form="searchForm"
:form-data="showFormData" />
<div class="header" slot="header">
<d2-search ref="showSearch" class="show-search" label-width="100px" :search-form="searchForm"
:form-data="showFormData" />
<div class="up-btns">
<el-button :id="tableParams.btnId"
size="small"
type="primary">
<el-button :id="tableParams.btnId" size="small" type="primary">
查询
</el-button>
<el-button size="small"
@click="handleReset">
<el-button size="small" @click="handleReset">
重置
</el-button>
</div>
......@@ -25,28 +18,17 @@
<span slot="left">园区店服务商关联列表</span>
<auth-button category="Button" />
</d2-table-header>
<d2-table ref="serviceStoreTable"
:search-form="searchForm"
:table-params="tableParams"
:get-list-api="getListApi"
:before-search-fn="beforeSearchFn">
<auth-button slot="auth-button"
slot-scope="scope"
:data="scope.scope">
<d2-table ref="serviceStoreTable" :search-form="searchForm" :table-params="tableParams" :get-list-api="getListApi"
:before-search-fn="beforeSearchFn">
<auth-button slot="auth-button" slot-scope="scope" :data="scope.scope">
</auth-button>
</d2-table>
<qrcode-dialog :q-rcode-visible="qRcodeVisible"
:info="recordInfo"
v-if="qRcodeVisible"
@dialogClose="dialogClose" />
<qrcode-dialog :q-rcode-visible="qRcodeVisible" :info="recordInfo" v-if="qRcodeVisible"
@dialogClose="dialogClose" />
</div>
<wxQRcodeDialog :q-rcode-visible.sync="QRcodeDialog"
v-if="QRcodeDialog"
:merchant-info="recordInfo" />
<scene-entry-dialog :scene-entry-visible="sceneEntryVisible"
:info="recordInfo"
v-if="sceneEntryVisible"
@dialogClose="sceneDialogClose" />
<wxQRcodeDialog :q-rcode-visible.sync="QRcodeDialog" v-if="QRcodeDialog" :merchant-info="recordInfo" />
<scene-entry-dialog :scene-entry-visible="sceneEntryVisible" :info="recordInfo" v-if="sceneEntryVisible"
@dialogClose="sceneDialogClose" />
</d2-container>
</template>
......@@ -131,6 +113,10 @@ export default {
prop: 'yqCode'
},
{
label: '园区店号',
prop: 'merchantId'
},
{
label: '模式',
prop: '',
formatter: (cellValue) => {
......@@ -149,10 +135,7 @@ export default {
label: '主服务商',
prop: 'partnerMerchantName'
},
{
label: '园区店号',
prop: 'merchantId'
},
{
label: '登录账户',
prop: 'accountName'
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!