Commit a29cdc5e authored by 李苏's avatar 李苏 💬

调整字段,前端路由

parent 963ab15b
......@@ -571,7 +571,7 @@ export const powerRoutes = [
"icon": "",
"noCache": false,
"link": null,
"mkid": 'test',
"mkid": '920080300',
},
name: 'kcyhd',
path: "kcyhd",
......
......@@ -156,7 +156,7 @@
},
{
label: '来源单号',
prop: 'lydh',
prop: 'lydCode',
span: 5,
type: 'input',
value: ''
......
......@@ -100,12 +100,10 @@
{
title: "合格标志",
field: "hgbz",
formatter(a, b, v) {
let map = {
N: '不合格',
Y: '合格'
}
return map[v]
"transform": {
"url": "lxyl/zlgl/ukcjyd/init/JyStatus",
"label": "name",
"value": "id"
},
width: 140
},
......
......@@ -8,7 +8,7 @@
<div class="bottom flex">
<div class="full" >
<el-tabs class="full" v-model="activeName" >
<el-tab-pane class="full" label="重检单明细" name="first">
<el-tab-pane class="full" label="验货单明细" name="first">
<Mx ref="mx" class="full" />
</el-tab-pane>
......
......@@ -32,8 +32,8 @@
},
config: {
/* 基本配置*/
url: 'lxyl/zlgl/kccj',
queryUrl: 'lxyl/zlgl/kccj/query/detail',
url: 'lxyl/ukcyhd',
queryUrl: 'lxyl/ukcyhd/query/detail',
tableTitle: [{
title: "物料编码",
field: "wlxxCode",
......@@ -79,33 +79,31 @@
field: "rqCode",
width: 140
},
{
title: "重检日期",
field: "cjrq",
width: 140,
fieldType: 'ftDateTime'
},
{
title: "生产日期",
field: "scrq",
width: 140,
fieldType: 'ftDateTime'
},
{
title: "失效日期",
field: "sxrq",
width: 140,
fieldType: 'ftDateTime'
},
// {
// title: "重检日期",
// field: "cjrq",
// width: 140,
// fieldType: 'ftDateTime'
// },
// {
// title: "生产日期",
// field: "scrq",
// width: 140,
// fieldType: 'ftDateTime'
// },
// {
// title: "失效日期",
// field: "sxrq",
// width: 140,
// fieldType: 'ftDateTime'
// },
{
title: "合格标志",
field: "hgbz",
formatter(a, b, v) {
let map = {
N: '不合格',
Y: '合格'
}
return map[v]
"transform": {
"url": "lxyl/zlgl/ukcjyd/init/JyStatus",
"label": "name",
"value": "id"
},
width: 140
},
......
......@@ -128,7 +128,7 @@
save(){
let list =this.$refs.basePage.$refs.TablePager.selectedList||[]
if(list.length!=0){
this.$post('lxyl/zlgl/kccj/doGenerate',list).then(res=>{
this.$post('lxyl/ukcyhd/doGenerate',list).then(res=>{
if(res.success){
this.app.showDialog=false
this.app.refresh()
......
......@@ -39,9 +39,9 @@
/* Dialog*/
// queryDetail: true,
/* 基本配置*/
url: 'lxyl/u_kcyhd',
url: 'lxyl/ukcyhd',
tableTitle: [{
title: "重检单号",
title: "验货单号",
field: "code",
width: 140
},
......@@ -64,7 +64,7 @@
],
queryParams: [
[{
label: '重检单号',
label: '验货单号',
prop: 'code',
span: 5,
type: 'input',
......@@ -104,7 +104,7 @@
cancelButtonText: '取消',
type: 'warning'
}).then(res => {
this.$post('lxyl/zlgl/kccj/genJyd', {
this.$post('lxyl/ukcyhd/genJyd', {
id: ctx.singleItem.id
}).then(res => {
if (res.success) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment