Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
V
vue-gjjs
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
fukai
vue-gjjs
Commits
f5055f27
Commit
f5055f27
authored
Nov 17, 2023
by
lixinyi
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
botdcr闭卷修改
parent
b87e2222
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
27 additions
and
11 deletions
+27
-11
check.js
src/business/botdav/model/check.js
+1
-1
index.js
src/business/botdav/model/index.js
+1
-0
index.js
src/business/botdcr/model/index.js
+1
-0
Botdcrp1.vue
src/business/botdcr/views/Botdcrp1.vue
+24
-10
No files found.
src/business/botdav/model/check.js
View file @
f5055f27
...
@@ -115,7 +115,7 @@ let checkObj = {
...
@@ -115,7 +115,7 @@ let checkObj = {
{
max
:
35
,
message
:
"长度不能超过35"
}
{
max
:
35
,
message
:
"长度不能超过35"
}
],
],
"bodgrp.col.pts.adrblk"
:[
"bodgrp.col.pts.adrblk"
:[
{
type
:
"string"
,
required
:
tru
e
,
message
:
"必输项"
},
{
type
:
"string"
,
required
:
fals
e
,
message
:
"必输项"
},
{
max
:
150
,
message
:
"长度不能超过150"
}
{
max
:
150
,
message
:
"长度不能超过150"
}
],
],
"bodgrp.col.dbfadrblkcn"
:[
"bodgrp.col.dbfadrblkcn"
:[
...
...
src/business/botdav/model/index.js
View file @
f5055f27
...
@@ -18,6 +18,7 @@ export default class Botdav {
...
@@ -18,6 +18,7 @@ export default class Botdav {
dircolflg
:
""
,
// Direct Collection .bodgrp.rec.dircolflg
dircolflg
:
""
,
// Direct Collection .bodgrp.rec.dircolflg
resflg
:
""
,
// Reservated Contract .bodgrp.rec.resflg
resflg
:
""
,
// Reservated Contract .bodgrp.rec.resflg
rcvdat
:
""
,
// Order Date .bodgrp.rec.rcvdat
rcvdat
:
""
,
// Order Date .bodgrp.rec.rcvdat
clsdat
:
""
,
shpdat
:
""
,
// Shipment date .bodgrp.rec.shpdat
shpdat
:
""
,
// Shipment date .bodgrp.rec.shpdat
predat
:
""
,
// Presentation Date .bodgrp.rec.predat
predat
:
""
,
// Presentation Date .bodgrp.rec.predat
advdat
:
""
,
// Dispatched on .bodgrp.rec.advdat
advdat
:
""
,
// Dispatched on .bodgrp.rec.advdat
...
...
src/business/botdcr/model/index.js
View file @
f5055f27
...
@@ -108,6 +108,7 @@ export default class Botdcr {
...
@@ -108,6 +108,7 @@ export default class Botdcr {
},
},
},
},
rejtypsel
:
""
,
// .rejtypsel
rejtypsel
:
""
,
// .rejtypsel
clsflg
:
""
,
setmod
:
new
Pub
().
data
.
Setmod
,
setmod
:
new
Pub
().
data
.
Setmod
,
mtabut
:
new
Pub
().
data
.
Mtabut
,
mtabut
:
new
Pub
().
data
.
Mtabut
,
trnmod
:
new
Pub
().
data
.
Trnmod
,
trnmod
:
new
Pub
().
data
.
Trnmod
,
...
...
src/business/botdcr/views/Botdcrp1.vue
View file @
f5055f27
...
@@ -115,7 +115,7 @@
...
@@ -115,7 +115,7 @@
<c-col
:span=
"24"
>
<c-col
:span=
"24"
>
<el-form-item
label=
"拒单类型"
prop=
"rejtypsel"
>
<el-form-item
label=
"拒单类型"
prop=
"rejtypsel"
>
<c-select
v-model=
"model.rejtypsel"
style=
"width:100%"
placeholder=
"拒单类型"
<c-select
v-model=
"model.rejtypsel"
style=
"width:100%"
placeholder=
"
请输入
拒单类型"
:code=
"codes.rejtypsel"
>
:code=
"codes.rejtypsel"
>
</c-select>
</c-select>
</el-form-item>
</el-form-item>
...
@@ -123,7 +123,7 @@
...
@@ -123,7 +123,7 @@
<c-col
:span=
"24"
>
<c-col
:span=
"24"
>
<el-form-item
label=
""
prop=
"clsflg"
>
<el-form-item
label=
""
prop=
"clsflg"
>
<c-checkbox
v-model=
"clsflg"
:disabled=
"model.rejtypsel != 'R'"
>
闭卷
</c-checkbox>
<c-checkbox
v-model=
"
model.
clsflg"
:disabled=
"model.rejtypsel != 'R'"
>
闭卷
</c-checkbox>
</el-form-item>
</el-form-item>
</c-col>
</c-col>
<c-col
:span=
"24"
>
<c-col
:span=
"24"
>
...
@@ -202,6 +202,7 @@
...
@@ -202,6 +202,7 @@
import
event
from
"../event"
import
event
from
"../event"
import
Ptap
from
"~/views/Public/Ptap"
;
import
Ptap
from
"~/views/Public/Ptap"
;
import
Docpre
from
"~/views/Public/Docpre"
;
import
Docpre
from
"~/views/Public/Docpre"
;
import
moment
from
'moment'
;
export
default
{
export
default
{
components
:
{
components
:
{
...
@@ -220,17 +221,30 @@ export default {
...
@@ -220,17 +221,30 @@ export default {
}
}
},
},
computed
:
{
computed
:
{
clsflg
:
{
// clsflg: {
get
()
{
// get() {
return
this
.
model
.
rejtypsel
==
"R"
;
// return this.model.rejtypsel == "R";
},
// },
set
(
val
)
{
// set(val) {
this
.
model
.
mtabut
.
clsflg
=
val
?
"C"
:
"O"
;
// this.model.clsflg = val ? "C" : "O";
// },
// }
},
},
methods
:
{},
watch
:{
"model.rejtypsel"
:{
immediate
:
true
,
handler
(
val
,
oldVal
)
{
if
(
this
.
model
.
rejtypsel
==
'R'
)
{
this
.
model
.
clsflg
=
'X'
;
this
.
model
.
bodgrp
.
rec
.
clsdat
=
moment
().
format
(
'YYYY-MM-DD'
);
}
else
{
this
.
model
.
clsflg
=
''
;
this
.
model
.
bodgrp
.
rec
.
clsdat
=
''
;
}
}
}
}
},
},
methods
:
{},
created
:
function
()
{}
created
:
function
()
{}
}
}
</
script
>
</
script
>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment