|
@@ -50,6 +50,13 @@
|
|
|
@click="limitPopupfun"></i>
|
|
|
</div>
|
|
|
</template>
|
|
|
+ <template slot="recoveredBalance">
|
|
|
+ <div style="display:flex;">
|
|
|
+ <el-input v-model="form.recoveredBalance" disabled size="small" placeholder="请输入额度"></el-input>
|
|
|
+ <i class="el-icon-circle-plus-outline" style="font-size:18px;line-height: 32px;margin-left:4px"
|
|
|
+ @click="openRecordDialog"></i>
|
|
|
+ </div>
|
|
|
+ </template>
|
|
|
</avue-form>
|
|
|
</trade-card>
|
|
|
<trade-card title="客户联系人" v-loading="loadingBtn">
|
|
@@ -143,6 +150,7 @@
|
|
|
<el-button type="primary" @click="limitrecordSubmitfun">确 定</el-button>
|
|
|
</span>
|
|
|
</el-dialog>
|
|
|
+ <check_green_recycling_record ref="checkGreenRecyclingRecordRef"/>
|
|
|
</div>
|
|
|
</template>
|
|
|
|
|
@@ -170,6 +178,7 @@ import {
|
|
|
} from "@/api/tirePartsMall/basicData/warehouse";
|
|
|
import limitrecord from "@/views/tirePartsMall/basicData/customerInformation/components/limitrecord.vue";
|
|
|
import { limitrecordSubmit } from "@/api/tirePartsMall/basicData/customerInformation/limitrecord";
|
|
|
+import check_green_recycling_record from "@/views/tirePartsMall/basicData/customerInformation/check_green_recycling_record.vue";
|
|
|
|
|
|
export default {
|
|
|
name: "index",
|
|
@@ -434,7 +443,7 @@ export default {
|
|
|
},
|
|
|
{
|
|
|
label: "业务员",
|
|
|
- span: 8,
|
|
|
+ span: 12,
|
|
|
prop: "salesmanId",
|
|
|
type: "select",
|
|
|
props: {
|
|
@@ -462,12 +471,12 @@ export default {
|
|
|
{
|
|
|
label: "账期",
|
|
|
prop: "accountPeriod",
|
|
|
- span: 8,
|
|
|
+ span: 12,
|
|
|
},
|
|
|
{
|
|
|
label: "发货仓库",
|
|
|
prop: "deliveryWarehouseId",
|
|
|
- span: 8,
|
|
|
+ span: 12,
|
|
|
type: 'select',
|
|
|
props: {
|
|
|
label: 'cname',
|
|
@@ -480,10 +489,27 @@ export default {
|
|
|
trigger: "blur"
|
|
|
}]
|
|
|
},
|
|
|
+/* {
|
|
|
+ label: "资源仓库",
|
|
|
+ prop: "resourceWarehouseList",
|
|
|
+ span: 12,
|
|
|
+ type: 'select',
|
|
|
+ multiple: true,
|
|
|
+ props: {
|
|
|
+ label: 'cname',
|
|
|
+ value: 'id'
|
|
|
+ },
|
|
|
+ dicUrl: '/api/blade-sales-part/storageDesc/listAll',
|
|
|
+ rules: [{
|
|
|
+ required: true,
|
|
|
+ message: " ",
|
|
|
+ trigger: "blur"
|
|
|
+ }]
|
|
|
+ },*/
|
|
|
{
|
|
|
label: "商城价格",
|
|
|
prop: "priceSystem",
|
|
|
- span: 8,
|
|
|
+ span: 6,
|
|
|
filterable: true,
|
|
|
type: "select",
|
|
|
dicUrl: "/api/blade-system/dict-biz/dictionary?code=mall_price",
|
|
@@ -500,7 +526,7 @@ export default {
|
|
|
{
|
|
|
label: "是否使用额度",
|
|
|
prop: "ifLimitAmount",
|
|
|
- span: 8,
|
|
|
+ span: 4,
|
|
|
type: "switch",
|
|
|
dicData: [{
|
|
|
label: '否',
|
|
@@ -518,6 +544,15 @@ export default {
|
|
|
controls: false,
|
|
|
precision: 2,
|
|
|
},
|
|
|
+ {
|
|
|
+ label: "现金余额",
|
|
|
+ prop: "recoveredBalance",
|
|
|
+ span: 6,
|
|
|
+ type: "number",
|
|
|
+ controls: false,
|
|
|
+ precision: 2,
|
|
|
+ disabled:true,
|
|
|
+ },
|
|
|
{
|
|
|
label: "积分余额",
|
|
|
prop: "pointsBalance",
|
|
@@ -649,7 +684,8 @@ export default {
|
|
|
},
|
|
|
components: {
|
|
|
corpType,
|
|
|
- limitrecord
|
|
|
+ limitrecord,
|
|
|
+ check_green_recycling_record
|
|
|
},
|
|
|
props: {
|
|
|
detailData: {
|
|
@@ -690,6 +726,10 @@ export default {
|
|
|
}, 100)
|
|
|
},
|
|
|
methods: {
|
|
|
+ openRecordDialog(){
|
|
|
+ this.$refs.checkGreenRecyclingRecordRef.getList(this.form.id)
|
|
|
+ this.$refs.checkGreenRecyclingRecordRef.show = true
|
|
|
+ },
|
|
|
// 获取业务员数据
|
|
|
getUserByRolefun() {
|
|
|
getUserByRole().then(res => {
|