Merge remote-tracking branch 'origin/dev_ksck_z' into dev_ksck_z

20240912_adapter_z
wangwei 10 months ago
commit 13c6f20a1f

@ -84,6 +84,7 @@
<el-button type="primary" icon="el-icon-plus" @click="addCollectionPoints"></el-button> <el-button type="primary" icon="el-icon-plus" @click="addCollectionPoints"></el-button>
</el-button-group> </el-button-group>
</div> </div>
<el-divider style="margin: 15px"></el-divider>
<el-table v-loading="loading" :data="list" style="width: 100%" :row-style="{height: '32px' }" @current-change="handCurrentChange" highlight-current-row <el-table v-loading="loading" :data="list" style="width: 100%" :row-style="{height: '32px' }" @current-change="handCurrentChange" highlight-current-row
> >
<el-table-column type="index" label="序号"></el-table-column> <el-table-column type="index" label="序号"></el-table-column>

@ -26,7 +26,7 @@
<el-button type="primary" icon="el-icon-plus" @click="addCollectionPoints"></el-button> <el-button type="primary" icon="el-icon-plus" @click="addCollectionPoints"></el-button>
</el-button-group> </el-button-group>
</div> </div>
<el-divider style="margin: 15px"></el-divider>
<el-table v-loading="loading" :data="list" style="width: 100%" :row-style="{height: '32px' }" <el-table v-loading="loading" :data="list" style="width: 100%" :row-style="{height: '32px' }"
> >

@ -35,6 +35,7 @@
<el-button type="primary" icon="el-icon-plus" @click="addWork"></el-button> <el-button type="primary" icon="el-icon-plus" @click="addWork"></el-button>
</el-button-group> </el-button-group>
</div> </div>
<el-divider style="margin: 15px"></el-divider>
<el-table v-loading="loading" :data="list" style="width: 100%" :row-style="{height: '32px' }" highlight-current-row @current-change="handCurrentChange" ref="table" <el-table v-loading="loading" :data="list" style="width: 100%" :row-style="{height: '32px' }" highlight-current-row @current-change="handCurrentChange" ref="table"
> >
<!--<el-table-column label width="45">--> <!--<el-table-column label width="45">-->

@ -32,15 +32,16 @@
<el-button type="primary" icon="el-icon-search" @click="onSubmit"></el-button> <el-button type="primary" icon="el-icon-search" @click="onSubmit"></el-button>
</el-button-group> </el-button-group>
</div> </div>
<el-divider style="margin: 15px"></el-divider>
<el-table v-loading="loading" :data="userList" style="width: 100%" :row-style="{height: '32px' }" ref="userTable" <el-table v-loading="loading" :data="userList" style="width: 100%" :row-style="{height: '32px' }" ref="userTable"
@current-change="handCurrentChange" highlight-current-row @current-change="handCurrentChange" highlight-current-row
> >
<el-table-column type="index" label="序号"></el-table-column> <el-table-column type="index" label="序号"></el-table-column>
<el-table-column label="用户账号" prop="userName"></el-table-column> <el-table-column label="用户账号" prop="userName" width="120"></el-table-column>
<el-table-column label="用户名称" prop="employeeName"></el-table-column> <el-table-column label="用户名称" prop="employeeName" width="120"></el-table-column>
<el-table-column label="用户仓库" prop="invName"></el-table-column> <el-table-column label="用户仓库" prop="invName" width="120"></el-table-column>
<el-table-column label="所属部门" prop="deptName"></el-table-column> <el-table-column label="所属部门" prop="deptName" width="260"></el-table-column>
<el-table-column label="备注" prop="remark"></el-table-column> <el-table-column label="备注" prop="remark" width="300"></el-table-column>
<!--<el-table-column label="操作" fixed="right" width="100">--> <!--<el-table-column label="操作" fixed="right" width="100">-->
<!-- <template slot-scope="scope">--> <!-- <template slot-scope="scope">-->
<!-- &lt;!&ndash;<el-button&ndash;&gt;--> <!-- &lt;!&ndash;<el-button&ndash;&gt;-->
@ -109,7 +110,7 @@
> >
<el-table-column type="index" label="序号"></el-table-column> <el-table-column type="index" label="序号"></el-table-column>
<el-table-column label="工位编码" prop="workplaceId" width="90"></el-table-column> <el-table-column label="工位编码" prop="workplaceId" width="90"></el-table-column>
<el-table-column label="工位名称" prop="workplaceName" width="90"></el-table-column> <el-table-column label="工位名称" prop="workplaceName" width="140"></el-table-column>
<el-table-column label="所属部门" prop="deptCodeName" width="90"></el-table-column> <el-table-column label="所属部门" prop="deptCodeName" width="90"></el-table-column>
<el-table-column label="工位状态" prop="workplaceStatus" width="90"> <el-table-column label="工位状态" prop="workplaceStatus" width="90">
<template slot-scope="scope"> <template slot-scope="scope">
@ -129,8 +130,8 @@
<!-- <span>{{ corpTypeMap[scope.row.corpType] }}</span>--> <!-- <span>{{ corpTypeMap[scope.row.corpType] }}</span>-->
<!-- </template>--> <!-- </template>-->
<!--</el-table-column>--> <!--</el-table-column>-->
<el-table-column label="创建时间" prop="createTime" width="90"></el-table-column> <el-table-column label="创建时间" prop="createTime" width="140"></el-table-column>
<el-table-column label="备注" prop="remake" width="90"></el-table-column> <el-table-column label="备注" prop="remake" width="240"></el-table-column>
<el-table-column label="操作" fixed="right" width="100"> <el-table-column label="操作" fixed="right" width="100">
<template slot-scope="scope"> <template slot-scope="scope">
<el-button <el-button

@ -26,7 +26,7 @@
<el-button type="primary" icon="el-icon-plus" @click="chooseBusType"></el-button> <el-button type="primary" icon="el-icon-plus" @click="chooseBusType"></el-button>
</el-button-group> </el-button-group>
</div> </div>
<el-divider style="margin: 15px"></el-divider>
<el-table v-loading="loading" :data="list" style="width: 100%" :row-style="{height: '32px' }" <el-table v-loading="loading" :data="list" style="width: 100%" :row-style="{height: '32px' }"
highlight-current-row @current-change="handCurrentChange" ref="table" highlight-current-row @current-change="handCurrentChange" ref="table"

@ -101,6 +101,7 @@
<el-button type="primary" icon="el-icon-plus" @click="addWorkplace"></el-button> <el-button type="primary" icon="el-icon-plus" @click="addWorkplace"></el-button>
</el-button-group> </el-button-group>
</div> </div>
<el-divider style="margin: 15px"></el-divider>
<el-table v-loading="loading" :data="list" style="width: 100%" :row-style="{height: '32px' }" <el-table v-loading="loading" :data="list" style="width: 100%" :row-style="{height: '32px' }"
highlight-current-row @current-change="handCurrentChange" highlight-current-row @current-change="handCurrentChange"
> >
@ -271,7 +272,7 @@
<el-form :inline="true" :model="userQuery" class="query-form" size="mini" <el-form :inline="true" :model="userQuery" class="query-form" size="mini"
style="margin-bottom: 10px" style="margin-bottom: 10px"
> >
<el-form-item class="query-form-item" label="用户账号/用户名称:"> <el-form-item class="query-form-item" label="用户账号/名称:">
<el-input <el-input
v-model="userQuery.userKey" v-model="userQuery.userKey"
placeholder="请输入用户账号/名称" placeholder="请输入用户账号/名称"
@ -302,7 +303,7 @@
<el-table-column label="用户账号" prop="userName"></el-table-column> <el-table-column label="用户账号" prop="userName"></el-table-column>
<el-table-column label="用户名称" prop="employeeName"></el-table-column> <el-table-column label="用户名称" prop="employeeName"></el-table-column>
<el-table-column label="备注" prop="remark"></el-table-column> <el-table-column label="备注" prop="remark"></el-table-column>
<el-table-column label="操作" fixed="right" width="50"> <el-table-column label="操作" fixed="right" width="80">
<template slot-scope="scope"> <template slot-scope="scope">
<el-button <el-button
type="text" type="text"

@ -7,9 +7,7 @@
<span <span
style="margin: 10px;color: #2d8cf0;font-size: 14px;" style="margin: 10px;color: #2d8cf0;font-size: 14px;"
>部门&nbsp:&nbsp{{ this.userInfo.deptName }}</span> >部门&nbsp:&nbsp{{ this.userInfo.deptName }}</span>
<span
style="margin-right: 18px;margin-left:8px;color: #2d8cf0;font-size: 14px;"
>仓库&nbsp:&nbsp{{ this.userInfo.inv }}</span>
<span style="font-weight: 500;color:rgb(51 48 48); font-size: 14px;">用户&nbsp:&nbsp{{ <span style="font-weight: 500;color:rgb(51 48 48); font-size: 14px;">用户&nbsp:&nbsp{{
this.userInfo.companyName this.userInfo.companyName
}}</span> }}</span>

@ -219,10 +219,10 @@
<!-- 分割线 --> <!-- 分割线 -->
<el-form :model="filterQuery" class="query-form" size="mini" label-width="100px" :inline="true" <el-form :model="filterQuery" class="query-form" size="mini" label-width="100px" :inline="true"
style="margin-top: 15px"> style="margin-top: 15px">
<el-form-item prop="key" label="采集工位:"> <el-form-item prop="key" label="作业工位:">
<el-select <el-select
v-model="filterQuery.workPlaceCode" v-model="filterQuery.workPlaceCode"
placeholder="请选择采集工位" placeholder="请选择作业工位"
filterable filterable
remote remote
clearable> clearable>
@ -249,6 +249,8 @@
</el-form-item> </el-form-item>
</el-form> </el-form>
<el-divider style="margin: 15px"></el-divider>
<el-row :gutter="24"> <el-row :gutter="24">
<el-col v-for="(info, index) in list" :key="index" :xs="12" :sm="8" :md="8" :lg="6"> <el-col v-for="(info, index) in list" :key="index" :xs="12" :sm="8" :md="8" :lg="6">
<el-card :body-style="{margin:'20px'}" <el-card :body-style="{margin:'20px'}"

@ -7,9 +7,7 @@
<span <span
style="margin: 10px;color: #2d8cf0;font-size: 14px;" style="margin: 10px;color: #2d8cf0;font-size: 14px;"
>部门&nbsp:&nbsp{{ this.userInfo.deptName }}</span> >部门&nbsp:&nbsp{{ this.userInfo.deptName }}</span>
<span
style="margin-right: 18px;margin-left:8px;color: #2d8cf0;font-size: 14px;"
>仓库&nbsp:&nbsp{{ this.userInfo.inv }}</span>
<span style="font-weight: 500;color:rgb(51 48 48); font-size: 14px;">用户&nbsp:&nbsp{{ <span style="font-weight: 500;color:rgb(51 48 48); font-size: 14px;">用户&nbsp:&nbsp{{
this.userInfo.companyName this.userInfo.companyName
}}</span> }}</span>
@ -58,6 +56,7 @@ export default {
}, },
data() { data() {
return { return {
type: 1,
isLinkDisabled: false, isLinkDisabled: false,
userInfo: { userInfo: {
inv: this.$store.getters.locInvName, inv: this.$store.getters.locInvName,

@ -9,12 +9,9 @@
<span <span
style="margin: 10px;color: #2d8cf0;font-size: 14px;" style="margin: 10px;color: #2d8cf0;font-size: 14px;"
>部门&nbsp:&nbsp{{ this.userInfo.deptName }}</span> >部门&nbsp:&nbsp{{ this.userInfo.deptName }}</span>
<span style="font-weight: 500;color:rgb(51 48 48); font-size: 14px;">{{
this.userInfo.companyName
}}</span>
<span <span
style="font-weight: 500;color:rgb(51 48 48); font-size: 14px; margin-right: 20px" style="font-weight: 500;color:rgb(51 48 48); font-size: 14px; margin-right: 20px"
>(用户&nbsp:&nbsp{{ >&nbsp&nbsp&nbsp&nbsp(用户&nbsp:&nbsp{{
this.userInfo.userName this.userInfo.userName
}})</span> }})</span>
</div> </div>
@ -415,17 +412,17 @@ export default {
}, },
methods: { methods: {
getBillNo(billNo, workPlaceCode) { getBillNo(billNo) {
let post = { let post = {
billNo: billNo, billNo: billNo,
workPlaceCode: workPlaceCode, workPlaceCode: this.workplaceId,
page: 1, page: 1,
limit: 10, limit: 10,
} }
findByBill(post).then(res => { findByBill(post).then(res => {
if (res.code == 20000) { if (res.code == 20000) {
if (res.data.list.length > 0) { if (res.data.billNo != null) {
this.formData = res.data.list[0] this.formData = res.data
} }
} }
}) })
@ -443,25 +440,25 @@ export default {
if (res.code == 20000) { if (res.code == 20000) {
this.busTypeList = res.data.list this.busTypeList = res.data.list
this.busTypeTotal = res.data.total this.busTypeTotal = res.data.total
if (this.busTypeList.length == 1) {
let busType = this.busTypeList[0]
this.formData.busType = this.busTypeList[0].documentTypeCode
this.selectBusTypeDisabled = false
this.formDataVisible = busType
if (this.formDataVisible.scanType == 1) {
this.findFromInvList("");
}
if (this.formData.billNo != null) {
this.getBillNo(this.formData.billNo, this.formData.workplaceCode)
this.startDeal();
} else {
this.findCurOrder();
}
if (this.formData.billNo != null) {
this.getBillNo(this.formData.billNo)
this.startDeal();
} else { } else {
this.formData.busType = null if (this.busTypeList.length == 1) {
let busType = this.busTypeList[0]
this.formData.busType = this.busTypeList[0].documentTypeCode
this.selectBusTypeDisabled = false
this.formDataVisible = busType
if (this.formDataVisible.scanType == 1) {
this.findFromInvList("");
}
} else {
this.formData.busType = null
}
this.findCurOrder();
} }
} }
return return
}) })
@ -577,6 +574,9 @@ export default {
this.isSuccess = true; this.isSuccess = true;
this.printCodeResult(response.data, response.message) this.printCodeResult(response.data, response.message)
this.filterQuery.code = response.data.code; this.filterQuery.code = response.data.code;
this.scanCode = ""
this.originCode = ""
this.addCode(); this.addCode();
} else { } else {
if (response.code == 502) { if (response.code == 502) {
@ -584,15 +584,18 @@ export default {
this.isSuccess = false; this.isSuccess = false;
this.printCodeResult(response.data, response.message) this.printCodeResult(response.data, response.message)
this.filterQuery.code = response.data.code; this.filterQuery.code = response.data.code;
this.originCode = this.filterQuery.code; this.originCode = response.data.code;
this.scanCode = ""
} else if (response.code == 501) { } else if (response.code == 501) {
this.checkSuccess = false; this.checkSuccess = false;
this.$message.error(response.message); this.$message.error(response.message);
this.scanCode = ""
} else if (response.code == 503) { } else if (response.code == 503) {
this.checkSuccess = false; this.checkSuccess = false;
this.isSuccess = false; this.isSuccess = false;
this.printCodeResult(response.data, response.message) this.printCodeResult(response.data, response.message)
this.filterQuery.code = response.data.code; this.filterQuery.code = response.data.code;
this.scanCode = ""
this.$confirm(response.message, "提示", { this.$confirm(response.message, "提示", {
type: "warning", type: "warning",
}) })
@ -608,6 +611,7 @@ export default {
this.filterQuery.code = "01" + response.data.nameCode; this.filterQuery.code = "01" + response.data.nameCode;
this.originCode = this.filterQuery.code; this.originCode = this.filterQuery.code;
} else { } else {
this.scanCode = ""
this.$alert(response.message, "提示", { this.$alert(response.message, "提示", {
confirmButtonText: "确定", confirmButtonText: "确定",
type: "warning", type: "warning",
@ -648,6 +652,7 @@ export default {
this.formData.insert = false; this.formData.insert = false;
this.formData = res.data; this.formData = res.data;
this.curRow = this.formData; this.curRow = this.formData;
this.$refs.inputRef.focus();
this.refreshCodesPanel(this); this.refreshCodesPanel(this);
} else { } else {
if (res.code == 502) { if (res.code == 502) {
@ -660,8 +665,11 @@ export default {
this.addCode(); this.addCode();
}).catch(() => { }).catch(() => {
}); });
} else } else {
this.$refs.inputRef.focus();
this.$message.error(res.message) this.$message.error(res.message)
}
} }
}).catch(() => { }).catch(() => {
this.loading = false this.loading = false
@ -677,9 +685,7 @@ export default {
draftOrder(this.formData).then(res => { draftOrder(this.formData).then(res => {
this.loading = false this.loading = false
if (res.code == 20000) { if (res.code == 20000) {
this.formData = {tagStatus: -1}; this.resetWork()
this.curRow = null
this.refreshCodesPanel(this)
} }
}).catch(() => { }).catch(() => {
this.loading = false this.loading = false
@ -688,27 +694,39 @@ export default {
}); });
}, },
finishOrder() { confirmFinishOrder() {
this.$confirm('是否确定完成此单据?', '提示', { this.$confirm('是否确定完成此单据?', '提示', {
confirmButtonText: '确定', confirmButtonText: '确定',
cancelButtonText: '取消', cancelButtonText: '取消',
type: 'warning' type: 'warning'
}).then(() => { }).then(() => {
finishOrder(this.formData).then(res => { this.finishOrder()
this.loading = false
if (res.code == 20000) {
this.formData = {tagStatus: -1};
this.curRow = null
this.refreshCodesPanel(this)
}
}).catch(() => {
this.loading = false
})
}).catch(() => { }).catch(() => {
}); });
},
finishOrder() {
finishOrder(this.formData).then(res => {
this.loading = false
if (res.code == 20000) {
this.resetWork()
} else if (res.code == 502) {
this.$confirm(res.message, '提示', {
confirmButtonText: '确定',
cancelButtonText: '取消',
type: 'warning'
}).then(() => {
this.formData.confirmFinish = true;
this.finishOrder();
}).catch(() => {
});
}
}).catch(() => {
this.loading = false
})
}, },
updateOrder() { updateOrder() {
updateOrder(this.formData).then(res => { updateOrder(this.formData).then(res => {
this.loading = false this.loading = false
@ -818,7 +836,6 @@ export default {
printCodeResult(data, message) { printCodeResult(data, message) {
const resultParts = []; const resultParts = [];
if (data.udi) { if (data.udi) {
resultParts.push("层级标识: " + data.udi); resultParts.push("层级标识: " + data.udi);
} }
@ -850,6 +867,22 @@ export default {
this.originCode = ""; this.originCode = "";
this.formData.code = ""; this.formData.code = "";
this.scanCode = ""; this.scanCode = "";
this.scanTitle = "扫码结果:";
this.result = "";
},
/**
* 重置
*/
resetWork() {
this.formData = {
tagStatus: -1,
workPlaceCode: this.formData.workPlaceCode,
busType: this.formData.busType
};
this.curRow = null
this.formData.confirmFinish = false;
this.refreshCodesPanel(this)
}, },
@ -869,7 +902,9 @@ export default {
} }
if (this.$route.query.workplaceId != null) { if (this.$route.query.workplaceId != null) {
this.isLinkDisabled = true this.isLinkDisabled = true
this.selectBusTypeDisabled = true if (this.$route.query.billNo == null) {
this.selectBusTypeDisabled = true
}
this.corpOrderIdDisabled = true this.corpOrderIdDisabled = true
this.workplaceId = Number(this.$route.query.workplaceId); this.workplaceId = Number(this.$route.query.workplaceId);
this.formData.workPlaceCode = Number(this.$route.query.workplaceId); this.formData.workPlaceCode = Number(this.$route.query.workplaceId);

@ -9,9 +9,9 @@
<span <span
style="margin: 10px;color: #2d8cf0;font-size: 14px;" style="margin: 10px;color: #2d8cf0;font-size: 14px;"
>部门&nbsp:&nbsp{{ this.userInfo.deptName }}</span> >部门&nbsp:&nbsp{{ this.userInfo.deptName }}</span>
<!-- <span style="font-weight: 500;color:rgb(51 48 48); font-size: 14px;">{{--> <!-- <span style="font-weight: 500;color:rgb(51 48 48); font-size: 14px;">{{-->
<!-- this.userInfo.companyName--> <!-- this.userInfo.companyName-->
<!-- }}</span>--> <!-- }}</span>-->
<span <span
style="font-weight: 500;color:rgb(51 48 48); font-size: 14px; margin-right: 20px" style="font-weight: 500;color:rgb(51 48 48); font-size: 14px; margin-right: 20px"
>&nbsp&nbsp&nbsp&nbsp(用户&nbsp:&nbsp{{ >&nbsp&nbsp&nbsp&nbsp(用户&nbsp:&nbsp{{
@ -415,17 +415,17 @@ export default {
}, },
methods: { methods: {
getBillNo(billNo, workPlaceCode) { getBillNo(billNo) {
let post = { let post = {
billNo: billNo, billNo: billNo,
workPlaceCode: workPlaceCode, workPlaceCode: this.workplaceId,
page: 1, page: 1,
limit: 10, limit: 10,
} }
findByBill(post).then(res => { findByBill(post).then(res => {
if (res.code == 20000) { if (res.code == 20000) {
if (res.data.list.length > 0) { if (res.data.billNo != null) {
this.formData = res.data.list[0] this.formData = res.data
} }
} }
}) })
@ -443,25 +443,25 @@ export default {
if (res.code == 20000) { if (res.code == 20000) {
this.busTypeList = res.data.list this.busTypeList = res.data.list
this.busTypeTotal = res.data.total this.busTypeTotal = res.data.total
if (this.busTypeList.length == 1) {
let busType = this.busTypeList[0]
this.formData.busType = this.busTypeList[0].documentTypeCode
this.selectBusTypeDisabled = false
this.formDataVisible = busType
if (this.formDataVisible.scanType == 1) {
this.findFromInvList("");
}
if (this.formData.billNo != null) {
this.getBillNo(this.formData.billNo, this.formData.workplaceCode)
this.startDeal();
} else {
this.findCurOrder();
}
if (this.formData.billNo != null) {
this.getBillNo(this.formData.billNo)
this.startDeal();
} else { } else {
this.formData.busType = null if (this.busTypeList.length == 1) {
let busType = this.busTypeList[0]
this.formData.busType = this.busTypeList[0].documentTypeCode
this.selectBusTypeDisabled = false
this.formDataVisible = busType
if (this.formDataVisible.scanType == 1) {
this.findFromInvList("");
}
} else {
this.formData.busType = null
}
this.findCurOrder();
} }
} }
return return
}) })
@ -577,6 +577,9 @@ export default {
this.isSuccess = true; this.isSuccess = true;
this.printCodeResult(response.data, response.message) this.printCodeResult(response.data, response.message)
this.filterQuery.code = response.data.code; this.filterQuery.code = response.data.code;
this.scanCode = ""
this.originCode = ""
this.addCode(); this.addCode();
} else { } else {
if (response.code == 502) { if (response.code == 502) {
@ -584,15 +587,18 @@ export default {
this.isSuccess = false; this.isSuccess = false;
this.printCodeResult(response.data, response.message) this.printCodeResult(response.data, response.message)
this.filterQuery.code = response.data.code; this.filterQuery.code = response.data.code;
this.originCode = this.filterQuery.code; this.originCode = response.data.code;
this.scanCode = ""
} else if (response.code == 501) { } else if (response.code == 501) {
this.checkSuccess = false; this.checkSuccess = false;
this.$message.error(response.message); this.$message.error(response.message);
this.scanCode = ""
} else if (response.code == 503) { } else if (response.code == 503) {
this.checkSuccess = false; this.checkSuccess = false;
this.isSuccess = false; this.isSuccess = false;
this.printCodeResult(response.data, response.message) this.printCodeResult(response.data, response.message)
this.filterQuery.code = response.data.code; this.filterQuery.code = response.data.code;
this.scanCode = ""
this.$confirm(response.message, "提示", { this.$confirm(response.message, "提示", {
type: "warning", type: "warning",
}) })
@ -608,6 +614,7 @@ export default {
this.filterQuery.code = "01" + response.data.nameCode; this.filterQuery.code = "01" + response.data.nameCode;
this.originCode = this.filterQuery.code; this.originCode = this.filterQuery.code;
} else { } else {
this.scanCode = ""
this.$alert(response.message, "提示", { this.$alert(response.message, "提示", {
confirmButtonText: "确定", confirmButtonText: "确定",
type: "warning", type: "warning",
@ -661,7 +668,7 @@ export default {
this.addCode(); this.addCode();
}).catch(() => { }).catch(() => {
}); });
} else{ } else {
this.$refs.inputRef.focus(); this.$refs.inputRef.focus();
this.$message.error(res.message) this.$message.error(res.message)
} }
@ -681,9 +688,7 @@ export default {
draftOrder(this.formData).then(res => { draftOrder(this.formData).then(res => {
this.loading = false this.loading = false
if (res.code == 20000) { if (res.code == 20000) {
this.formData = {tagStatus: -1}; this.resetWork()
this.curRow = null
this.refreshCodesPanel(this)
} }
}).catch(() => { }).catch(() => {
this.loading = false this.loading = false
@ -692,27 +697,39 @@ export default {
}); });
}, },
finishOrder() { confirmFinishOrder() {
this.$confirm('是否确定完成此单据?', '提示', { this.$confirm('是否确定完成此单据?', '提示', {
confirmButtonText: '确定', confirmButtonText: '确定',
cancelButtonText: '取消', cancelButtonText: '取消',
type: 'warning' type: 'warning'
}).then(() => { }).then(() => {
finishOrder(this.formData).then(res => { this.finishOrder()
this.loading = false
if (res.code == 20000) {
this.formData = {tagStatus: -1};
this.curRow = null
this.refreshCodesPanel(this)
}
}).catch(() => {
this.loading = false
})
}).catch(() => { }).catch(() => {
}); });
},
finishOrder() {
finishOrder(this.formData).then(res => {
this.loading = false
if (res.code == 20000) {
this.resetWork()
} else if (res.code == 502) {
this.$confirm(res.message, '提示', {
confirmButtonText: '确定',
cancelButtonText: '取消',
type: 'warning'
}).then(() => {
this.formData.confirmFinish = true;
this.finishOrder();
}).catch(() => {
});
}
}).catch(() => {
this.loading = false
})
}, },
updateOrder() { updateOrder() {
updateOrder(this.formData).then(res => { updateOrder(this.formData).then(res => {
this.loading = false this.loading = false
@ -822,7 +839,6 @@ export default {
printCodeResult(data, message) { printCodeResult(data, message) {
const resultParts = []; const resultParts = [];
if (data.udi) { if (data.udi) {
resultParts.push("层级标识: " + data.udi); resultParts.push("层级标识: " + data.udi);
} }
@ -854,6 +870,22 @@ export default {
this.originCode = ""; this.originCode = "";
this.formData.code = ""; this.formData.code = "";
this.scanCode = ""; this.scanCode = "";
this.scanTitle = "扫码结果:";
this.result = "";
},
/**
* 重置
*/
resetWork() {
this.formData = {
tagStatus: -1,
workPlaceCode: this.formData.workPlaceCode,
busType: this.formData.busType
};
this.curRow = null
this.formData.confirmFinish = false;
this.refreshCodesPanel(this)
}, },
@ -873,7 +905,9 @@ export default {
} }
if (this.$route.query.workplaceId != null) { if (this.$route.query.workplaceId != null) {
this.isLinkDisabled = true this.isLinkDisabled = true
this.selectBusTypeDisabled = true if (this.$route.query.billNo == null) {
this.selectBusTypeDisabled = true
}
this.corpOrderIdDisabled = true this.corpOrderIdDisabled = true
this.workplaceId = Number(this.$route.query.workplaceId); this.workplaceId = Number(this.$route.query.workplaceId);
this.formData.workPlaceCode = Number(this.$route.query.workplaceId); this.formData.workPlaceCode = Number(this.$route.query.workplaceId);

@ -14,9 +14,7 @@
<span <span
style="margin: 10px;color: #2d8cf0;font-size: 14px;" style="margin: 10px;color: #2d8cf0;font-size: 14px;"
>部门&nbsp:&nbsp{{ this.userInfo.deptName }}</span> >部门&nbsp:&nbsp{{ this.userInfo.deptName }}</span>
<span
style="margin-right: 18px;margin-left:8px;color: #2d8cf0;font-size: 14px;"
>仓库&nbsp:&nbsp{{ this.userInfo.inv }}</span>
<span style="font-weight: 500;color:rgb(51 48 48); font-size: 14px;">用户&nbsp:&nbsp{{ <span style="font-weight: 500;color:rgb(51 48 48); font-size: 14px;">用户&nbsp:&nbsp{{
this.userInfo.companyName this.userInfo.companyName
}}</span> }}</span>
@ -30,7 +28,7 @@
</el-row> </el-row>
<el-alert <el-alert
style="margin-top: 15px;margin-bottom: 10px;font-size: 20px;" style="margin-top: 1px;margin-bottom: 10px;font-size: 20px;"
:title="msgTip" :title="msgTip"
:closable="false" :closable="false"
type="warning"> type="warning">
@ -161,7 +159,7 @@
</el-col> </el-col>
<el-col :span="8" v-if="splitType=='out'"> <el-col :span="8" v-if="splitType=='out'">
<el-form-item prop="fifoSplit" class="query-form-item" label="上货方式:"> <el-form-item prop="fifoSplit" class="query-form-item" label="上货方式:">
<el-radio-group v-model="orderFormData.fifoSplit" :disabled="fifoSplitEnable"> <el-radio-group v-model="orderFormData.fifoSplit" :disabled="fifoSplitEnable" @change="splitChange">
<el-radio :label="1">拆零上货</el-radio> <el-radio :label="1">拆零上货</el-radio>
<el-radio :label="2">整取上货</el-radio> <el-radio :label="2">整取上货</el-radio>
</el-radio-group> </el-radio-group>
@ -317,6 +315,7 @@ import {listPage} from "@/api/basic/workPlace/sysWorkplaceManage";
import {printSplitLabel} from "@/api/collect/splitCreateOrder"; import {printSplitLabel} from "@/api/collect/splitCreateOrder";
import {findInvRemind} from "@/api/inout/splitCode"; import {findInvRemind} from "@/api/inout/splitCode";
import chooseDraftOrderDialog from "./chooseDraftOrderDialog" import chooseDraftOrderDialog from "./chooseDraftOrderDialog"
import {getUserBindWork} from '@/api/basic/collectPoint/userWorkplace'
export default { export default {
name: "ioCreateOrder", name: "ioCreateOrder",
@ -371,6 +370,7 @@ export default {
inv: this.$store.getters.locInvName, inv: this.$store.getters.locInvName,
deptName: this.$store.getters.locDeptName, deptName: this.$store.getters.locDeptName,
userName: this.$store.getters.name, userName: this.$store.getters.name,
userId: this.$store.getters.userId,
companyName: this.$store.getters.companyName, companyName: this.$store.getters.companyName,
}, },
workplaceId: null, workplaceId: null,
@ -542,9 +542,15 @@ export default {
findInvRemind(post).then((response) => { findInvRemind(post).then((response) => {
if (response.code === 20000) { if (response.code === 20000) {
this.msgTip = response.data this.msgTip = response.data
this.$refs.inputRef.focus();
} }
}).catch(() => { }).catch(() => {
}); });
},
splitChange() {
this.$refs.inputRef.focus();
}, },
successCloseData() { successCloseData() {
let workPlaceCode = this.orderFormData.workPlaceCode let workPlaceCode = this.orderFormData.workPlaceCode
@ -958,13 +964,13 @@ export default {
// //
findCurWorkPlaces(val) { findCurWorkPlaces(val) {
let query = { let query = {
key: val, // key: val,
status: 1, // status: 1,
// invCode: this.orderFormData.invCode, userId: this.userInfo.userId,
page: 1, page: 1,
limit: 100, limit: 100,
} }
listPage(query).then((res) => { getUserBindWork(query).then((res) => {
this.curWorkPlaces = res.data.list || []; this.curWorkPlaces = res.data.list || [];
if (this.curWorkPlaces.length == 1 && this.$isNotBlank(this.orderFormData.workPlaceCode)) { if (this.curWorkPlaces.length == 1 && this.$isNotBlank(this.orderFormData.workPlaceCode)) {
this.orderFormData.workPlaceCode = this.curWorkPlaces[0].workplaceId; this.orderFormData.workPlaceCode = this.curWorkPlaces[0].workplaceId;
@ -1552,6 +1558,7 @@ export default {
this.originCode = this.codeFormData.code; this.originCode = this.codeFormData.code;
} else if (response.code == 501) { } else if (response.code == 501) {
this.checkSuccess = false; this.checkSuccess = false;
this.scanCode = ""
this.$message.error(response.message); this.$message.error(response.message);
} else if (response.code == 503) { } else if (response.code == 503) {
this.checkSuccess = false; this.checkSuccess = false;

@ -14,9 +14,7 @@
<span <span
style="margin: 10px;color: #2d8cf0;font-size: 14px;" style="margin: 10px;color: #2d8cf0;font-size: 14px;"
>部门&nbsp:&nbsp{{ this.userInfo.deptName }}</span> >部门&nbsp:&nbsp{{ this.userInfo.deptName }}</span>
<span
style="margin-right: 18px;margin-left:8px;color: #2d8cf0;font-size: 14px;"
>仓库&nbsp:&nbsp{{ this.userInfo.inv }}</span>
<span style="font-weight: 500;color:rgb(51 48 48); font-size: 14px;">用户&nbsp:&nbsp{{ <span style="font-weight: 500;color:rgb(51 48 48); font-size: 14px;">用户&nbsp:&nbsp{{
this.userInfo.companyName this.userInfo.companyName
}}</span> }}</span>
@ -45,11 +43,11 @@
<!--&gt;草稿保存--> <!--&gt;草稿保存-->
<!--</el-button>--> <!--</el-button>-->
<el-button size="mini" type="primary" @click.native="chooseDraftOrder()" :loading="submitLoading" <el-button size="mini" type="primary" @click.native="chooseDraftOrder()" :loading="submitLoading"
v-if="splitType=='out'"style="margin-right: 8px;border-radius: 5%;" v-if="splitType=='out'" style="margin-right: 8px;border-radius: 5%;"
>选入草稿单据 >选入草稿单据
</el-button> </el-button>
<el-button size="mini" type="primary" @click.native="draftOrder()" :loading="submitLoading" <el-button size="mini" type="primary" @click.native="draftOrder()" :loading="submitLoading"
v-if="splitType=='out'"style="margin-right: 8px;border-radius: 5%;" v-if="splitType=='out'" style="margin-right: 8px;border-radius: 5%;"
>草稿保存 >草稿保存
</el-button> </el-button>
<el-button size="mini" type="primary" @click.native="submit()" :loading="submitLoading" <el-button size="mini" type="primary" @click.native="submit()" :loading="submitLoading"
@ -157,7 +155,7 @@
</el-col> </el-col>
<el-col :span="8" v-if="splitType=='out'"> <el-col :span="8" v-if="splitType=='out'">
<el-form-item prop="fifoSplit" class="query-form-item" label="上货方式:"> <el-form-item prop="fifoSplit" class="query-form-item" label="上货方式:">
<el-radio-group v-model="orderFormData.fifoSplit"> <el-radio-group v-model="orderFormData.fifoSplit" :disabled="fifoSplitEnable">
<el-radio :label="1">拆零上货</el-radio> <el-radio :label="1">拆零上货</el-radio>
<el-radio :label="2">整取上货</el-radio> <el-radio :label="2">整取上货</el-radio>
</el-radio-group> </el-radio-group>
@ -314,6 +312,7 @@ import {listPage} from "@/api/basic/workPlace/sysWorkplaceManage";
import {printSplitLabel} from "@/api/collect/splitCreateOrder"; import {printSplitLabel} from "@/api/collect/splitCreateOrder";
import {findInvRemind} from "@/api/inout/splitCode"; import {findInvRemind} from "@/api/inout/splitCode";
import chooseDraftOrderDialog from "./chooseDraftOrderDialog" import chooseDraftOrderDialog from "./chooseDraftOrderDialog"
import {getUserBindWork} from '@/api/basic/collectPoint/userWorkplace'
export default { export default {
name: "ioCreateOrder", name: "ioCreateOrder",
@ -368,6 +367,7 @@ export default {
inv: this.$store.getters.locInvName, inv: this.$store.getters.locInvName,
deptName: this.$store.getters.locDeptName, deptName: this.$store.getters.locDeptName,
userName: this.$store.getters.name, userName: this.$store.getters.name,
userId: this.$store.getters.userId,
companyName: this.$store.getters.companyName, companyName: this.$store.getters.companyName,
}, },
workplaceId: null, workplaceId: null,
@ -518,7 +518,9 @@ export default {
scanResultType: "success", scanResultType: "success",
msgTip: "当前工位存量提醒:", msgTip: "当前工位存量提醒:",
splitType: null, splitType: null,
rowData: {} rowData: {},
curWorkPlace: null,
fifoSplitEnable: false,
}; };
}, },
components: { components: {
@ -526,23 +528,20 @@ export default {
codeDetailPanel, codeDetailPanel,
editCodeDialog, editCodeDialog,
DialogCreateOrderSelect, DialogCreateOrderSelect,
DialogSelectUnit, DialogSelectSpace, selectRlDialog, dialogInvProduct,chooseDraftOrderDialog DialogSelectUnit, DialogSelectSpace, selectRlDialog, dialogInvProduct, chooseDraftOrderDialog
}, },
methods: { methods: {
changeInvRemind(val) { changeInvRemind(val) {
let post = { let post = {
workPlaceCode: val workPlaceCode: val
} }
this.defaultSplitType()
findInvRemind(post).then((response) => { findInvRemind(post).then((response) => {
if (response.code === 20000) { if (response.code === 20000) {
this.msgTip = response.data this.msgTip = response.data
} else {
} }
}) }).catch(() => {
.catch(() => { });
});
}, },
successCloseData() { successCloseData() {
let workPlaceCode = this.orderFormData.workPlaceCode let workPlaceCode = this.orderFormData.workPlaceCode
@ -567,10 +566,21 @@ export default {
sickerAdNum: null, sickerAdNum: null,
workPlaceCode: null, workPlaceCode: null,
fifoSplit: 1, fifoSplit: 1,
} }
this.orderFormData.workPlaceCode = workPlaceCode this.orderFormData.workPlaceCode = workPlaceCode
this.scanCode = ""; this.scanCode = "";
this.corpOrderIdDisabled = false; this.corpOrderIdDisabled = false;
this.splitType = this.$route.query.splitType;
if (this.splitType == "search") {
} else if (this.splitType == "out") {
this.orderFormData.action = 'SC72197936495755';
} else if (this.splitType == "return") {
this.orderFormData.action = 'SC72249388338364';
}
this.orderFormData.fromCorp = "72198012799726";
this.refreshCodesPanel() this.refreshCodesPanel()
}, },
// //
@ -593,6 +603,16 @@ export default {
.catch(() => { .catch(() => {
}); });
}, },
defaultSplitType() {
this.curWorkPlace = this.curWorkPlaces.find(item => item.workplaceId == this.orderFormData.workPlaceCode);
this.orderFormData.fifoSplit = this.curWorkPlace.workplaceType
if (this.curWorkPlace.workplaceType == 1 || this.curWorkPlace.workplaceType == 2) {
this.fifoSplitEnable = true;
} else {
this.orderFormData.fifoSplit = 1;
this.fifoSplitEnable = false;
}
},
// //
changeInv(row) { changeInv(row) {
this.orderFormData.action = null; this.orderFormData.action = null;
@ -935,16 +955,17 @@ export default {
// //
findCurWorkPlaces(val) { findCurWorkPlaces(val) {
let query = { let query = {
key: val, // key: val,
status: 1, // status: 1,
// invCode: this.orderFormData.invCode, userId: this.userInfo.userId,
page: 1, page: 1,
limit: 100, limit: 100,
} }
listPage(query).then((res) => { getUserBindWork(query).then((res) => {
this.curWorkPlaces = res.data.list || []; this.curWorkPlaces = res.data.list || [];
if (this.curWorkPlaces.length == 1) { if (this.curWorkPlaces.length == 1 && this.$isNotBlank(this.orderFormData.workPlaceCode)) {
this.orderFormData.workPlaceCode = this.curWorkPlaces[0].workplaceId; this.orderFormData.workPlaceCode = this.curWorkPlaces[0].workplaceId;
this.defaultSplitType()
} }
}) })
}, },
@ -1221,6 +1242,10 @@ export default {
refreshOrder(orderQuery) { refreshOrder(orderQuery) {
this.orderFormData = orderQuery; this.orderFormData = orderQuery;
this.scanCode = "";
this.result = "";
this.refreshCodesPanel()
this.init();
}, },
// //
@ -1445,7 +1470,7 @@ export default {
} }
}, },
//稿 //稿
chooseDraftOrder(){ chooseDraftOrder() {
if (this.$isBlank(this.orderFormData.workPlaceCode)) { if (this.$isBlank(this.orderFormData.workPlaceCode)) {
this.$message.warning("请选择工位!"); this.$message.warning("请选择工位!");
return; return;
@ -1454,12 +1479,12 @@ export default {
this.rowData.fifoSplit = this.orderFormData.fifoSplit this.rowData.fifoSplit = this.orderFormData.fifoSplit
this.chooseDraftOrderVisible = true this.chooseDraftOrderVisible = true
}, },
closeChooseDialog(){ closeChooseDialog() {
this.chooseDraftOrderVisible = false this.chooseDraftOrderVisible = false
}, },
handleChoose(billNo){ handleChoose(currentRow) {
this.orderFormData.billNo = billNo this.orderQuery = currentRow
this.refreshCodesPanel(); this.refreshOrder(this.orderQuery)
}, },
draftOrder() { draftOrder() {
let tQuery = Object.assign( let tQuery = Object.assign(
@ -1721,8 +1746,6 @@ export default {
init() { init() {
// //
this.codeFormData.code = ""; this.codeFormData.code = "";
this.splitType = this.$route.query.splitType;
if (this.splitType == "search") { if (this.splitType == "search") {
} else if (this.splitType == "out") { } else if (this.splitType == "out") {
this.orderFormData.action = 'SC72197936495755'; this.orderFormData.action = 'SC72197936495755';
@ -1796,6 +1819,7 @@ export default {
inputer.focus(); inputer.focus();
}, },
created() { created() {
this.splitType = this.$route.query.splitType;
this.init(); this.init();
if (this.$route.query.workplaceId != null) { if (this.$route.query.workplaceId != null) {
this.corpOrderIdDisabled = true this.corpOrderIdDisabled = true

@ -4,19 +4,19 @@
<el-form v-if="queryList && queryList.length > 0 && showSearch" :model="filterQuery" class="query-form" <el-form v-if="queryList && queryList.length > 0 && showSearch" :model="filterQuery" class="query-form"
size="mini" label-width="100px"> size="mini" label-width="100px">
<el-row style=" display:flex; flex-wrap: wrap; "> <el-row style=" display:flex; flex-wrap: wrap; ">
<el-col :span="20"> <!-- <el-col :span="20">-->
<el-form-item prop="code" label="扫码查询:"> <!-- <el-form-item prop="code" label="扫码查询:">-->
<el-input <!-- <el-input-->
id="inputer" <!-- id="inputer"-->
@focus="getInputFocus($event)" <!-- @focus="getInputFocus($event)"-->
@keypress.enter.native="enterKey($event)" <!-- @keypress.enter.native="enterKey($event)"-->
ref="inputRef" <!-- ref="inputRef"-->
style="ime-mode: disabled" <!-- style="ime-mode: disabled"-->
type="tel" <!-- type="tel"-->
v-model="filterQuery.code" <!-- v-model="filterQuery.code"-->
></el-input> <!-- ></el-input>-->
</el-form-item> <!-- </el-form-item>-->
</el-col> <!-- </el-col>-->
<!--<el-col :span="20">--> <!--<el-col :span="20">-->
<!-- <el-form-item prop="code" label="查询:">--> <!-- <el-form-item prop="code" label="查询:">-->
<!-- <el-input--> <!-- <el-input-->

@ -687,6 +687,7 @@ import {convertDate} from "@/utils/date";
import {isBlank} from "@/utils/strUtil"; import {isBlank} from "@/utils/strUtil";
import {getBizDetailList} from "@/api/inout/orderDetailBiz"; import {getBizDetailList} from "@/api/inout/orderDetailBiz";
import {getCodeList} from "@/api/inout/code"; import {getCodeList} from "@/api/inout/code";
import {getUserBindWork} from '@/api/basic/collectPoint/userWorkplace'
export default { export default {
name: "IoSplitFinishCode", name: "IoSplitFinishCode",
@ -712,6 +713,7 @@ export default {
defaultSort: {prop: 'createTime', order: 'desc'}, defaultSort: {prop: 'createTime', order: 'desc'},
options: { options: {
getInvList: [], getInvList: [],
getWorkPlaceList: [],
getDeptList: [], getDeptList: [],
getBusType: [], getBusType: [],
}, },
@ -1017,10 +1019,36 @@ export default {
.catch(() => { .catch(() => {
}); });
}, },
getWorkPlaceList(_this){
getUserBindWork({
autoUserId: 1,
page: 1,
limit: 200,
}).then((response) => {
let getWorkPlaceList = []
if(response.code == 20000 && response.data.list.length > 0){
response.data.list.forEach( item => {
let post = {
code: item.workplaceId,
label: item.workplaceName
}
getWorkPlaceList.push(post)
})
_this.options.getWorkPlaceList = getWorkPlaceList
}
})
.catch(() => {
});
},
invChange(_this) { invChange(_this) {
_this.filterQuery.action = null; _this.filterQuery.action = null;
_this.getBusType(_this); _this.getBusType(_this);
}, },
placeChange(_this) {
// _this.filterQuery.workKey = _this.filterQuery.workplaceName;
// _this.getWorkPlaceList(_this);
},
findMethod(query) { findMethod(query) {
this.fromOptions = []; this.fromOptions = [];
@ -1163,6 +1191,7 @@ export default {
created() { created() {
this.getInvList(this); this.getInvList(this);
this.getBusType(this); this.getBusType(this);
this.getWorkPlaceList(this);
this.splitType = this.$route.query.splitType; this.splitType = this.$route.query.splitType;
if (this.splitType == "search") { if (this.splitType == "search") {

@ -20,13 +20,12 @@
<el-row :gutter="8"> <el-row :gutter="8">
<el-col v-for="(info, index) in stationList" :key="index" :xs="12" :sm="8" :md="8" :lg="6"> <el-col v-for="(info, index) in stationList" :key="index" :xs="12" :sm="8" :md="8" :lg="6" >
<el-card :body-style="{margin:'20px'}" <el-card :body-style="{margin:'20px'}"
style="margin:20px 20px 20px 20px;height: 200px;background-color: #e1f3fb;border-radius: 12px; position: relative;" style="margin:20px 20px 20px 20px;height: 200px;background-color: #e1f3fb;border-radius: 12px; position: relative;"
> >
<div style="display: flex; justify-content: space-between; align-items: center; height: 66px; /* 约为 200px 的 1/3 */" @click="handleClick(index)"> <div style="display: flex; justify-content: space-between; align-items: center; height: 66px; /* 约为 200px 的 1/3 */" >
<p style="font-size: 20px;background-color: #e1f3fb;font-weight: bold;">{{ info.workplaceName }}</p> <!-- 假设你的信息对象中包含一个title属性 --> <p style="font-size: 20px;background-color: #e1f3fb;font-weight: bold;">{{ info.workplaceName }}</p> <!-- 假设你的信息对象中包含一个title属性 -->
<!-- <div style="width: 60px; height: 60px; display: flex; justify-content: center; align-items: center;">--> <!-- <div style="width: 60px; height: 60px; display: flex; justify-content: center; align-items: center;">-->
<!-- &lt;!&ndash; 二维码占位这里用灰色方块代替 &ndash;&gt;--> <!-- &lt;!&ndash; 二维码占位这里用灰色方块代替 &ndash;&gt;-->
@ -35,9 +34,9 @@
<!-- </div>--> <!-- </div>-->
</div> </div>
<div style="flex: 1; display: flex; flex-direction: column; justify-content: flex-end; padding-top: 10px;" @click="handleClick(index)"> <div style="flex: 1; display: flex; flex-direction: column; justify-content: flex-end; padding-top: 10px;" >
<!-- 假设这里有一些信息内容 --> <!-- 假设这里有一些信息内容 -->
<p style="font-size: 14px;background-color: #e1f3fb">{{ info.remake }}</p> <p style="font-size: 14px;background-color: #e1f3fb" >{{ info.remake }}</p>
<el-button type="primary" style="position: absolute; bottom: 20px; right: 20px;" icon="el-icon-thumb" @click="handleClick(index)"></el-button> <el-button type="primary" style="position: absolute; bottom: 20px; right: 20px;" icon="el-icon-thumb" @click="handleClick(index)"></el-button>
</div> </div>

@ -8,15 +8,13 @@
<span <span
style="margin: 10px;color: #2d8cf0;font-size: 14px;" style="margin: 10px;color: #2d8cf0;font-size: 14px;"
>部门&nbsp:&nbsp{{ this.userInfo.deptName }}</span> >部门&nbsp:&nbsp{{ this.userInfo.deptName }}</span>
<span
style="margin-right: 18px;margin-left:8px;color: #2d8cf0;font-size: 14px;"
>仓库&nbsp:&nbsp{{ this.userInfo.inv }}</span>
<span style="font-weight: 500;color:rgb(51 48 48); font-size: 14px;">用户&nbsp:&nbsp{{ <span style="font-weight: 500;color:rgb(51 48 48); font-size: 14px;">用户&nbsp:&nbsp{{
this.userInfo.companyName this.userInfo.companyName
}}</span> }}</span>
<span <span
style="font-weight: 500;color:rgb(51 48 48); font-size: 14px; margin-right: 20px" style="font-weight: 500;color:rgb(51 48 48); font-size: 14px; margin-right: 20px"
>({{ >&nbsp&nbsp&nbsp&nbsp(用户&nbsp:&nbsp{{
this.userInfo.userName this.userInfo.userName
}})</span> }})</span>
</div> </div>

@ -8,9 +8,7 @@
<span <span
style="margin: 10px;color: #2d8cf0;font-size: 14px;" style="margin: 10px;color: #2d8cf0;font-size: 14px;"
>部门&nbsp:&nbsp{{ this.userInfo.deptName }}</span> >部门&nbsp:&nbsp{{ this.userInfo.deptName }}</span>
<span
style="margin-right: 18px;margin-left:8px;color: #2d8cf0;font-size: 14px;"
>仓库&nbsp:&nbsp{{ this.userInfo.inv }}</span>
<span style="font-weight: 500;color:rgb(51 48 48); font-size: 14px;">用户&nbsp:&nbsp{{ <span style="font-weight: 500;color:rgb(51 48 48); font-size: 14px;">用户&nbsp:&nbsp{{
this.userInfo.companyName this.userInfo.companyName
}}</span> }}</span>

Loading…
Cancel
Save