|
@@ -8,15 +8,14 @@
|
|
|
@saveColumn="saveColumnTwo('crud', 'option', 'optionList', 351)" :page.sync="page">
|
|
|
<template slot-scope="{type,size,row,index}" slot="menu">
|
|
|
<!-- <el-button :size="size" :type="type" @click="check(row)">查看</el-button> -->
|
|
|
- <el-button :size="size" :type="type"
|
|
|
- :disabled="row.status != '录入'"
|
|
|
+ <el-button :size="size" :type="type" :disabled="row.status != '录入'||row.numberRows!=0"
|
|
|
@click="$refs.crud.rowDel(row, index)">删除</el-button>
|
|
|
</template>
|
|
|
<template slot="corpNameSearch">
|
|
|
- <crop-select v-model="search.corpId" corpType="KH" :refresh="false"></crop-select>
|
|
|
+ <crop-select v-model="search.corpId" corpType="GYS" :refresh="false"></crop-select>
|
|
|
</template>
|
|
|
<template slot="notCompleteSearch">
|
|
|
- <el-checkbox v-model="search.notComplete" true-label="1" ></el-checkbox>
|
|
|
+ <el-checkbox v-model="search.notComplete" true-label="1"></el-checkbox>
|
|
|
</template>
|
|
|
<template slot-scope="{type,size,row,$index}" slot="menuLeft">
|
|
|
<!-- <el-button icon="el-icon-plus" type="primary" :size="size" @click="detailsOpen = true">新建订单</el-button> -->
|
|
@@ -101,16 +100,23 @@ export default {
|
|
|
}],
|
|
|
column: [
|
|
|
{
|
|
|
- label: '采购单号',
|
|
|
+ label: '业务编号',
|
|
|
prop: "ordNo",
|
|
|
search: true,
|
|
|
overHidden: true,
|
|
|
},
|
|
|
{
|
|
|
label: '往来单位',
|
|
|
- prop: "salesCompanyName",
|
|
|
+ prop: "customerName",
|
|
|
search: true,
|
|
|
+ remote: true,
|
|
|
overHidden: true,
|
|
|
+ type: 'select',
|
|
|
+ props: {
|
|
|
+ label: 'cname',
|
|
|
+ value: 'cname'
|
|
|
+ },
|
|
|
+ dicUrl: '/api/blade-sales-part/corpsDesc/listAll?corpType=GYS&cname={{key}}',
|
|
|
},
|
|
|
{
|
|
|
label: '业务员',
|
|
@@ -174,7 +180,7 @@ export default {
|
|
|
overHidden: true,
|
|
|
},
|
|
|
{
|
|
|
- label: '业务编号',
|
|
|
+ label: '采购单号',
|
|
|
prop: "srcNo",
|
|
|
overHidden: true,
|
|
|
},
|
|
@@ -230,21 +236,21 @@ export default {
|
|
|
format: "yyyy-MM-dd",
|
|
|
valueFormat: "yyyy-MM-dd HH:mm:ss"
|
|
|
},
|
|
|
- {
|
|
|
- label: "原业务日期",
|
|
|
- prop: "oldBusinesDate",
|
|
|
- searchProp: "oldBusinesDateList",
|
|
|
- type: "date",
|
|
|
- overHidden: true,
|
|
|
- width: 100,
|
|
|
- search: true,
|
|
|
- searchRange: true,
|
|
|
- searchDefaultTime: ["00:00:00", "23:59:59"],
|
|
|
- format: "yyyy-MM-dd",
|
|
|
- valueFormat: "yyyy-MM-dd HH:mm:ss",
|
|
|
- hide: true,
|
|
|
- showColumn: false
|
|
|
- },
|
|
|
+ // {
|
|
|
+ // label: "原业务日期",
|
|
|
+ // prop: "oldBusinesDate",
|
|
|
+ // searchProp: "oldBusinesDateList",
|
|
|
+ // type: "date",
|
|
|
+ // overHidden: true,
|
|
|
+ // width: 100,
|
|
|
+ // search: true,
|
|
|
+ // searchRange: true,
|
|
|
+ // searchDefaultTime: ["00:00:00", "23:59:59"],
|
|
|
+ // format: "yyyy-MM-dd",
|
|
|
+ // valueFormat: "yyyy-MM-dd HH:mm:ss",
|
|
|
+ // hide: true,
|
|
|
+ // showColumn: false
|
|
|
+ // },
|
|
|
{
|
|
|
label: '显示已完成',
|
|
|
prop: 'notComplete',
|