|
@@ -147,8 +147,7 @@
|
|
|
:info="activeOrderInfo"
|
|
|
@search="search"
|
|
|
:dialogVisible.sync="remarkDialogVisible"
|
|
|
- ></arap-remarks>
|
|
|
-
|
|
|
+ />
|
|
|
<dislog-set
|
|
|
:dialogVisible.sync="examineDialogVisible"
|
|
|
@search="search"
|
|
@@ -285,6 +284,25 @@ export default {
|
|
|
},
|
|
|
// 表单
|
|
|
tableSet0: [
|
|
|
+ {
|
|
|
+ label: "坏账",
|
|
|
+ prop: "badBill",
|
|
|
+ hidden: true,
|
|
|
+ scope: "isOptions",
|
|
|
+ options: [
|
|
|
+ {
|
|
|
+ label: "否",
|
|
|
+ value: false,
|
|
|
+ },
|
|
|
+ {
|
|
|
+ label: "是",
|
|
|
+ value: true,
|
|
|
+ style: {
|
|
|
+ color: "red",
|
|
|
+ },
|
|
|
+ },
|
|
|
+ ],
|
|
|
+ },
|
|
|
{
|
|
|
label: "下单时间",
|
|
|
prop: "buyTime",
|
|
@@ -580,7 +598,7 @@ export default {
|
|
|
remarkDialogVisible: false,
|
|
|
examineDialogVisible: false,
|
|
|
badBillDialogVisible: false,
|
|
|
- type: 1,
|
|
|
+ type: 0,
|
|
|
activeOrderInfo: {},
|
|
|
roleList: [],
|
|
|
countInfo: {},
|
|
@@ -676,11 +694,12 @@ export default {
|
|
|
];
|
|
|
fn(this.formData)
|
|
|
.then((res) => {
|
|
|
- res.rows.forEach((e) => {
|
|
|
- e.children = [];
|
|
|
- e.hasChildren = true;
|
|
|
- e.monthTime = this.parseTime(e.monthTime, "{y}-{m}");
|
|
|
- });
|
|
|
+ this.type != 0 &&
|
|
|
+ res.rows.forEach((e) => {
|
|
|
+ e.children = [];
|
|
|
+ e.hasChildren = true;
|
|
|
+ e.monthTime = this.parseTime(e.monthTime, "{y}-{m}");
|
|
|
+ });
|
|
|
this.tableData = res.rows;
|
|
|
this.total = res.total;
|
|
|
this.navText.index = res.total;
|
|
@@ -802,12 +821,12 @@ export default {
|
|
|
if (this.type == 0) {
|
|
|
data.push(
|
|
|
{
|
|
|
- prop: "badStatus",
|
|
|
+ prop: "badBill",
|
|
|
placeholder: "坏账选择",
|
|
|
scope: "select",
|
|
|
options: [
|
|
|
- { label: "是", value: 0 },
|
|
|
- { label: "否", value: 1 },
|
|
|
+ { label: "是", value: 1 },
|
|
|
+ { label: "否", value: 2 },
|
|
|
],
|
|
|
},
|
|
|
{
|