Browse Source

改单(1)

java8
han\hanst 3 months ago
parent
commit
90b62923d3
  1. 22
      src/views/modules/ecss/codelnotify.vue
  2. 8
      src/views/modules/ecss/codelnotifyConfirm.vue

22
src/views/modules/ecss/codelnotify.vue

@ -1011,7 +1011,7 @@
sortLv: 0,
status: true,
fixed: '',
columnWidth: 50
columnWidth: 60
},
{
userId: this.$store.state.user.name,
@ -1798,7 +1798,8 @@
this.totalPage = data.page.totalCount
if(this.dataList.length>0){
this.dataList.forEach(o => {
o.modifyLabel = !!o.modifyFlag?'是':'';
// 12
o.modifyLabel = !!o.modifyFlag ? (o.modifyCount>1 ? '改单(' + o.modifyCount + ')' : '改单(1)') : '';
});
// 使 $nextTick DOM
@ -2072,7 +2073,8 @@
}
},
cellStyle({row, column }) {
if (column.property === 'modifyLabel' && row.modifyLabel==='是') { //
// modifyFlagtrue
if (column.property === 'modifyLabel' && row.modifyFlag===true) {
return { color: '#ff5d03' };
}
return {};
@ -2280,10 +2282,10 @@
})
return false
}
//
this.updateDetailLoading = true
updateEcssDelDetail(this.updateDetailModel).then(({data}) => {
if (data && data.code === 0) {
// 便
@ -2292,12 +2294,12 @@
this.selectedRowKey = currentSelectedKey
this.saveSelectedRowToStorage()
}
//
this.refreshCurrentTabTable()
//
this.searchTable()
this.updateDetailModelFlag=false
this.$message({
message: '操作成功',
@ -2380,7 +2382,7 @@
this.$confirm('确认取消此明细?', '提示').then(() => {
//
this.updateDetailLoading = true
deleteEcssDelDetail(row).then(({data}) => {
if (data && data.code === 0) {
// 便
@ -2389,12 +2391,12 @@
this.selectedRowKey = currentSelectedKey
this.saveSelectedRowToStorage()
}
//
this.refreshCurrentTabTable()
//
this.searchTable()
this.$message({
message: '操作成功',
type: 'success',

8
src/views/modules/ecss/codelnotifyConfirm.vue

@ -909,7 +909,7 @@
sortLv: 0,
status: true,
fixed: '',
columnWidth: 50
columnWidth: 60
},
{
userId: this.$store.state.user.name,
@ -1967,7 +1967,8 @@
if (o.notifyStatus==='仓库已确认'&&!o.notifyDate) {
o.notifyDate='发货日期不确定'
}
o.modifyLabel = !!o.modifyFlag?'是':'';
// 12
o.modifyLabel = !!o.modifyFlag ? (o.modifyCount ? '改单(' + o.modifyCount + ')' : '改单(1)') : '';
});
// 使 $nextTick DOM
@ -2013,7 +2014,8 @@
if (column.property === 'notifyDate' && row.notifyDate==='发货日期不确定') { //
return { color: '#ff5d03' };
}
if (column.property === 'modifyLabel' && row.modifyLabel==='是') { //
// modifyFlagtrue
if (column.property === 'modifyLabel' && row.modifyFlag===true) {
return { color: '#ff5d03' };
}
return {};

Loading…
Cancel
Save