王震
2023-11-29 5fdedc928cd6970423cf024c43a99e522a44dbcf
	modified:   src/views/warehouse/pallettransports/index.vue
modified: vue.config.js
已修改2个文件
21 ■■■■ 文件已修改
src/views/warehouse/pallettransports/index.vue 19 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
vue.config.js 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/warehouse/pallettransports/index.vue
@@ -573,14 +573,14 @@
              if (resData.code === 0) {
                this.innerVisible = false
                this.$message.success('添加移库明细成功')
                this.MobileLibrary()
                this.$emit('refreshDataList')
              } else {
                this.$message.error('添加移库明细失败')
              }
              this.palletTransportsMaterialSelectionChange()
            })
            .catch(() => {
            })
            // .catch(() => {
            // })
        }
    },
    // 添加ifs物料库存回调
@@ -710,20 +710,21 @@
      this.palletTransportsMaterialMultipleSelection.forEach(el =>{ids.push(el.id)})
      let pId = ids[ids.length - 1];
      console.log(pId);
      if(pId){
      this.palletTransportsDetailData = []
      this.datalistAPI = pId
      this.MobileLibrary()
    },
    MobileLibrary(){
      if(this.datalistAPI){
        selectAll({
            transportsId:this.currPalletTransportsRow.id,
            transportsMaterialId: pId
            transportsMaterialId: this.datalistAPI
          }).then((res) =>{
            console.log(res);
            if(res.data.data){
              this.palletTransportsDetailData.push(res.data.data)
            }else{
              this.palletTransportsDetailData = []
            }
            })
         }else{
          this.palletTransportsDetailData = []
         }
    },
    palletTransportsDetailSelectionChange(val) {
vue.config.js
@@ -2,7 +2,7 @@
 * 配置参考:
 * https://cli.vuejs.org/zh/config/
 */
const url = 'http://192.168.2.7:9999'
const url = 'http://192.168.2.63:9999'
//const url = 'http://192.168.32.45:9999'
// const url = 'http://192.168.0.23:9999'