Merge pull request '增加仓库-工序-提示' (#43) from zwq into develop
All checks were successful
continuous-integration/drone/push Build is passing

Reviewed-on: #43
This commit is contained in:
朱文强 2022-03-09 14:32:55 +08:00
commit 68902f0f6c
3 changed files with 14 additions and 4 deletions

View File

@ -2,7 +2,7 @@
* @Author: gtz * @Author: gtz
* @Date: 2021-03-04 16:13:51 * @Date: 2021-03-04 16:13:51
* @LastEditors: zwq * @LastEditors: zwq
* @LastEditTime: 2022-03-09 11:16:12 * @LastEditTime: 2022-03-09 14:24:45
* @Description: file content * @Description: file content
*/ */
export default { export default {
@ -30,6 +30,7 @@ export default {
cancelButtonText: 'cancel', cancelButtonText: 'cancel',
Tips: 'Tips', Tips: 'Tips',
TipsBefore: 'Are you sure you want to delete', TipsBefore: 'Are you sure you want to delete',
TipsStorageBefore: 'Confirm to add location:',
Description: 'Description', Description: 'Description',
Remarks: 'Remarks', Remarks: 'Remarks',
Yes: 'Yes', Yes: 'Yes',

View File

@ -2,7 +2,7 @@
* @Author: gtz * @Author: gtz
* @Date: 2021-03-04 16:13:51 * @Date: 2021-03-04 16:13:51
* @LastEditors: zwq * @LastEditors: zwq
* @LastEditTime: 2022-03-09 11:16:02 * @LastEditTime: 2022-03-09 14:24:03
*/ */
export default { export default {
visual: { visual: {
@ -29,6 +29,7 @@ export default {
cancelButtonText: '取消', cancelButtonText: '取消',
Tips: '提示', Tips: '提示',
TipsBefore: '确定删除', TipsBefore: '确定删除',
TipsStorageBefore: '确定添加库位:',
Description: '描述', Description: '描述',
Remarks: '备注', Remarks: '备注',
Or: '或', Or: '或',

View File

@ -2,7 +2,7 @@
* @Author: gtz * @Author: gtz
* @Date: 2022-03-03 09:16:10 * @Date: 2022-03-03 09:16:10
* @LastEditors: zwq * @LastEditors: zwq
* @LastEditTime: 2022-03-09 14:17:23 * @LastEditTime: 2022-03-09 14:30:59
* @Description: file content * @Description: file content
* @FilePath: \mt-ck-wms-ui\src\views\dashboard\index.vue * @FilePath: \mt-ck-wms-ui\src\views\dashboard\index.vue
--> -->
@ -366,7 +366,15 @@ export default {
console.log(v) console.log(v)
}, },
submitLinkList() { submitLinkList() {
console.log('submitLinkList') const tipArr = this.selectStorageList.map(item => {
return item.id
})
this.$confirm(`${this.$t('module.basicData.visual.TipsStorageBefore')}[${tipArr.join(',')}]?`, this.$t('module.basicData.visual.Tips'), {
confirmButtonText: this.$t('module.basicData.visual.confirmButtonText'),
cancelButtonText: this.$t('module.basicData.visual.cancelButtonText'),
type: 'warning'
}).then(() => {
}).catch(() => {})
} }
} }
} }