|
@@ -614,7 +614,8 @@ export default {
|
|
|
if (this.formContacts.goodsId !== value) {
|
|
if (this.formContacts.goodsId !== value) {
|
|
|
dotListAll({
|
|
dotListAll({
|
|
|
storageId: this.form.storageId,
|
|
storageId: this.form.storageId,
|
|
|
- goodsId: this.formContacts.goodsId
|
|
|
|
|
|
|
+ goodsId: this.formContacts.goodsId,
|
|
|
|
|
+ whether: 1
|
|
|
}).then(res => { this.formContacts.price = res.data.data[0].inventoryCostPrice, console.log(res) })
|
|
}).then(res => { this.formContacts.price = res.data.data[0].inventoryCostPrice, console.log(res) })
|
|
|
goodsDetail({ id: value, stock: this.form.storageId ? this.form.storageId : '' }).then(res => {
|
|
goodsDetail({ id: value, stock: this.form.storageId ? this.form.storageId : '' }).then(res => {
|
|
|
console.log(this.form.storageId);
|
|
console.log(this.form.storageId);
|
|
@@ -633,7 +634,8 @@ export default {
|
|
|
this.findObject(this.optionContacts.column, "dot").disabled = false
|
|
this.findObject(this.optionContacts.column, "dot").disabled = false
|
|
|
dotList({
|
|
dotList({
|
|
|
storageId: this.form.storageId,
|
|
storageId: this.form.storageId,
|
|
|
- goodsId: this.formContacts.goodsId
|
|
|
|
|
|
|
+ goodsId: this.formContacts.goodsId,
|
|
|
|
|
+ whether: 1
|
|
|
}).then(res => {
|
|
}).then(res => {
|
|
|
console.log('dot', res);
|
|
console.log('dot', res);
|
|
|
this.findObject(this.optionContacts.column, "dot").dicData = res.data.data
|
|
this.findObject(this.optionContacts.column, "dot").dicData = res.data.data
|
|
@@ -655,7 +657,8 @@ export default {
|
|
|
if (this.formContacts.goodsId !== value) {
|
|
if (this.formContacts.goodsId !== value) {
|
|
|
dotListAll({
|
|
dotListAll({
|
|
|
storageId: this.form.storageId,
|
|
storageId: this.form.storageId,
|
|
|
- goodsId: this.formContacts.goodsId
|
|
|
|
|
|
|
+ goodsId: this.formContacts.goodsId,
|
|
|
|
|
+ whether: 1
|
|
|
}).then(res => { this.formContacts.price = res.data.data[0].inventoryCostPrice })
|
|
}).then(res => { this.formContacts.price = res.data.data[0].inventoryCostPrice })
|
|
|
goodsDetail({ id: value, stock: this.form.storageId ? this.form.storageId : '' }).then(res => {
|
|
goodsDetail({ id: value, stock: this.form.storageId ? this.form.storageId : '' }).then(res => {
|
|
|
this.formContacts.goodsNo = res.data.data.code
|
|
this.formContacts.goodsNo = res.data.data.code
|
|
@@ -673,7 +676,8 @@ export default {
|
|
|
this.findObject(this.optionContacts.column, "dot").disabled = false
|
|
this.findObject(this.optionContacts.column, "dot").disabled = false
|
|
|
dotList({
|
|
dotList({
|
|
|
storageId: this.form.storageId,
|
|
storageId: this.form.storageId,
|
|
|
- goodsId: this.formContacts.goodsId
|
|
|
|
|
|
|
+ goodsId: this.formContacts.goodsId,
|
|
|
|
|
+ whether: 1
|
|
|
}).then(res => {
|
|
}).then(res => {
|
|
|
console.log('567');
|
|
console.log('567');
|
|
|
this.findObject(this.optionContacts.column, "dot").dicData = res.data.data
|
|
this.findObject(this.optionContacts.column, "dot").dicData = res.data.data
|
|
@@ -843,7 +847,8 @@ export default {
|
|
|
this.findObject(this.optionContacts.column, "dot").disabled = false
|
|
this.findObject(this.optionContacts.column, "dot").disabled = false
|
|
|
dotList({
|
|
dotList({
|
|
|
storageId: this.form.storageId,
|
|
storageId: this.form.storageId,
|
|
|
- goodsId: this.formContacts.goodsId
|
|
|
|
|
|
|
+ goodsId: this.formContacts.goodsId,
|
|
|
|
|
+ whether: 1
|
|
|
}).then(res => {
|
|
}).then(res => {
|
|
|
console.log('567');
|
|
console.log('567');
|
|
|
this.findObject(this.optionContacts.column, "dot").dicData = res.data.data
|
|
this.findObject(this.optionContacts.column, "dot").dicData = res.data.data
|
|
@@ -960,7 +965,8 @@ export default {
|
|
|
// this.confirmEditing()
|
|
// this.confirmEditing()
|
|
|
dotList({
|
|
dotList({
|
|
|
storageId: this.form.storageId,
|
|
storageId: this.form.storageId,
|
|
|
- goodsId: row.goodsId
|
|
|
|
|
|
|
+ goodsId: row.goodsId,
|
|
|
|
|
+ whether: 1
|
|
|
}).then(res => {
|
|
}).then(res => {
|
|
|
this.findObject(this.optionContactsBack.column, "dot").dicData = res.data.data
|
|
this.findObject(this.optionContactsBack.column, "dot").dicData = res.data.data
|
|
|
// console.log(this.dicData)
|
|
// console.log(this.dicData)
|