代码格式化

20240912_adapter_z
yewj 1 year ago
parent 5924599d1e
commit 7a4e887948

@ -538,7 +538,7 @@ export default {
this.loading = false
if (res.code == 20000) {
this.formData = {tagStatus: -1};
this.curRow =null
this.curRow = null
this.refreshCodesPanel(this)
}
}).catch(() => {
@ -558,7 +558,7 @@ export default {
this.loading = false
if (res.code == 20000) {
this.formData = {tagStatus: -1};
this.curRow =null
this.curRow = null
this.refreshCodesPanel(this)
}
}).catch(() => {

@ -538,6 +538,8 @@ export default {
this.loading = false
if (res.code == 20000) {
this.formData = {tagStatus: -1};
this.curRow = null
this.refreshCodesPanel(this)
}
}).catch(() => {
this.loading = false
@ -556,6 +558,8 @@ export default {
this.loading = false
if (res.code == 20000) {
this.formData = {tagStatus: -1};
this.curRow = null
this.refreshCodesPanel(this)
}
}).catch(() => {
this.loading = false

@ -52,7 +52,8 @@
v-if="splitType=='return'" style="margin-right: 8px;border-radius: 5%;"
>退货完成
</el-button>
<el-button size="mini" type="primary" @click.native="printLabel()" :loading="submitLoading" style="border-radius: 5%;"
<el-button size="mini" type="primary" @click.native="printLabel()" :loading="submitLoading"
style="border-radius: 5%;"
>打印二维码
</el-button>
@ -285,7 +286,7 @@ import {filterNoPage, remoteFilter} from "@/api/basic/sicker/skPersonApi";
import dialogInvProduct from "@/views/inout/DialogSelectInvProduct";
import {listPage} from "@/api/basic/workPlace/sysWorkplaceManage";
import {printSplitLabel} from "@/api/collect/splitCreateOrder";
import { findInvRemind } from "@/api/inout/splitCode";
import {findInvRemind} from "@/api/inout/splitCode";
export default {
name: "ioCreateOrder",
@ -336,7 +337,7 @@ export default {
data() {
return {
isLinkDisabled: false,
userInfo:{
userInfo: {
inv: this.$store.getters.locInvName,
deptName: this.$store.getters.locDeptName,
userName: this.$store.getters.name,
@ -499,14 +500,14 @@ export default {
DialogSelectUnit, DialogSelectSpace, selectRlDialog, dialogInvProduct
},
methods: {
changeInvRemind(val){
changeInvRemind(val) {
let post = {
workPlaceCode: val
}
findInvRemind(post).then((response) => {
if (response.code === 20000) {
this.msgTip = response.data
}else {
} else {
}
})
@ -514,9 +515,9 @@ export default {
});
},
successCloseData(){
successCloseData() {
let workPlaceCode = this.orderFormData.workPlaceCode
this.orderFormData ={
this.orderFormData = {
billNo: null,
corpOrderId: null,
action: null,
@ -539,7 +540,7 @@ export default {
fifoSplit: 1,
}
this.orderFormData.workPlaceCode = workPlaceCode
this.scanCode= "";
this.scanCode = "";
this.corpOrderIdDisabled = false;
this.refreshCodesPanel()
},
@ -663,7 +664,7 @@ export default {
if (response.code === 20000) {
// this.$message.success("");
const codeDetailComponent = this.$refs.IoCreateOrderCodeDetail.getOrderDetails();
if(this.closeDialog != undefined){
if (this.closeDialog != undefined) {
this.closeDialog();
}
this.clearOrder();
@ -1208,7 +1209,7 @@ export default {
this.retractLoading = false
if (response.code == 20000) {
this.$message.success("撤回成功!");
if(this.closeDialog != undefined){
if (this.closeDialog != undefined) {
this.closeDialog();
}
} else {
@ -1236,7 +1237,7 @@ export default {
this.codeLoading = false
if (response.code === 20000) {
this.$message.success("提交成功");
if(this.closeDialog != undefined){
if (this.closeDialog != undefined) {
this.closeDialog();
}
} else {
@ -1251,7 +1252,7 @@ export default {
this.checkLoading = false
if (response.code === 20000) {
this.$message.success("提交成功");
if(this.closeDialog != undefined){
if (this.closeDialog != undefined) {
this.closeDialog();
}
} else {
@ -1314,7 +1315,7 @@ export default {
this.$message.success("提交成功,等待处理,请刷新后查看!");
this.successCloseData()
console.log(this.closeDialog())
if(this.closeDialog != undefined){
if (this.closeDialog != undefined) {
this.closeDialog();
}
} else {
@ -1339,7 +1340,7 @@ export default {
if (response.code === 20000) {
this.$message.success("提交成功");
this.successCloseData()
if(this.closeDialog != undefined){
if (this.closeDialog != undefined) {
this.closeDialog();
}
} else {
@ -1361,7 +1362,7 @@ export default {
if (response.code === 20000) {
this.$message.success("提交成功");
this.successCloseData()
if(this.closeDialog != undefined){
if (this.closeDialog != undefined) {
this.closeDialog();
}
} else {
@ -1404,7 +1405,7 @@ export default {
if (response.code === 20000) {
this.$message.success("提交成功");
this.successCloseData()
if(this.closeDialog != undefined){
if (this.closeDialog != undefined) {
this.closeDialog();
}
@ -1429,7 +1430,7 @@ export default {
saveOrderWeb(tQuery).then((response) => {
this.saveLoading = false
if (response.code === 20000) {
if(this.closeDialog != undefined){
if (this.closeDialog != undefined) {
this.closeDialog();
}
} else {
@ -1750,7 +1751,7 @@ export default {
},
created() {
this.init();
if (this.$route.query.workplaceId != null){
if (this.$route.query.workplaceId != null) {
this.corpOrderIdDisabled = true
this.isLinkDisabled = true
this.workplaceId = this.$route.query.workplaceId

Loading…
Cancel
Save