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

调整字段,前端路由

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