|
@@ -64,6 +64,26 @@
|
|
</vxe-pager>
|
|
</vxe-pager>
|
|
</el-card>
|
|
</el-card>
|
|
<WareHouseHistoryPopup ref="wareHouseHistoryPopup"></WareHouseHistoryPopup>
|
|
<WareHouseHistoryPopup ref="wareHouseHistoryPopup"></WareHouseHistoryPopup>
|
|
|
|
+ <el-dialog
|
|
|
|
+ :title="title"
|
|
|
|
+ :close-on-click-modal="false"
|
|
|
|
+ draggable
|
|
|
|
+ append-to-body
|
|
|
|
+ width="1300px"
|
|
|
|
+ @close="close"
|
|
|
|
+ @keyup.enter.native="doSubmit"
|
|
|
|
+ v-model="visible">
|
|
|
|
+ <el-form :model="inputForm" ref="inputForm" v-loading="loading" :class="method==='view'?'readonly':''" :disabled="method === 'view'"
|
|
|
|
+ label-width="160px" @submit.native.prevent>
|
|
|
|
+ <a style="font-size: 16px;color: red">{{inputForm.title}}</a>
|
|
|
|
+ </el-form>
|
|
|
|
+ <template #footer>
|
|
|
|
+ <span class="dialog-footer">
|
|
|
|
+ <el-button @click="visible = false" icon="el-icon-circle-close">关闭</el-button>
|
|
|
|
+ <!-- <el-button type="primary" @click="doSubmit()" icon="el-icon-circle-check" v-noMoreClick>确定</el-button>-->
|
|
|
|
+ </span>
|
|
|
|
+ </template>
|
|
|
|
+ </el-dialog>
|
|
</template>
|
|
</template>
|
|
|
|
|
|
<script>
|
|
<script>
|
|
@@ -100,7 +120,10 @@ export default {
|
|
loading: false,
|
|
loading: false,
|
|
visible: false,
|
|
visible: false,
|
|
currentTask: null,
|
|
currentTask: null,
|
|
- processInstanceId: ''
|
|
|
|
|
|
+ processInstanceId: '',
|
|
|
|
+ inputForm:{
|
|
|
|
+ title:''
|
|
|
|
+ },
|
|
};
|
|
};
|
|
},
|
|
},
|
|
mounted() {
|
|
mounted() {
|
|
@@ -113,7 +136,11 @@ export default {
|
|
methods: {
|
|
methods: {
|
|
todo (row) {
|
|
todo (row) {
|
|
// console.log('row', row)
|
|
// console.log('row', row)
|
|
- if (row.taskName === '库存提醒') {
|
|
|
|
|
|
+ if (row.taskName === '月报还未提交'){
|
|
|
|
+ this.visible = true
|
|
|
|
+ this.inputForm.title = row.title
|
|
|
|
+
|
|
|
|
+ }else if (row.taskName === '库存提醒') {
|
|
// console.log('测试进来了')
|
|
// console.log('测试进来了')
|
|
this.$refs.wareHouseHistoryPopup.init(row.defId)
|
|
this.$refs.wareHouseHistoryPopup.init(row.defId)
|
|
this.inputForm = {
|
|
this.inputForm = {
|