|
@@ -57,7 +57,8 @@
|
|
|
<a-col :md="4" :sm="24">
|
|
|
<a-form-item label="业务类型">
|
|
|
<a-select v-model="queryParam.type" style='width:100%' >
|
|
|
- <a-select-option value='1'> 1</a-select-option>
|
|
|
+ <a-select-option value='家装'> 家装</a-select-option>
|
|
|
+ <a-select-option value='工装'> 工装</a-select-option>
|
|
|
</a-select>
|
|
|
</a-form-item>
|
|
|
</a-col>
|
|
@@ -83,7 +84,7 @@
|
|
|
<div class="table-operator">
|
|
|
<a-button type="danger" size="small" @click='addList'>新增</a-button>
|
|
|
<a-button size="small" @click='addEdit'>修改</a-button>
|
|
|
- <a-button size="small" @click="delecteList()">删除</a-button>
|
|
|
+ <a-button type="danger" size="small" @click="delecteList()">删除</a-button>
|
|
|
<a-button size="small" @click="detailList">详情</a-button>
|
|
|
<a-button size="small" @click="examineApprove">审批</a-button>
|
|
|
<a-button size="small" @click="abstainExamineApprove">弃审</a-button>
|
|
@@ -91,7 +92,7 @@
|
|
|
<a-upload name="file" :showUploadList="false" :multiple="false" :headers="tokenHeader" @change="handleUploadChange" :action="importExcelUrl">
|
|
|
<a-button size="small">导入</a-button>
|
|
|
</a-upload>
|
|
|
- <a-button size="small" @click="entireClose">整单关闭</a-button>
|
|
|
+ <a-button type="danger" size="small" @click="entireClose">整单关闭</a-button>
|
|
|
<a-button size="small" @click="synchronizationData">同步请购单</a-button>
|
|
|
</div>
|
|
|
|
|
@@ -418,8 +419,8 @@
|
|
|
this.$message.warning("勾选数据里包含状态为已请购的数据,请重新选择!")
|
|
|
}else{
|
|
|
this.$confirm({
|
|
|
- title: '确认整单关闭',
|
|
|
- content: '是否整单关闭选中数据?',
|
|
|
+ title: '是否确认关闭?',
|
|
|
+ content: '注:关闭后此单据将无法进行任何操作',
|
|
|
onOk: ()=> {
|
|
|
var ids = this.selectedRowKeys.toString()
|
|
|
alertModal.loading("执行中,请稍后!")
|
|
@@ -432,7 +433,7 @@
|
|
|
Message({
|
|
|
dangerouslyUseHTMLString: true,
|
|
|
message: str,
|
|
|
- type: 'info'
|
|
|
+ type: 'success'
|
|
|
});
|
|
|
}else{
|
|
|
var arr = res.message.split(";");
|
|
@@ -520,6 +521,13 @@
|
|
|
//获取主表信息
|
|
|
this.$refs.materialProcurementDetail.getMainData(record.id)
|
|
|
},
|
|
|
+ // click: () => {
|
|
|
+ // this.selectedRowKeys = []
|
|
|
+ // this.selectedRows = []
|
|
|
+ // this.selectedRowKeys.push(record.id)
|
|
|
+ // this.selectedRows.push(record)
|
|
|
+
|
|
|
+ // },
|
|
|
}
|
|
|
}
|
|
|
},
|
|
@@ -588,7 +596,7 @@
|
|
|
Message({
|
|
|
dangerouslyUseHTMLString: true,
|
|
|
message: str,
|
|
|
- type: 'info'
|
|
|
+ type: 'success'
|
|
|
});
|
|
|
}else{
|
|
|
debugger
|